CVE-2024-7257
Published: 03 August 2024
Summary
CVE-2024-7257 is a critical-severity Unrestricted Upload of File with Dangerous Type (CWE-434) vulnerability in Wordpress (inferred from references). Its CVSS base score is 9.8 (Critical).
Operationally, ranked in the top 7.7% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
Deeper analysis
The vulnerability CVE-2024-7257 is an arbitrary file upload flaw (CWE-434) in the YayExtra – WooCommerce Extra Product Options plugin for WordPress. It is caused by missing file type validation inside the handle_upload_file function and affects all versions through 1.3.7, earning a CVSS 3.1 score of 9.8.
Unauthenticated attackers can exploit the issue over the network with no credentials or user interaction required. Successful exploitation permits upload of arbitrary files to the web server, which can be leveraged for remote code execution and full site compromise.
Public references include the vulnerable code paths in ProductPage.php, the corrective changeset committed to the plugin repository, the official WordPress plugin page, and a detailed Wordfence advisory; these sources indicate that site owners should apply the vendor-supplied update that resolves the validation gap.
EPSS remains flat at 0.0799 with no material increase after disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-48204
Vulnerability details
The YayExtra – WooCommerce Extra Product Options plugin for WordPress is vulnerable to arbitrary file uploads due to missing file type validation in the handle_upload_file function in all versions up to, and including, 1.3.7. This makes it possible for unauthenticated…
more
attackers to upload arbitrary files on the affected site's server which may make remote code execution possible.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Requiring identifiable owners for portable devices reduces the attack surface for unrestricted uploads of dangerous file types via anonymous media.
Dangerous file uploads can be detonated in the chamber to determine malice before any production write or execution occurs.
Prevents unrestricted writing of arbitrary or malicious firmware by keeping hardware write-protect enabled except under tightly controlled manual procedures.
Scans files from external sources on download/open/execute, blocking unrestricted uploads of dangerous file types.