{"id":"CVE-2022-24124","published":"2022-01-29T22:53:01Z","modified":"2024-08-03T03:59:23Z","title":"The query API in Casdoor before 1.13.1 has a SQL injection vulnerability related to the field and value parameters, as…","vendor":null,"product":null,"tier":"core","eol":null,"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"The query API in Casdoor (versions before 1.13.1) contains a SQL injection flaw in its handling of the field and value parameters, as demonstrated through the api/get-organizations endpoint. An attacker able to reach that API can inject SQL through these parameters to manipulate database queries, with the specific network, authentication, and user-interaction requirements not stated in the available record.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:20:57Z"},"cvss":null,"epss":{"score":0.55295,"percentile":0.99054,"date":"2026-11-23","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[],"references":[{"url":"https://github.com/casdoor/casdoor/issues/439","tags":["x_refsource_MISC"]},{"url":"https://github.com/casdoor/casdoor/pull/442","tags":["x_refsource_MISC"]},{"url":"https://github.com/casdoor/casdoor/compare/v1.13.0...v1.13.1","tags":["x_refsource_MISC"]},{"url":"http://packetstormsecurity.com/files/166163/Casdoor-1.13.0-SQL-Injection.html","tags":["x_refsource_MISC"]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"Go","package":"github.com/casdoor/casdoor","vulnerableRanges":["<1.13.1"],"patched":["1.13.1"],"from":["GHSA-m358-g4rp-533r","GO-2022-0303"],"provenance":"source"},{"ecosystem":"PyPI","package":"casdoor","vulnerableRanges":["<1.13.1"],"patched":["1.13.1"],"from":["PYSEC-2022-43189"],"provenance":"source"}],"advisories":[{"id":"GHSA-m358-g4rp-533r","url":"https://github.com/advisories/GHSA-m358-g4rp-533r","severity":"HIGH","ecosystem":"Go","package":"github.com/casdoor/casdoor","vulnerableRanges":["<1.13.1"],"patched":["1.13.1"],"provenance":"source","from":"GHSA"},{"id":"PYSEC-2022-43189","url":"https://osv.dev/vulnerability/PYSEC-2022-43189","severity":null,"ecosystem":"PyPI","package":"casdoor","vulnerableRanges":["<1.13.1"],"patched":["1.13.1"],"provenance":"source","from":"OSV"}],"euvd":{"id":"EUVD-2022-1087","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-1087","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[{"id":50792,"url":"https://www.exploit-db.com/exploits/50792","title":"Casdoor 1.13.0 - Unauthenticated SQL Injection (SQLi)","type":"webapps","platform":"multiple","date":"2022-02-28","verified":false,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":1,"earliest":"2022-02-28"},"pocGithub":{"count":3,"skipped":0,"earliest":"2022-02-25","earliestUrl":"https://github.com/ColdFusionX/CVE-2022-24124","repos":[{"name":"ColdFusionX/CVE-2022-24124","url":"https://github.com/ColdFusionX/CVE-2022-24124","stars":8,"created":"2022-02-25"},{"name":"b1gdog/CVE-2022-24124","url":"https://github.com/b1gdog/CVE-2022-24124","stars":2,"created":"2022-08-31"},{"name":"abbarhissarh/CVE-2022-24124","url":"https://github.com/abbarhissarh/CVE-2022-24124","stars":1,"created":"2022-06-04"}]},"nuclei":[{"id":"CVE-2022-24124","name":"Casdoor 1.13.0 - Unauthenticated SQL Injection","severity":"high","path":"http/cves/2022/CVE-2022-24124.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-24124.yaml"}],"first":{"date":"2022-02-25","source":"PoC-in-GitHub","url":"https://github.com/ColdFusionX/CVE-2022-24124"},"provenance":"source"},"exploitRefs":["http://packetstormsecurity.com/files/166163/Casdoor-1.13.0-SQL-Injection.html"],"flow":[],"timeline":[{"date":"2022-01-29","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2022-24124","provenance":"source"},{"date":"2022-02-25","kind":"exploit-public","label":"First public exploit: PoC-in-GitHub; later: Exploit-DB 2022-02-28","url":"https://github.com/ColdFusionX/CVE-2022-24124","provenance":"source"}],"speed":{"daysToPublicExploit":27,"firstExploitFrom":"PoC-in-GitHub","daysToKev":null},"priority":{"score":24.8,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.81,"detail":"percentile 0.9905"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 Exploit-DB entry; 1 NVD exploit link; 3 PoC-in-GitHub repos; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"familyId":"fam-github-com-casdoor-casdoor-cve-2022-24124","children":[{"from":"CVE-2022-24124","to":"CVE-2025-61524","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["object/application.go","object/syncer.go","object/token.go","object/webhook.go"],"commits":["https://github.com/casdoor/casdoor/commit/5ec0c7a89005819960d8fe07f5ddda13d1371b8c","https://github.com/casdoor/casdoor/commit/d883db907bb6e0b95737ef8e8b57b7da9078cbdd"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2022-24124","published":"2022-01-29","fixed":"1.13.1","kev":false},{"cve":"CVE-2022-38638","published":"2022-09-09","fixed":"1.103.1","kev":false,"link":{"from":"CVE-2022-24124","to":"CVE-2022-38638","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/casdoor/casdoor","fromFixed":"1.13.1","toFixed":"1.103.1","daysApart":223}]}},{"cve":"CVE-2022-44942","published":"2022-12-07","fixed":"1.126.1","kev":false},{"cve":"CVE-2025-4210","published":"2025-05-02","fixed":"1.812.0","kev":false}],"package":"Go:github.com/casdoor/casdoor"}}