CVE-2024-40502: Hospital Management System Project · SQL Injection
Source CVE Database V5
Not known to be exploited · CVSS 9.8 Critical.
Data as of 26 Oct 2026, 13:47 UTC
- EPSS
- 1.2% chance of exploitation in 30 days – higher than 70% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 22 Jul 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
AI-suggested
Immediate mitigation steps include conducting a thorough code review of the btn_login_b_Click function and all SQL query handling in the login process to ensure proper input validation and use of parameterized queries or stored procedures. Implementing prepared statements with parameter binding will prevent SQL injection. Organizations should also monitor network traffic for suspicious login attempts and anomalous database queries. Deploying a Web Application Firewall (WAF) with SQL injection detection rules can provide a temporary protective layer. Since no official patches are available, organizations should consider isolating or restricting access to the affected system until a fix is released. Regular backups of critical data should be maintained to enable recovery in case of compromise. Additionally, applying the principle of least privilege to database accounts used by the application can limit the damage potential. Finally, organizations should stay alert for updates from the vendor or security community regarding patches or exploit reports.
Description
SQL injection vulnerability in Hospital Management System Project in ASP.Net MVC 1 allows aremote attacker to execute arbitrary code via the btn_login_b_Click function of the Loginpage.aspx
References
- itsourcecode.com/free-projects/asp/hospital-management-system-project-in-asp-net-mvc-with-source-code/ (opens in a new tab)
- itsourcecode.com/author/angeljudesuarez/ (opens in a new tab)
- packetstormsecurity.com/files/179583/Hospital-Management-System-Project-In-ASP.Net-MVC-1-SQL-Injection.html (opens in a new tab)