CVE-2024-4826 SQL injection vulnerability in Simple PHP Shopping Cart
An attacker can retrieve all database information via SQL injection in the category_id parameter of Simple PHP Shopping Cart.
- 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-4826?
CVE-2024-4826 is a critical SQL injection vulnerability in Asaancart Simple PHP Shopping Cart, published on 16 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
SQL injection vulnerability in Simple PHP Shopping Cart affecting version 0.9. This vulnerability could allow an attacker to retrieve all the information stored in the database by sending a specially crafted SQL query, due to the lack of proper sanitisation of the category_id parameter in the category.php file.
Weakness: CWE-89
Which versions are affected by CVE-2024-4826?
How do I fix CVE-2024-4826?
No fix has been published for CVE-2024-4826 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-4826 being exploited?
There is no known exploitation of CVE-2024-4826 in the wild and no public exploit code.
Sources
Also known as GHSA-wx6j-6xmp-c56f.