Vulnerabilities > CVE-2024-8480 - Missing Authorization vulnerability in Sirv
Summary
The Image Optimizer, Resizer and CDN – Sirv plugin for WordPress is vulnerable to unauthorized modification of data due to a missing capability check on the 'sirv_save_prevented_sizes' function in all versions up to, and including, 7.2.7. This makes it possible for authenticated attackers, with Contributor-level access and above, to exploit the 'sirv_upload_file_by_chunks_callback' function, which lacks proper file type validation, allowing attackers to upload arbitrary files on the affected site's server which may make remote code execution possible.
Vulnerable Configurations
Common Weakness Enumeration (CWE)
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/1e3e628f-b5e7-40fd-9d34-4a3b23e1e0e7?source=cve
- https://plugins.trac.wordpress.org/browser/sirv/trunk/sirv.php?rev=3103410#L4647
- https://plugins.trac.wordpress.org/browser/sirv/tags/7.2.7/sirv.php#L6331
- https://plugins.trac.wordpress.org/changeset/3115018/