CVE-2023-40945 SQL injection in n/a
An attacker can exploit SQL injection in the Doctor Appointment System to read or modify database information via the myDetails.php script.
- 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-2023-40945?
CVE-2023-40945 is a critical SQL injection vulnerability in n/a, published on 11 Sep 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Sourcecodester Doctor Appointment System 1.0 is vulnerable to SQL Injection in the variable $userid at doctors\myDetails.php.
Weakness: CWE-89
Which versions are affected by CVE-2023-40945?
It affects 1 product.
Products include Doctor Appointment System Project Doctor Appointment System.
How do I fix CVE-2023-40945?
No fix has been published for CVE-2023-40945 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-2023-40945 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-40945 exists.
Other vulnerabilities in n/a
Sources
Also known as GHSA-97x2-vw52-3g2m.