SecurityContext

CVE-2022-24124: Casdoor - SQL Injection

  • Cve: CVE-2022-24124
  • Name: Casdoor - SQL Injection
  • Description: The query API in Casdoor before 1.13.1 has a SQL injection vulnerability related to the field and value parameters, as demonstrated by api/get-organizations.
  • Impact: Attackers can execute arbitrary SQL commands, potentially leading to data theft, data tampering, or full database compromise.
  • Remediation: Update to version 1.13.1 or later.
  • Vulnerability type: sql_injection
  • Vulnerability impact: information_disclosure, data_tampering
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Epss score: 0.55295
  • Epss percentile: 0.99054
  • Assignee: [email protected]
  • Published at: 2022-01-29T23:15:07Z
  • Age in days: 1760
  • Modified at: 2026-06-17T04:31:20Z
  • Patch available: yes
  • Public exploits total: 6
  • References total: 5
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-24124
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

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

Nuclei templates

IdUrl
CVE-2022-24124https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-24124.yaml

Public exploits

UrlSourceAdded date
http://packetstormsecurity.com/files/166163/Casdoor-1.13.0-SQL-Injection.htmlnvd2022-01-29
https://github.com/casdoor/casdoor/issues/439nvd2022-01-29
https://github.com/casdoor/casdoor/pull/442nvd2022-01-29
https://github.com/b1gdog/CVE-2022-24124poc-in-github2022-08-31
https://github.com/abbarhissarh/CVE-2022-24124poc-in-github2022-06-04

References

UrlSourceTags
https://github.com/casdoor/casdoor/issues/439nvdExploit, Issue Tracking, Patch, Third Party Advisory
https://github.com/casdoor/casdoor/pull/442nvdExploit, Patch, Third Party Advisory
http://packetstormsecurity.com/files/166163/Casdoor-1.13.0-SQL-Injection.htmlnvdExploit, Third Party Advisory, VDB Entry
https://github.com/casdoor/casdoor/compare/v1.13.0...v1.13.1nvdRelease Notes, Third Party Advisory
https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-24124.yamlnuclei_templateNuclei Template

Products

ProductAffectedPlatform boundSourcesUrl
casbin:casdoor< 1.13.1nonvd/v1/products/casbin/casdoor

Projects

RepositoryLink kindsIndexedUrl
casdoor/casdoorcommit, compare, fix, issues, package, pullyes/v1/repositories/casdoor/casdoor

Index

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

Exploitation

  • Exploitation seen: yes
  • Public exploit: yes
  • Public exploit count: 6
  • Public exploit first date: 2022-01-29
  • Remote: yes
  • Exposed hosts: 2175
  • Checked, none or zero: known exploited, known exploited by, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, initial access since, hackerone reports

Nuclei template