Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach admin add_food endpoint
-
DeliveryUpload PHP file as food image
-
ExploitServer stores file without validation
-
ExecutionRequest uploaded webshell URL
-
ImpactExecute arbitrary code on server
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 | Exploitation requires reaching the admin food-creation endpoint /web/admin/add_food.php and submitting a file whose type/extension the application fails to restrict (CWE-434), then requesting the stored file from its web-accessible path to execute it. The supplied vector claims PR:N (no authentication), but the /web/admin/ location indicates this is an administrative function that in practice likely requires a valid admin session - the single most important limiting factor, and one that should be confirmed against the source. No user interaction is required (UI:N) and no special non-default configuration is indicated beyond the upload feature itself; the primary constraint is admin access to the endpoint. |
| Impact | This is a CWE-434 unrestricted file upload in SourceCodester Online Food Ordering System 1.0 via /web/admin/add_food.php. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) rates it 6.9 (medium) and models remote, low-complexity, unauthenticated exploitation with only Low vulnerable-system impact (VC:L/VI:L/VA:L), while E:P marks proof-of-concept maturity. These signals conflict in two ways worth flagging. First, the affected file sits under /web/admin/, which strongly implies the endpoint is behind the application's admin panel and therefore requires authentication - yet the vector asserts PR:N; verify the auth requirement with the vendor/source, because real-world risk drops substantially if admin login is needed. Second, the Low/Low/Low impact rating understates the typical outcome of an unrestricted upload (webshell → arbitrary code execution and full server compromise), so the mechanism and the scored impact are inconsistent. No EPSS score and no KEV listing are present in the input, and the PoC is a reference only, not verified working exploit code. The vendor-priority label is 'this_month' (not act_now/emergency). Net: this is a credible but not urgent issue - a low-prevalence open-source/demo application, a PoC that is unverified, no evidence of active exploitation, and an exposure that likely depends on admin access despite the PR:N claim. Treat as a schedule-and-patch item rather than a drop-everything emergency, while confirming whether authentication is actually required. |
| Exploit ScenarioDerived | An attacker reaches the admin food-management page /web/admin/add_food.php and submits a crafted upload (e.g., a PHP file disguised as a food-item image) that the application stores without validating type or extension. Because the file lands in a web-accessible directory, the attacker then requests it to execute server-side code, yielding a webshell. A public PoC reference exists (GitHub issue) but is not verified as working exploit code; the CVSS AV:N/AC:L profile indicates the request itself is simple to craft, though reaching the admin endpoint may require authentication. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 19, 2026
Unrestricted file upload in SourceCodester Online Food Ordering System 1.0 allows an attacker who can reach the administrative food-creation endpoint /web/admin/add_food.php to upload a file whose type or extension is not restricted, then request the stored file from its web-accessible path to execute it. The affected element is an unknown function in add_food.php, and the CPE identifies the whole SourceCodester Online Food Ordering System product line as affected. A public PoC reference exists (a GitHub issue), but it is not verified as working exploit code, and there is no CISA KEV confirmation of active exploitation; the vendor-reported vector claims PR:N, while the independent assessment rates it PR:H because the /web/admin/ path indicates an administrative function that in practice likely requires a valid admin session - the single most important limiting factor.
RemediationAI
No vendor-released patch or fixed version is identified in the available data, so remediation must be compensating. Restrict access to /web/admin/ and specifically to /web/admin/add_food.php at the web server or reverse proxy (IP allowlisting, HTTP auth, or requiring a valid admin session enforced server-side); the trade-off is that legitimate administrative workflows must originate from approved networks or accounts. Harden the upload handler so only an explicit allowlist of image extensions is accepted, validate content type and file signature rather than trusting the client-supplied name, and rename stored files with a non-executable extension; the trade-off is potential breakage of legitimate food-image uploads that use unusual formats. Disable PHP execution in the directory where uploaded files are stored (for example via web server handler configuration) so that any uploaded script is served as inert content; verify this does not affect unrelated application paths. Apply vendor updates or community fixes if they become available and monitor https://www.sourcecodester.com/ and the referenced VulDB entries for a patch. A public PoC reference exists at https://github.com/wsx138/cve/issues/8, but it is not verified as working exploit code, and there is no CISA KEV confirmation of active exploitation at time of analysis.
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 product is a PHP-based web application (tags: PHP, File Upload, Online Food Ordering System), and the flaw is CWE-434, unrestricted upload of a file with a dangerous type. The root cause class is missing validation of the uploaded file's type/extension before it is stored under a web-accessible path; the trigger is not described in the available sources beyond the add_food.php endpoint. Because the endpoint sits under /web/admin/, exploitation most plausibly presumes an authenticated admin session, though the supplied CVSS 4.0 vector asserts PR:N and the independent assessment deliberately raises this to PR:H (CVSS:3.1 AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H) pending confirmation against the source. No user interaction is needed and no special non-default configuration is indicated beyond the upload feature itself.
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-only /web/admin/ upload endpoint implies PR:H; unrestricted upload yields a webshell and full server code execution, so C/I/A:H with scope unchanged.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A vulnerability was identified in SourceCodester Online Food Ordering System 1.0. The affected element is an unknown function of the file /web/admin/add_food.php. Such manipulation leads to unrestricted upload. The attack can be launched remotely. The exploit is publicly available and might 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-129446
GHSA-j352-5wpw-8cg6
NVD
CVE.org
EPSS
VulDB
Exploit-DB