CVE-2022-2688
CWE-89Published: August 6, 2022· Updated: Jun 17, 2026
Official Description
A vulnerability was found in SourceCodester Expense Management System. It has been rated as critical. This issue affects the function fetch_report_credit of the file report.php of the component POST Parameter Handler. The manipulation of the argument from/to leads to sql injection. The attack may be initiated remotely. The associated identifier of this vulnerability is VDB-205811.
Risk Analysis
The Expense Management System is affected by a critical SQL injection vulnerability in the report.php file. Remote attackers can exploit this to gain unauthorized access to the database. The CVSS score of 9.8 highlights the severity of this remote attack vector.
No public exploit is known, and the vulnerability is not in the KEV catalog. It is remotely exploitable with low complexity.
Apply the latest vendor updates. Ensure that all parameters in the POST handler are validated and sanitized.
Technical Analysis
CVE-2022-2688 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 (2)
Quick Facts
Related CVEs (CWE-89)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2022-2688 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts