CVE-2024-30849

Arbitrary file upload vulnerability in Sourcecodester Complete E-Commerce Site v1.0, allows remote attackers to execute arbitrary code via filename parameter…

Critical · published April 5, 2024

CVSS v3.1
9.8
EPSS
1%
Percentile
65.8
In the wild
Unconfirmed
What it is

🚨 An arbitrary file upload vulnerability in Sourcecodester Complete E-Commerce Site v1.0 lets attackers run their own code, like handing over the keys to the server! 🔥 This flaw is akin to a restaurant that accepts any dish for the menu without checking the ingredients. Just like a chef inadvertently serving a dangerous allergen, the server unwittingly runs malicious scripts uploaded by attackers. An attacker could exploit this vulnerability to upload harmful files, leading to total server takeover, data breaches, or even destruction of business-critical information. The potential chaos ensuing from this could be absolutely devastating for any e-commerce platform.

Put simply

This flaw is akin to a restaurant that accepts any dish for the menu without checking the ingredients. Just like a chef inadvertently serving a dangerous allergen, the server unwittingly runs malicious scripts uploaded by attackers. This vulnerability allows remote attackers to execute arbitrary code via the 'filename' parameter in the 'admin/products_photo.php' file, bypassing any restrictions that should normally prevent such actions.

What to do

An attacker could exploit this vulnerability to upload harmful files, leading to total server takeover, data breaches, or even destruction of business-critical information. The potential chaos ensuing from this could be absolutely devastating for any e-commerce platform. Immediately update to the latest version of Sourcecodester Complete E-Commerce Site to patch this flaw. Additionally, implement strict validation checks on file uploads and limit file types to prevent harmful content from being executed. Regularly audit your application for vulnerabilities. This vulnerability is fixable! Follow these steps and secure your site like the hero you are! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01116 · 65.8th percentile
Published
2024-04-05T00:00Z
EPSS history
Timeline
  • 05 APR 00:00Z
    Arbitrary file upload vulnerability in Sourcecodester Complete E-Commerce Site v1.0, allows remote attackers to execute arbitrary code via filename parameter…
    cvelistv5