CVE-2022-2957 SourceCodester Simple and Nice Shopping Cart Script profile.php sql injection
Remote attackers can exploit SQL injection in profile.php to read or modify database contents in the Simple and Nice Shopping Cart Script.
- 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-2022-2957?
CVE-2022-2957 is a medium-severity SQL injection vulnerability in SourceCodester Simple and Nice Shopping Cart Script, published on 25 Aug 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A vulnerability classified as critical was found in SourceCodester Simple and Nice Shopping Cart Script. Affected by this vulnerability is an unknown functionality of the file /mkshop/Men/profile.php. The manipulation of the argument mem_id leads to sql injection. The attack can be launched remotely. The exploit has been disclosed to the public and may be used. The identifier VDB-207001 was assigned to this vulnerability.
Weakness: CWE-89
Which versions are affected by CVE-2022-2957?
It affects 1 product.
Products include Simple and Nice Shopping Cart Script Project Simple and Nice Shopping Cart Script.
How do I fix CVE-2022-2957?
No fix has been published for CVE-2022-2957 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-2957 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-2957 exists.
Other vulnerabilities in SourceCodester Simple and Nice Shopping Cart Script
- CVE-2023-44061 File upload in n/a
- CVE-2023-1497 SourceCodester Simple and Nice Shopping Cart Script uploaderm.php unrestricted upload
- CVE-2022-2909 SourceCodester Simple and Nice Shopping Cart Script profile.php unrestricted upload
- CVE-2022-2814 SourceCodester Simple and Nice Shopping Cart Script login.php cross site scripting
Sources
Also known as GHSA-rq2q-g74h-7frw.