CVE-2026-103367
ShopMagic – email automation for WordPress に報告された脆弱性
概要
The ShopMagic – email automation for WordPress plugin for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 4.9.0 via the 'billing_address.first_name' parameter parameter. This makes it possible for unauthenticated attackers to include and execute arbitrary .php files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where .php file types can be uploaded and included. Exploitation requires a published recipe that processes the {{ customer.first_name }} placeholder — the plugin's built-in "New Order email with social media profile links" recipe satisfies this requirement out of the box, making the default configuration exploitable with no account, cookie, or nonce by simply submitting a guest checkout with the payload as the billing first name.
影響を受けるバージョン
- 0以上 〜 4.9.0以下
対処方法
ShopMagic – email automation for WordPress を 4.9.1 以降に更新してください。これで本脆弱性は解消します。
あなたのサイトは大丈夫ですか?
URLを入力するだけで、実際に使われているプラグインを検出し、 このデータベースと突き合わせて既知の脆弱性が残っていないかを確認できます。登録不要・無料です。
30秒で無料診断する参照
- https://plugins.trac.wordpress.org/browser/shopmagic-for-woocommerce/tags/4.9.0/src/Customer/Guest/GuestFactory.php#L34
- https://plugins.trac.wordpress.org/browser/shopmagic-for-woocommerce/tags/4.9.0/src/Workflow/Placeholder/Builtin/Customer/CustomerFirstName.php#L19
- https://plugins.trac.wordpress.org/browser/shopmagic-for-woocommerce/tags/4.9.0/src/Workflow/Placeholder/Builtin/Order/OrderProductsOrdered.php#L58
- https://plugins.trac.wordpress.org/browser/shopmagic-for-woocommerce/tags/4.9.0/src/Workflow/Placeholder/PlaceholderProcessor.php#L47
- https://plugins.trac.wordpress.org/browser/shopmagic-for-woocommerce/tags/4.9.0/vendor_prefixed/wpdesk/wp-view/src/Renderer/SimplePhpRenderer.php#L47
- https://plugins.trac.wordpress.org/browser/shopmagic-for-woocommerce/tags/4.9.1
- https://www.wordfence.com/threat-intel/vulnerabilities/id/56c9fe56-8b15-409f-815b-10ee93f5153a?source=cve