Simple Food Ordering System
CVE-2025-11613
LOW
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to application
-
DeliveryAccess add category page
-
ExploitInject SQL syntax in cname field
-
ExecutionModify SQL query execution
-
ImpactExfiltrate or alter 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 | Exploitation requires valid authentication credentials (PR:L in CVSS vector) - the attacker must have a legitimate user account and be authenticated to the Simple Food Ordering System. This is a significant limiting condition; unauthenticated attackers cannot trigger this vulnerability. The vulnerable code path is specifically the cname parameter processing in /addcategory.php, a function typically accessed only by users with administrative or category management privileges. No special application configuration or deployment mode is noted as a prerequisite; the vulnerability is inherent to the cname parameter handling in the default code. The attack does NOT require user interaction beyond the attacker's own actions (UI:N). |
| Impact | This vulnerability presents a paradoxical risk profile. CVSS 2.1 with low severity (VC:L/VI:L/VA:L) and limited scope indicates restricted blast radius - authenticated SQL injection typically affects only specific data accessible via that query context rather than system-wide compromise. The EPSS score of 0.03% (8th percentile) strongly suggests this will not be exploited at scale in the wild, despite public POC availability. The authentication requirement (PR:L in CVSS vector) is a significant limiting factor: exploitation requires valid login credentials, which dramatically reduces attack surface compared to unauthenticated SQL injection. The discrepancy between publicly available exploit code and ultra-low EPSS suggests this is a low-interest, low-impact bug in a niche product with minimal deployment footprint. Real-world risk is substantially lower than raw CVSS score implies. Defenders should prioritize this below common authentication bypasses or unauthenticated RCE vulnerabilities in similarly-deployed systems. |
| Exploit ScenarioDerived | An authenticated user (e.g., a restaurant staff member with legitimate login credentials) navigates to the add category form and injects SQL syntax into the category name field, such as cname=' OR '1'='1, which alters the SQL query logic to extract menu data from other restaurant accounts or unintended database tables. Publicly available POC code demonstrates this exploitation path directly, reducing the barrier to attack by automated tools or script kiddies. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 29, 2026
SQL injection in Simple Food Ordering System 1.0 allows authenticated remote attackers to execute arbitrary SQL queries via the cname parameter in /addcategory.php, compromising data confidentiality and integrity. The vulnerability has publicly available exploit code and is confirmed to have limited scope impact (affecting only data confidentiality, integrity, and availability of specific queries); however, EPSS score of 0.03% (8th percentile) suggests minimal real-world exploitation likelihood despite public availability of proof-of-concept code.
RemediationAI
Upgrade to a patched version if available from code-projects.org or the project repository. The primary remediation is to implement parameterized queries (prepared statements) in /addcategory.php for the cname parameter: replace all string concatenation of user input into SQL with prepared statement placeholders (? in PHP mysqli or named parameters in PDO). Additionally, validate the cname input against a whitelist of allowed characters and enforce maximum length restrictions before any database operation. If immediate patching is not feasible, apply temporary mitigations: restrict access to /addcategory.php to trusted administrator IP ranges via web application firewall or network access control, or implement Web Application Firewall (WAF) rules to detect and block common SQL injection payloads in the cname parameter (though this is defense-in-depth only, not a complete fix). These mitigations trade operational convenience for reduced risk and should be replaced with code-level fixes within 30 days.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability exists in PHP-based web application code at the /addcategory.php endpoint. The parameter cname is insufficiently sanitized before incorporation into SQL queries, enabling classic SQL injection attacks. CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component) indicates the root cause is failure to properly escape or parameterize user input before passing it to the SQL query engine. Attackers with valid authentication credentials can craft malicious SQL syntax within the cname parameter to modify query logic, extract data, or potentially modify database contents depending on database permissions and SQL dialect.
Know when Simple 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
Primary rating from Vendor (vuldb) · only source for this CVE.
CVSS VectorVendor: vuldb
DescriptionCVE.org
A vulnerability was found in code-projects Simple Food Ordering System 1.0. Affected is an unknown function of the file /addcategory.php. The manipulation of the argument cname results in sql injection. The attack can be launched remotely. The exploit has been made public and could 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.
Affected Products (CPE)CVE.org
More in Simple Food Ordering System
View allA vulnerability was found in SourceCodester Simple Food Ordering System 1.0. Rated medium severity (CVSS 5.4), this vuln
Price parameter manipulation in SourceCodester Simple Food Ordering System 1.0 allows unauthenticated remote attackers t
A remote code execution vulnerability (CVSS 7.3). Risk factors: public PoC available.
Unrestricted file upload in Simple Food Ordering System 1.0 (PHP) allows remote attackers to upload arbitrary files thro
Unrestricted file upload in code-projects Simple Food Ordering System 1.0 allows remote attackers to upload arbitrary fi
The Simple Food Ordering System through version 1.0 allows unauthenticated remote attackers to access sensitive database
SQL injection in code-projects Simple Food Ordering System 1.0 allows remote unauthenticated attackers to manipulate dat
A vulnerability, which was classified as problematic, was found in SourceCodester Simple Food Ordering System 1.0. Rated
A vulnerability has been found in code-projects Simple Food Ordering System 1.0. Rated medium severity (CVSS 5.3), this
Cross-site scripting (XSS) in Simple Food Ordering System 1.0 allows remote attackers to inject malicious scripts via un
Stored cross-site scripting (XSS) in Simple Food Ordering System 1.0 allows remote attackers to inject malicious scripts
Stored cross-site scripting (XSS) in Simple Food Ordering System 1.0 allows remote attackers to inject malicious scripts
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB