RCE in Woocommerce
CVE-2022-50972
WooCommerce 7.1.0 contains a remote code execution vulnerability that allows attackers to execute arbitrary PHP code by injecting shell commands through the product-type parameter. Attackers can send requests to the class-wc-meta-box-product-images.php endpoint with unsanitized product-type values to write malicious PHP files to the web root.
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.011, 67.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Woocommerce — versions 7.1.0
Weakness classification (CWE)
References
- ExploitDB-51156 (exploit)
- Official Product Homepage (product)
- VulnCheck Advisory: WooCommerce 7.1.0 Remote Code Execution via class-wc-meta-box-product-images.php (third-party-advisory)