Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain admin credentials
-
DeliveryAuthenticate to admin panel
-
ExploitSend crafted AJAX request to /admin/ajax.php
-
ExecutionInject SQL in pid parameter
-
PersistExtract or modify database contents
-
ImpactExfiltrate sensitive data or escalate privileges
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 | Authentication required: Attacker must possess valid admin credentials to access /admin/ajax.php endpoint, as PR:L (Low Privilege level) in CVSS vector indicates login is necessary. The vulnerability specifically requires the 'add_to_cart' action parameter to be set. The pid parameter must be passed unsanitized to a SQL query. Non-default configuration not required; standard Pizzafy 1.0 installation with active admin accounts is sufficient. No user interaction required once authenticated. Network accessibility is unrestricted (AV:N), but only reachable if admin interface is exposed to attacker's network. |
| Impact | CVSS 6.3 with vector AV:N/AC:L/PR:L/UI:N indicates network-accessible SQL injection requiring low privileges and low complexity, but importantly requiring prior authentication (PR:L). The CVSS environmental modifier E:P (Proof of Concept Exists) and RC:R (Reports Available) elevate exploitation likelihood. However, the PR:L requirement significantly limits real-world risk compared to unauthenticated SQL injection vulnerabilities. The publicly available POC confirms exploit feasibility but lack of CISA KEV status suggests no confirmed mass exploitation. Risk assessment hinges on whether admin credentials are obtainable through other means (weak credentials, phishing, prior compromise). For organizations with strong access controls on admin interfaces, impact is contained to insider threats or post-compromise scenarios. The moderate CVSS score reflects the dual nature: high severity if authenticated, but authentication gate reduces attack surface. |
| Exploit ScenarioDerived | An attacker with valid admin credentials (obtained through credential stuffing, phishing, or insider access) navigates to or crafts a request to /admin/ajax.php?action=add_to_cart with a malicious pid parameter containing SQL injection payload such as pid=1' UNION SELECT username, password FROM users -- . The server executes the crafted SQL, returning sensitive data back in the AJAX response or allowing data modification. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 29, 2026
SQL injection in SourceCodester Pizzafy Ecommerce System 1.0 allows authenticated remote attackers to execute arbitrary SQL commands via the pid parameter in /admin/ajax.php?action=add_to_cart, potentially leading to unauthorized data access, modification, or deletion. The vulnerability has publicly available exploit code and may be actively exploited.
RemediationAI
Immediate remediation requires upgrading to a patched version if available from SourceCodester; however, no patched version has been independently confirmed in the provided data. Contact SourceCodester directly via https://www.sourcecodester.com/ to request a security patch or clarify end-of-life status for version 1.0. As an interim compensating control, implement Web Application Firewall (WAF) rules to block SQL injection payloads in the pid parameter (regex pattern matching for common SQL keywords: UNION, SELECT, DROP, etc.). Restrict network access to /admin/ endpoints using IP whitelisting or VPN requirement, limiting authentication attempts to trusted networks. Apply principle of least privilege to admin accounts and enforce multi-factor authentication to reduce credential compromise risk. Review database user permissions to ensure the application runs with minimal SQL privileges (no DROP or ALTER permissions). Monitor /admin/ajax.php for unusual SQL syntax in logs and implement rate limiting on failed login attempts.
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
The vulnerability exists in the PHP-based Pizzafy Ecommerce System administrative interface. The /admin/ajax.php endpoint processes AJAX requests with an 'action' parameter set to 'add_to_cart'. The pid (product ID) argument is passed directly to a SQL query without proper sanitization or parameterized query preparation, violating CWE-89 (SQL Injection) principles. This allows attackers to inject arbitrary SQL syntax into database queries. The attack requires authenticated access to the admin interface, suggesting either compromised admin credentials or a multi-stage attack chain beginning with authentication bypass.
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:L/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
4DescriptionCVE.org
A vulnerability has been found in SourceCodester Pizzafy Ecommerce System 1.0. This vulnerability affects unknown code of the file /admin/ajax.php?action=add_to_cart. The manipulation of the argument pid leads to sql injection. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used.
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
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 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-26292
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB