CVE-2022-2687 SourceCodester Gym Management System sql injection
Remote attackers can exploit SQL injection in the user_pass argument to read or modify database contents in the Gym Management System.
- 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-2687?
CVE-2022-2687 is a medium-severity SQL injection vulnerability in SourceCodester Gym Management System, published on 6 Aug 2022. 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, was found in SourceCodester Gym Management System. Affected is an unknown function. The manipulation of the argument user_pass leads to sql injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. VDB-205734 is the identifier assigned to this vulnerability.
Weakness: CWE-89
Which versions are affected by CVE-2022-2687?
It affects 1 product.
Products include Gym Management System Project Gym Management System.
How do I fix CVE-2022-2687?
No fix has been published for CVE-2022-2687 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-2687 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-2687 exists.
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-6r27-wqfc-2wjp.