Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessLocate internet-exposed /fos/view_prod.php endpoint
-
ExploitSend crafted HTTP request with SQLi payload in id parameter
-
ExecutionBackend SQL query executes attacker-controlled statements
-
ImpactExtract database contents (credentials, orders, user data) or modify records
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 CVSS 4.0 vector PR:N/UI:N/AC:L/AT:N confirms no authentication, no user interaction, and no special attack preconditions are required. Exploitation requires only that the |
| Impact | The CVSS 4.0 base score of 6.9 with E:P (proof-of-concept exploit) accurately reflects moderate real-world risk in isolation, but must be contextualized heavily by prevalence. The attack vector is network (AV:N), complexity is low (AC:L), no authentication is required (PR:N), and no user interaction is needed (UI:N) - making this a trivially exploitable vulnerability for any attacker who can reach the endpoint. However, SourceCodester applications are tutorial-grade codebases not intended for production deployment; actual instances exposed on the internet represent misconfigured or naive deployments rather than a broad enterprise attack surface. No EPSS score was provided in the input data, but given the obscure product, opportunistic scanning rather than targeted exploitation is the most plausible threat model. There is no CISA KEV listing. The combination of public exploit code, zero-authentication requirements, and network accessibility makes this a clear exploit priority for the narrow population of organizations that have inadvertently deployed this application - but that population is expected to be very small. |
| Exploit ScenarioDerived | An unauthenticated remote attacker sends an HTTP GET request to |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 24, 2026
SQL injection in SourceCodester Simple Online Food Ordering System 1.0 exposes the /fos/view_prod.php endpoint to remote unauthenticated database manipulation via the unsanitized id parameter. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) confirms trivial network exploitation with no prerequisites, yielding partial confidentiality, integrity, and availability impact against the backend database. A public proof-of-concept exploit is available on GitHub (referenced via VulDB), though the product's extremely narrow deployment footprint as a SourceCodester tutorial application limits real-world blast radius significantly.
RemediationAI
No vendor-released patch has been identified at time of analysis - SourceCodester distributes source code samples without formal patch release processes. The primary remediation is to replace raw SQL string concatenation in /fos/view_prod.php with PHP PDO or MySQLi prepared statements, binding the id parameter as a typed value. As an immediate compensating control, restrict access to the application entirely if it is not serving active production traffic, or place it behind authentication middleware such as HTTP Basic Auth at the web server layer (note: this adds a credential management burden). Deploying a web application firewall rule to block SQL metacharacters (', --, UNION, SELECT) in the id parameter can reduce automated exploitation risk but is bypassable by skilled attackers and should not be considered a permanent fix. Operators who installed this codebase as a learning exercise should take the application offline immediately if it is internet-accessible.
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 distributed by SourceCodester - a platform publishing open-source demo and tutorial code. CWE-89 (Improper Neutralization of Special Elements used in an SQL Command) indicates the root cause: the id parameter passed to /fos/view_prod.php is concatenated directly into an SQL query without parameterization or adequate sanitization. CPE cpe:2.3:a:sourcecodester:simple_online_food_ordering_system:*:*:*:*:*:*:*:* covers the entire product line, though only version 1.0 is confirmed affected per EUVD-2026-64733. Classic PHP SQLi patterns in tutorial-grade applications typically use mysqli_query() or mysql_query() with raw string interpolation, making exploitation straightforward via UNION-based or error-based injection techniques.
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 unauthenticated SQLi with no special conditions; partial database read/write/availability impact but no scope change to other systems.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A vulnerability was detected in SourceCodester Simple Online Food Ordering System 1.0. Impacted is an unknown function of the file /fos/view_prod.php. Performing a manipulation of the argument ID results in sql injection. Remote exploitation of the attack is possible. The exploit is now public and may be used.
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.
Unauthenticated SQL injection in SourceCodester Simple Online Food Ordering System 1.0 allows remote attackers to manipu
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/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-64733
GHSA-8g2v-m3pr-5v5f
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB