Skip to main content
CVE Vulnerability Database
Vulnerability Database/CVE-2026-10558

CVE-2026-10558: Pizzafy Ecommerce System RCE Vulnerability

CVE-2026-10558 is a remote code execution flaw in SourceCodester Pizzafy Ecommerce System 1.0 affecting /admin/index.php. This vulnerability allows remote file inclusion attacks. Explore technical details and mitigation strategies.

Published:

CVE-2026-10558 Overview

CVE-2026-10558 is a Local File Inclusion (LFI) vulnerability in SourceCodester Pizzafy Ecommerce System 1.0. The flaw resides in the /admin/index.php file, where the page parameter is processed without proper validation. An authenticated remote attacker can manipulate this parameter to include arbitrary files from the server filesystem. The vulnerability is classified under CWE-73: External Control of File Name or Path. A public exploit is available, increasing the likelihood of opportunistic abuse against exposed instances.

Critical Impact

Authenticated attackers can read sensitive files or execute attacker-controlled content through the vulnerable page parameter in /admin/index.php.

Affected Products

  • SourceCodester Pizzafy Ecommerce System 1.0
  • Deployments exposing /admin/index.php over the network
  • Instances with default or weak administrative credentials

Discovery Timeline

  • 2026-06-02 - CVE-2026-10558 published to NVD
  • 2026-06-02 - Last updated in NVD database

Technical Details for CVE-2026-10558

Vulnerability Analysis

The vulnerability exists in the administrative interface of the Pizzafy Ecommerce System. The /admin/index.php script accepts a page GET parameter intended to load specific administrative views. The application passes this parameter directly into a file inclusion routine without sanitization or allow-list validation. An attacker authenticated with low-privilege credentials can substitute the expected value with a relative path. This causes the PHP interpreter to load and execute arbitrary local files. Confidentiality, integrity, and availability are all impacted at a limited scope. The public availability of exploitation details lowers the technical barrier for attackers. See the GitHub CVE Writeup for technical details.

Root Cause

The root cause is improper neutralization of user-supplied input used in a PHP include or require statement. The page argument is concatenated into a file path without enforcing an allow-list of permitted view names. Directory traversal sequences and absolute paths are not stripped.

Attack Vector

The attack is performed remotely over HTTP. An attacker authenticates to the admin panel, then crafts a request such as /admin/index.php?page=<traversal-payload> to load sensitive files. Local log files or uploaded content can be referenced to achieve code execution in some configurations.

// No verified exploit code is published in the enriched dataset.
// See the GitHub CVE Writeup linked above for proof-of-concept details.

Detection Methods for CVE-2026-10558

Indicators of Compromise

  • HTTP requests to /admin/index.php containing page= values with ../ traversal sequences or absolute paths such as /etc/passwd
  • Web server access logs showing repeated administrative requests with unusual page parameter values
  • PHP error logs referencing include() or require() failures on non-standard file paths

Detection Strategies

  • Inspect web server logs for page parameter values containing path separators, null bytes, or PHP wrappers like php://filter
  • Deploy Web Application Firewall (WAF) signatures targeting LFI patterns against the /admin/ path
  • Correlate authenticated admin sessions with anomalous file access patterns on the PHP process

Monitoring Recommendations

  • Alert on PHP processes reading files outside the application document root
  • Monitor administrative authentication events for unusual source IPs or off-hours activity
  • Track outbound network connections from the web server to identify post-exploitation activity

How to Mitigate CVE-2026-10558

Immediate Actions Required

  • Restrict network access to the /admin/ interface using IP allow-lists or VPN-only access
  • Rotate all administrative credentials and enforce strong, unique passwords
  • Review web server and application logs for prior exploitation attempts targeting the page parameter
  • Consider taking vulnerable instances offline until a vendor patch is available

Patch Information

No official vendor patch has been published in the enriched advisory data at the time of writing. Monitor the SourceCodester Security Blog and VulDB entry for CVE-2026-10558 for remediation updates.

Workarounds

  • Implement a server-side allow-list that maps the page parameter to a fixed set of permitted view identifiers
  • Configure PHP with open_basedir restrictions to limit file system access to the application directory
  • Disable allow_url_include in php.ini to prevent remote file inclusion escalation paths
  • Apply WAF rules that block traversal sequences (../), null bytes, and PHP stream wrappers in query parameters
bash
# Example php.ini hardening
allow_url_include = Off
allow_url_fopen = Off
open_basedir = /var/www/pizzafy/:/tmp/

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.