Simple Food Ordering System
CVE-2025-12301
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed /editproduct.php endpoint
-
DeliveryBypass missing access control
-
ExploitCraft multipart POST with PHP webshell as photo
-
ExecutionUpload executes without file-type restriction
-
PersistRequest uploaded PHP file via browser
-
ImpactExecute arbitrary OS commands as web server user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Access control enforcement
MITRE ATT&CK
1 technique across 1 tactic: Defense Evasion The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) indicates no special conditions for network-level access - remote unauthenticated exploitation against the default configuration of Simple Food Ordering System 1.0. The Authentication Bypass tag and CWE-284 confirm that no valid account credentials are required; the access control on /editproduct.php is absent or trivially bypassed. Limiting factors: the target must be running exactly version 1.0 of this specific application (no other versions confirmed affected); the /editproduct.php file must be reachable from the attacker's network (public internet or same network segment); successful code execution (beyond mere file storage) further requires that the upload destination is web-accessible and that the PHP interpreter will process files in that directory - a common but not universal configuration. |
| Impact | The vendor-assigned CVSS 4.0 score of 5.5 (Medium) uses conservative impact metrics VC:L/VI:L/VA:L, which likely reflects uncertainty about whether uploaded files are executable in the deployment context. However, the combination of signals - unauthenticated access (PR:N), authentication bypass (CWE-284 + tag), unrestricted upload in a PHP application, and a publicly available POC - suggests the practical integrity impact is materially higher than the scored VI:L if the upload directory is web-accessible and PHP execution is enabled (both common in shared-hosting or default LAMP deployments). EPSS at 0.06% (17th percentile) is low, consistent with an obscure, niche application unlikely to appear in large-scale automated scanning campaigns. No KEV listing confirms no confirmed mass exploitation. The real-world risk is highest for any organization that has deployed this specific educational application in an internet-facing environment, where the public POC lowers the attacker skill threshold to near zero. |
| Exploit ScenarioDerived | An unauthenticated remote attacker sends a crafted multipart HTTP POST request to /editproduct.php with a PHP webshell disguised or directly submitted as the photo parameter, bypassing the application's access control check. The server saves the file to the web-accessible upload directory without validating file type or enforcing authentication. The attacker then directly requests the uploaded PHP file via the browser, achieving command execution under the web server's user context. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 25, 2026
Unrestricted file upload in code-projects Simple Food Ordering System 1.0 allows remote attackers to upload arbitrary files through the photo parameter of /editproduct.php, exploiting improper access control (CWE-284) that effectively bypasses authentication on the upload endpoint. The Authentication Bypass tag alongside CWE-284 signals that the product-editing endpoint - which should be access-controlled - can be reached without valid credentials, enabling file placement on the server. A public proof-of-concept is disclosed on GitHub; EPSS sits at 0.06% (17th percentile), indicating minimal observed exploitation at time of analysis, and this CVE does not appear in the CISA KEV catalog.
RemediationAI
No vendor-released patch has been identified at time of analysis; the references do not include a patched release or upstream commit. Given the absence of an official fix, the primary compensating control is to take the application offline or restrict access to the /editproduct.php endpoint via web server configuration (e.g., deny access by IP allowlist or HTTP authentication layer at the server level - note this adds friction for legitimate admins). If continued use is required, implement server-side file-type validation (whitelist image MIME types and extensions, reject PHP/executable extensions) and move the upload directory outside the web root to prevent direct execution of uploaded files - these are code-level mitigations requiring developer intervention. Restrict upload directory permissions so the web server process cannot execute files within it. Monitor the upload directory for non-image files as a detection measure. Refer to VulDB advisory https://vuldb.com/?id.329973 and the POC at https://github.com/underatted/CVE/issues/22 for technical details.
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 affected product is identified by CPE cpe:2.3:a:fabian:simple_food_ordering_system:1.0:*:*:*:*:*:*:* - a PHP-based web application distributed via code-projects.org, targeting small-scale or educational food ordering deployments. The vulnerable endpoint /editproduct.php accepts a photo argument intended for product image upload but fails to enforce file-type restrictions or adequate access control. CWE-284 (Improper Access Control) is the root cause class: the application does not correctly verify whether the requesting user is authorized to invoke the upload functionality, meaning the endpoint is reachable without authentication. Because the application is PHP-based and the upload target is likely within the web root, successfully uploaded PHP scripts may be directly executable by the web server process, elevating a file-write primitive to potential remote code execution.
Know when Simple 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
PR:N reflects confirmed auth bypass; I:H because unrestricted PHP upload enables arbitrary file write with likely execution capability; C:L and A:L are conservative absent confirmed post-upload impact.
Primary rating from Vendor (vuldb).
CVSS VectorVendor: vuldb
DescriptionCVE.org
A security vulnerability has been detected in code-projects Simple Food Ordering System 1.0. Impacted is an unknown function of the file /editproduct.php. Such manipulation of the argument photo leads to unrestricted upload. The attack can be launched remotely. The exploit has been disclosed publicly 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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.
Affected Products (CPE)CVE.org
More in Simple Food Ordering System
View allA vulnerability was found in SourceCodester Simple Food Ordering System 1.0. Rated medium severity (CVSS 5.4), this vuln
Price parameter manipulation in SourceCodester Simple Food Ordering System 1.0 allows unauthenticated remote attackers t
A remote code execution vulnerability (CVSS 7.3). Risk factors: public PoC available.
Unrestricted file upload in Simple Food Ordering System 1.0 (PHP) allows remote attackers to upload arbitrary files thro
The Simple Food Ordering System through version 1.0 allows unauthenticated remote attackers to access sensitive database
SQL injection in code-projects Simple Food Ordering System 1.0 allows remote unauthenticated attackers to manipulate dat
A vulnerability, which was classified as problematic, was found in SourceCodester Simple Food Ordering System 1.0. Rated
A vulnerability has been found in code-projects Simple Food Ordering System 1.0. Rated medium severity (CVSS 5.3), this
Cross-site scripting (XSS) in Simple Food Ordering System 1.0 allows remote attackers to inject malicious scripts via un
Stored cross-site scripting (XSS) in Simple Food Ordering System 1.0 allows remote attackers to inject malicious scripts
Stored cross-site scripting (XSS) in Simple Food Ordering System 1.0 allows remote attackers to inject malicious scripts
Reflected cross-site scripting (XSS) in Simple Food Ordering System 1.0 via the pname parameter in /editcategory.php all
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB