Skip to main content

Restaurant Order System EUVDEUVD-2025-18397

| CVE-2025-6124 MEDIUM
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (CWE-74)
2025-06-16 cna@vuldb.com
5.5
CVSS 4.0 · NVD
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
Impact

Despite the CVSS 3.1 score of 7.3 (High), this vulnerability represents a CRITICAL real-world risk when combined with multiple aggravating factors: (1) Attack Vector: Network (AV:N) - remotely exploitable with no user interaction required; (2) Attack Complexity: Low (AC:L) - no special conditions needed; (3) Privileges Required: None (PR:N) - unauthenticated access; (4) Public disclosure with confirmed proof-of-concept availability significantly elevates exploitation probability; (5) The vulnerability affects confidentiality (C:L), integrity (I:L), and availability (A:L) simultaneously through SQL injection's multi-faceted impact potential; (6) Restaurant Order Systems typically operate in continuous production environments with limited update cadence, extending exposure windows. While the CVSS Environmental Metrics don't reflect maximum severity, the combination of network accessibility, no authentication requirement, and public POC availability indicates this should be treated as actively exploitable with high EPSS probability. The SSVC framework would likely classify this as EXPLOITATION:PoC-in-the-wild, AUTOMATABLE:Yes (SQL injection tooling), TECHNICAL-IMPACT:Total, resulting in IMMEDIATE remediation priority.

Exploit ScenarioDerived

An attacker discovers a Restaurant Order System 1.0 instance through network scanning or public exposure. The attacker crafts a malicious HTTP request to /tablelow.php?ID=1' OR '1'='1 or uses advanced SQL injection payloads such as UNION-based injection to extract data. Example attack flow: (1) Reconnaissance: identify /tablelow.php endpoint through directory enumeration or error message disclosure; (2) Exploitation: submit payload like /tablelow.php?ID=1' AND SLEEP(5)-- to confirm time-based SQL injection; (3) Data exfiltration: use UNION SELECT queries to extract user credentials, customer payment information, and order details from database; (4) Lateral attack: modify database content to alter orders, pricing, or customer records; (5) Persistence: inject malicious SQL triggers or stored procedures for long-term access. Given the network accessibility and no-authentication requirement, automated exploitation tooling (sqlmap, Havij) can rapidly compromise vulnerable instances without manual intervention. A realistic scenario: cybercriminal discovers exposed Restaurant Order System, extracts customer credit card data stored in database, and sells credentials on dark web forums within hours of initial discovery.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Mar 14, 2026

Critical SQL injection vulnerability in code-projects Restaurant Order System version 1.0, affecting the /tablelow.php file's ID parameter. An unauthenticated remote attacker can exploit this vulnerability to execute arbitrary SQL commands, potentially leading to unauthorized data access, modification, or deletion of the restaurant database. The vulnerability has been publicly disclosed with proof-of-concept availability, increasing real-world exploitation risk.

RemediationAI

Immediate remediation steps: (1) Apply input validation - implement whitelist-based validation for the ID parameter to accept only numeric values using regex or type casting (e.g., intval() in PHP); (2) Use parameterized queries - replace all string concatenation SQL statements with prepared statements using mysqli prepared statements or PDO prepared statements with parameter binding; (3) Implement prepared statement example: 'SELECT * FROM tables WHERE id = ?' with bind_param() or execute() with parameter arrays; (4) Apply principle of least privilege - database user accounts should have minimal required permissions, not full administrative access; (5) Enable SQL error suppression in production to prevent information disclosure; (6) Implement Web Application Firewall (WAF) rules to detect and block SQL injection patterns in the ID parameter as interim protection; (7) Contact code-projects for available security patches - check repository or vendor website for version 1.1+ releases; (8) If no patch is available, consider migrating to maintained alternatives like open-source restaurant management systems with active security support (e.g., Odoo POS, Dolibarr); (9) Implement database activity monitoring and query logging to detect exploitation attempts.

Affected VersionsENISA

Restaurant Order System 1.0

Affected Packages

euvd restaurant_order_system no fix

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

This vulnerability stems from improper input validation and parameterization in SQL query construction, classified under CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component - Injection). The /tablelow.php endpoint fails to properly sanitize or parameterize the 'ID' parameter before incorporating it into SQL queries. Typical vulnerable patterns include string concatenation of user input directly into SQL statements without prepared statements or parameterized queries. The Restaurant Order System 1.0 likely uses PHP with direct database queries (MySQL/MariaDB) without modern ORM protections or input validation libraries. The affected component processes table-related data (suggested by filename 'tablelow'), making restaurant inventory, orders, and customer data potential targets.

Know when Restaurant Order 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 5.5 MEDIUM
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
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

Lifecycle Timeline

4
Severity Changed
Apr 29, 2026 - 01:11 NVD
HIGH MEDIUM
CVSS changed
Apr 29, 2026 - 01:11 NVD
7.3 (HIGH) 5.5 (MEDIUM)
PoC Detected
Aug 22, 2025 - 19:37 vuln.today
Public exploit code
CVE Published
Jun 16, 2025 - 14:15 nvd
HIGH 7.3

DescriptionCVE.org

A vulnerability was found in code-projects Restaurant Order System 1.0 and classified as critical. This issue affects some unknown processing of the file /tablelow.php. The manipulation of the argument ID leads to sql injection. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used.

Executive ViewAI

Why It Matters

A critical SQL injection vulnerability in the Restaurant Order System allows unauthenticated attackers to remotely compromise the database, potentially exposing customer data, order information, and system credentials. With a public exploit available and no patch released, any organization running this application is at immediate risk of data breach and operational disruption.

Business Impact: Severe
Compensating Controls

Implement Web Application Firewall (WAF) rules to block SQL injection payloads in the ID parameter of /tablelow.php; restrict network access to the application to trusted IP ranges only; disable the vulnerable endpoint if operationally feasible; enable database activity monitoring and alerting; apply principle of least privilege to database service accounts; consider running the application in a containerized environment with network isolation until replacement is available.

Threat Intelligence Overview

EPSS Score
0.1%
Top 80% exploitable
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High

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 MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
Out-of-Cycle
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
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.

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