Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to admin panel
-
DeliverySubmit crafted multipart upload to add_food.php
-
ExploitBypass missing file-type validation in move_uploaded_file
-
ExecutionRequest planted file to execute code
-
ImpactGain server-side 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 access to the application's admin interface (PR:L), reachable over the network. The specific prerequisite is the File Upload Handler in /admin/add_food.php, where move_uploaded_file stores the image/new_image/update_image parameter without restricting file type or extension. Realistic code-execution impact additionally depends on the upload/target directory being configured to execute PHP - a limiting factor the available sources do not confirm. Only version 1.0 is named as affected. No user interaction is required. The only public exploit artifact is an unverified gist reference. |
| Impact | Signals point to a LOW real-world priority despite the dangerous bug class (CWE-434 unrestricted file upload). The supplied CVSS 4.0 vector is AV:N/AC:L/PR:L/UI:N with VC:L/VI:L/VA:L (base ~2.1), meaning network-reachable but requiring authentication (PR:L) and rated only low impact by the reporter (VulDB). The vuln.today Decision label is 'monitor', not act_now/emergency. This is NOT in CISA KEV (no active-exploitation confirmation) and no EPSS score was supplied, so widespread automated exploitation cannot be asserted. A public PoC reference (a GitHub gist) is listed but is explicitly 'not verified as working exploit code', so exploit maturity is unconfirmed. Conflicting signal to flag explicitly: the reporter scored impact as Low across confidentiality/integrity/availability, yet an unrestricted upload in a PHP admin endpoint can realistically yield a webshell and full RCE - if the upload directory permits PHP execution, the true impact is far higher than VC:L/VI:L/VA:L suggests; verify server configuration with the vendor/deployment. The mitigating factor keeping real risk low is the authentication requirement (PR:L) plus the niche, demo-grade nature of the affected product. |
| Exploit ScenarioDerived | An attacker who already holds low-privilege authenticated access to the admin area sends a crafted multipart request to /admin/add_food.php, supplying a malicious file in the image/new_image/update_image parameter that move_uploaded_file stores without validating type or extension. If the upload directory executes PHP, the attacker then requests the planted file to run arbitrary server-side code. A public PoC reference (gist) exists but is not verified as working exploit code, so reliable turnkey exploitation is unconfirmed. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 26, 2026
SourceCodester Online Food Ordering System 1.0 fails to restrict file type or extension in the move_uploaded_file handling inside /admin/add_food.php, so the image, new_image and update_image parameters accept arbitrary uploads (CWE-434). Exploitation requires authenticated access to the application's admin interface (CVSS 4.0 vector PR:L), so the practical exposure is limited to deployments where admin credentials are weak, shared or otherwise obtainable; no user interaction is needed. A public PoC reference exists in the form of a GitHub gist, but it is not verified as working exploit code, and there is no confirmed active exploitation (not in CISA KEV); the available reporting carries a 'monitor' priority, consistent with a low real-world priority despite the dangerous bug class.
RemediationAI
No vendor-released patch was identified at time of analysis, and no fixed version is published in the references, so remediation must be configuration-level until SourceCodester ships an update (watch https://www.sourcecodester.com/ and https://vuldb.com/vuln/444235). Because the flaw is the absence of upload validation in /admin/add_food.php, the most direct compensating control is to add server-side validation in that handler: allow only a fixed list of image extensions, verify real MIME type/content, and generate a random filename rather than trusting the supplied name - the trade-off is that legitimate menu images with unusual formats will be rejected until the allow-list is tuned. Complement this by removing script execution from the upload directory (for Apache, drop php_flag engine off / RemoveHandler for the uploads path; for nginx, a location block that returns 403 for .php inside the uploads folder) and by storing images outside the web root with a thin serving script; this prevents any residual uploaded PHP from executing, at the cost of extra routing work and possible breakage of existing image links. Because the endpoint requires authenticated admin access, restrict /admin to trusted source IPs or a management VPN and enforce unique strong credentials for admin accounts, noting that IP restrictions break access for remote or mobile administrators. Additionally, review existing uploads under the food-image directories for unexpected .php or .phtml files and remove them, since uploads performed before these controls were applied remain on disk.
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 food ordering web application in which the administrative 'add food' form at /admin/add_food.php passes user-supplied files to PHP's move_uploaded_file() without validating the file extension, MIME type or content. This is the classic CWE-434 unrestricted upload pattern: server-side validation of the filename/extension and of the resulting stored path is missing, so the attacker controls what is written to disk and under which name. Whether this escalates to code execution depends entirely on deployment configuration, specifically whether the upload/target directory is served in a way that lets PHP files be interpreted; the available sources do not confirm that condition, so the realistic ceiling is unverified, while an unconditional impact (writing attacker-chosen files into the web-accessible tree) is confirmed. The provider's CPE entry, cpe:2.3:a:sourcecodester:online_food_ordering_system:*:*:*:*:*:*:*:*, is a wildcard on version; only version 1.0 is named in the reporting as affected.
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:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Authenticated admin endpoint gives PR:L over the network with no user interaction; unrestricted PHP upload plausibly yields webshell RCE (C/I/A:H), contingent on the upload path executing PHP - otherwise impact is lower than rated.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A security flaw has been discovered in SourceCodester Online Food Ordering System 1.0. Affected is the function move_uploaded_file of the file /admin/add_food.php of the component File Upload Handler. The manipulation of the argument image/new_image/update_image results in unrestricted upload. The attack may be launched remotely. The exploit has been released to the public and may be used for attacks.
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-136723
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB