Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify internet-facing restaurent-management-system instance
-
DeliverySend crafted POST to /forgotpassword.php with SQLi payload in email field
-
ExploitUnsanitized input executes attacker-controlled SQL
-
ExecutionExtract user table contents including credentials
-
ImpactLeverage credentials for further access
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 | No authentication is required - /forgotpassword.php is a pre-authentication page designed to accept anonymous requests, and the email POST parameter is processed before any session or credential check occurs. No special server configuration or non-default feature flag is needed; the vulnerability exists in the default application code path. Exploitation is bounded by: (1) the application must be network-accessible to the attacker (AV:N confirmed), and (2) the backend database must be reachable from the PHP process - standard for any functioning deployment of this application. No user interaction is required (UI:N). The primary limiting factor is deployment scarcity - this is an obscure project unlikely to appear in enterprise environments. |
| Impact | The CVSS 4.0 score of 5.5 (Medium) with AV:N/AC:L/AT:N/PR:N/UI:N reflects trivial remote unauthenticated exploitation with no special conditions, which elevates real-world risk above what the medium severity label implies. The supplemental E:P modifier confirms a publicly available proof-of-concept, narrowing the gap between theoretical and practical exploitation. Impact metrics VC:L/VI:L/VA:L (no subsequent-system impact) suggest partial read and write access to the application database rather than full system compromise - typical for SQLi in a shared hosting or single-application context. No CISA KEV listing means active exploitation is not confirmed at time of analysis, and EPSS data was not provided in the source intelligence. The primary mitigating factor is prevalence: this appears to be an obscure, hobby-tier project with a minimal real-world deployment footprint, significantly reducing the population of reachable targets. For any organization knowingly running this application, the risk should be treated as high given the zero-barrier exploitation and public PoC. |
| Exploit ScenarioDerived | An unauthenticated attacker sends an HTTP POST request to /forgotpassword.php with a crafted email value such as ' OR '1'='1'-- or a UNION-based payload to enumerate table schema and extract user credentials from the database. Because a public proof-of-concept is documented in GitHub issue #3, automated tooling such as sqlmap could also be trivially pointed at this endpoint to dump the entire database without manual payload crafting. The AC:L and AT:N metrics confirm no timing, race conditions, or environmental prerequisites are needed beyond network reachability to the application. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 28, 2026
SQL injection in yashpokharna2555's restaurent-management-system exposes the /forgotpassword.php endpoint to unauthenticated remote exploitation via the POST email parameter, allowing attackers to execute arbitrary SQL against the backend database. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) confirms no authentication or preconditions are required, and a public exploit is referenced in GitHub issue #3. The project has no versioning scheme and the maintainer has not responded to the disclosure, meaning no patch is available and all deployed instances remain vulnerable.
RemediationAI
No vendor-released patch has been identified at time of analysis - the project maintainer was notified via an issue report but has not responded. The primary fix requires modifying /forgotpassword.php to replace raw SQL string construction with parameterized prepared statements using PHP's PDO or MySQLi extensions, ensuring the email value is never interpolated directly into query text. As a compensating control, server-side input validation should restrict the email parameter to RFC 5322-compliant format before it reaches any database query, rejecting inputs containing SQL metacharacters. If the application is internet-accessible, restricting the /forgotpassword.php endpoint via WAF rule or web server ACL to trusted IP ranges is an actionable interim measure - note this disables password recovery functionality for affected users. Deployers should also audit adjacent PHP files for similar unsanitized parameter usage, as the pattern is likely systemic in a project of this maturity. References: https://vuldb.com/cve/CVE-2026-13498, https://github.com/yashpokharna2555/restaurent-management-system/issues/3.
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
This is a PHP web application (tag: PHP) for restaurant management. The root cause is CWE-89 (Improper Neutralization of Special Elements used in an SQL Command), meaning user-supplied input from the POST email parameter in /forgotpassword.php is interpolated directly into a SQL query without parameterization or escaping. This is a pre-authentication code path - password reset flows typically query the user table by email before any session exists, making the injection point accessible to any remote user. The CPE cpe:2.3:a:yashpokharna2555:restaurent-management-system:*:*:*:*:*:*:*:* uses a full wildcard version, consistent with the project's stated absence of versioning - every historical and current revision is considered affected.
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
Unauthenticated pre-auth endpoint exploitable over network with no interaction; partial CIA impact confined to application database, no scope change.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
1DescriptionCVE.org
A vulnerability was identified in yashpokharna2555 restaurent-management-system. This affects an unknown function of the file /forgotpassword.php of the component POST Parameter Handler. Such manipulation of the argument email leads to sql injection. The attack can be launched remotely. The exploit is publicly available and might be used. This product does not use versioning. This is why information about affected and unaffected releases are unavailable. 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-39996
GHSA-w8qf-mxqg-vm2x
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB