Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify target via web fingerprinting
-
DeliverySend crafted HTTP GET to /admin/ajax.php
-
ExploitInject SQL via ID parameter
-
ExecutionExtract database credentials
-
PersistAuthenticate as admin
-
ImpactExfiltrate customer/payment data
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 | Vulnerable /admin/ajax.php endpoint must be network-accessible to the attacker, with the delete_cart action enabled. Exploitation succeeds against default configurations of Pizzafy Ecommerce System 1.0 with no authentication required per CVSS PR:N. However, real-world exploitation depends on whether organizations deployed this obscure SourceCodester script-most commercial environments use established e-commerce platforms instead. If administrators implemented authentication checks or IP whitelisting on /admin/* paths post-deployment (common hardening for admin panels), exploitation is limited to authenticated attackers (PR:L/H), significantly reducing attack surface. Network accessibility of the admin interface-whether exposed to the public internet versus restricted to internal networks-directly determines exploitability. |
| Impact | CVSS vector AV:N/AC:L/PR:N/UI:N indicates remote unauthenticated exploitation with low complexity-attackers need only craft malicious HTTP requests to the vulnerable endpoint. The E:P (Proof-of-concept Exploit) temporal modifier confirms publicly available weaponization via the GitHub POC. However, real-world risk is tempered by deployment context: Pizzafy Ecommerce System 1.0 is an obscure open-source script from SourceCodester, unlikely to be widely deployed in production environments. Organizations running this specific version face immediate risk from opportunistic attackers scanning for the /admin/ajax.php endpoint. The S:U (unchanged scope) limits lateral movement-attackers cannot pivot beyond the database context. EPSS data is absent from input, preventing automated exploitation probability assessment. No CISA KEV listing suggests no observed widespread or targeted exploitation campaigns. Priority depends entirely on whether the organization actually runs this specific product-most commercial environments do not. |
| Exploit ScenarioDerived | An unauthenticated attacker identifies a Pizzafy Ecommerce System installation via fingerprinting (checking for /admin/ajax.php or SourceCodester signatures). Using the public GitHub POC, they craft a malicious HTTP request: GET /admin/ajax.php?action=delete_cart&ID=1' UNION SELECT username,password,email FROM admin_users--. The unsanitized ID parameter injects SQL commands, extracting administrator credentials from the database. With stolen credentials, attackers gain full administrative access to modify product listings, steal customer payment data, or inject web skimming scripts into checkout pages. |
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 unauthenticated remote attackers to extract, modify, or delete database contents via the ID parameter in /admin/ajax.php?action=delete_cart endpoint. Publicly available exploit code exists (GitHub POC), enabling immediate weaponization. CVSS 7.3 indicates network-based exploitation with no authentication barriers, granting partial confidentiality, integrity, and availability impact. Despite high CVSS and public POC, this affects a niche open-source e-commerce platform with limited deployment footprint.
RemediationAI
No vendor-released patch identified at time of analysis-SourceCodester projects often lack formal security update processes. Immediate mitigation requires manual code remediation: implement parameterized queries (prepared statements) in /admin/ajax.php delete_cart function to neutralize SQL injection in the ID parameter. If modifying code is impractical, implement compensating controls: (1) Restrict /admin/ajax.php access to authenticated administrator sessions only via web server ACLs or application authentication checks-this converts the attack from PR:N to PR:H, reducing CVSS to ~6.5 and blocking unauthenticated exploitation. (2) Deploy web application firewall (WAF) rules to block SQL metacharacters in the ID parameter-effective against basic attacks but bypassable with encoding tricks. (3) If cart functionality is unused, disable or delete /admin/ajax.php entirely. Long-term solution: migrate to actively maintained e-commerce platforms with security support. Check https://vuldb.com/vuln/359824 and the GitHub POC at https://github.com/fernando-mengali/vulndb-submissions/blob/main/01-vul-SQLI.md for technical exploitation details to inform WAF rule tuning.
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 is a classic CWE-89 SQL injection vulnerability in a PHP-based web application. The delete_cart function in /admin/ajax.php improperly sanitizes the ID parameter before incorporating it into SQL queries, allowing attackers to inject arbitrary SQL commands. The CPE identifier cpe:2.3:a:sourcecodester:pizzafy_ecommerce_system:*:*:*:*:*:*:*:* confirms the affected product is SourceCodester's Pizzafy Ecommerce System version 1.0. SourceCodester hosts free, often educational PHP scripts with inconsistent security practices. The vulnerability exists in the administrative cart management functionality, suggesting the /admin/ path may lack proper access controls or the endpoint is exposed to unauthenticated contexts.
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 security flaw has been discovered in SourceCodester Pizzafy Ecommerce System 1.0. This affects the function delete_cart of the file /admin/ajax.php?action=delete_cart. Performing a manipulation of the argument ID results in sql injection. The attack may be initiated remotely. The exploit has been released to the public and may be used for attacks.
Executive ViewAI
SourceCodester Pizzafy Ecommerce System 1.0 contains an unauthenticated SQL injection vulnerability in the admin cart deletion function that allows attackers to extract, modify, or delete database contents without credentials. Organizations using this platform face immediate risk of data breach and operational disruption, as publicly available exploit code removes technical barriers to attack.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable or restrict network access to /admin/ajax.php at the firewall or reverse proxy level; (2) Implement parameterized queries or prepared statements in the application code if source code is available; (3) Deploy WAF rules to detect and block SQL injection patterns; (4) Enforce strict input validation on the ID parameter (whitelist numeric values only); (5) Monitor database logs for suspicious queries; (6) Require immediate database credential rotation and access review.
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 remote unauthenticated attackers to execute arbitrar
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-25988
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB