Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to admin panel (PR:H)
-
ExploitSubmit add_food.php with crafted image argument
-
ExecutionBypass file-type restrictions, store PHP payload
-
ImpactRequest uploaded webshell for code execution
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File type validation, storage isolation
MITRE ATT&CK
2 techniques across 2 tactics: Command and Control, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires authenticated administrator access to the application's admin interface, specifically the add_food.php food-management function where the 'image' upload field is processed without proper file-type/content validation. The limiting factors are significant: PR:H means a valid admin session is mandatory (not an anonymous or low-privilege user), and exploitation depends on reaching the admin panel over the network. This is not remote-unauthenticated; the admin-only precondition sharply narrows realistic attackers to those who have already compromised or legitimately hold administrative credentials. |
| Impact | Signals converge on LOW real-world priority. The supplied CVSS 4.0 vector (AV:N/AC:L/PR:H/UI:N, VC:L/VI:L/VA:L) yields a base score of only 2.0, driven down by PR:H - exploitation requires high privileges (an authenticated administrator), since the vulnerable function lives in admin/add_food.php. EPSS is 0.29% (22nd percentile), indicating low predicted exploitation activity, and the vuln.today Decision label is 'monitor' rather than act_now/emergency. The CVE is NOT in CISA KEV, so there is no confirmed active exploitation. A public PoC reference exists (a GitHub repository), but it is not verified as working exploit code. Note a tension between the metadata and the referenced PoC: the input vector rates impact as Low across the board (VC/VI/VA:L), yet the referenced GitHub project is titled as unrestricted file upload leading to remote code execution - if a PHP webshell can be uploaded, the true technical impact would be far higher than the 2.0 score suggests. However, because the flaw is reachable only by an already-privileged admin, an attacker at that level typically already controls the application, which explains the low scoring. Net: low priority given the admin-only precondition, obscure product, and absence of confirmed exploitation. |
| Exploit ScenarioDerived | An attacker who already holds administrator credentials to the Online Food Ordering System admin panel submits the add_food.php form and manipulates the 'image' upload argument to supply a malicious PHP file instead of an image. Because the upload is unrestricted (CWE-434), the file is stored in a web-accessible location and can then be requested to execute attacker code on the server. A public PoC reference exists but is not verified as working exploit code; exploitation requires network reach to the admin interface plus valid admin privileges (PR:H). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 28, 2026
Unrestricted file upload in SourceCodester Online Food Ordering System 1.0 allows an attacker holding a valid administrator session to upload arbitrary files through the 'image' argument of admin/add_food.php, potentially placing executable PHP content on the server. The precondition is significant: the CVSS vector carries PR:H, so a valid admin session on the admin interface is mandatory, which narrows realistic attackers to those who already hold or have compromised administrative credentials. Risk signals converge on low real-world priority - EPSS is 0.29% (22nd percentile), the vuln.today decision label is monitor, no KEV entry is present, and a public PoC reference exists but is not verified as working exploit code.
RemediationAI
No vendor-released patch was identified at time of analysis, and no fixed version is listed in the available sources; the VulDB entry (https://vuldb.com/vuln/426509) is the primary tracking reference. Because the flaw is only reachable with an administrator session, the most effective compensating control is to remove or restrict access to the administrative upload path: block admin/add_food.php and the admin panel at the web server or reverse proxy for anyone outside trusted management networks, accepting that administrators then need VPN or allowlisted access to manage the menu. Where the upload must remain enabled, add a server-side allowlist that accepts only expected image extensions and re-encodes or re-writes uploaded images so any embedded payload is stripped, and relocate the upload directory outside the web root or disable PHP execution in it (for example via the web server handler configuration); the trade-off is that legitimate food images must be served through a separate static path or proxy, and misconfigured re-encoding can degrade image quality. Removing the sample application entirely is appropriate for deployments where this demo codebase is not a production requirement.
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 target is a PHP-based web application (SourceCodester Online Food Ordering System, tracked by CPE cpe:2.3:a:sourcecodester:online_food_ordering_system, with EUVD listing only version 1.0). The weakness class is CWE-434, unrestricted upload of a file with a dangerous type: the food-management handler admin/add_food.php processes the multipart 'image' argument without adequate validation of file extension, MIME type or content, so an uploaded file of an attacker-chosen type can be persisted by the application. In a PHP deployment, a stored .php file that is reachable over HTTP could be requested and executed, but the available sources do not describe the exact validation logic, the storage path, or whether uploaded files land in an executable, web-reachable directory - the trigger beyond manipulation of the 'image' argument is not described in the available sources. Reaching the vulnerable function requires an authenticated administrator session on the admin interface; it is not reachable by anonymous or low-privilege users.
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:H/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Admin login required so PR:H; network-reachable admin form with no user interaction (AV:N/AC:L/UI:N); unrestricted upload enables webshell code execution, so C/I/A:H, scope unchanged.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A flaw has been found in SourceCodester Online Food Ordering System 1.0. Impacted is an unknown function of the file admin/add_food.php. Executing a manipulation of the argument image can lead to unrestricted upload. The attack may be performed from remote. The exploit has been published and may be used.
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
Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.
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-110537
GHSA-2rxc-43r4-h8r7
NVD
CVE.org
EPSS
VulDB
Exploit-DB