Product Input Fields for WooCommerce に脆弱性 — CVE-2026-104998
いま何をすべきか
Product Input Fields for WooCommerce を 2.2.0 以降に更新してください。
影響を受けるバージョン
- 2.1.0 以下のすべて
対象: プラグイン「Product Input Fields for WooCommerce」(product-input-fields-for-woocommerce)
何が起きるのか
The Product Input Fields for WooCommerce plugin for WordPress is vulnerable to Arbitrary File Upload in all versions up to, and including, 2.1.0 via the process_file_input_field function. This is due to missing file type validation in the process_file_input_field function, which accepts the client-supplied multipart Content-Type header as the sole type gate and writes the uploaded file to the unprotected pif_temp directory using the verbatim client-supplied filename. This makes it possible for unauthenticated attackers to upload files that may be executable, which makes remote code execution possible. Exploitation requires that an administrator has configured at least one product with a File-type Product Input Field with the "Show thumbnail" option enabled, which is a standard use of the feature; additionally, the pif_temp/ upload directory is created without .htaccess or index.php restrictions, leaving written files directly web-accessible and executable on default Apache/mod_php configurations.
ここから先の選択肢
1. 自分たちで対応する
更新の手順、バックアップの取り方、壊れたときの戻し方をまとめています。
2. いまの制作会社・保守業者に頼む
Product Input Fields for WooCommerce を使っているかどうかを含めて確認を依頼してください。 無料診断を実行すると、そのまま渡せる依頼文を作れます。
3. 相談先がない・自分では難しい
連絡が取れる相手がいない、管理画面に入れない、侵入された疑いがある。 そうした場合はご相談ください。
出典
- https://plugins.trac.wordpress.org/browser/product-input-fields-for-woocommerce/tags/2.1.0/includes/class-pif-cart.php#L205
- https://plugins.trac.wordpress.org/browser/product-input-fields-for-woocommerce/tags/2.1.0/includes/class-pif-cart.php#L295
- https://plugins.trac.wordpress.org/browser/product-input-fields-for-woocommerce/tags/2.1.0/includes/class-pif-cart.php#L342
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3819954%40product-input-fields-for-woocommerce&new=3819954%40product-input-fields-for-woocommerce
- https://www.wordfence.com/threat-intel/vulnerabilities/id/2b729c88-9a7e-4729-bec1-6e5f9bef4f2d?source=cve