SecurityContext

CVE-2022-31890: osTicket - SQL Injection

  • Cve: CVE-2022-31890
  • Name: osTicket - SQL Injection
  • Description: SQL Injection vulnerability in audit/class.audit.php in osTicket osTicket-plugins before commit a7842d494889fd5533d13deb3c6a7789768795ae via the order parameter to the getOrder function.
  • Impact: Attackers can execute arbitrary SQL commands, potentially leading to data leakage, modification, or deletion.
  • Remediation: Sanitize and parameterize the 'order' input in getOrder function, update to the latest version of osTicket.
  • Vulnerability type: sql_injection
  • Vulnerability impact: information_disclosure, data_tampering
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.01503
  • Epss percentile: 0.74846
  • Assignee: [email protected]
  • Published at: 2023-04-05T22:15:07Z
  • Age in days: 1329
  • Modified at: 2026-06-17T04:46:25Z
  • Patch available: yes
  • Public exploits total: 2
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-31890
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-89Improper Neutralization of Special Elements used in an SQL Command

Public exploits

UrlSourceAdded date
https://checkmarx.com/blog/securing-open-source-solutions-a-study-of-osticket-vulnerabilities/nvd2023-04-05
https://github.com/reewardius/CVE-2022-31890poc-in-github2023-02-18

References

UrlSourceTags
https://github.com/osTicket/osTicket-plugins/commit/0b59afbd2d4ccd0522552198a9aaf1ec05b5071envdPatch
https://checkmarx.com/blog/securing-open-source-solutions-a-study-of-osticket-vulnerabilities/nvdExploit, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
enhancesoft:audit_log< 2022-04-21nonvd/v1/products/enhancesoft/audit_log

Projects

RepositoryLink kindsIndexedUrl
osTicket/osTicket-pluginscommit, fixyes/v1/repositories/osTicket/osTicket-plugins

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 2
  • Public exploit first date: 2023-02-18
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts