Vulnerability · Published Sep 6, 2024 · Assigned by Wordfence
CVE-2024-8480Image Optimizer, Resizer and CDN – Sirv <= 7.2.7 - Missing Authorization to Authenticated (Contributor+) Arbitrary File Upload
High 8.8
In plain English
A high-severity missing authorization in Image Optimizer, Resizer and CDN – Sirv from sirv. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 58% of all known vulnerabilities).
Official description
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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| sirv | Image Optimizer, Resizer and CDN – Sirv | 0 – through 7.2.7 |
Weakness: CWE-862 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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/