CVE-2022-48120 SQL injection in n/a
Attackers can execute arbitrary SQL commands via the contact and doctor parameters in the search functionality 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-2022-48120?
CVE-2022-48120 is a critical SQL injection vulnerability in n/a, published on 20 Jan 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
SQL Injection vulnerability in kishan0725 Hospital Management System thru commit 4770d740f2512693ef8fd9aa10a8d17f79fad9bd (on March 13, 2021), allows attackers to execute arbitrary commands via the contact and doctor parameters to /search.php.
Weakness: CWE-89
Which versions are affected by CVE-2022-48120?
It affects 1 product.
Products include Hospital Management System Project Hospital Management System.
How do I fix CVE-2022-48120?
No fix has been published for CVE-2022-48120 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-2022-48120 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-48120 exists.
Other vulnerabilities in n/a
Sources
Also known as GHSA-jhx2-qrv5-m4q7.