CVE-2022-31890
Published: 05 April 2023
Summary
CVE-2022-31890 is a critical-severity SQL Injection (CWE-89) vulnerability in Enhancesoft Audit Log. Its CVSS base score is 9.8 (Critical).
Operationally, ranked in the top 5.6% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
Deeper analysis
CVE-2022-31890 is a SQL injection vulnerability (CWE-89) in the audit/class.audit.php file of osTicket osTicket-plugins prior to commit a7842d494889fd5533d13deb3c6a7789768795ae. The flaw exists in the getOrder function, which processes an order parameter without adequate sanitization, allowing malicious input to alter SQL queries. It carries a CVSS 3.1 score of 9.8, reflecting network-accessible exploitation with no required credentials or user interaction and full impact on confidentiality, integrity, and availability.
An unauthenticated remote attacker can supply crafted input to the order parameter and execute arbitrary SQL commands against the underlying database. Successful exploitation can result in data exfiltration, modification of records, or disruption of the osTicket application, effectively granting the attacker control equivalent to a database administrator in the affected deployment.
Public references include a Checkmarx analysis of osTicket vulnerabilities and the osTicket-plugins repository commit 0b59afbd2d4ccd0522552198a9aaf1ec05b5071e, which addresses the issue. Administrators should apply the referenced commit or a subsequent release that incorporates the fix to eliminate the vulnerable code path.
The associated EPSS score remains near 0.14 with negligible movement between current and peak values, indicating limited observed exploitation interest to date.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2022-53222
Vulnerability details
SQL Injection vulnerability in audit/class.audit.php in osTicket osTicket-plugins before commit a7842d494889fd5533d13deb3c6a7789768795ae via the order parameter to the getOrder function.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.