Skip to main content

restaurent-management-system CVE-2026-13498

| EUVDEUVD-2026-39996 MEDIUM
SQL Injection (CWE-89)
2026-06-28 VulDB GHSA-w8qf-mxqg-vm2x
5.5
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify internet-facing restaurent-management-system instance
  2. Delivery
    Send crafted POST to /forgotpassword.php with SQLi payload in email field
  3. Exploit
    Unsanitized input executes attacker-controlled SQL
  4. Execution
    Extract user table contents including credentials
  5. Impact
    Leverage 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

restaurent-management-system 5f3eca87cb681366866a78038af17891c4c86612
restaurent-management-system b7124069da225d5be3f430eb4d8e23d294f7a14f
restaurent-management-system 6d1cc94c9007e2373d30d9c940824a5d2f50d9b6

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

Vendor (VulDB) PRIMARY 5.5 MEDIUM
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
vuln.today AI 7.3 HIGH

Unauthenticated pre-auth endpoint exploitable over network with no interaction; partial CIA impact confined to application database, no scope change.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
CVSS changed
Jun 28, 2026 - 13:22 NVD
6.9 (MEDIUM) 5.5 (MEDIUM)

DescriptionCVE.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

EPSS Score
0.3%
Top 82% exploitable
Prevalence
Rare
obscure hobby PHP project, negligible enterprise deployment footprint
Exploit
POC
Public exploit code exists
Social Media
2
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

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

CVE-2012-1823 CRITICAL POC
9.8 May 11

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

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

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

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

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

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy