Simple Food Ordering System
CVE-2025-12378
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend unauthenticated POST to /addproduct.php
-
DeliverySupply PHP web shell as photo parameter
-
ExploitServer stores file in web-accessible upload directory
-
ExecutionAttacker requests uploaded shell URL
-
ImpactExecute OS commands as web server process
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 attack requires that /addproduct.php be reachable over the network without enforced authentication - the authentication bypass tag indicates this admin-facing endpoint lacks proper access control. No victim interaction is needed. Exploitation is additionally conditional on the web server storing uploaded files in a web-accessible directory and not stripping or blocking PHP file extensions at the server level. Factors that limit exploitation: the product has an extremely small real-world deployment footprint (hobbyist/demo code); server-side PHP execution restrictions in the upload directory would neutralize web shell deployment even if a file is uploaded; and standard web application firewalls with file upload rules may block the malicious payload. |
| Impact | The official CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) assigns only low impact across confidentiality, integrity, and availability (VC:L/VI:L/VA:L), yielding a 5.5 score - which appears notably conservative for an unrestricted file upload flaw in a PHP application. If the upload destination is web-accessible, the realistic impact is full remote code execution, warranting much higher severity. EPSS of 0.06% at the 17th percentile suggests low opportunistic scanning activity, but this is likely due to the niche deployment footprint of the product rather than absence of exploitability. The E:P (proof-of-concept) threat modifier in the provided CVSS 4.0 vector is confirmed by a public GitHub PoC. Not listed in CISA KEV, so confirmed mass exploitation is not established. The key discrepancy: CVSS 4.0 impact is rated low, but standard analysis of unrestricted PHP file upload suggests integrity and confidentiality impact should be rated high - defenders should independently verify whether the upload directory is web-accessible when scoping remediation priority. |
| Exploit ScenarioDerived | An unauthenticated remote attacker sends a multipart HTTP POST request to /addproduct.php with the photo parameter containing a PHP web shell file (e.g., shell.php with <?php system($_GET['cmd']); ?>). If the server stores the upload in a web-accessible directory without extension filtering, the attacker then browses to the uploaded file's URL and appends a command parameter to execute arbitrary OS commands as the web server user. A public proof-of-concept demonstrating this technique is available on GitHub. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 25, 2026
Unrestricted file upload in Simple Food Ordering System 1.0 (PHP) allows remote attackers to upload arbitrary files through the photo parameter of /addproduct.php, potentially enabling web shell deployment and full server compromise. The affected product is tracked under CPE cpe:2.3:a:fabian:simple_food_ordering_system:1.0, and exploit code is publicly available via GitHub. No active exploitation is confirmed in CISA KEV, and EPSS sits at 0.06% (17th percentile), though the presence of a public proof-of-concept combined with an authentication bypass tag elevates realistic risk above what the low EPSS would suggest.
RemediationAI
No vendor-released patch has been identified at time of analysis - the project is sourced from code-projects.org, a hobbyist/demo code repository with no formal security response process. As a primary compensating control, remove or restrict access to /addproduct.php entirely via web server configuration (e.g., Apache .htaccess deny rules or nginx location blocks) to prevent unauthenticated access. If the upload feature must remain available, implement strict server-side file type validation using allowlist logic (accept only MIME types such as image/jpeg, image/png, and image/gif), enforce file extension filtering, and store uploaded files outside the web root or rename them to strip executable extensions - this prevents uploaded PHP content from being executed by the web server. Additionally, configure the web server to deny PHP execution within the upload directory (e.g., PHP engine off in Apache per-directory config). Given this is demo/educational software, the highest-confidence remediation is to not deploy this application in any internet-accessible or production environment. The public PoC is referenced at https://github.com/tinggeogle01-lang/cve/issues/1.
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 vulnerability exists in /addproduct.php, a PHP script within this hobbyist food ordering application that processes product image uploads via the photo parameter. The root cause maps to CWE-284 (Improper Access Control) - the application fails to enforce proper access restrictions on the upload endpoint, allowing unauthenticated or improperly authorized users to supply arbitrary file content. Tags identify this as both a file upload and authentication bypass issue, suggesting /addproduct.php may be intended as an admin-only function but is reachable without proper authentication enforcement. In a standard PHP web application, unrestricted file upload to a web-accessible directory enables an attacker to place a PHP web shell, converting a file-write primitive into remote code execution under the web server process context.
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
Unrestricted PHP file upload with no authentication enables web shell deployment, yielding full RCE and scope change to the underlying host.
Primary rating from Vendor (vuldb).
CVSS VectorVendor: vuldb
DescriptionCVE.org
A security flaw has been discovered in code-projects Simple Food Ordering System 1.0. This issue affects some unknown processing of the file /addproduct.php. Performing manipulation of the argument photo results in unrestricted upload. The attack may be initiated remotely. The exploit has been released to the public and may be exploited.
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 code-projects Simple Food Ordering System 1.0 allows remote attackers to upload arbitrary fi
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