CVE-2026-7393
Received Received - Intake

Unrestricted File Upload in Pizzafy Ecommerce System

Vulnerability report for CVE-2026-7393, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-04-29

Last updated on: 2026-04-29

Assigner: VulDB

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-04-29
Last Modified
2026-04-29
Generated
2026-07-26
AI Q&A
2026-04-29
EPSS Evaluated
2026-07-25
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
sourcecodester pizzafy_ecommerce_system 1.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-284 The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.
CWE-434 The product allows the upload or transfer of dangerous file types that are automatically processed within its environment.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability exists in the SourceCodester Pizzafy Ecommerce System 1.0, specifically in the save_menu function of the /admin/admin_class_novo.php file within the File Extension Handler component.

It allows an attacker to manipulate the 'img' argument to perform an unrestricted file upload.

The attack can be carried out remotely, and an exploit for this vulnerability has been made public.

Detection Guidance

This vulnerability can be detected by checking for the presence of unauthorized or suspicious files in the web-accessible assets/img/ directory, especially PHP files disguised as images.

You can also monitor for unusual HTTP requests that attempt to execute commands via the cmd parameter in URLs targeting uploaded files.

Suggested commands to detect potential exploitation include:

  • List files in the assets/img/ directory to find unexpected PHP files: ls -la /path/to/assets/img/
  • Search for PHP files in the image directory: find /path/to/assets/img/ -type f -name "*.php"
  • Check web server access logs for requests containing the cmd parameter: grep "cmd=" /var/log/apache2/access.log
  • Use network monitoring tools to detect suspicious HTTP requests targeting the upload endpoint or uploaded files.
Impact Analysis

The vulnerability allows an attacker to upload files without restriction, which could lead to unauthorized files being placed on the server.

This could potentially be exploited to execute malicious code, compromise the server, or disrupt the ecommerce system's normal operation.

Compliance Impact

The vulnerability allows an attacker with administrator privileges to upload malicious files and execute arbitrary commands on the server, potentially leading to full system compromise.

Such a compromise can result in unauthorized access to sensitive data, including database credentials and other protected information.

This exposure and potential data breach could violate common standards and regulations like GDPR and HIPAA, which require protection of personal and sensitive data against unauthorized access and breaches.

Mitigation Strategies

Immediate mitigation steps include restricting file uploads to only allow safe file types and validating file extensions and MIME types in the save_menu() function.

Disable directory listing on the assets/img/ directory to prevent attackers from easily locating uploaded files.

Remove any suspicious or unauthorized files found in the assets/img/ directory, especially PHP files.

Apply proper access controls to the upload functionality to ensure only trusted administrators can upload files.

Monitor server logs for signs of exploitation attempts and consider temporarily disabling the vulnerable upload feature until a patch is applied.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-7393. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart