CVE-2023-7123 SourceCodester Medicine Tracking System sql injection
Remote attackers can perform SQL injection via the save_medicine endpoint to read or modify database contents.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2023-7123?
CVE-2023-7123 is a medium-severity SQL injection vulnerability in SourceCodester Medicine Tracking System, published on 27 Dec 2023. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A vulnerability, which was classified as critical, has been found in SourceCodester Medicine Tracking System 1.0. This issue affects some unknown processing of the file /classes/Master.php? f=save_medicine. The manipulation of the argument id/name/description leads to sql injection. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used. The associated identifier of this vulnerability is VDB-249095.
Weakness: CWE-89
Which versions are affected by CVE-2023-7123?
It affects 1 product.
Products include Oretnom23 Medicine Tracker System.
How do I fix CVE-2023-7123?
No fix has been published for CVE-2023-7123 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-7123 being exploited?
There is no known exploitation of CVE-2023-7123 in the wild and no public exploit code.
Other vulnerabilities in SourceCodester Medicine Tracking System
- CVE-2024-7226 SourceCodester Medicine Tracker System Password Change cross-site request forgery
- CVE-2024-6418 SourceCodester Medicine Tracker System sql injection
- CVE-2023-7134 SourceCodester Medicine Tracking System path traversal
- 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-phqw-f6xp-qmmc.