Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker obtains valid Pizzafy account credentials
-
DeliveryAuthenticates to application
-
ExploitNavigates to category function (pizza/index.php?page=category)
-
ExecutionInjects SQL payload in ID parameter
-
PersistSQL injection executes in database query
-
ImpactAttacker extracts or modifies sensitive data (products, customers, payments)
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 the attacker to possess valid authentication credentials for the Pizzafy Ecommerce System (legitimate user account or compromised account). The vulnerability must be triggered through the specific category function accessed via pizza/index.php?page=category with a manipulated ID parameter. Default or public-facing deployments of Pizzafy Ecommerce System are vulnerable if user registration is enabled. The SQL injection is not exploitable by completely unauthenticated remote visitors unless the category page is accessible without login. The exact database backend (MySQL, PostgreSQL, etc.) and query syntax used may affect payload construction, but the core vulnerability exists across deployments. Exploitation is NOT limited to default configuration settings - any standard Pizzafy 1.0 installation with database connectivity is vulnerable. The authentication requirement (PR:L) is the primary limiting factor preventing mass unauthenticated exploitation. |
| Impact | This vulnerability presents moderate real-world risk despite a CVSS score of 6.3. The exploitation probability is elevated because publicly available exploit code exists (E:P in CVSS vector) and the vulnerability has low attack complexity (AC:L). However, the PR:L (low privilege required) authentication barrier significantly limits attack scope compared to unauthenticated SQL injection vulnerabilities. The CVSS vector indicates Confidentiality, Integrity, and Availability impact are all Low (C:L/I:L/A:L), meaning database breach is possible but not total system compromise. The RC:R (Reasonable Confidence) rating suggests the vulnerability is well-documented. Real-world risk depends heavily on whether Pizzafy instances are internet-facing and how many users have legitimate access. Organizations with tightly controlled user access will face lower risk than those with public registration. The public POC availability (not confirmed as actively weaponized in the wild) warrants urgent patching of all affected instances before threat actors operationalize existing exploit code. |
| Exploit ScenarioDerived | An authenticated user with valid Pizzafy Ecommerce System credentials logs into the application. The attacker navigates to or directly constructs a URL such as pizza/index.php?page=category&ID=1' OR '1'='1 (or uses a UNION-based payload to extract database contents). The unfiltered ID parameter is embedded directly into a SQL query, causing the injection to execute. The attacker retrieves product data, customer information, or payment records depending on database permissions and query structure. Alternatively, if INSERT/UPDATE permissions exist, the attacker could modify product prices, customer account data, or inject administrative credentials. |
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 authenticated remote attackers to read, modify, or delete database contents through the ID parameter in the category function (pizza/index.php?page=category). The vulnerability has publicly available exploit code and requires valid user authentication to exploit, making it a moderate-risk issue suitable for immediate patching in production environments.
RemediationAI
Contact SourceCodester at https://www.sourcecodester.com/ to obtain patched versions and security updates, as no specific patch version number is confirmed in available data. Immediately after applying patches, verify the SQL injection fix by testing the category function with SQL injection payloads (e.g., ID parameter containing single quotes or UNION-based injection attempts). If vendor patches are not immediately available, implement these compensating controls: (1) Apply input validation to the ID parameter using whitelist regex patterns accepting only numeric characters (side effect: may break legitimate numeric IDs with leading zeros, test thoroughly); (2) Enable Web Application Firewall (WAF) rules to block SQL injection patterns in GET parameters (side effect: may require tuning to avoid false positives on legitimate traffic); (3) Restrict network access to the pizza/index.php endpoint to authorized internal networks only using firewall rules (side effect: breaks public-facing ecommerce functionality, only viable for internal testing); (4) Enforce principle of least privilege on database user accounts used by the application, removing DELETE/ALTER TABLE permissions and limiting to SELECT/INSERT/UPDATE only (side effect: may break legitimate application features requiring schema modifications). References: https://vuldb.com/vuln/359916 for vulnerability details.
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's category management functionality. The file pizza/index.php processes the 'page=category' parameter and passes user-supplied 'ID' input directly into SQL queries without proper sanitization or parameterized query preparation. This classic SQL injection (CWE-89) attack vector allows attackers to inject arbitrary SQL commands. The CPE indicates all versions of SourceCodester Pizzafy Ecommerce System are affected. The CVSS vector shows network-accessible attack surface (AV:N) with low complexity (AC:L), but requires legitimate user authentication (PR:L), limiting the initial attack surface to authenticated users with account credentials.
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
5DescriptionCVE.org
A security vulnerability has been detected in SourceCodester Pizzafy Ecommerce System 1.0. The affected element is the function Category of the file pizza/index.php?page=category. The manipulation of the argument ID leads to sql injection. Remote exploitation of the attack is possible. The exploit has been disclosed publicly 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 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 manipulate the ID
EUVD-2026-26031
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB