CVE-2022-2708 SourceCodester Gym Management System login.php sql injection
SQL injection in login.php allows attackers on the local network to manipulate database queries and potentially access or modify data.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-2708?
CVE-2022-2708 is a medium-severity SQL injection vulnerability in SourceCodester Gym Management System, published on 8 Aug 2022. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
A vulnerability, which was classified as critical, was found in SourceCodester Gym Management System. This affects an unknown part of the file login.php. The manipulation of the argument user_login with the input [email protected]' OR (SELECT 9084 FROM(SELECT COUNT(*),CONCAT(0x7178767871,(SELECT (ELT(9084=9084,1))),0x71767a6271,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.PLUGINS GROUP BY x)a)-- dPvW leads to sql injection. Access to the local network is required for this attack. The exploit has been disclosed to the public and may be used. The identifier VDB-205833 was assigned to this vulnerability.
Weakness: CWE-89
Which versions are affected by CVE-2022-2708?
It affects 1 product.
Products include Gym Management System Project Gym Management System.
How do I fix CVE-2022-2708?
No fix has been published for CVE-2022-2708 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-2708 being exploited?
There is no known exploitation of CVE-2022-2708 in the wild and no public exploit code.
Other vulnerabilities in SourceCodester Gym Management System
- CVE-2022-2842 SourceCodester Gym Management System login.php sql injection
- CVE-2022-2744 SourceCodester Gym Management System Background Management add_exercises.php unrestricted upload
- CVE-2022-2745 SourceCodester Gym Management System Add New Trainer add_trainers.php sql injection
- CVE-2022-2727 SourceCodester Gym Management System login.php sql injection
- CVE-2022-2728 SourceCodester Gym Management System index.php sql injection
Sources
Also known as GHSA-rf96-7v98-4q5q.