Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconReconnaissance on target domain
-
DeliveryIdentify /admin/ajax.php endpoint
-
ExploitCraft SQL injection payload in email parameter
-
InstallSubmit login2 request with malicious input
-
C2Database executes injected SQL commands
-
ExecuteBypass authentication or extract data
-
ImpactGain administrative session access
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 | Targets deployments of SourceCodester Pizzafy Ecommerce System version 1.0 with the administrative interface (/admin/ajax.php) accessible over the network. Specifically requires the login2 action handler to be reachable and processing email parameters through vulnerable SQL query construction. No authentication, user interaction, or non-default configuration required-the CVSS vector (AV:N/AC:L/PR:N/UI:N) confirms remote unauthenticated exploitation against default installations. Attack succeeds against any instance where /admin/ajax.php?action=login2 responds to HTTP requests and the backend database connection is active. Limiting factors: Deployment prevalence is constrained to organizations using SourceCodester educational code in production environments. Network-level access controls (IP allowlisting, VPN requirements) or WAF deployment would prevent exploitation but are not part of default configuration. |
| Impact | Real-world risk is HIGH despite moderate CVSS scoring. The CVSS vector (AV:N/AC:L/PR:N/UI:N) indicates this is remotely exploitable without authentication or user interaction, making it trivially accessible to any network-based attacker. Attack complexity is low, meaning exploitation requires no special conditions beyond reaching the vulnerable endpoint. The publicly available POC exploit on GitHub (E:P for Proof-of-concept code) transforms this from theoretical to operationally weaponizable immediately. While CVSS rates impact as Low across all three dimensions (C:L/I:L/A:L), SQL injection historically enables escalation beyond initial access-attackers can often achieve full database extraction, administrative account takeover, or second-order code execution depending on database permissions and application architecture. The Ready Level rating of X (Unpatched) confirms no vendor fix exists at analysis time. Key risk multipliers: (1) targets admin interface, (2) unauthenticated remote exploitation, (3) public exploit code, (4) educational codebase likely deployed without security hardening. Primary risk mitigator: SourceCodester products have limited production deployment-this affects organizations using demonstration code in live environments rather than enterprise software installations. |
| Exploit ScenarioDerived | An external attacker identifies a Pizzafy Ecommerce System installation through banner grabbing or web application fingerprinting. Without requiring any credentials, they send a crafted HTTP POST request to /admin/ajax.php?action=login2 with a malicious payload in the email parameter, such as: email=' OR '1'='1' -- &password=anything. The vulnerable login2 function constructs a SQL query like SELECT * FROM users WHERE email='' OR '1'='1' -- ' AND password='...' which always evaluates true, bypassing authentication and returning administrative session credentials. The attacker gains full administrative access, enabling database extraction, user data theft, or malicious content injection. With the publicly available POC on GitHub, even low-skill attackers can exploit this vulnerability within minutes of discovering a vulnerable installation. |
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 compromise database confidentiality, integrity, and availability through the login2 function. The vulnerability exists in /admin/ajax.php when processing the email parameter during administrative login, enabling attackers to bypass authentication, extract sensitive data, modify records, or disrupt service. A proof-of-concept exploit has been publicly released on GitHub, significantly lowering the barrier to exploitation. CVSS 7.3 (High) reflects network-accessible attack surface with no authentication required and low attack complexity.
RemediationAI
No vendor-released patch identified at time of analysis (CVSS Ready Level: X/Unpatched). Organizations running Pizzafy Ecommerce System 1.0 in production environments must implement immediate compensating controls. Primary recommendation: Modify /admin/ajax.php to use parameterized queries (prepared statements) for all database interactions in the login2 function-replace string concatenation of the email parameter with PDO or mysqli prepared statements with bound parameters. Secondary controls: (1) Deploy a web application firewall (WAF) with SQL injection signature detection to filter malicious payloads targeting /admin/ajax.php?action=login2-note this is detection/mitigation not remediation and may be bypassed by encoding or obfuscation techniques. (2) Implement IP allowlisting for /admin/ directory access, restricting administrative interface to trusted management networks only-this reduces attack surface but does not address the underlying code vulnerability. (3) Enable database query logging and monitor for authentication anomalies or unusual SQL syntax patterns. For vulnerability details and POC code structure, reference the GitHub disclosure at https://github.com/fernando-mengali/vulndb-submissions/blob/main/03-vul-SQLI.md and VulDB entry https://vuldb.com/vuln/359826. Long-term recommendation: Migrate away from educational demonstration code to commercially-supported e-commerce platforms with dedicated security teams.
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 SQL injection vulnerability (CWE-89) in a PHP-based e-commerce application. The login2 function in /admin/ajax.php fails to properly sanitize or parameterize the email input parameter before constructing SQL queries for authentication. When user-supplied data from the email field is directly concatenated into SQL statements without escaping or prepared statement usage, attackers can inject malicious SQL commands that the database executes. The CPE string identifies SourceCodester Pizzafy Ecommerce System version 1.0 as affected. SourceCodester products are typically educational/demonstration code distributed through sourcecodester.com, often lacking enterprise-grade security controls. The admin context suggests this targets the administrative login interface, making it a high-value target for complete application compromise.
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 vulnerability has been detected in SourceCodester Pizzafy Ecommerce System 1.0. This issue affects the function login2 of the file /admin/ajax.php?action=login2. The manipulation of the argument e-mail leads to sql injection. Remote exploitation of the attack is possible. The exploit has been disclosed publicly and may be used.
Executive ViewAI
SourceCodester Pizzafy Ecommerce System 1.0 contains a critical SQL injection vulnerability in the administrative login function that allows unauthenticated attackers to bypass authentication, extract customer and business data, modify records, or disable the system entirely. Organizations using this product face immediate risk to customer data confidentiality, payment information integrity, and operational continuity, with publicly available exploit code dramatically accelerating attack likelihood.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict /admin/ajax.php to internal IP ranges only via firewall or reverse proxy; (2) disable administrative login functionality if business-critical operations permit; (3) implement WAF rules to detect and block SQL injection syntax in email parameter; (4) enable database query logging and real-time alerts for unauthorized data access patterns; (5) implement rate limiting on login endpoints; (6) consider emergency upgrade to alternative ecommerce platform.
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 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 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-25990
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB