Skip to main content

Food Ordering System CVE-2025-12315

LOW
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (CWE-74)
2025-10-27 cna@vuldb.com
2.0
CVSS 4.0 · Vendor: vuldb
View

Attack ChainAIDerived

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

  1. Access
    Compromise admin credentials
  2. Delivery
    Authenticate to /admin/menu.php
  3. Exploit
    Inject SQL via itemPrice parameter
  4. Execution
    Query database
  5. Impact
    Extract 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.

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

Vendor (vuldb) PRIMARY 2.0 LOW
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

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

EPSS Score
0.0%
Top 93% 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:code-projects:food_ordering_system:1.0:*:*:*:*:*:*:*

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