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
| Id | Name |
|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command |
Nuclei templates
| Id | Url |
|---|---|
| CVE-2022-24124 | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-24124.yaml |
Public exploits
| Url | Source | Added date |
|---|---|---|
| http://packetstormsecurity.com/files/166163/Casdoor-1.13.0-SQL-Injection.html | nvd | 2022-01-29 |
| https://github.com/casdoor/casdoor/issues/439 | nvd | 2022-01-29 |
| https://github.com/casdoor/casdoor/pull/442 | nvd | 2022-01-29 |
| https://github.com/b1gdog/CVE-2022-24124 | poc-in-github | 2022-08-31 |
| https://github.com/abbarhissarh/CVE-2022-24124 | poc-in-github | 2022-06-04 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/casdoor/casdoor/issues/439 | nvd | Exploit, Issue Tracking, Patch, Third Party Advisory |
| https://github.com/casdoor/casdoor/pull/442 | nvd | Exploit, Patch, Third Party Advisory |
| http://packetstormsecurity.com/files/166163/Casdoor-1.13.0-SQL-Injection.html | nvd | Exploit, Third Party Advisory, VDB Entry |
| https://github.com/casdoor/casdoor/compare/v1.13.0...v1.13.1 | nvd | Release Notes, Third Party Advisory |
| https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-24124.yaml | nuclei_template | Nuclei Template |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| casbin:casdoor | < 1.13.1 | no | nvd | /v1/products/casbin/casdoor |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| casdoor/casdoor | commit, compare, fix, issues, package, pull | yes | /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