Skip to main content

Food Ordering Review System CVE-2025-8018

LOW
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (CWE-74)
2025-07-22 cna@vuldb.com
2.1
CVSS 4.0 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to application
  2. Delivery
    Navigate to reservation page
  3. Exploit
    Inject SQL payload in reg_Id parameter
  4. Execution
    Query executes with attacker syntax
  5. Impact
    Extract 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

NVD PRIMARY 2.1 LOW
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.0%
Top 95% exploitable
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

Affected Products (CPE)CVE.org

cpe:2.3:a:carmelo:food_ordering_review_system:1.0:*:*:*:*:*:*:*

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy