CVE-2024-5853
Published: 19 June 2024
Summary
CVE-2024-5853 is a critical-severity Unrestricted Upload of File with Dangerous Type (CWE-434) vulnerability in Sirv Sirv. Its CVSS base score is 9.9 (Critical).
Operationally, ranked in the top 6.6% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
Deeper analysis
The Image Optimizer, Resizer and CDN – Sirv plugin for WordPress is vulnerable to arbitrary file uploads because the sirv_upload_file_by_chanks AJAX action lacks file-type validation in all versions through 7.2.6. The flaw is tracked as CVE-2024-5853 and carries a CVSS 3.1 score of 9.9, corresponding to CWE-434.
Authenticated users with Contributor privileges or higher can send crafted requests to the affected endpoint and place arbitrary files on the server, which may result in remote code execution within the site’s context. The vulnerability is exploitable over the network without user interaction once an account with the minimum required role is obtained.
The referenced Wordfence advisory and the plugin’s Trac changesets show that the issue was resolved by adding proper validation in changeset 3103410; site owners should update to the newest release of the Sirv plugin. The associated EPSS score has remained flat at 0.1048 with no material increase after disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-46997
Vulnerability details
The Image Optimizer, Resizer and CDN – Sirv plugin for WordPress is vulnerable to arbitrary file uploads due to missing file type validation in the sirv_upload_file_by_chanks AJAX action in all versions up to, and including, 7.2.6. This makes it possible…
more
for authenticated attackers, with Contributor-level access and above, 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.