Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify network-exposed SOFOS instance
-
DeliverySend HTTP request to /fos/admin/ajax.php
-
ExploitInject SQL payload via Name parameter
-
ExecutionEnumerate or exfiltrate database records
-
ImpactModify application data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The endpoint |
| Impact | The CVSS 4.0 base score of 6.9 (Medium) with vector AV:N/AC:L/AT:N/PR:N/UI:N reflects low-complexity, unauthenticated remote exploitation with moderate and bounded database-level impact (VC:L/VI:L/VA:L, no subsequent-system impact). The E:P supplemental modifier - confirming a public PoC - meaningfully elevates practical risk beyond the base score alone, as opportunistic scanners can now trivially identify and probe exposed instances. The absence of a CISA KEV entry indicates active exploitation has not been formally confirmed, and no EPSS score was supplied, leaving probability-of-exploitation-in-the-wild unquantified; these two gaps should be verified before downgrading priority. The product's narrow deployment footprint (primarily demo and student projects rather than production infrastructure) substantially constrains real-world blast radius, but any organization that has deployed this application on a public-facing host should treat remediation as urgent given the zero-authentication requirement. |
| Exploit ScenarioDerived | An unauthenticated attacker sends a crafted HTTP POST or GET request to |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 24, 2026
Unauthenticated SQL injection in SourceCodester Simple Online Food Ordering System 1.0 allows remote attackers to manipulate backend database queries via the unsanitized Name parameter in /fos/admin/ajax.php?action=save_settings. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) confirms zero-barrier remote exploitation with no authentication or special conditions required. A public proof-of-concept exploit has been disclosed on GitHub, lowering the operational bar for opportunistic attackers targeting exposed instances.
RemediationAI
No vendor-released patch has been identified at time of analysis; the fix version has not been independently confirmed from any vendor advisory. The definitive developer-side fix is to replace dynamic SQL string concatenation in the save_settings handler with parameterized prepared statements in PHP (e.g., PDO or MySQLi with bound parameters), which eliminates the injection surface entirely. As an immediate compensating control, restrict access to /fos/admin/ajax.php at the web server or firewall level using IP allowlisting - this prevents unauthenticated remote access but may break legitimate admin workflows if admin users are geographically distributed. Deploying a WAF with CWE-89 / SQLi detection rules (e.g., ModSecurity with OWASP CRS) can block known injection patterns but is bypassable and should not be treated as a permanent fix. Given SourceCodester applications are designed as educational software, strongly consider whether this application should be internet-exposed at all; removing public reachability eliminates exploitation entirely. See VulDB advisory: https://vuldb.com/vuln/394598 and PoC: https://github.com/huliangjia/cve/issues/3.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
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 a PHP-based web application identified by CPE cpe:2.3:a:sourcecodester:simple_online_food_ordering_system:*:*:*:*:*:*:*:*, distributed by SourceCodester primarily as educational/demo software. The vulnerability is rooted in CWE-89 (Improper Neutralization of Special Elements in an SQL Command): the AJAX handler at /fos/admin/ajax.php constructs SQL queries by directly concatenating the Name parameter from HTTP input without parameterization or escaping. This allows an attacker to inject arbitrary SQL syntax, alter query logic, and interact with the underlying database in unintended ways including data exfiltration and modification.
Know when Simple Online 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
Network-accessible endpoint requiring no authentication or special conditions; database-scoped impact maps to low C/I/A with unchanged scope as no cross-system impact is indicated.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A vulnerability was determined in SourceCodester Simple Online Food Ordering System 1.0. Impacted is an unknown function of the file /fos/admin/ajax.php?action=save_settings. This manipulation of the argument Name causes sql injection. The attack is possible to be carried out remotely. The exploit has been publicly disclosed and may be utilized.
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
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
SQL injection in SourceCodester Simple Online Food Ordering System 1.0 exposes the `/fos/admin/ajax.php?action=confirm_o
SQL injection in SourceCodester Simple Online Food Ordering System 1.0 exposes the `/admin/ajax.php?action=delete_menu`
SQL injection in SourceCodester Simple Online Food Ordering System 1.0 exposes backend database contents through the uns
SQL injection in SourceCodester Simple Online Food Ordering System 1.0 exposes the unauthenticated admin login endpoint
SQL injection in SourceCodester Simple Online Food Ordering System 1.0 exposes the `/fos/view_prod.php` endpoint to remo
SQL injection in SourceCodester Simple Online Food Ordering System 1.0 exposes the `/fos/admin/ajax.php?action=add_to_ca
SQL injection in SourceCodester Simple Online Food Ordering System 1.0 exposes the `/admin/ajax.php?action=delete_catego
SQL injection in SourceCodester Simple Online Food Ordering System 1.0 exposes the `/fos/admin/view_order.php` endpoint
SQL injection in SourceCodester Simple Online Food Ordering System 1.0 exposes the admin panel's category management end
Unrestricted file upload in SourceCodester Simple Online Food Ordering System 1.0 allows authenticated administrators to
EUVD-2026-64842
GHSA-9wv3-89cf-4jv6
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB