Skip to main content

Online Ordering System CVE-2025-8236

MEDIUM
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (CWE-74)
2025-07-27 cna@vuldb.com
5.5
CVSS 4.0 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Discover endpoint /admin/edit_product.php
  2. Delivery
    Send POST request with malicious Name parameter
  3. Exploit
    SQL injection executed
  4. Execution
    Extract/modify database rows
  5. Impact
    Achieve partial data exposure or corruption

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
Exploitation Conditions

No special conditions are required according to the CVSS vector (AV:N/AC:L/PR:N/UI:N) - the attack can be executed remotely over HTTP without authentication or user interaction, assuming the admin panel is exposed to the network. However, if the application requires login for the admin directory, the PR:N metric may be inaccurate; in practice, exploitation might be limited to authenticated administrators. Defenders should verify actual access controls on /admin/edit_product.php. The vulnerability is limited to version 1.0 of the software.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L) yields a base score of 5.5 (medium) despite the describe labeling as 'critical'. This discrepancy suggests either a different scoring environment or reporting bias. EPSS at 0.07% indicates low exploitation probability in the wild, but the existence of a public exploit (GitHub issue) means trivial exploitation is possible. No CISA KEV listing confirms no widespread attacks yet. The SSVC framework would likely assess this as 'Automatable' (low complexity) and 'Technical Impact: partial' (low CIA). Overall, this is a moderate-risk issue for unpatched instances with exposed admin panels, but limited real-world deployment reduces urgency.

Exploit ScenarioDerived

An attacker identifies a publicly accessible Online Ordering System instance and sends a crafted HTTP POST request to /admin/edit_product.php with a malicious SQL payload (e.g., ' OR 1=1 -- ) in the 'Name' argument. The server executes the injected query, allowing the attacker to extract user credentials or alter product data. The exploit is publicly available, so no development effort is required.

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 27, 2026

SQL injection in the admin edit_product.php page of the code-projects Online Ordering System 1.0 allows remote unauthenticated attackers to manipulate database queries. A publicly available exploit increases risk, though EPSS score is low (0.07%) and no active exploitation has been confirmed in CISA KEV. Attackers can extract or modify data with low impact on confidentiality, integrity, and availability.

RemediationAI

No official vendor patch has been released as of the analysis date. The primary mitigation is to upgrade to a patched version if one becomes available (monitor code-projects.org). For immediate protection, implement input validation and parameterized queries for the 'Name' parameter in /admin/edit_product.php. As a workaround, restrict network access to the admin panel (e.g., IP whitelisting or VPN) or disable the edit_product.php functionality altogether if not essential. These controls may impact administrative workflow but block exploitation. Additionally, use a web application firewall (WAF) with SQL injection rules as a compensating control, though this may introduce false positives.

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 is a classic SQL injection (CWE-74) in a PHP-based web application. The affected file, /admin/edit_product.php, processes the 'Name' argument without proper sanitization or parameterized queries, allowing attackers to inject arbitrary SQL commands. The CPE string cpe:2.3:a:fabian:online_ordering_system:1.0:*:*:*:*:*:*:* confirms version 1.0 as the only affected version. The root cause is failure to apply input validation or prepared statements, common in custom PHP applications.

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

Network attack, no auth or interaction, low impact on all CIA.

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

Primary rating from NVD.

CVSS VectorNVD

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 vulnerability was found in code-projects Online Ordering System 1.0. It has been declared as critical. This vulnerability affects unknown code of the file /admin/edit_product.php. The manipulation of the argument Name leads to sql injection. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used.

Threat Intelligence Overview

EPSS Score
0.1%
Top 80% exploitable
Prevalence
Low
small learning project, limited deployment
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

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

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