CVE-2025-52921CWE-420

In Innoshop through 0.4.1, an authenticated attacker could exploit the File Manager functions in the admin panel to achieve code execution on the server, by…

Critical · published June 23, 2025

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

🚨 An authenticated attacker can upload a seemingly innocent file and execute any code on the server! This mind-blowingly simple bypass of file restrictions is a game-changer. 🔥 Think of it like a restaurant that lets you bring any food but has a strict rule that it can’t be a pizza. However, if you sneak in a pizza disguised as a salad and simply rename it at the counter, you get to serve it up anyway – and your friends (the server) have no idea! Once the attacker renames their uploaded file to have a .php extension, it’s game on! This means they can run any code they want on the server, potentially unleashing havoc like deleting files, stealing data, or worse. This vulnerability can lead to full server compromise, which is absolutely devastating!

Put simply

Think of it like a restaurant that lets you bring any food but has a strict rule that it can’t be a pizza. However, if you sneak in a pizza disguised as a salad and simply rename it at the counter, you get to serve it up anyway – and your friends (the server) have no idea! This vulnerability in Innoshop (up to version 0.4.1) allows authenticated attackers to exploit the File Manager functions by uploading a crafted file and renaming it via the Rename Function. This method circumvents the application’s reliance on frontend checks for file type restrictions.

What to do

Once the attacker renames their uploaded file to have a .php extension, it’s game on! This means they can run any code they want on the server, potentially unleashing havoc like deleting files, stealing data, or worse. This vulnerability can lead to full server compromise, which is absolutely devastating! Immediately update Innoshop to version 0.4.2 or later to mitigate this vulnerability. Additionally, implement server-side checks on file uploads to prevent unauthorized file types, regardless of frontend validations. Don’t forget to audit your logs for any suspicious activity! You've got this! Follow these steps, and you'll fortify your application in no time! 🛡️

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:L
CVSS v4.0
Not supplied
EPSS
0.00537 · 44.4th percentile
Weakness
CWE-420 · Unprotected Alternate Channel
Published
2025-06-23T00:00Z
EPSS history
Timeline
  • 23 JUN 00:00Z
    In Innoshop through 0.4.1, an authenticated attacker could exploit the File Manager functions in the admin panel to achieve code execution on the server, by…
    cvelistv5