CVE-2024-58282CWE-434unrestricted-file-upload

CVE-2024-58282

High · published December 11, 2025

CVSS v3.1
7.2
EPSS
1%
Percentile
63.1
In the wild
Unconfirmed
What it is

🚨 Just one crafty PHP file upload can unleash a world of chaos! This vulnerability in Serendipity 2.5.0 lets authenticated admins inadvertently create a backdoor to their server! ⚡ Think of it like a restaurant allowing customers to bring their own dishes into the kitchen — if they slip in a recipe for disaster, the whole establishment is at risk! Here, an attacker could upload a malicious PHP file disguised as a harmless document, gaining control over the server's command execution. With this exploit, an attacker could run arbitrary commands on the server, potentially exposing sensitive data, altering configurations, or even taking down the entire site. It's a potentially devastating breach that could compromise not just the admin's account but the entire web application.

Put simply

Think of it like a restaurant allowing customers to bring their own dishes into the kitchen — if they slip in a recipe for disaster, the whole establishment is at risk! Here, an attacker could upload a malicious PHP file disguised as a harmless document, gaining control over the server's command execution. This remote code execution vulnerability stems from the media upload functionality that erroneously allows authenticated administrators to upload malicious PHP files. By crafting a PHP shell that executes commands, attackers can take control of the web server.

What to do

With this exploit, an attacker could run arbitrary commands on the server, potentially exposing sensitive data, altering configurations, or even taking down the entire site. It's a potentially devastating breach that could compromise not just the admin's account but the entire web application. To mitigate this risk, immediately update to the latest version of Serendipity. Additionally, implement strict validation for uploads by allowing only specific file types and utilize security plugins that scan for malicious file uploads. You’ve got this! Following these steps will help secure your server and keep those crafty attackers at bay. 🛡️

The record
Technical detail
CVSS v3.1
7.2 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01020 · 63.1th percentile
Weakness
CWE-434 · Unrestricted Upload of File with Dangerous Type
Published
2025-12-11T03:16Z
Affected products (1)
ProductVersionsFixed in
s9y/serendipityall versions—
References (5)
EPSS history
Timeline
  • 10 DEC 21:14Z
    Serendipity 2.5.0 Remote Code Execution via Authenticated Media Upload
    cvelistv5