Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain admin credentials (phishing/breach)
-
DeliveryAuthenticate to /pizzafy/admin/
-
ExploitSend crafted AJAX request to save_settings
-
InstallInject SQL payload into parameter
-
C2Bypass input validation
-
ExecuteExecute malicious SQL query
-
ImpactExfiltrate/modify database records
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 valid administrative-level authentication credentials for the Pizzafy Ecommerce System application. The attacker must have a legitimate or compromised high-privilege user account (typically 'admin' role) with permission to access the settings panel. The /pizzafy/admin/ajax.php endpoint must be network-accessible (not air-gapped or blocked by firewall rules). The vulnerable save_settings function must not have been independently patched or hardened via a security update. This is NOT a default-configuration unauthenticated vulnerability - the authentication requirement (PR:H in CVSS) is a hard exploitation prerequisite. Local or network-based brute-force attacks against the admin login are a prerequisite attack, but once credentials are obtained, the SQL injection itself requires no special configuration or user interaction. |
| Impact | This vulnerability presents moderate real-world risk with important context: CVSS 4.7 reflects the authentication gate (PR:H), which significantly constrains exploitation scope compared to unauthenticated network attacks. The CVSS vector AV:N/AC:L/PR:H/UI:N indicates network attack vector with low complexity but mandatory high-privilege pre-authentication - a critical limitation. The E:P (Exploit Proof of Concept) rating confirms public exploit availability. The security impact is limited to Low for confidentiality, integrity, and availability (C:L/I:L/A:L), suggesting the injected SQL cannot escalate to complete database compromise or denial of service. Scope is unchanged (S:U), meaning the attacker cannot break out of the intended authorization boundary. Real-world risk is substantially lower than the CVSS score suggests because: (1) attacker must already have admin credentials, implying they likely have direct database access anyway; (2) the application likely runs in isolated network segments for admin panels; (3) the limited impact scope suggests queries are constrained. However, the vulnerability remains actionable if admin credentials are compromised via phishing, credential reuse, or lateral movement - in multi-tenant or shared hosting scenarios, this creates real risk. The public POC confirms the finding is reproducible and not theoretical. |
| Exploit ScenarioDerived | An attacker with compromised administrative credentials (via phishing or credential stuffing) logs into the Pizzafy admin panel and navigates to the settings configuration. The attacker crafts a malicious HTTP request to /pizzafy/admin/ajax.php?action=save_settings with a SQL injection payload embedded in a settings parameter (e.g., injecting UNION-based or time-based SQL). The unsanitized parameter is directly concatenated into a SQL query, allowing the attacker to extract, modify, or delete database records - potentially exfiltrating customer data, modifying product prices, or creating unauthorized admin accounts. Alternatively, the attacker uses the publicly available GitHub POC (https://github.com/r3ng4f/Pizzafy_1/blob/main/01-exploit.md) to automate the exploitation, reducing the technical barrier. |
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 high-privilege users to manipulate the save_settings function via the /pizzafy/admin/ajax.php endpoint, enabling database query modification with confidentiality, integrity, and availability impact. The vulnerability requires high-level authentication and is not remotely exploitable by unauthenticated attackers despite network-accessible endpoint; publicly available exploit code exists and the vulnerability has been disclosed.
RemediationAI
Contact SourceCodester directly via https://www.sourcecodester.com/ to request a security patch or update for Pizzafy Ecommerce System 1.0, as no vendor-released patch version is identified in the available data. Immediate compensating controls should include: (1) Restrict network access to the /pizzafy/admin/ endpoint using a Web Application Firewall (WAF) or reverse proxy - only permit access from trusted internal IP ranges and require VPN for remote admin access, trading off remote administrative convenience for reduced attack surface; (2) Implement parameterized queries or prepared statements in the save_settings function if source code access is available, eliminating SQL injection at the root; (3) Apply input validation and whitelist permitted settings parameters to reject unexpected values; (4) Audit admin user accounts and disable or rotate credentials for any high-privilege accounts that may have been compromised; (5) Monitor database logs for anomalous SQL queries or execution patterns targeting the settings table. These controls do not eliminate the vulnerability but reduce exploitation probability by restricting who can reach the vulnerable endpoint.
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 resides in the Setting Handler component's save_settings AJAX endpoint (/pizzafy/admin/ajax.php?action=save_settings), a PHP-based web application handling administrative configuration. The root cause is CWE-89 SQL Injection, indicating insufficient input validation or parameterized query usage when constructing database statements from user-supplied parameters. The attack surface is an HTTP-accessible AJAX endpoint, but exploitation requires prior authentication with high-privilege (administrator) credentials, limiting the practical attack surface in typical deployments. The CPE cpe:2.3:a:sourcecodester:pizzafy_ecommerce_system:*:*:*:*:*:*:*:* indicates the issue affects the Pizzafy Ecommerce System product line across multiple versions.
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:H/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 security vulnerability has been detected in SourceCodester Pizzafy Ecommerce System 1.0. Affected by this vulnerability is the function save_settings of the file /pizzafy/admin/ajax.php?action=save_settings of the component Setting Handler. Such manipulation leads to sql injection. It is possible to launch the attack remotely. 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 read, modify, or d
EUVD-2026-26289
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB