CVE-2022-24124 in the critical feed json
SQL Injection in Casdoor
published 4y ago modified last mo. also GHSA-m358-g4rp-533r , GO-2022-0303 , PYSEC-2022-43189 , EUVD-2022-1087
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 55.3%
- EPSS 55.3% chance of exploitation in 30 days, percentile 99%
- public exploits
- 1
- Exploit-DB, plus a Nuclei check
Summary
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.
Patch / fix
- go github.com/casdoor/casdoor 1.13.1
- pypi casdoor 1.13.1
- casbin casdoor 1.13.1
- github.com/casdoor/casdoor@5ec0c7a commit
- github.com/casdoor/casdoor#442 pull request
- github.com/casdoor/casdoor/issues/439 advisory
Is CVE-2022-24124 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerTimeline
- Published
- First public exploit (EDB-50792)
Exploit prediction
55.30% chance of exploitation in the next 30 days, higher than 99% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- EDB-50792 Casdoor 1.13.0 - SQL Injection (Unauthenticated) webapps, 2022-02-28
- Nuclei template Casdoor 1.13.0 - Unauthenticated SQL Injection nuclei detection template
- github.com https://github.com/casdoor/casdoor/pull/442 referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/casdoor/casdoor/issues/439 referenced PoC, tagged "exploit" by a source, unverified
- packetstormsecurity.com http://packetstormsecurity.com/files/166163/Casdoor-1.13.0-SQL-Injection.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/casdoor/casdoor | <1.13.1 |
1.13.1 |
| pypi | casdoor | <1.13.1 |
1.13.1 |
Classification
- Weakness
-
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
References
-
github.com
/casdoor/casdoor/pull/442
web, exploit, patch, third-party-advisory
-
github.com
/casdoor/casdoor/issues/439
web, exploit, issue-tracking, patch, third-party-advisory, report
-
github.com
/casdoor/casdoor/commit/5ec0c7a89005819960d8fe07f5ddda13d1371b8c
web, patch
-
packetstormsecurity.com
/files/166163/Casdoor-1.13.0-SQL-Injection.html
web, exploit, third-party-advisory, vdb-entry, evidence
-
github.com
/casdoor/casdoor/compare/v1.13.0...v1.13.1
web, release-notes, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-24124
advisory
-
github.com
/casdoor/casdoor
package
-
github.com
/advisories/GHSA-m358-g4rp-533r
advisory
Sources
- CVE List CVE-2022-24124
- GitHub Advisory GHSA-m358-g4rp-533r
- NVD CVE-2022-24124
- OSV PYSEC-2022-43189
- OSV GO-2022-0303
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.