CVE-2024-10857

Product Input Fields for WooCommerce <= 1.9 - Authenticated (Contributor+) Arbitrary File Read

2024-11-25 17:39
1337_Wannabe

Strategic Overview

Status
Patched in 2.0
Affected Version
<= 1.9
CVSS
6.5Medium
Weakness type
CWE-35 · Path Traversal: '.../...//'
CVE
CVE-2024-10857
View all Product Input Fields for WooCommerce vulnerabilities

At a glance

CVE-2024-10857 is a medium-severity Path Traversal: '.../...//' vulnerability in the Product Input Fields for WooCommerce WordPress plugin, affecting versions <= 1.9. It carries a CVSS score of 6.5 (reachable over the network; low attack complexity; high confidentiality impact). Exploitation requires an authenticated account at Contributor level or above. The issue is fixed in version 2.0; sites on affected versions should update now. Disclosed November 2024, reported by 1337_Wannabe.

Vulnerability Overview

The Product Input Fields for WooCommerce plugin for WordPress is vulnerable to Directory Traversal in all versions up to, and including, 1.9 via the handle_downloads() function due to insufficient file path validation/sanitization. This makes it possible for authenticated attackers, with Contributor-level access and above, to read the contents of arbitrary files on the server, which can contain sensitive information.

Technical Analysis

The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no interaction from a victim user. A successful exploit has high impact on confidentiality.

CWE-35: Path Traversal: '.../...//'

The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize '.../...//' (doubled triple dot slash) sequences that can resolve to a location that is outside of that directory.

Remediation

Update to version 2.0, or a newer patched version

How does WordSec protect against this?

The fix is the thing that ends this: Product Input Fields for WooCommerce 2.0 closes this, and updating the plugin is the step that ends it.

  • Alerts

External References

Related records

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C