CVE-2022-2842
CWE-89Published: August 22, 2022· Updated: Jun 17, 2026
Official Description
A vulnerability classified as critical has been found in SourceCodester Gym Management System. This affects an unknown part of the file login.php. The manipulation of the argument user_email leads to sql injection. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used. The associated identifier of this vulnerability is VDB-206451.
Risk Analysis
The SourceCodester Gym Management System is vulnerable to SQL injection via the login.php file. This critical flaw allows remote attackers to manipulate database queries, potentially leading to unauthorized data access or system compromise.
While the exploit has been disclosed publicly, it is not currently in the CISA KEV. It is remotely exploitable with low complexity.
Apply any available security patches from the vendor or implement input validation and parameterized queries for the login.php file.
Technical Analysis
CVE-2022-2842 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.
A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 9.8.
From a weakness classification perspective (CWE-89): SQL injection vulnerabilities allow attackers to manipulate database queries, potentially exposing or modifying sensitive data.
CVSS v3.1 Vector Breakdown
Affected Vendors & Products
Exploit & PoC Resources
Official Patches & Advisories
All References (4)
Quick Facts
Related CVEs (CWE-89)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2022-2842 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts