CVE-2024-6418 SourceCodester Medicine Tracker System sql injection
Remote attackers can exploit SQL injection in the username parameter to read or modify database contents in the Medicine Tracker 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-6418?
CVE-2024-6418 is a medium-severity SQL injection vulnerability in SourceCodester Medicine Tracker System, published on 30 Jun 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A vulnerability classified as critical has been found in SourceCodester Medicine Tracker System 1.0. This affects an unknown part of the file /classes/Users.php?f=register_user. The manipulation of the argument username leads to sql injection. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used. The identifier VDB-270009 was assigned to this vulnerability.
Weakness: CWE-89
Which versions are affected by CVE-2024-6418?
It affects 1 product.
Products include Oretnom23 Medicine Tracker System.
How do I fix CVE-2024-6418?
No fix has been published for CVE-2024-6418 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-6418 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-6418 exists.
Other vulnerabilities in SourceCodester Medicine Tracker System
- CVE-2024-7226 SourceCodester Medicine Tracker System Password Change cross-site request forgery
- CVE-2023-7134 SourceCodester Medicine Tracking System path traversal
- CVE-2023-7123 SourceCodester Medicine Tracking System sql injection
- CVE-2024-6419 SourceCodester Medicine Tracker System sql injection
- CVE-2023-5581 SourceCodester Medicine Tracker System index.php cross site scripting
Sources
Also known as GHSA-3x3f-wx55-vr96.