CVE-2024-6054
Published: 27 June 2024
Summary
CVE-2024-6054 is a high-severity Unrestricted Upload of File with Dangerous Type (CWE-434) vulnerability in Auto-Featured-Image Project Auto-Featured-Image. Its CVSS base score is 8.8 (High).
Operationally, ranked in the top 8.4% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
Deeper analysis
The Auto Featured Image plugin for WordPress is vulnerable to arbitrary file uploads in all versions through 1.2. The issue stems from missing file type validation inside the create_post_attachment_from_url function, which permits an attacker to supply an arbitrary URL that the plugin will fetch and store as an attachment without checking its content type. The flaw is tracked as CWE-434 and carries a CVSS 3.1 base score of 8.8.
An authenticated user with contributor-level or higher privileges can exploit the vulnerability over the network to upload files of any type to the server. Successful exploitation may allow the attacker to place executable code on the site, resulting in remote code execution and full compromise of the affected WordPress installation.
The EPSS score for this CVE has remained low, with a current value of 0.0695 and a peak of only 0.0713, indicating limited observed exploitation interest to date. No public information on available patches or specific mitigation steps beyond upgrading the plugin is provided in the referenced sources.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-47212
Vulnerability details
The Auto Featured Image plugin for WordPress is vulnerable to arbitrary file uploads due to missing file type validation in the 'create_post_attachment_from_url' function in all versions up to, and including, 1.2. This makes it possible for authenticated attackers, with contributor-level…
more
and above permissions, 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.