Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to admin panel (PR:L)
-
DeliveryReach admin/add_admin.php form
-
ExploitInject SQL via Username argument
-
ExecutionManipulate backend database query
-
ImpactRead or tamper with database 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 | Exploitation requires reaching admin/add_admin.php in the Admin Panel of SourceCodester Online Food Ordering System 1.0 and supplying a malicious value in the Username argument; per the CVSS vector (PR:L) the attacker must hold at least low-privileged authenticated access, and the admin-panel location implies administrative-area access is needed. No user interaction is required (UI:N) and the vector is network-reachable (AV:N) with low complexity (AC:L). The authentication requirement and the restriction to an administrative endpoint are the primary limiting factors; the specific query, parameterization gap, and whether non-admin users can reach add_admin.php are not described in the available sources. |
| Impact | Signals point to a modest, low-urgency issue despite the SQL injection class. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) with VC:L/VI:L/VA:L yields a 5.3 (Medium), and the PR:L metric indicates the attacker must already hold at least low-privileged authenticated access to the admin panel, which sharply narrows the realistic attacker population. There is no CISA KEV listing and no EPSS score in the input, so there is no evidence of active or at-scale exploitation; the vuln.today Decision label is 'this_month' (not act_now/emergency), consistent with a lower-priority item. A PoC reference exists (a gist) but is not verified as working exploit code, so POC availability should not be read as confirmed exploitability. The main conflict to flag: the vector requires authentication (PR:L) yet the admin-panel location (add_admin.php) implies the attacker is already an administrator, which further reduces real-world risk - verify the actual privilege level required to reach add_admin.php, as this strongly affects prioritization. |
| Exploit ScenarioDerived | An attacker with access to the admin panel submits a crafted value in the Username argument of admin/add_admin.php, injecting SQL to read or alter backend database contents. A public PoC reference (gist) exists but is not verified as working exploit code, and the CVSS vector (AV:N/AC:L/PR:L) indicates low-complexity remote exploitation that nonetheless requires prior low-privileged authentication. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 26, 2026
SQL injection in the Admin Panel of SourceCodester Online Food Ordering System 1.0 allows an attacker who can reach admin/add_admin.php to manipulate the Username argument and alter the underlying SQL query, giving low-impact confidentiality, integrity and availability effects (CVSS 4.0 base 5.3 / assessed 3.1 6.3-style vector of AV:N/AC:L/PR:L/UI:N with all impacts Low). The CVSS vector requires at least low-privileged authenticated access (PR:L), and the vulnerable endpoint sits in the administrative area, so the practical attack surface is limited to users who already hold some level of panel access; no user interaction is needed and the endpoint is network-reachable at low complexity. Exploitation status: a public PoC reference exists (a GitHub gist cited by the CVE record); it is not verified as working exploit code, and there is no KEV or confirmed active-exploitation signal, so priority is this_month rather than immediate.
RemediationAI
No vendor-released patch is identified in the available data: the references point to VulDB records, the submission page, the SourceCodester homepage and a GitHub gist, and none of them documents a fixed release, so no exact fix version can be cited and updating to a vendor-supplied build should be confirmed directly with SourceCodester before relying on it. Until a fix is confirmed, restrict network access to the Admin Panel - in particular admin/add_admin.php - to trusted administrative networks or place it behind an authenticating reverse proxy or VPN, accepting the operational cost that legitimate administrators lose direct access; ensure that only accounts that genuinely require administrative functions can reach that script, since the vector requires only low-privileged credentials (PR:L) and any accessible account broadens the attack surface; replace string-concatenated query construction in add_admin.php with parameterized/prepared statements and validate the Username argument server-side, noting that such code changes are a developer-side fix that must be maintained across upgrades; and deploy request-filtering or WAF rules targeting SQL metacharacters in the Username parameter as a stopgap, recognizing that such signatures are bypassable and do not correct the underlying CWE-89 flaw. Because the public material is a PoC reference that is not verified as working exploit code, treat urgency as this_month rather than emergency, but do not leave the administrative endpoint exposed while awaiting a patch.
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 (SourceCodester Online Food Ordering System, tagged PHP/SQLi in the source data), and the flaw is a classic CWE-89 SQL injection: the Username argument handled by admin/add_admin.php is incorporated into a database query without adequate neutralization, so a crafted value can change the semantics of that query. The supplied CPE (cpe:2.3:a:sourcecodester:online_food_ordering_system:*:*:*:*:*:*:*:*) uses a wildcard version, so the record does not enumerate individual affected builds beyond the 1.0 designation in the description, and the vendor's own advisory is not among the references (only VulDB entries, the submission page and the SourceCodester homepage). The evidence does not describe the specific query, the database engine, the parameterization gap, or whether non-administrative users can actually reach add_admin.php; the CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/E:P) and the assessed CVSS 3.1 vector both indicate network reachability, low attack complexity, a low-privilege authenticated prerequisite, and Low impacts across confidentiality, integrity and availability, with the Proof-of-Concept metric set to P in the 4.0 vector reflecting the public exploit reference.
Know when 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:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Network-reachable, low-complexity SQLi but the add_admin.php endpoint requires authenticated admin-panel access, so PR:L; impacts kept Low/partial consistent with a constrained injection point.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A weakness has been identified in SourceCodester Online Food Ordering System 1.0. This affects an unknown part of the file admin/add_admin.php of the component Admin Panel. This manipulation of the argument Username causes sql injection. The attack is possible to be carried out remotely. The exploit has been made available to the public and could be used for attacks.
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.
More in Online Food Ordering System
View allAn arbitrary file upload vulnerability in the component /fos/admin/ajax.php of Food Ordering System v2.0 allows attacker
Remote Code Exection (RCE) vulnerability exists in Sourcecodester Online Food Ordering System 2.0 via a maliciously craf
Multiple SQL Injection vulnerabilities in tourist5 Online-food-ordering-system 1.0. Rated critical severity (CVSS 9.8),
An arbitrary file upload vulnerability in the component /admin/ajax.php?action=save_menu of Online Food Ordering System
SQL injection in SourceCodester Online Food Ordering System v1.0 allows remote attackers to execute arbitrary SQL comman
Online Food Ordering System v1.0 is vulnerable to multiple Unauthenticated SQL Injection vulnerabilities. Rated critical
Online Food Ordering System v1.0 is vulnerable to multiple Unauthenticated SQL Injection vulnerabilities. Rated critical
Online Food Ordering System v1.0 is vulnerable to multiple Unauthenticated SQL Injection vulnerabilities. Rated critical
Online Food Ordering System v1.0 is vulnerable to multiple Unauthenticated SQL Injection vulnerabilities. Rated critical
Online Food Ordering System v1.0 is vulnerable to multiple Unauthenticated SQL Injection vulnerabilities. Rated critical
Online Food Ordering System v1.0 is vulnerable to multiple Unauthenticated SQL Injection vulnerabilities. Rated critical
Online Food Ordering System v1.0 is vulnerable to multiple Unauthenticated SQL Injection vulnerabilities. Rated critical
EUVD-2026-136118
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB