CVE-2026-7393

SourceCodester Pizzafy Ecommerce System File Extension admin_class_novo.php save_menu unrestricted upload

Published Apr 29, 2026 CVSS 4.0 · 5.1 Medium EPSS < 1% KEV · Not listed
Description
A vulnerability was found in SourceCodester Pizzafy Ecommerce System 1.0. Affected is the function save_menu of the file /admin/admin_class_novo.php of the component File Extension Handler. Performing a manipulation of the argument img results in unrestricted upload. The attack is possible to be carried out remotely. The exploit has been made public and could be used.

Analysis

AI-generated

Technical impact

The vulnerability is an unrestricted file upload flaw in the save_menu function of admin_class_novo.php within the SourceCodester Pizzafy Ecommerce System. By manipulating the img argument, an attacker can upload arbitrary files without restriction, which can include executable scripts such as PHP, leading to potential remote code execution. This weakness is identified as CWE‑434 (Unrestricted Upload of File with Dangerous Type) and CWE‑284 (Improper Access Control). An attacker who successfully uploads code could have full control over the web application, read or modify sensitive data, and compromise the underlying server.

Affected Systems

SourceCodester Pizzafy Ecommerce System version 1.0 is affected. The flaw resides in the admin_class_novo.php file, part of the File Extension Handler component of the system.

Risk and Exploitability

The CVSS score of 5.1 indicates a moderate severity, and the EPSS score is not available, so the probability of exploitation cannot be precisely quantified. The vulnerability is not listed in CISA KEV. Based on the description, the attack vector is inferred to be remote; the exploit has been made public, implying that an attacker who can reach the admin interface or the file upload endpoint can trigger the flaw. Successful exploitation requires only the ability to send a crafted request, making the risk moderate but potentially high if no other mitigations are in place.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Restrict file uploads by validating MIME types and file extensions, blocking executable files such as .php, .exe, .sh;
  • Implement proper access controls to ensure only authorized administrators can reach the save_menu endpoint and upload functionality;
  • Check with SourceCodester for an updated version or patch that addresses the upload validation; if unavailable, remove the vulnerable upload feature from the production environment.

Generated by OpenCVE AI on April 29, 2026 at 21:14 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Sourcecodester
Sourcecodester pizzafy Ecommerce System
Vendors & Products Sourcecodester
Sourcecodester pizzafy Ecommerce System
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description A vulnerability was found in SourceCodester Pizzafy Ecommerce System 1.0. Affected is the function save_menu of the file /admin/admin_class_novo.php of the component File Extension Handler. Performing a manipulation of the argument img results in unrestricted upload. The attack is possible to be carried out remotely. The exploit has been made public and could be used.
Title SourceCodester Pizzafy Ecommerce System File Extension admin_class_novo.php save_menu unrestricted upload
Weaknesses CWE-284
CWE-434
References
Metrics cvssV2_0

{'score': 5.8, 'vector': 'AV:N/AC:L/Au:M/C:P/I:P/A:P/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 4.7, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 4.7, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 5.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P'}

Weaknesses
  • CWE-284

    Improper Access Control

  • CWE-434

    Unrestricted Upload of File with Dangerous Type

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Apr 29, 2026, 5:39 PM
Reserved
Apr 29, 2026, 9:40 AM
Status
Deferred
Published
Apr 29, 2026, 5:16 PM
Modified
Oct 26, 2026, 8:10 PM