CVE-2025-57148

phpgurukul Online Shopping Portal 2.0 is vulnerable to Arbitrary File Upload in /admin/insert-product.php, due to the lack of extension validation

Critical · published September 3, 2025

CVSS v3.1
9.1
EPSS
0%
Percentile
40.0
In the wild
Unconfirmed
What it is

🚨 A simple upload is all it takes to open the floodgates! The phpgurukul Online Shopping Portal 2.0 is vulnerable to arbitrary file uploads because it skips validating file extensions. 🔥 Think of this vulnerability like a restaurant that accepts any dish without checking the ingredients — imagine serving up a mystery casserole that could ruin the entire dinner party! 🍽️ An attacker could exploit this flaw to upload malicious files, potentially compromising the entire server. This could lead to data breaches, unauthorized access, or even complete system takeover, which is absolutely devastating for any business relying on this system.

Put simply

Think of this vulnerability like a restaurant that accepts any dish without checking the ingredients — imagine serving up a mystery casserole that could ruin the entire dinner party! 🍽️ The vulnerability arises in /admin/insert-product.php where the application fails to properly validate file extensions, allowing attackers to upload any file type they desire, including harmful scripts.

What to do

An attacker could exploit this flaw to upload malicious files, potentially compromising the entire server. This could lead to data breaches, unauthorized access, or even complete system takeover, which is absolutely devastating for any business relying on this system. To patch this vulnerability, implement strict file type validation by allowing only specific trusted extensions for uploads. Additionally, review user permissions and consider applying security measures like file scanning and logging uploads for any unusual activity. You've got this! Follow these steps and you'll turn this vulnerability into a secure fortress in no time. 🛡️

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00474 · 40.0th percentile
Published
2025-09-03T00:00Z
EPSS history
Timeline
  • 03 SEP 00:00Z
    phpgurukul Online Shopping Portal 2.0 is vulnerable to Arbitrary File Upload in /admin/insert-product.php, due to the lack of extension validation
    cvelistv5