Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend HTTP request to /admin/ajax.php
-
DeliverySupply SQL payload in ID parameter
-
ExploitBypass missing input sanitization
-
ExecutionExecute injected SQL against backend database
-
ImpactExfiltrate or modify 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 /admin/ajax.php endpoint must be network-reachable from the attacker. The CVSS 4.0 vector assigns PR:N, indicating that the admin panel does not enforce authentication in the assessed configuration - a condition that, if confirmed, allows unauthenticated remote exploitation against a default installation of Simple Online Food Ordering System 1.0. If authentication IS enforced on the admin area (consistent with the /admin/ path prefix), exploitation is limited to users holding valid administrative credentials, substantially narrowing real-world risk. No non-default configuration or special feature flag is described as required beyond a reachable HTTP endpoint. Exploitation is further bounded by the product's negligible enterprise deployment footprint; opportunistic scanning for this specific application is unlikely at scale. |
| Impact | The CVSS 4.0 base score of 5.5 (Medium) with vector AV:N/AC:L/AT:N/PR:N/UI:N reflects network-accessible, low-complexity exploitation with no authentication requirement and partial confidentiality, integrity, and availability impact. A meaningful tension exists in the data: the vulnerable endpoint lives under /admin/, which conventionally implies an authenticated administrative boundary, yet the CVSS assigns PR:N - either the admin panel does not enforce authentication (common in SourceCodester demo apps) or the CVSS assessment did not account for auth gating. This discrepancy must be verified against a live deployment before treating the vulnerability as fully unauthenticated. No EPSS score was provided, and no CISA KEV listing exists. The publicly available proof-of-concept (E:P in the CVSS 4.0 supplemental metrics) lowers exploitation complexity significantly. However, the extremely niche deployment footprint of this educational application substantially limits real-world exposure - the combination of a high CVSS exploitability profile and a near-zero enterprise footprint makes this a low operational priority for most organizations, though any internet-exposed instance is a genuine risk. |
| Exploit ScenarioDerived | A remote attacker submits an HTTP request to /admin/ajax.php?action=save_menu with a crafted SQL payload in the ID parameter (e.g., 1 UNION SELECT user(),2,3--), which the PHP backend concatenates directly into a SQL query and executes against the database. This allows the attacker to enumerate table structures, extract stored credentials or customer order data, or modify records. A publicly available proof-of-concept on GitHub documents this technique, requiring only a standard HTTP client to replicate. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 19, 2026
SQL injection in SourceCodester Simple Online Food Ordering System 1.0 exposes backend database contents through the unsanitized ID parameter of the /admin/ajax.php?action=save_menu endpoint, permitting remote attackers to read, modify, or delete application data. The CVSS 4.0 vector assigns PR:N, suggesting the admin-area endpoint may be reachable without authentication - a pattern common in SourceCodester educational applications - though this should be independently verified. A publicly available proof-of-concept exploit exists on GitHub (no public exploit identified as confirmed actively exploited by CISA KEV at time of analysis), meaningfully lowering the barrier to opportunistic attacks against any internet-exposed deployment.
RemediationAI
No vendor-released patch has been identified at time of analysis. SourceCodester applications are educational resources and rarely receive formal security patches. Operators running this system in any production capacity should immediately refactor the ID parameter handling in /admin/ajax.php to use parameterized queries or prepared statements via PHP PDO or MySQLi - this is the definitive fix and eliminates the CWE-89 root cause. As a compensating control, restrict access to the /admin/ directory to trusted IP ranges using web server access controls (e.g., Apache Directory or nginx allow/deny directives) to reduce the attack surface from the network; note this does not remediate the underlying flaw and requires accurate IP allowlisting to be effective. Applying a web application firewall rule to detect and block common SQL injection patterns against /admin/ajax.php provides an additional detection layer but should not be treated as a substitute for code-level remediation. For any production workload, replacing this application with a maintained alternative is the most reliable long-term path. References: https://vuldb.com/cve/CVE-2026-76049, https://github.com/Kristin5634487/cve/issues/6.
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
Simple Online Food Ordering System is a PHP-based web application distributed by SourceCodester primarily as a learning or starter project. The vulnerability resides in /admin/ajax.php when the action parameter is set to save_menu; the ID parameter is incorporated directly into a SQL query without sanitization or parameterized binding, constituting a classic CWE-89 (Improper Neutralization of Special Elements used in an SQL Command) flaw. The CPE identifier cpe:2.3:a:sourcecodester:simple_online_food_ordering_system:*:*:*:*:*:*:*:* covers the Sourcecodester product lineage, with EUVD-2026-62227 narrowing the confirmed affected release to version 1.0. The root cause is direct string concatenation of user-supplied input into SQL statements - a vulnerability class entirely preventable with prepared statements or parameterized queries.
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-reachable endpoint; PR:N per CVSS 4.0 source data implying unauthenticated admin access; partial CIA impacts reflect limited but real SQLi read/write/denial potential.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A vulnerability has been found in SourceCodester Simple Online Food Ordering System 1.0. This affects an unknown function of the file /admin/ajax.php?action=save_menu. The manipulation of the argument ID leads to sql injection. It is possible to initiate the attack remotely. The exploit has been disclosed to the 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 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-62227
GHSA-9mhj-wwqj-xj23
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB