Skip to main content

Food Ordering System CVE-2025-12314

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
    Obtain admin credentials
  2. Delivery
    Authenticate to admin panel
  3. Exploit
    Access /admin/deleteitem.php
  4. Execution
    Inject SQL via itemID parameter
  5. Persist
    Execute arbitrary SQL query
  6. Impact
    Manipulate or exfiltrate database

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 authentication as a high-privilege administrator user (PR:H from CVSS vector). The attacker must have valid login credentials or an active admin session to access /admin/deleteitem.php. The SQL injection occurs only when the delete item function is invoked with a crafted itemID parameter. No special server configuration or non-default settings are explicitly mentioned; the vulnerability appears present in default installations. The limiting factor is administrative access control - this is not a pre-authentication vulnerability and cannot be exploited by anonymous users or users with standard customer roles.

Impact

Risk is LOW in real-world deployments despite public exploit availability. The CVSS 4.0 vector reveals critical limiting factors: PR:H (requires high-privilege administrator), AV:N (network-accessible but gated by authentication), AC:L (attack is trivial once authenticated), and VC:L/VI:L/VA:L (impact is limited to confidentiality, integrity, and availability of only the item being deleted, not the full database or system). EPSS 0.03% (7th percentile) confirms minimal exploitation probability in the wild, suggesting the exploit is available but not broadly weaponized. The combination of mandatory admin authentication and low attack complexity creates a scenario where the vulnerability is most relevant to insider threats or compromised administrator accounts, not opportunistic remote attacks. The public POC lowers the technical bar for exploitation once an attacker gains admin access, but this is a control-plane issue (admin compromise) rather than a zero-trust breach vector.

Exploit ScenarioDerived

An attacker obtains or compromises administrator credentials through phishing or password reuse. The attacker logs into the admin panel and navigates to the delete item functionality. They craft a malicious itemID value (e.g., itemID=1' OR '1'='1) in the HTTP request to /admin/deleteitem.php, injecting SQL that either deletes multiple items, extracts data from other tables, or modifies database structure. The public POC from GitHub (kaka00666/food-ordering-cve) provides ready-made payloads, eliminating the need for custom exploitation code.

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 remote attackers with high-level administrative privileges to execute arbitrary SQL commands via the itemID parameter in /admin/deleteitem.php. Despite public exploit availability, real-world risk is minimal due to requirement for authenticated administrator access and low CVSS impact scope (CVSS 2.0, EPSS 0.03%). The vulnerability affects only the administrative interface and does not escalate privileges or compromise confidentiality at scale.

RemediationAI

No vendor-released patch identified at time of analysis. Immediate remediation requires manual code review and patching of /admin/deleteitem.php to implement parameterized queries or prepared statements for the itemID parameter. Organizations using Food Ordering System 1.0 should contact code-projects directly through https://code-projects.org/ to request a patched version. As interim compensating controls: (1) restrict /admin/ endpoint access to a whitelist of trusted IP addresses or VPN, reducing exposure of the admin interface to potential attacker reconnaissance; (2) enforce strong, multi-factor authentication for all administrator accounts to reduce likelihood of credential compromise; (3) implement Web Application Firewall (WAF) rules to block SQL injection patterns in the itemID parameter (e.g., blocking single quotes, UNION operators, comment syntax); (4) enable database query logging and monitoring for suspicious SQL patterns; (5) limit database user permissions associated with the Food Ordering System application to only INSERT, UPDATE, DELETE on necessary tables, preventing exfiltration via injected SELECT statements. Note that WAF rules may introduce false positives if itemID legitimately contains special characters - test thoroughly before production deployment.

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 PHP code at /admin/deleteitem.php, where user-supplied input from the itemID parameter is insufficiently sanitized before being used in SQL query construction. This represents improper input validation (CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component). The affected application is code-projects Food Ordering System 1.0, a web-based food ordering platform written in PHP. The SQL injection occurs in a delete operation, likely allowing manipulation of database queries through specially crafted itemID values that inject SQL syntax.

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 found in code-projects Food Ordering System 1.0. The impacted element is an unknown function of the file /admin/deleteitem.php. Performing a manipulation of the argument itemID results in sql injection. Remote exploitation of the attack is possible. The exploit has been made public and could be used.

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