Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed /admin/ajax.php endpoint
-
DeliveryCraft SQL injection payload in ID parameter
-
ExploitSubmit malicious request to delete_menu function
-
ExecutionExtract database credentials/data via UNION-based injection
-
PersistAuthenticate as administrator using stolen credentials
-
ImpactModify application data or deploy webshell
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the target is running SourceCodester Pizzafy Ecommerce System version 1.0 with the vulnerable /admin/ajax.php endpoint accessible over the network. The CVSS vector indicates PR:N (no privileges required), suggesting remote unauthenticated exploitation is possible; however, the /admin/ path prefix typically implies administrative context, creating ambiguity-verify whether the application enforces session authentication for this endpoint or if the action parameter allows unauthenticated access to delete_menu. Exploitation is NOT limited by the attack vector (AV:N allows internet-based exploitation), attack complexity is low (AC:L, no timing dependencies or race conditions), and no user interaction is required (UI:N). Limiting factors include potential IP-based access controls if administrators have restricted /admin/ to internal networks, though this is not a default configuration in the distributed source code. |
| Impact | Real-world risk assessment reveals moderate to high priority despite the 7.3 CVSS score. The CVSS vector (AV:N/AC:L/PR:N/UI:N) indicates network-accessible exploitation requiring no authentication or user interaction, which typically elevates concern. However, critical context limits widespread risk: the vulnerable endpoint is /admin/ajax.php, suggesting it may be restricted to authenticated administrative sessions despite PR:N in the vector-this discrepancy between vector and endpoint name requires verification with the actual application code. The public GitHub POC (E:P in CVSS temporal metrics) confirms exploitability and lowers attacker skill requirements. No CISA KEV listing indicates this is not observed in widespread campaigns, and EPSS data is absent from the analysis. The CVSS scope is unchanged (S:U), meaning attackers cannot pivot beyond the application's privilege boundary. Primary risk is to organizations running this specific open-source ecommerce system, particularly if administrative interfaces are internet-exposed without IP restrictions. The confidentiality/integrity/availability impacts are all rated Low (C:L/I:L/A:L), suggesting limited blast radius per successful exploit, though SQL injection can often be chained with other techniques for greater impact. |
| Exploit ScenarioDerived | An attacker identifies a Pizzafy Ecommerce System 1.0 installation through reconnaissance or Shodan searches for characteristic administrative endpoints. Using the publicly available GitHub exploit code, the attacker crafts a malicious HTTP request to /admin/ajax.php?action=delete_menu with a SQL injection payload in the ID parameter (e.g., ID=1' UNION SELECT username,password,3 FROM admin_users--). The application executes the injected SQL, allowing extraction of administrator credentials, user data, or payment information from the database, which can then be used for account takeover, data exfiltration, or further lateral movement within the hosting environment. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 28, 2026
SQL injection in SourceCodester Pizzafy Ecommerce System 1.0 allows remote unauthenticated attackers to execute arbitrary SQL commands via the ID parameter in the delete_menu function of /admin/ajax.php. Public exploit code is available on GitHub, enabling database extraction, authentication bypass, and potential administrative access. CVSS 7.3 reflects network-accessible attack with no authentication required, though actual exploitation targets the administrative backend endpoint.
RemediationAI
No vendor-released patch identified at time of analysis for SourceCodester Pizzafy Ecommerce System 1.0, as this is an open-source educational project without formal security update channels. Immediate mitigation requires manual code modification: implement parameterized queries (prepared statements) in /admin/ajax.php for the delete_menu function, specifically binding the ID parameter using PDO or mysqli prepared statement APIs rather than direct string concatenation. Compensating controls include restricting access to /admin/ajax.php endpoints via IP allowlisting to trusted administrative networks only, implementing a web application firewall (WAF) with SQL injection signature detection (trade-off: may produce false positives requiring tuning, and bypass techniques exist), and enforcing strong authentication on all /admin/ paths with multi-factor authentication to reduce unauthenticated access surface despite the PR:N vector rating. Conduct thorough code audit of all AJAX endpoints and database interaction points for similar unsanitized input handling. Consider migrating to actively maintained ecommerce platforms with dedicated security teams if this system is used in production environments. Advisory references: https://vuldb.com/vuln/359825 and exploit details at https://github.com/fernando-mengali/vulndb-submissions/blob/main/02-vul-SQLI.md.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This vulnerability exploits CWE-89 (SQL Injection) in a PHP-based ecommerce application. The delete_menu function in /admin/ajax.php lacks proper input sanitization on the ID parameter, allowing attackers to inject malicious SQL syntax into database queries. The affected product (cpe:2.3:a:sourcecodester:pizzafy_ecommerce_system) is a SourceCodester open-source project commonly used for educational purposes and small business deployments. SQL injection occurs when user-controllable input is concatenated directly into SQL statements without parameterized queries or adequate escaping, enabling attackers to manipulate database logic, extract sensitive data, modify records, or escalate privileges within the application.
Know when Pizzafy Ecommerce System gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
5DescriptionCVE.org
A weakness has been identified in SourceCodester Pizzafy Ecommerce System 1.0. This vulnerability affects the function delete_menu of the file /admin/ajax.php?action=delete_menu. Executing a manipulation of the argument ID can lead to sql injection. The attack may be launched remotely. The exploit has been made available to the public and could be used for attacks.
Executive ViewAI
SourceCodester Pizzafy Ecommerce System 1.0 contains a critical SQL injection vulnerability in its administrative backend that allows unauthenticated remote attackers to extract databases, bypass authentication, and potentially gain administrative control. Organizations running this system face immediate risk of data breach and operational compromise, as public exploit code is already available and the vendor has not released a patch.
No vendor-released patch identified at time of analysis. Implement immediate mitigations: (1) Restrict network access to /admin/ajax.php via firewall to trusted administrative IP ranges only; (2) Deploy WAF rules to block SQL injection payloads in the ID parameter; (3) Apply principle of least privilege to database service accounts; (4) Enable database query logging and monitoring for anomalous SQL patterns; (5) Implement database encryption at rest; (6) Isolate affected systems on a segmented network if business continuity permits.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
More in Pizzafy Ecommerce System
View allSQL injection in Pizzafy Ecommerce System 1.0 allows remote unauthenticated attackers to execute arbitrary SQL commands
SQL injection in Pizzafy Ecommerce System 1.0 allows remote unauthenticated attackers to compromise database confidentia
SQL injection in SourceCodester Pizzafy Ecommerce System 1.0 allows remote unauthenticated attackers to compromise datab
SQL injection in SourceCodester Pizzafy Ecommerce System 1.0 allows unauthenticated remote attackers to extract, modify,
Local File Inclusion via null byte injection in SourceCodester Pizzafy Ecommerce System 1.0 allows authenticated remote
File inclusion in SourceCodester Pizzafy Ecommerce System 1.0 exposes the admin panel to path traversal attacks via the
SQL injection in SourceCodester Pizzafy Ecommerce System 1.0 allows authenticated remote attackers to execute arbitrary
SQL injection in SourceCodester Pizzafy Ecommerce System 1.0 allows authenticated remote attackers to execute arbitrary
SQL injection in SourceCodester Pizzafy Ecommerce System 1.0 via the ID parameter in /view_prod.php allows authenticated
SQL injection in SourceCodester Pizzafy Ecommerce System 1.0 allows authenticated remote attackers to execute arbitrary
SQL injection in SourceCodester Pizzafy Ecommerce System 1.0 allows authenticated remote attackers to read, modify, or d
SQL injection in SourceCodester Pizzafy Ecommerce System 1.0 allows authenticated remote attackers to manipulate the ID
EUVD-2026-25989
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB