Food Ordering System
CVE-2025-12315
LOW
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCompromise admin credentials
-
DeliveryAuthenticate to /admin/menu.php
-
ExploitInject SQL via itemPrice parameter
-
ExecutionQuery database
-
ImpactExtract or modify data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
|
| Exploitation Conditions | Exploitation requires valid administrative user credentials to access the /admin/menu.php endpoint. The SQL injection is triggered specifically when manipulating the itemPrice parameter during menu item creation or modification. No other special configuration, feature flag, or non-default deployment mode is mentioned in available sources, suggesting the vulnerability exists in the default state once authenticated as an admin. The attack cannot be executed by unauthenticated remote users or lower-privileged logged-in accounts (e.g., customer or vendor roles), if such role separation exists. |
| Impact | This vulnerability presents exceptionally low real-world risk despite being a valid SQL injection. Multiple signals converge: CVSS 4.0 score of 2.0 (severity CRITICAL in scale but minimal actual impact due to PR:H privilege requirement), EPSS 0.03% (7th percentile-lowest exploitation probability), and high-privilege requirement (PR:H) eliminate opportunistic threats. The attack vector is network-based and requires no user interaction, but the mandatory administrative authentication creates a substantial barrier. Public exploit availability increases the attack surface only for organizations running vulnerable versions with compromised admin accounts. This is not a zero-day, not actively exploited by threat actors (no KEV status provided), and represents a low-priority patch for most deployments. Organizations with strict admin credential hygiene face minimal risk. |
| Exploit ScenarioDerived | An attacker with valid administrative credentials (obtained through credential theft or insider threat) logs into the administrative panel, navigates to the menu management interface (/admin/menu.php), and injects malicious SQL syntax into the itemPrice field (e.g., itemPrice=1' OR '1'='1). The unvalidated input is passed directly to a SQL query, allowing the attacker to extract sensitive data from the database or modify menu pricing, orders, or customer records. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 29, 2026
SQL injection in code-projects Food Ordering System 1.0 allows high-privileged remote attackers to manipulate the itemPrice parameter in /admin/menu.php, leading to limited data exposure and modification. The vulnerability requires administrative authentication and has publicly available exploit code, but carries low real-world exploitation risk due to administrative privilege requirement and minimal technical impact (CVSS 2.0, EPSS 0.03%).
RemediationAI
Immediate upgrade to a patched version is recommended, though no specific patched version number is documented in available references-contact code-projects directly at https://code-projects.org/ for availability of version 1.1 or later. If upgrade is not immediately feasible, implement input validation and parameterized queries (prepared statements) in the /admin/menu.php itemPrice handler to prevent SQL injection. Additionally, restrict administrative panel access to trusted IP addresses and enforce multi-factor authentication on admin accounts to reduce the window for exploiting compromised credentials. Monitor database query logs for suspicious SQL patterns in admin operations. These controls mitigate the vulnerability without downtime but do not eliminate it; patching remains the definitive solution.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability is a classic SQL injection (CWE-74: Improper Neutralization of Special Elements used in an SQL Command) in a PHP-based web application. The /admin/menu.php endpoint fails to properly sanitize or parameterize the itemPrice input parameter before incorporating it into SQL queries. This allows attackers with administrative credentials to inject arbitrary SQL commands. The Food Ordering System is a lightweight e-commerce application framework built in PHP, commonly used for small restaurant or food delivery platforms.
Know when Food 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: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
DescriptionCVE.org
A vulnerability was determined in code-projects Food Ordering System 1.0. This affects an unknown function of the file /admin/menu.php. Executing a manipulation of the argument itemPrice can lead to sql injection. The attack can be executed remotely. The exploit has been publicly disclosed and may be utilized.
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.
Affected Products (CPE)CVE.org
More in Food Ordering System
View allA SQL Injection vulnerability detected in Food Ordering System v1.0 allows attackers to run commands on the database by
SQL injection in SourceCodester Food Ordering System 1.0 via the custom parameter in /purchase.php allows unauthenticate
A vulnerability was found in SourceCodester Food Ordering System 1.0. Rated medium severity (CVSS 5.3), this vulnerabili
A vulnerability has been found in SourceCodester Food Ordering System 1.0. Rated medium severity (CVSS 5.3), this vulner
SQL injection in code-projects Food Ordering System 1.0 allows remote attackers with high-level administrative privilege
Stored cross-site scripting in CodeAstro Food Ordering System 1.0 allows authenticated admin users to inject arbitrary J
Stack-based buffer overflow in CodeAstro Food Ordering System 1.0 allows local attackers with user privileges to corrupt
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB