Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
|
| Impact | Multiple risk signals converge to indicate HIGH real-world priority: (1) CVSS 7.3 (High) with AV:N/AC:L/PR:N/UI:N indicates maximum exploitability - network-accessible, low complexity, no privileges or user interaction required; (2) Public disclosure and available POC/exploit code significantly accelerates threat actor adoption; (3) No authentication required (PR:N) means any Internet user can exploit this; (4) SQL injection directly impacts all three security pillars - Confidentiality (data theft), Integrity (data modification), and Availability (denial via database corruption). The CVSS vector shows balanced impact (C:L/I:L/A:L) rather than critical data access, slightly moderating severity, but the ease of exploitation (AC:L) and public POC availability position this as immediately weaponizable. This is NOT a low-real-risk-high-CVSS case; it represents genuine critical infrastructure risk for any pizza ordering business using this system. |
| Exploit ScenarioDerived | An attacker identifies a pizza shop using Simple Pizza Ordering System 1.0 (publicly discoverable via web footprinting/Shodan queries for /salesreport.php). The attacker crafts a malicious HTTP request: GET /salesreport.php?dayfrom=2025-01-01' OR '1'='1 or similar SQL injection payload. Due to lack of input sanitization, the injected SQL executes in the backend database context. The attacker can: (a) extract customer data (names, addresses, phone numbers, order history) via UNION-based injection; (b) modify sales records or prices; (c) execute database commands to escalate privileges or drop tables. No authentication or user interaction is required - a single HTTP request triggers full exploitation. With public POC availability, automated scanners and script kiddies can rapidly identify and exploit vulnerable instances at scale. A realistic scenario: attacker uses automated SQL injection scanner against multiple pizza shop domains, identifies vulnerable instances, and exfiltrates customer PII for identity theft or sale on dark markets. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 15, 2026
CVE-2025-6479 is a critical SQL injection vulnerability in code-projects Simple Pizza Ordering System 1.0 affecting the /salesreport.php file parameter 'dayfrom'. An unauthenticated attacker can remotely execute arbitrary SQL queries with no user interaction required, potentially enabling data exfiltration, modification, or deletion. The vulnerability has been publicly disclosed with exploit proof-of-concept availability, increasing real-world exploitation risk.
RemediationAI
Immediate actions: (1) Apply parameterized queries/prepared statements using PHP PDO or MySQLi with bound parameters - replace all direct SQL concatenation with parameterized queries; (2) Implement input validation on 'dayfrom' parameter to enforce expected format (e.g., date validation regex); (3) Apply principle of least privilege to database user credentials used by /salesreport.php - restrict to SELECT-only permissions where possible; (4) Deploy Web Application Firewall (WAF) rules to block common SQL injection patterns in the dayfrom parameter; (5) If vendor patching is unavailable, consider retiring this legacy software and migrating to maintained alternatives. Code fix example: Replace 'SELECT * FROM sales WHERE date >= ' . $_GET['dayfrom'] with prepared statement using placeholders. Monitor vendor (code-projects) for security advisories; legacy/unmaintained status suggests patching may not be forthcoming.
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 stems from improper input validation and parameterization in PHP code handling the 'dayfrom' parameter in /salesreport.php. This represents a classic CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component - 'Injection') where user-supplied input is directly concatenated into SQL queries without sanitization or prepared statement usage. The affected product is Simple Pizza Ordering System version 1.0, a web-based PHP application for pizza ordering and sales reporting. The attack vector is the HTTP request parameter, making this exploitable through standard web browsers or automated tools without requiring authentication or special network positioning.
Know when Simple Pizza Ordering 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 NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
4DescriptionCVE.org
A vulnerability classified as critical has been found in code-projects Simple Pizza Ordering System 1.0. This affects an unknown part of the file /salesreport.php. The manipulation of the argument dayfrom leads to sql injection. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used.
Executive ViewAI
A publicly disclosed SQL injection vulnerability in Simple Pizza Ordering System 1.0 allows remote attackers to compromise the application database without authentication. Organizations using this system face immediate risk of data theft, unauthorized modifications, and potential system compromise, particularly affecting customer data and business operations.
Implement Web Application Firewall (WAF) rules to block SQL injection patterns in the dayfrom parameter; disable /salesreport.php functionality if not critical to operations; restrict network access to this application via IP whitelisting or VPN; apply input validation and parameterized query fixes at the application level if source code access is available; monitor database logs for suspicious SQL activity.
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 Simple Pizza Ordering System
View allA SQL injection vulnerability in A vulnerability (CVSS 7.3). Risk factors: public PoC available.
CVE-2025-6363 is a critical SQL injection vulnerability in code-projects Simple Pizza Ordering System version 1.0, speci
CVE-2025-6362 is a critical SQL injection vulnerability in code-projects Simple Pizza Ordering System version 1.0, speci
CVE-2025-6361 is a critical SQL injection vulnerability in code-projects Simple Pizza Ordering System version 1.0, affec
SQL injection in Simple Pizza Ordering System 1.0 enables remote attackers to manipulate the ID parameter of /editcus.ph
SQL injection in Simple Pizza Ordering System 1.0 allows remote, unauthenticated attackers to manipulate the ID paramete
SQL injection in Simple Pizza Ordering System 1.0 allows remote attackers to manipulate database queries via the 'ID' pa
CVE-2025-6483 is a critical SQL injection vulnerability in code-projects Simple Pizza Ordering System version 1.0, speci
CVE-2025-6482 is a SQL injection vulnerability in Simple Pizza Ordering System 1.0 affecting the /edituser-exec.php endp
CVE-2025-6481 is a critical SQL injection vulnerability in code-projects Simple Pizza Ordering System 1.0 affecting the
A SQL injection vulnerability in A vulnerability classified as critical (CVSS 7.3). Risk factors: public PoC available.
CVE-2025-6360 is a critical SQL injection vulnerability in code-projects Simple Pizza Ordering System version 1.0, affec
EUVD-2025-28739
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB