Skip to main content

Simple Food Ordering System CVE-2025-12301

MEDIUM
Improper Access Control (CWE-284)
2025-10-27 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
    Identify exposed /editproduct.php endpoint
  2. Delivery
    Bypass missing access control
  3. Exploit
    Craft multipart POST with PHP webshell as photo
  4. Execution
    Upload executes without file-type restriction
  5. Persist
    Request uploaded PHP file via browser
  6. Impact
    Execute 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.

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

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 8.6 HIGH

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.

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

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

EPSS Score
0.1%
Top 83% exploitable
Prevalence
Rare
obscure educational PHP demo, negligible production 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-12378 MEDIUM POC
5.5 Oct 28

Unrestricted file upload in Simple Food Ordering System 1.0 (PHP) allows remote attackers to upload arbitrary files thro

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