Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach exposed cancel.php endpoint
-
ExploitCraft malicious ID parameter
-
ExecutionTrigger SQL injection in mysqli_query
-
ImpactExtract or tamper database records
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 | A running instance of AdithyaYelloju Restaurant-Management-System (commit 7f0e7e84255e8fcfd488e83f8f91451bbbff6b9c or earlier) must be network-reachable, with the Order Cancellation feature (User/cancel.php) accessible. Exploitation requires no authentication, no user interaction, and no special configuration - only the ability to supply the 'ID' parameter to cancel.php. The primary limiting factor is deployment scarcity: this is an unmaintained single-developer project with no packaged releases, so exposed live instances are expected to be very few. |
| Impact | Signals are mixed but consistent with a low-priority, low-impact issue. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes remote, unauthenticated, low-complexity exploitation with no user interaction - genuinely easy to trigger - but impact is capped at VC:L/VI:L/VA:L (partial confidentiality/integrity/availability), yielding a modest 5.5 score despite the trivial attack path. A publicly available exploit exists and the E:P (Proof-of-Concept) temporal metric confirms PoC-level maturity, but there is no CISA KEV listing and no EPSS score provided, so there is no evidence of active or widespread exploitation. This is classic SQLi in a hobby/student PHP project rather than an enterprise product, so real-world risk is driven almost entirely by prevalence, which is negligible. The low VC/VI/VA rating is somewhat conservative for SQL injection (union/blind SQLi can often fully dump a database), so the true confidentiality impact may exceed the vendor's L rating - but the scoring is the vendor/VulDB assessment and cannot be independently confirmed. Net: a real, publicly-exploitable flaw, but not a broad-fleet priority. |
| Exploit ScenarioDerived | A remote, unauthenticated attacker sends a crafted value in the 'ID' parameter to User/cancel.php, which is concatenated unsanitized into a mysqli_query call, injecting arbitrary SQL against the order-cancellation flow. Because a public proof-of-concept exists (referenced in the project's GitHub issue #7) and no authentication or user interaction is required, an attacker can automate extraction of database contents or manipulation of order records. Exploitation is low-complexity but limited to deployments of this specific open-source application. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 30, 2026
SQL injection in AdithyaYelloju Restaurant-Management-System through commit 7f0e7e84255e8fcfd488e83f8f91451bbbff6b9c allows unauthenticated remote attackers to manipulate the ID argument in User/cancel.php and potentially read or alter order-related database records. Publicly available exploit code exists, and the upstream project has not responded to the issue report, but there is no CISA KEV listing or confirmed active exploitation. The independent assessment rates this as a low-priority, low-impact issue constrained mainly by the scarcity of deployed instances of this unmaintained single-developer project.
RemediationAI
No vendor-released patch identified at time of analysis; the upstream project was informed of the issue but has not responded, and there is no tagged release or vendor advisory confirming a fixed version. The most effective code fix is to replace the mysqli_query call in User/cancel.php with parameterized prepared statements and to validate the ID argument as a strict integer, then restrict access to the Order Cancellation functionality to authenticated authorized users. Where code changes are not feasible, remove the instance from public reachability or place it behind a reverse proxy/WAF that blocks SQL metacharacters in the ID parameter - note that WAF filtering may cause false positives for valid requests and is not a substitute for parameterization. If Order Cancellation is not operationally required, disable User/cancel.php or the feature entirely; if it is required, enforce IP allowlisting for trusted administrative networks, accepting reduced availability for legitimate remote users. Monitor the VulDB advisory (https://vuldb.com/vuln/411924) and the GitHub issue (https://github.com/AdithyaYelloju/Restaurant-Management-System/issues/7) for any future upstream fix.
Affected VersionsENISA
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
Root cause is CWE-89 improper neutralization of special elements used in an SQL command, where the PHP application builds a query with the ID parameter from User/cancel.php and passes it to mysqli_query without sufficient sanitization or parameterization. The affected component is the Order Cancellation feature of AdithyaYelloju Restaurant-Management-System; the CPE cpe:2.3:a:adithyayelloju:restaurant-management-system:*:*:*:*:*:*:*:* reflects the whole product line, with EUVD recording commit 7f0e7e84255e8fcfd488e83f8f91451bbbff6b9c as affected. Both the supplied CVSS 4.0 vector (PR:N) and the independent CVSS 3.1 assessment (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L) indicate a remote, unauthenticated attacker with no user interaction, and only low confidentiality, integrity, and availability impact; the exploit is public but not linked to confirmed active exploitation. Deployment scarcity is the main limiting factor.
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
Remote unauthenticated SQLi with no interaction (AV:N/AC:L/PR:N/UI:N); adopting the vendor's partial L impacts across C/I/A rather than assuming full database compromise.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.org
A vulnerability was identified in AdithyaYelloju Restaurant-Management-System up to 7f0e7e84255e8fcfd488e83f8f91451bbbff6b9c. The affected element is the function mysqli_query of the file User/cancel.php of the component Order Cancellation. The manipulation of the argument ID leads to sql injection. The attack may be initiated remotely. The exploit is publicly available and might be used. The project was informed of the problem early through an issue report but has not responded yet.
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-90074
GHSA-fqrr-j76m-56q8
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB