Skip to main content

Simple Food Ordering System CVE-2025-12378

MEDIUM
Improper Access Control (CWE-284)
2025-10-28 cna@vuldb.com
5.5
CVSS 4.0 · Vendor: vuldb
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send unauthenticated POST to /addproduct.php
  2. Delivery
    Supply PHP web shell as photo parameter
  3. Exploit
    Server stores file in web-accessible upload directory
  4. Execution
    Attacker requests uploaded shell URL
  5. Impact
    Execute 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (vuldb) PRIMARY 5.5 MEDIUM
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
vuln.today AI 10.0 CRITICAL

Unrestricted PHP file upload with no authentication enables web shell deployment, yielding full RCE and scope change to the underlying host.

3.1 AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Primary rating from Vendor (vuldb).

CVSS VectorVendor: vuldb

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.1%
Top 83% exploitable
Prevalence
Rare
hobbyist demo project, negligible production deployment footprint
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

cpe:2.3:a:fabian:simple_food_ordering_system:1.0:*:*:*:*:*:*:*
CVE-2023-0902 MEDIUM POC
5.4 Feb 18

A vulnerability was found in SourceCodester Simple Food Ordering System 1.0. Rated medium severity (CVSS 5.4), this vuln

CVE-2026-13571 MEDIUM POC
5.5 Jun 29

Price parameter manipulation in SourceCodester Simple Food Ordering System 1.0 allows unauthenticated remote attackers t

CVE-2025-6161 MEDIUM POC
5.5 Jun 17

A remote code execution vulnerability (CVSS 7.3). Risk factors: public PoC available.

CVE-2025-12301 MEDIUM POC
5.5 Oct 27

Unrestricted file upload in code-projects Simple Food Ordering System 1.0 allows remote attackers to upload arbitrary fi

CVE-2026-4532 MEDIUM POC
5.5 Mar 22

The Simple Food Ordering System through version 1.0 allows unauthenticated remote attackers to access sensitive database

CVE-2025-11396 MEDIUM POC
5.5 Oct 07

SQL injection in code-projects Simple Food Ordering System 1.0 allows remote unauthenticated attackers to manipulate dat

CVE-2022-2683 MEDIUM POC
5.4 Aug 05

A vulnerability, which was classified as problematic, was found in SourceCodester Simple Food Ordering System 1.0. Rated

CVE-2025-13290 LOW POC
2.1 Nov 17

A vulnerability has been found in code-projects Simple Food Ordering System 1.0. Rated medium severity (CVSS 5.3), this

CVE-2025-12302 LOW POC
2.1 Oct 27

Cross-site scripting (XSS) in Simple Food Ordering System 1.0 allows remote attackers to inject malicious scripts via un

CVE-2025-12300 LOW POC
2.1 Oct 27

Stored cross-site scripting (XSS) in Simple Food Ordering System 1.0 allows remote attackers to inject malicious scripts

CVE-2025-12299 LOW POC
2.1 Oct 27

Stored cross-site scripting (XSS) in Simple Food Ordering System 1.0 allows remote attackers to inject malicious scripts

CVE-2025-12298 LOW POC
2.1 Oct 27

Reflected cross-site scripting (XSS) in Simple Food Ordering System 1.0 via the pname parameter in /editcategory.php all

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy