Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach login endpoint lsmodal.php
-
ExploitInject SQL via login_id/epsw fields
-
ExecutionManipulate authentication query
-
ImpactExtract or alter database 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 attacker only needs network reachability to the Restaurant_IMS login modal (lsmodal.php); because the injection is in the login_id/epsw parameters processed during authentication, exploitation occurs pre-authentication against a default deployment (AV:N/AC:L/PR:N/UI:N). The practical limiting factor is not configuration or privileges but exposure: the application instance must be internet- or network-accessible to the attacker, and the affected codebase is a niche project with very limited deployment, so the population of reachable targets is small. The specific SQL trigger/payload is not detailed in the available sources beyond the named parameters. |
| Impact | This is a pre-authentication SQL injection (CWE-89) in the mansi-k Restaurant_IMS login handler (lsmodal.php), where the login_id/epsw parameters reach a database query. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes a network-reachable, low-complexity, unauthenticated flaw with no user interaction, which on its own argues for easy exploitation; however, the vendor-assigned impact is deliberately modest (VC:L/VI:L/VA:L, no scope change), yielding a medium base score of 6.9. The decision framework ranks this 'this_month' (VulDB-reported) rather than act_now or emergency. It is NOT in CISA KEV and no EPSS score was provided in the input, so there is no signal of active or widespread exploitation; the only references are VulDB catalog/CTI/submission pages, which do not confirm working exploit code. The real-world priority is tempered less by the technical ease of exploitation than by the product's footprint: this is an obscure open-source/hobby project with no meaningful enterprise deployment, so for most organizations this is a low-priority, high-ease-but-low-reach issue rather than a fleet-wide emergency. Note also that the vendor was contacted and did not respond, and the rolling-release model means no fixed version is published - verify directly against the current repository state. |
| Exploit ScenarioDerived | A remote, unauthenticated attacker reaches the Restaurant_IMS login modal (lsmodal.php) and submits crafted values in the login_id or epsw fields that break out of the SQL query assembled before mysqli_connect-based authentication. No public working exploit is confirmed in the input (only VulDB reference pages exist), but because the flaw sits on the unauthenticated login path with low attack complexity, the trigger surface is directly exposed to anyone who can reach the application. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 25, 2026
Unauthenticated SQL injection in the login handler of mansi-k Restaurant_IMS, a PHP-based restaurant information management system. The login_id and epsw parameters of lsmodal.php reach a database query without proper sanitisation, so a remote attacker who can reach the login modal can inject SQL before authenticating, with low confidentiality, integrity and availability impact per the assessed CVSS:3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L). The project is distributed as a rolling release at commit d7ad49f61ab7cc1ec6eb359ac2b5378bdbde0694, the vendor did not respond to the disclosure, no vendor patch is identified, and no public exploit code was identified at time of analysis; the practical exposure limit is that the codebase is a niche project with a small reachable population.
RemediationAI
No vendor-released patch was identified at time of analysis, and the maintainer did not respond to the disclosure, so there is no fixed version or commit to cite for this rolling-release project; operators should track the upstream mansi-k/Restaurant_IMS repository for a fix rather than assuming a patched build exists. Because the flaw is pre-authentication SQL injection through lsmodal.php's login_id and epsw parameters, the most direct compensating control is to remove network exposure of the login modal: restrict access to the application (and specifically to lsmodal.php) to trusted source ranges via firewall or reverse-proxy ACLs, or place it behind a VPN - the trade-off is that legitimate remote staff lose direct login access. A second option is to host the instance only on an isolated internal segment until an upstream fix lands, accepting reduced availability for off-site users. If the login endpoint must stay reachable, deploy virtual-patching or a WAF rule that rejects SQL metacharacters and tautology patterns in the login_id and epsw parameters of requests to lsmodal.php, understanding that such signature-based filtering is bypassable and does not repair the underlying code. Where the codebase is locally maintained, replacing the string-concatenated query in lsmodal.php with a parameterised mysqli/PDO prepared statement bound to login_id and epsw removes the root cause, but this is a code change that must be re-applied on every upstream pull of the rolling release.
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
Restaurant_IMS is a PHP web application backed by MySQL; the affected code path is the authentication flow in lsmodal.php, where the login_id and epsw inputs are concatenated into a database query. The weakness class is CWE-89 (SQL injection), meaning user-controlled input is interpreted as SQL rather than data, letting an attacker alter query logic against the login check. The disclosure names mysqli_connect as the affected function, i.e. the point where the application opens the MySQL connection used by that query; the trigger and specific payload are not described in the available sources beyond the two named parameters. Because the injection sits in the login modal, no prior session or privilege is required - the CVSS:4.0 vector supplied by the reporter is AV:N/AC:L/AT:N/PR:N/UI:N, and the assessed CVSS:3.1 equivalent is AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L, both indicating unauthenticated network exploitation with limited impact. No CPE version can be pinned: the CPE entry is cpe:2.3:a:mansi-k:restaurant_ims:*:*:*:*:*:*:*:*, consistent with a rolling-release project identified only by commit hash.
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
Injection on the unauthenticated login path over the network gives AV:N/AC:L/PR:N/UI:N; partial C/I/A reflects database read/write via SQLi without a confirmed full-compromise scope.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
DescriptionCVE.org
A vulnerability has been found in mansi-k Restaurant_IMS d7ad49f61ab7cc1ec6eb359ac2b5378bdbde0694. Affected is the function mysqli_connect of the file lsmodal.php. The manipulation of the argument login_id/epsw leads to sql injection. Remote exploitation of the attack is possible. This product follows a rolling release approach for continuous delivery, so version details for affected or updated releases are not provided. The vendor was contacted early about this disclosure but did not respond in any way.
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-109328
GHSA-mv73-9vhw-8f9j
NVD
CVE.org
EPSS
VulDB
Exploit-DB