Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed /admin/ajax.php endpoint
-
DeliveryCraft SQL injection payload in email field
-
ExploitSubmit unauthenticated POST request
-
ExecutionBypass authentication logic
-
ImpactGain admin panel access
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
|
| Exploitation Conditions | No authentication is required - the vulnerable endpoint /admin/ajax.php?action=login2 is the pre-authentication admin login form, accessible to any network-reachable client. No special configuration, feature flag, or non-default deployment mode is required; the flaw is present in the default installation of version 1.0. Exploitation is limited to environments where this specific application is deployed and the /admin/ path is reachable from the attacker's network location. The application must be running on a PHP-capable web server with a connected SQL database backend. The only meaningful limiting factor is the niche deployment footprint of this hobbyist-oriented codebase. |
| Impact | The CVSS 4.0 base vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L) reflects a remotely exploitable, unauthenticated flaw with low-rated confidentiality, integrity, and availability impact, yielding a score of 5.5. However, the conservative impact ratings (VC:L/VI:L/VA:L) may understate real-world impact for SQL injection against an admin login - authentication bypass alone is a high-impact outcome not fully captured by these metrics. The threat metric E:P (Proof of Concept) elevates practical risk beyond the base score alone. No EPSS data was provided; however, given public POC availability on a simple, widely downloadable PHP application, opportunistic scanning is plausible. The product is a hobbyist/educational codebase with limited enterprise deployment, which suppresses aggregate exposure despite the technical severity. No CISA KEV listing is present. Risk is real but largely constrained to deployments of this specific version in production. |
| Exploit ScenarioDerived | An unauthenticated remote attacker sends a crafted HTTP POST request to /admin/ajax.php?action=login2 with a SQL payload injected into the email field (e.g., ' OR '1'='1). The backend SQL query is manipulated to return a valid admin record, bypassing authentication and granting admin panel access. A public proof-of-concept demonstrating this technique has been disclosed at https://github.com/fa11ing1eaf-dev/cve/issues/1, enabling low-skill exploitation. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 26, 2026
SQL injection in SourceCodester Simple Online Food Ordering System 1.0 exposes the admin login endpoint to unauthenticated remote exploitation via the email parameter in /admin/ajax.php?action=login2. The flaw allows attackers to manipulate SQL queries sent to the backend database, enabling authentication bypass and potential data exfiltration or modification. A public proof-of-concept exploit has been disclosed on GitHub; no CISA KEV listing is present, but the exploit's public availability materially lowers the barrier to exploitation.
RemediationAI
No vendor-released patch has been identified at time of analysis. The upstream fix status is unknown - no patched version, GitHub commit, or official advisory was referenced in the input data beyond the VulDB submission at https://vuldb.com/vuln/395910. As a compensating control, operators should immediately restrict access to /admin/ajax.php at the network or web server level, allowing only trusted administrative IP addresses. Alternatively, disabling the affected admin panel endpoint entirely until a code fix is applied will prevent exploitation. A code-level fix requires using PDO or MySQLi prepared statements with bound parameters in place of direct string interpolation for the email field. If the application is used in production, consider replacing it with a maintained alternative, as SourceCodester distributions typically lack ongoing security support.
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 application is a PHP-based web application (tagged PHP, SQLi) distributed by SourceCodester, a publisher of open-source student/hobbyist code available at sourcecodester.com. The vulnerable file /admin/ajax.php?action=login2 constructs a SQL query using unsanitized input from the HTTP 'email' parameter, mapping to CWE-74 (Injection) and its SQL injection subclass. No parameterized queries or prepared statements appear to be used at this code path. The CVSS 4.0 base vector (AV:N/AC:L/AT:N/PR:N/UI:N) confirms the endpoint is network-reachable with no preconditions, consistent with a public-facing admin login form. The product is version 1.0, indicating an initial release with no evidence of a patch track record.
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-reachable pre-auth login endpoint needs no privileges or interaction; SQL injection yields limited data read/write, no availability impact identified.
Primary rating from Vendor (vuldb).
CVSS VectorVendor: vuldb
DescriptionCVE.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=login2. The manipulation of the argument email 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.
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-66809
GHSA-h7pw-87r7-mm3h
NVD
CVE.org
EPSS
VulDB
Exploit-DB