Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend unauthenticated HTTP POST to /fos/admin/ajax.php
-
DeliveryInject SQL metacharacters in Username parameter
-
ExploitBypass absent input sanitization
-
ExecutionManipulate backend SQL query execution
-
ImpactExtract or modify database records
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
|
| Exploitation Conditions | The CVSS 4.0 base vector (AV:N/AC:L/AT:N/PR:N/UI:N) indicates no special conditions are required on the attacker's side - exploitation requires only that the /fos/admin/ajax.php endpoint be reachable over the network, which is the default posture for web-facing deployments of this application. No authentication credential is needed to reach the save_user action per the PR:N metric, despite the /admin/ path suggesting an administrative function; the application evidently does not enforce a session check at this endpoint. Exploitation is limited to version 1.0 (only confirmed version). Deployments where the /fos/admin/ directory is blocked by firewall rules, IP allowlisting, or web server configuration (e.g., Require ip or nginx deny) are not exploitable from external networks. No non-default configuration or specific feature enablement is required. |
| Impact | The CVSS 4.0 score of 5.5 (Medium) reflects constrained impact: all three vulnerable-system metrics (VC:L/VI:L/VA:L) are Low, and there is no scope change to subsequent systems (SC:N/SI:N/SA:N). However, the attack surface metrics are maximally permissive - AV:N/AC:L/AT:N/PR:N/UI:N - meaning any network-reachable instance is exploitable by an unauthenticated attacker with no special conditions. The E:P supplemental metric confirms proof-of-concept exploit code is publicly available, lowering the barrier for opportunistic attackers. No EPSS score was included in the input data, so exploitation probability cannot be quantified. KEV status is not confirmed, suggesting targeted rather than widespread active exploitation at time of analysis. Despite the moderate CVSS score, the combination of no-auth remote vector plus public PoC represents a genuine priority for any organization running an internet-exposed instance, even if the blast radius per exploit is limited. The low impact scores may reflect only partial database access or read/write constraints imposed by database user permissions at the specific injection point. |
| Exploit ScenarioDerived | An unauthenticated attacker sends a crafted HTTP POST request to /fos/admin/ajax.php?action=save_user on an internet-exposed instance, embedding SQL injection payloads (e.g., UNION SELECT or stacked queries) in the Username parameter. Because public exploit code is referenced in the GitHub issue at https://github.com/wsx138/cve/issues/3, this requires minimal attacker skill and can be adapted from standard SQLi tooling such as sqlmap. Successful exploitation could yield database schema enumeration, credential extraction, or record manipulation depending on the database user's granted privileges. |
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 admin AJAX endpoint /fos/admin/ajax.php?action=save_user to remote database manipulation via an unsanitized Username parameter. The CVSS 4.0 vector (AV:N/AC:L/PR:N/UI:N) confirms unauthenticated network exploitation with no user interaction required, meaning any internet-facing instance is trivially reachable. Publicly available exploit code exists (E:P confirmed in supplemental CVSS vector and referenced GitHub issue), though this vulnerability has not been added to the CISA KEV catalog at time of analysis.
RemediationAI
No vendor-released patch has been identified at time of analysis - the fix status is unconfirmed per available references. The root fix requires replacing string-concatenated SQL queries in the save_user handler with parameterized queries or prepared statements (e.g., PDO with bindParam). As an immediate compensating control, restrict network access to the /fos/admin/ directory entirely via web server configuration - for Apache, add a Require ip directive in .htaccess limiting access to trusted IP ranges; for nginx, use an allow/deny block on the location. This is the most effective short-term mitigation and carries no functional trade-off for legitimate admins operating from known IPs. Alternatively, deploying a WAF rule to block SQL metacharacter patterns in the Username parameter provides a softer control but may generate false positives. The referenced GitHub issue at https://github.com/wsx138/cve/issues/3 and VulDB submission at https://vuldb.com/submit/886034 provide additional reproduction context. All other AJAX action endpoints in ajax.php should be audited for the same injection pattern.
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 web application distributed by SourceCodester targeting small food-service deployments. The vulnerable endpoint is /fos/admin/ajax.php with the action parameter set to save_user - an admin-panel AJAX handler responsible for persisting user records. CWE-74 (Injection) is the root-cause class, with the specific manifestation being SQL injection: the Username argument is interpolated into a backend SQL query without parameterization or adequate escaping, allowing an attacker to append or modify the query logic. No CPE string was provided; the affected version is confirmed as 1.0 per the description and VulDB entry at https://vuldb.com/vuln/394574. The PHP tag indicates a server-side scripting context with likely direct database driver access (e.g., MySQLi or PDO without prepared statements).
Know when PHP 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 requires no authentication (PR:N); SQL injection yields limited data access with no scope change, so C/I/A all Low.
Primary rating from Vendor (vuldb).
CVSS VectorVendor: vuldb
DescriptionCVE.org
A weakness has been identified in SourceCodester Simple Online Food Ordering System 1.0. This vulnerability affects unknown code of the file /fos/admin/ajax.php?action=save_user. This manipulation of the argument Username causes sql injection. The attack may be initiated 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.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-64731
GHSA-62q5-rwmr-93xm
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB