CVE-2025-57148

Published Sep 3, 2025 CVSS 3.1 · 9.1 Critical EPSS < 1% KEV · Not listed
Description
phpgurukul Online Shopping Portal 2.0 is vulnerable to Arbitrary File Upload in /admin/insert-product.php, due to the lack of extension validation.

Analysis

AI-generated

Technical impact

The vulnerability in phpgurukul Online Shopping Portal 2.0 allows arbitrary files to be uploaded to the /admin/insert-product.php endpoint due to missing extension validation. This flaw is classed as CWE-434 and can enable an attacker to upload malicious scripts or other executable files, potentially leading to remote code execution, data theft, or further compromise of the web application.

Affected Systems

The vulnerability affects phpgurukul Online Shopping Portal version 2.0. The admin product insertion page located at /admin/insert-product.php is the specific point of exploitation.

Risk and Exploitability

The CVSS score of 9.1 reflects a high severity risk of remote code execution. The EPSS score of < 1% indicates that, at the time of this analysis, the probability of exploitation observed in the wild is low, but the flaw remains critical. The vulnerability is not listed in the CISA KEV catalog. The most likely attack vector is a web‑based POST request to the upload endpoint, typically requiring authenticated admin access or a side‑channel that bypasses authentication. Exploitation would involve crafting a request with a malicious file extension that the system does not filter, thereby allowing the attacker to place a payload that the server will execute.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Check for an official vendor update or hotfix that fixes the upload validation issue and deploy it without delay.
  • Implement strict server‑side file type validation by enforcing a whitelist of allowed extensions (e.g., .jpg, .png, .pdf) and verify MIME types before accepting uploads.
  • Store uploaded files in a directory that has no execute permissions, rename files to random names, and configure the web server to prevent execution of uploaded content.

Generated by OpenCVE AI on April 28, 2026 at 00:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-26521 phpgurukul Online Shopping Portal 2.0 is vulnerable to Arbitrary File Upload in /admin/insert-product.php, due to the lack of extension validation.
History
Type Values Removed Values Added
CPEs cpe:2.3:a:phpgurukul:online_shopping_portal:2.0:*:*:*:*:*:*:*
Type Values Removed Values Added
First Time appeared Phpgurukul
Phpgurukul online Shopping Portal
Vendors & Products Phpgurukul
Phpgurukul online Shopping Portal
Type Values Removed Values Added
Weaknesses CWE-434
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description phpgurukul Online Shopping Portal 2.0 is vulnerable to Arbitrary File Upload in /admin/insert-product.php, due to the lack of extension validation.
References
Weaknesses
  • CWE-434

    Unrestricted Upload of File with Dangerous Type

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Apr 6, 2026, 2:07 PM
Reserved
Aug 17, 2025, 12:00 AM
Status
Modified
Published
Sep 3, 2025, 3:15 PM
Modified
Nov 7, 2026, 6:10 PM