Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach /admin/update_food.php endpoint
-
ExploitInject SQL payload via price parameter
-
ImpactRead or tamper with backend database
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The vulnerable function is /admin/update_food.php, an administrative food-management endpoint reached by manipulating the 'price' argument; this placement under /admin/ indicates exploitation most plausibly requires an authenticated administrator session, which directly limits real-world risk and conflicts with the input vector's PR:N claim. The flaw is specific to SourceCodester Online Food Ordering System version 1.0. No user interaction is indicated (UI:N), and the attack is network-reachable, but the administrative context is the primary limiting factor; the exact pre-authentication reachability of this endpoint is not confirmed in the available sources. |
| Impact | This is a textbook low-to-moderate-severity SQL injection in a minor open-source PHP application. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) scores 5.5 with only Low impact across confidentiality, integrity, and availability (VC:L/VI:L/VA:L), and the exploit maturity is marked E:P (proof-of-concept), consistent with the vuln.today 'this_month' decision label rather than an urgent one. Key signals are MISSING or conflicting: there is no EPSS score and no CISA KEV listing provided, so there is no evidence of active exploitation or automatable mass-scanning. The most important conflict is that the affected function lives at /admin/update_food.php - an administrative endpoint that normally requires an authenticated admin session - yet the vendor/VulDB CVSS vector asserts PR:N (no privileges). This strongly suggests the realistic privilege requirement is authenticated admin access (PR:L/PR:H), which would make the flaw far less attractive than the PR:N vector implies; verify the authentication state of update_food.php with the vendor/source. Net assessment: a real but low-priority issue - a high-visibility VulDB-cataloged SQLi in a niche product, not a widespread emergency. |
| Exploit ScenarioDerived | An attacker with access to the admin food-update function submits a crafted value in the 'price' parameter of /admin/update_food.php, breaking out of the SQL statement to read or alter database contents. A public PoC reference (a GitHub gist) exists but is not verified as working exploit code, so weaponization is unconfirmed. Because the endpoint sits under /admin/, realistic exploitation most likely presupposes an authenticated admin session despite the CVSS PR:N claim. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 26, 2026
SQL injection in SourceCodester Online Food Ordering System 1.0 allows an attacker who can reach the /admin/update_food.php administrative endpoint to inject SQL through the 'price' argument, potentially reading or altering data stored by the application. The endpoint sits under /admin/, so exploitation most plausibly requires an authenticated administrator session, which is the primary limiting factor even though the attack is network-reachable; the pre-authentication reachability of this endpoint is not confirmed in the available sources. A public PoC reference exists (a GitHub gist cited by VulDB); it is not verified as working exploit code, and there is no CISA KEV entry indicating active exploitation. No vendor-released patch was identified at time of analysis, and the reported CVSS 5.5 / PR:N vector should be read against the assessed CVSS:3.1 score of AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N, which reflects the administrative prerequisite.
RemediationAI
No vendor-released patch was identified at time of analysis, and no fixed version is listed in the supplied references, so operators of this application cannot rely on an upstream update. The only complete fix is code-level: rewrite the /admin/update_food.php handler to use parameterized/prepared statements (or rigorously validated, strictly numeric casting) for the 'price' argument instead of string-concatenated SQL, and apply the same pattern to other admin write endpoints; the trade-off is that this requires maintaining a local fork of a tutorial-grade codebase. Compensating controls while unpatched: restrict access to the /admin/ path to trusted source IPs or place it behind a VPN/reverse-proxy allowlist, which sharply narrows exposure but breaks remote administration for legitimate staff outside those networks; enforce strong admin authentication and unique credentials, accepting that authentication alone does not stop an already-logged-in admin session from being abused; and deploy WAF or reverse-proxy rules that reject non-numeric or SQL-metacharacter-laden values for the price parameter on /admin/update_food.php, recognizing that signature filtering can be bypassed and may require tuning to avoid blocking legitimate price formats. Because a public PoC reference exists for this issue, monitoring admin access logs for anomalous price submissions is worthwhile.
Affected VersionsENISA
Affected Packages
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
The affected component is a PHP-based web application, SourceCodester Online Food Ordering System, distributed as a downloadable tutorial/portfolio project; the CPE record cpe:2.3:a:sourcecodester:online_food_ordering_system:*:*:*:*:*:*:*:* uses a wildcard version, but only release 1.0 is confirmed as affected in the available sources. The root cause class is CWE-89, SQL injection: the 'price' argument submitted to /admin/update_food.php is used in a database query without adequate neutralization, so crafted input can alter query structure. The supplied evidence does not describe the exact query construction, sanitization routine, or database backend, so the trigger details and the precision of the injection (for example whether it is error-based, union-based, or blind) are not described in the available sources. Because the vulnerable file lives in the administrative portion of the application, the practical attack surface is the admin food-management workflow rather than a public storefront page; the data suggests this is a low-to-moderate-severity issue in a minor open-source PHP application rather than an internet-scale exposure.
Know when Online 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
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
Admin endpoint (/admin/update_food.php) implies an authenticated session, so PR:L; SQLi yields limited database read and write (C:L/I:L) with no availability impact.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A vulnerability was determined in SourceCodester Online Food Ordering System 1.0. This affects an unknown function of the file /admin/update_food.php. Executing a manipulation of the argument price can lead to sql injection. The attack can be launched remotely. The exploit has been publicly disclosed and may be utilized.
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.
More in Online Food Ordering System
View allAn arbitrary file upload vulnerability in the component /fos/admin/ajax.php of Food Ordering System v2.0 allows attacker
Remote Code Exection (RCE) vulnerability exists in Sourcecodester Online Food Ordering System 2.0 via a maliciously craf
Multiple SQL Injection vulnerabilities in tourist5 Online-food-ordering-system 1.0. Rated critical severity (CVSS 9.8),
An arbitrary file upload vulnerability in the component /admin/ajax.php?action=save_menu of Online Food Ordering System
SQL injection in SourceCodester Online Food Ordering System v1.0 allows remote attackers to execute arbitrary SQL comman
Online Food Ordering System v1.0 is vulnerable to multiple Unauthenticated SQL Injection vulnerabilities. Rated critical
Online Food Ordering System v1.0 is vulnerable to multiple Unauthenticated SQL Injection vulnerabilities. Rated critical
Online Food Ordering System v1.0 is vulnerable to multiple Unauthenticated SQL Injection vulnerabilities. Rated critical
Online Food Ordering System v1.0 is vulnerable to multiple Unauthenticated SQL Injection vulnerabilities. Rated critical
Online Food Ordering System v1.0 is vulnerable to multiple Unauthenticated SQL Injection vulnerabilities. Rated critical
Online Food Ordering System v1.0 is vulnerable to multiple Unauthenticated SQL Injection vulnerabilities. Rated critical
Online Food Ordering System v1.0 is vulnerable to multiple Unauthenticated SQL Injection vulnerabilities. Rated critical
EUVD-2026-136493
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB