Skip to main content

Online Ordering System CVE-2025-8256

LOW
Improper Access Control (CWE-284)
2025-07-28 cna@vuldb.com
2.1
CVSS 4.0 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Obtain admin credentials
  2. Delivery
    Access /admin/product.php
  3. Exploit
    Upload malicious file via image parameter
  4. Execution
    File stored in web-accessible directory
  5. Persist
    Execute uploaded shell
  6. Impact
    Remote code execution

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

Authentication required: attacker must possess valid administrative credentials or credentials to a privileged account with access to /admin/product.php. The image parameter must accept file uploads without strict validation (e.g., no whitelist of allowed MIME types or extensions). The upload directory must either be web-accessible and executable by the PHP interpreter, or the attacker must find an alternative method to trigger PHP execution (e.g., via directory traversal or web server misconfiguration). Default deployments likely allow authenticated admin users unrestricted upload capability, meaning exploitation does not require unusual configuration but does require prior authentication - this is a significant limiting factor compared to unauthenticated attacks.

Impact

Multiple risk signals present conflicting assessments. The CVSS 4.0 vector reports 2.1 (very low impact) due to PR:L (requires login), VC:L/VI:L/VA:L (low confidentiality/integrity/availability impact), and SC:N/SI:N/SA:N (no scope change or system impact). However, the vulnerability classification as 'critical' and the file upload nature suggest the CVSS scoring may underestimate actual risk if uploaded files can achieve code execution. The EPSS score of 0.10% (27th percentile) is notably low and contradicts the critical label, indicating minimal observed exploitation attempts despite public POC availability. Attack vector is network-accessible (AV:N/AC:L) but requires authenticated access (PR:L), which significantly limits opportunistic exploitation. The presence of publicly available exploit code (E:P) elevates risk for organizations already compromised or with weak access controls, but the required authentication and low EPSS suggest this is a targeted or insider-threat vulnerability rather than a widespread internet-facing risk. Security teams should prioritize this below unauthenticated remote code execution vulnerabilities but should not ignore it entirely if authentication is weak or the application is internet-facing.

Exploit ScenarioDerived

An authenticated administrator or compromised admin account uses the public POC to upload a malicious PHP shell (disguised with a .jpg extension or manipulated MIME type) via the image parameter in /admin/product.php. If the upload directory allows PHP execution and the file can be accessed via HTTP, the attacker executes the shell to gain remote code execution, allowing data theft or system compromise. This requires prior authentication but exploits insufficient upload validation.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.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 – Apr 29, 2026

Unrestricted file upload in code-projects Online Ordering System 1.0 allows authenticated remote attackers to upload arbitrary files via the image parameter in /admin/product.php, potentially enabling remote code execution. Despite a critical severity classification, the CVSS 4.0 score of 2.1 reflects low actual impact due to required authentication and limited scope. Publicly available exploit code exists; however, the 0.10% EPSS score (27th percentile) indicates minimal real-world exploitation likelihood, suggesting this is a low-priority vulnerability in practice.

RemediationAI

Upgrade to a patched version if available from the vendor; however, no patch version has been identified in available sources. Immediate compensating controls include: (1) implement strict file type validation by checking both MIME type headers and magic bytes (not just file extension) for image uploads; (2) store uploaded files outside the web root or in a directory with execution permissions disabled (disable PHP execution in upload directories via .htaccess or web server configuration); (3) restrict /admin/product.php access to known administrative IP addresses or require multi-factor authentication for admin login; (4) implement a whitelist of allowed file extensions (e.g., .jpg, .png, .gif only) and reject all others; (5) rename uploaded files to remove original extensions and randomize filenames to prevent direct execution. Contact the vendor (code-projects.org) to request security patches. If the product is no longer maintained, consider migrating to an actively supported alternative.

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 resides in the PHP-based product management endpoint /admin/product.php, which lacks proper input validation and file type restrictions on the image upload parameter. CWE-284 (Improper Access Control / Insufficient Access Control) indicates that the administrative endpoint fails to properly validate or restrict file uploads, allowing authenticated users to bypass intended file type constraints. The underlying issue is insufficient validation of uploaded file content, combined with potential misconfiguration of web server execution permissions that could allow uploaded PHP files to be executed. The attack leverages the administrative panel's file upload mechanism without proper MIME type verification or storage isolation.

Know when Online 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

NVD PRIMARY 2.1 LOW
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
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 vulnerability classified as critical has been found in code-projects Online Ordering System 1.0. Affected is an unknown function of the file /admin/product.php. The manipulation of the argument image leads to unrestricted upload. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.

Threat Intelligence Overview

EPSS Score
0.1%
Top 73% exploitable
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 LOW
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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
No
Human Impact· derived
Low

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
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:online_ordering_system:1.0:*:*:*:*:*:*:*
CVE-2022-31357 CRITICAL POC
9.8 Jun 17

Online Ordering System v2.3.2 was discovered to contain a SQL injection vulnerability via /ordering/admin/inventory/inde

CVE-2022-31356 CRITICAL POC
9.8 Jun 17

Online Ordering System v2.3.2 was discovered to contain a SQL injection vulnerability via /ordering/admin/store/index.ph

CVE-2022-31355 CRITICAL POC
9.8 Jun 17

Online Ordering System v2.3.2 was discovered to contain a SQL injection vulnerability via /ordering/index.php?q=category

CVE-2022-31338 CRITICAL POC
9.8 Jun 02

Online Ordering System 2.3.2 is vulnerable to SQL Injection via /ordering/admin/user/index.php?view=edit&id=. Rated crit

CVE-2022-31337 CRITICAL POC
9.8 Jun 02

Online Ordering System 2.3.2 is vulnerable to SQL Injection via /ordering/admin/category/index.php?view=edit&id=. Rated

CVE-2022-31336 CRITICAL POC
9.8 Jun 02

Online Ordering System 2.3.2 is vulnerable to SQL Injection via /ordering/admin/stockin/loaddata.php. Rated critical sev

CVE-2022-31335 CRITICAL POC
9.8 Jun 02

Online Ordering System 2.3.2 is vulnerable to SQL Injection via /ordering/admin/stockin/index.php?view=edit&id=. Rated c

CVE-2022-31329 CRITICAL POC
9.8 Jun 02

Online Ordering System By janobe 2.3.2 is vulnerable to SQL Injection via /ordering/admin/orders/loaddata.php. Rated cri

CVE-2022-31328 CRITICAL POC
9.8 Jun 02

Online Ordering System By janobe 2.3.2 has SQL Injection via /ordering/admin/products/index.php?view=edit&id=. Rated cri

CVE-2022-31327 CRITICAL POC
9.8 Jun 02

Online Ordering System By janobe 2.3.2 is vulneranle to SQL Injection via /ordering/index.php?q=products&id=. Rated crit

CVE-2022-30797 CRITICAL POC
9.8 Jun 02

Online Ordering System 1.0 by oretnom23 is vulnerable to SQL Injection via admin/vieworders.php. Rated critical severity

CVE-2021-25211 CRITICAL POC
9.8 Jul 22

Arbitrary file upload vulnerability in SourceCodester Ordering System v 1.0 allows attackers to execute arbitrary code,

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