CVE-2022-24124
SQL Injection in Casdoor
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
7.5
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.
- Record
CVE-2022-24124- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:P/I:N/A:N - Weakness
- CWE-89
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2022-24124- Updated
- 2026-11-02
EUVDEUVD-2022-1087 No score
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.
- Record
EUVD-2022-1087- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-m358-g4rp-533r
7.5
SQL Injection in Casdoor
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.
- Record
GHSA-m358-g4rp-533r- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-89
- Updated
- 2026-11-02
OSVGHSA-m358-g4rp-533r
7.5
SQL Injection in Casdoor
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.
- Record
GHSA-m358-g4rp-533r- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Weakness
- CWE-89
- Updated
- 2026-11-02
OSVPYSEC-2022-43189
7.5
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.
- Record
PYSEC-2022-43189- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2022-24124- Updated
- 2026-11-02
OSVGO-2022-0303 No score
SQL Injection in Casdoor in github.com/casdoor/casdoor
SQL Injection in Casdoor in github.com/casdoor/casdoor
- Record
GO-2022-0303- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
github.com/casdoor/casdoorGo |
before 1.13.1 | 1.13.1 |
casdoorPyPI |
before 1.13.1, plus listed versions 1.0.01.1.01.1.11.1.21.1.3 Show 17 moreShow less1.1.41.1.51.10.01.11.01.12.01.12.11.13.01.2.01.2.11.3.01.4.01.5.01.5.11.6.01.7.01.8.01.9.0 |
1.13.1 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Exploit-DB | Casdoor 1.13.0 - SQL Injection (Unauthenticated) | 2022-02-28 |
| Nuclei | Casdoor 1.13.0 - Unauthenticated SQL Injection | |
| PoC in GitHub | ColdFusionX/CVE-2022-24124 | 2022-02-25 |
| PoC in GitHub | abbarhissarh/CVE-2022-24124 | 2022-06-04 |
| PoC in GitHub | b1gdog/CVE-2022-24124 | 2022-08-31 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, Exploit-DB, GitHub Advisories, Nuclei, NVD, OSV, PoC in GitHub |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-24124 is a high vulnerability (CVSS 7.5) in Casbin Casdoor, published January 29, 2022. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 55.3%, the 99th percentile. Fixed in github.com/casdoor/casdoor 1.13.1.
References
github.com/casdoor/casdoor/issues/439
github.com/casdoor/casdoor/pull/442
github.com/casdoor/casdoor/compare/v1.13.0...v1.13.1
packetstormsecurity.com/files/166163/Casdoor-1.13.0-SQL-Injection.html
nvd.nist.gov/vuln/detail/CVE-2022-24124
github.com/casdoor/casdoor/commit/5ec0c7a89005819960d8fe07f5ddda13d1371b8c
github.com/advisories/GHSA-m358-g4rp-533r
github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24124.json
github.com/casdoor/casdoor