Food Ordering Review System
CVE-2025-8018
LOW
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to application
-
DeliveryNavigate to reservation page
-
ExploitInject SQL payload in reg_Id parameter
-
ExecutionQuery executes with attacker syntax
-
ImpactExtract or modify database records
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
|
| Exploitation Conditions | An attacker must possess valid authentication credentials to the Food Ordering Review System application. The attack vector is triggered when an authenticated user directly manipulates the reg_Id parameter, typically through HTTP GET or POST requests to /user/reservation_page.php. No special configuration or non-default setup is required beyond a standard PHP-based deployment. The SQL injection payload is user-controllable, so an attacker can craft malicious input during any legitimate request to this endpoint. Exploitation does not require elevated privileges beyond standard user-level access to the application. Limitations: the attacker cannot execute complex multi-statement SQL queries or access operating system functions if the database is properly configured with restricted permissions, and the impact is constrained to confidentiality and integrity of application data rather than system-wide compromise. |
| Impact | This vulnerability presents a discordant risk profile: the description claims 'critical' severity and the CVE is tagged as SQL injection, yet the CVSS 4.0 vector yields a score of only 2.1 with multiple limiting factors. The vector shows AV:N (network-accessible) and AC:L (low complexity), but critically requires PR:L (authenticated attacker) and grants only L-level impact to confidentiality, integrity, and availability with no scope change. EPSS score of 0.02% (5th percentile) strongly indicates minimal real-world exploitation probability despite public POC availability. The discrepancy between the critical declaration and low CVSS/EPSS scores suggests either: (1) the initial assessment was overstated, or (2) the authentication requirement and limited impact significantly reduce practical risk compared to typical SQL injection. Given the authentication gate and restricted impact permissions in the CVSS vector, this is a low-priority vulnerability for most organizations running this niche food ordering application. However, authenticated insiders or attackers with valid credentials present a realistic threat for data exfiltration. |
| Exploit ScenarioDerived | An authenticated user of the Food Ordering Review System crafts a malicious SQL injection payload in the reg_Id parameter (e.g., reg_Id=1' OR '1'='1) when accessing the /user/reservation_page.php endpoint. The unsanitized input is concatenated into a backend SQL query, causing the database to execute attacker-controlled SQL syntax. This allows the attacker to bypass intended query logic, extract sensitive data from reservation or user tables, or modify records. Public exploit code on GitHub demonstrates this technique, though actual exploitation remains rare in practice given the system's narrow deployment footprint. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 29, 2026
SQL injection in Food Ordering Review System 1.0 allows authenticated remote attackers to execute arbitrary SQL queries via the reg_Id parameter in /user/reservation_page.php, with publicly available exploit code disclosed but low real-world exploitation risk due to CVSS 2.1 score, authentication requirement, and limited confidentiality impact.
RemediationAI
No vendor-released patch identified at time of analysis. Primary remediation requires immediate application of input validation and parameterized SQL queries in /user/reservation_page.php, specifically for the reg_Id parameter and any other parameters processed by the affected endpoint. Upgrade to a patched version if released by the vendor (monitor code-projects.org for updates). As immediate compensating controls: (1) implement Web Application Firewall (WAF) rules to detect and block SQL injection patterns in the reg_Id parameter (note: this does not eliminate the underlying code flaw but reduces attack surface), (2) restrict database user permissions so the application account lacks permissions to execute administrative or cross-schema queries, limiting data an attacker can access even if SQL injection succeeds, (3) enable database query logging and monitoring to detect suspicious SQL patterns, and (4) limit application user account creation to trusted administrators only, reducing the pool of authenticated attackers who can exploit this vector. Long-term, the application maintainers must conduct a full source code review to identify similar injection flaws in other parameters mentioned as 'affected' in the description.
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 exists in a PHP-based food ordering and review application where user input from the reg_Id parameter is passed directly into SQL queries without proper parameterized statements or input validation. CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component) indicates that special SQL metacharacters are not sanitized before being incorporated into database queries. This classic SQL injection pattern allows an authenticated user to manipulate SQL syntax, potentially extracting or modifying database records. The affected file /user/reservation_page.php processes reservation-related data, likely querying user records or reservation details based on the reg_Id input.
Know when Food Ordering Review 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 NVD · only source for this CVE.
CVSS VectorNVD
DescriptionCVE.org
A vulnerability was found in code-projects Food Ordering Review System 1.0. It has been declared as critical. Affected by this vulnerability is an unknown functionality of the file /user/reservation_page.php. The manipulation of the argument reg_Id leads to sql injection. The attack can be launched remotely. The exploit has been disclosed to the public and may be used. Other parameters might be affected as well.
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 Review System
View allSQL injection in code-projects Food Ordering Review System 1.0 through the signup form's fname parameter allows remote a
code-projects Food Ordering Review System 1.0 is vulnerable to Cross Site Scripting (XSS) in the area where users submit
code-projects Food Ordering Review System 1.0 is vulnerable to Cross Site Scripting (XSS) in the registration function.
SQL injection in code-projects Food Review System 1.0 allows authenticated remote attackers to execute arbitrary SQL que
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB