CVE-2024-40502 SQL injection in n/a
A remote attacker can execute arbitrary code via SQL injection in the login function of the Hospital Management System.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-40502?
CVE-2024-40502 is a critical SQL injection vulnerability in n/a, published on 22 Jul 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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
Weakness: CWE-89
Which versions are affected by CVE-2024-40502?
It affects 1 product.
Products include Angeljudesuarez Hospital Management System.
How do I fix CVE-2024-40502?
No fix has been published for CVE-2024-40502 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2024-40502 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-40502 exists.
Sources
Also known as GHSA-cr58-cprg-fhvm.