{"id":"CVE-2022-24124","aliases":["EUVD-2022-1087","GHSA-m358-g4rp-533r","GO-2022-0303","PYSEC-2022-43189"],"status":"published","title":"SQL Injection in Casdoor","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.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.55295,"percentile":0.99044,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-89"],"published":"2022-01-29T22:53:01Z","modified":"2026-10-28T02:31:00Z","exploits":[{"source":"exploitdb","id":"EDB-50792","title":"Casdoor 1.13.0 - SQL Injection (Unauthenticated)","type":"webapps","platform":"multiple","date":"2022-02-28","url":"https://www.exploit-db.com/exploits/50792"},{"source":"nuclei","id":"CVE-2022-24124","title":"Casdoor 1.13.0 - Unauthenticated SQL Injection","type":"detection template","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-24124.yaml"},{"source":"pocgithub","id":"ColdFusionX/CVE-2022-24124","title":"ColdFusionX/CVE-2022-24124","date":"2022-02-25","url":"https://github.com/ColdFusionX/CVE-2022-24124"},{"source":"pocgithub","id":"abbarhissarh/CVE-2022-24124","title":"abbarhissarh/CVE-2022-24124","date":"2022-06-04","url":"https://github.com/abbarhissarh/CVE-2022-24124"},{"source":"pocgithub","id":"b1gdog/CVE-2022-24124","title":"b1gdog/CVE-2022-24124","date":"2022-08-31","url":"https://github.com/b1gdog/CVE-2022-24124"}],"fixes":[{"ecosystem":"Go","package":"github.com/casdoor/casdoor","fixed_in":["1.13.1"],"sources":["ghsa","osv"]},{"ecosystem":"PyPI","package":"casdoor","fixed_in":["1.13.1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/casdoor/casdoor","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.13.1"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/casdoor/casdoor","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.13.1"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/casdoor/casdoor","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.13.1"}]}]},{"source":"osv","ecosystem":"PyPI","package":"casdoor","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.13.1"}]}],"versions":["1.0.0","1.1.0","1.1.1","1.1.2","1.1.3","1.1.4","1.1.5","1.10.0","1.11.0","1.12.0","1.12.1","1.13.0","1.2.0","1.2.1","1.3.0","1.4.0","1.5.0","1.5.1","1.6.0","1.7.0","1.8.0","1.9.0"]}],"products":[{"vendor":"casbin","product":"casdoor"}],"references":[{"url":"https://github.com/casdoor/casdoor/issues/439","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Patch","Third Party Advisory","report","web","fix"]},{"url":"https://github.com/casdoor/casdoor/pull/442","tags":["x_refsource_MISC","x_transferred","Exploit","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/casdoor/casdoor/compare/v1.13.0...v1.13.1","tags":["x_refsource_MISC","x_transferred","Release Notes","Third Party Advisory","web","advisory"]},{"url":"http://packetstormsecurity.com/files/166163/Casdoor-1.13.0-SQL-Injection.html","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","VDB Entry","web","evidence"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24124","tags":["advisory"]},{"url":"https://github.com/casdoor/casdoor/commit/5ec0c7a89005819960d8fe07f5ddda13d1371b8c","tags":["web","fix"]},{"url":"https://github.com/advisories/GHSA-m358-g4rp-533r","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/24xxx/CVE-2022-24124.json","tags":["advisory"]},{"url":"https://github.com/casdoor/casdoor","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-24124","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.","status":"published","published":"2022-01-29T22:53:01Z","modified":"2024-08-03T03:59:23.921Z","updated_at":"2026-11-02T14:34:34.940806Z"}],"euvd":[{"id":"EUVD-2022-1087","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.","status":"published","published":"2022-01-29T22:53:01Z","modified":"2024-08-03T03:59:23Z","updated_at":"2026-11-03T03:25:50.168269Z"}],"ghsa":[{"id":"GHSA-m358-g4rp-533r","title":"SQL Injection in Casdoor","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.","status":"published","published":"2022-02-01T00:49:39Z","modified":"2023-02-03T05:05:26Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:36:42.703723Z"}],"nvd":[{"id":"CVE-2022-24124","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.","status":"published","published":"2022-01-29T23:15:07.54Z","modified":"2026-06-17T04:31:20.693Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:07:11.52734Z"}],"osv":[{"id":"GHSA-m358-g4rp-533r","title":"SQL Injection in Casdoor","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.","status":"published","published":"2022-02-01T00:49:39Z","modified":"2026-10-04T11:40:45.650201142Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T15:46:51.10002Z"},{"id":"PYSEC-2022-43189","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.","status":"published","published":"2022-01-29T23:15:07.54Z","modified":"2026-10-04T11:40:45.650201142Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-11-02T15:52:53.837392Z"},{"id":"CVE-2022-24124","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.","status":"published","published":"2022-01-29T22:53:01Z","modified":"2026-10-28T02:31:00.01188017Z","updated_at":"2026-11-02T15:44:24.428403Z"},{"id":"GO-2022-0303","title":"SQL Injection in Casdoor in github.com/casdoor/casdoor","description":"SQL Injection in Casdoor in github.com/casdoor/casdoor","status":"published","published":"2024-08-21T14:30:26Z","modified":"2026-10-04T11:40:45.650201142Z","updated_at":"2026-11-02T15:47:00.604718Z"}]}}
