Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed /fos/admin/ajax.php endpoint
-
DeliverySend crafted HTTP request with malicious pid value
-
ExploitUnsanitized input reaches SQL query
-
ExecutionExecute arbitrary SQL against database
-
ImpactExtract 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 |
| Impact | The CVSS 4.0 score of 6.9 with vector AV:N/AC:L/AT:N/PR:N/UI:N reflects low-complexity, remote, unauthenticated exploitation with no attack requirements - a straightforward risk profile. However, all three CIA impact metrics are rated Low (VC:L/VI:L/VA:L) at the vulnerable system level, and subsequent-system impact is None, capping real-world damage below what a full database compromise would entail. The E:P modifier confirms publicly available exploit code, which meaningfully raises the likelihood of opportunistic scanning and exploitation. There is no CISA KEV listing, suggesting exploitation has not yet been confirmed at scale in production environments. The product is a hobbyist-grade PHP script with negligible enterprise deployment footprint, which substantially limits the population of exposed targets - the aggregate real-world risk is low even though the individual exploitation conditions are trivial. No EPSS score was provided in the source data, so probability-of-exploitation estimates cannot be independently validated. |
| Exploit ScenarioDerived | An unauthenticated attacker sends a crafted HTTP POST or 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/admin/ajax.php?action=add_to_cart endpoint to unauthenticated remote attackers who can manipulate the pid parameter to execute arbitrary SQL queries against the backend database. The CVSS 4.0 vector (PR:N) confirms no authentication is required despite the admin path, and a public exploit has been disclosed via GitHub. The CIA impact is rated limited across all three dimensions, consistent with a read/write SQL injection that does not achieve full system compromise.
RemediationAI
No vendor-released patch has been identified at the time of analysis. The primary remediation is to replace direct SQL string concatenation with parameterized queries or prepared statements in the add_to_cart handler within /fos/admin/ajax.php. As a compensating control, access to the /fos/admin/ path should be restricted at the web server or network perimeter level to trusted IP ranges only, which limits the attack surface to authenticated network segments and mitigates the PR:N exposure - trade-off: this may break legitimate admin workflows if not scoped correctly. A web application firewall rule blocking SQL metacharacter sequences in the pid parameter is a lower-confidence secondary control, as WAF bypasses for basic SQL injection are well-documented. Given the educational nature of the software, replacing it with a maintained alternative should be considered. References: https://vuldb.com/vuln/394575 and public exploit at https://github.com/wsx138/cve/issues/4.
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 as an educational/hobbyist food ordering system (CPE: cpe:2.3:a:sourcecodester:simple_online_food_ordering_system:*:*:*:*:*:*:*:*). The vulnerability class is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command), indicating that user-supplied input - specifically the pid parameter in the AJAX cart handler - is concatenated directly into a SQL query without parameterization or sanitization. The admin AJAX endpoint (/fos/admin/ajax.php) appears reachable without authentication based on the PR:N metric in the CVSS 4.0 vector, which is a secondary design flaw compounding the injection risk.
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, no authentication per CVSS 4.0 PR:N, limited CIA impact consistent with partial SQL read/write access.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A security vulnerability has been detected in SourceCodester Simple Online Food Ordering System 1.0. This issue affects some unknown processing of the file /fos/admin/ajax.php?action=add_to_cart. Such manipulation of the argument pid leads to sql injection. The attack may be launched remotely. The exploit has been disclosed publicly 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/view_prod.php` endpoint to remo
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-64732
GHSA-2hwj-pvrj-8rcc
NVD
CVE.org
EPSS
VulDB
Exploit-DB