CVE-2024-5853CWE-434

Image Optimizer, Resizer and CDN – Sirv <= 7.2.6 - Authenticated (Contributor+) Arbitrary File Upload

Critical · published June 19, 2024

CVSS v3.1
9.9
EPSS
1%
Percentile
55.7
In the wild
Unconfirmed
What it is

🚨 A missing file type validation in the Sirv plugin lets attackers with Contributor access upload ANY file they want! 🔥 Picture a restaurant where anyone with a reservation can walk into the kitchen and drop off whatever they like — including a surprise lasagna filled with who-knows-what! 🍝 That’s what this vulnerability does, allowing unauthorized files into your server’s kitchen. An attacker could potentially upload malicious files, leading to remote code execution and a full takeover of your site. It's like giving someone the keys to your digital fortress, leaving you vulnerable to data theft, server compromise, or worse!

Put simply

Picture a restaurant where anyone with a reservation can walk into the kitchen and drop off whatever they like — including a surprise lasagna filled with who-knows-what! 🍝 That’s what this vulnerability does, allowing unauthorized files into your server’s kitchen. The Sirv plugin for WordPress, in all versions up to 7.2.6, lacks proper validation of uploaded files through the sirv_upload_file_by_chanks AJAX action, which allows for arbitrary file uploads by authenticated users with Contributor-level access or higher.

What to do

An attacker could potentially upload malicious files, leading to remote code execution and a full takeover of your site. It's like giving someone the keys to your digital fortress, leaving you vulnerable to data theft, server compromise, or worse! Immediate action is required: Update the Sirv plugin to version 7.2.7 or higher to patch this vulnerability. Additionally, review user permissions to restrict access to only those who absolutely need it. Implement additional security measures like file type restrictions and monitoring uploads. You've got this! Follow these steps, and you’ll keep your site secure and cooking smoothly! 🛡️

The record
Technical detail
CVSS v3.1
9.9 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00787 · 55.7th percentile
Weakness
CWE-434 · Unrestricted Upload of File with Dangerous Type
Published
2024-06-19T05:37Z
EPSS history
Timeline
  • 19 JUN 05:37Z
    Image Optimizer, Resizer and CDN – Sirv <= 7.2.6 - Authenticated (Contributor+) Arbitrary File Upload
    cvelistv5