CVE-2022-24124 in casbin casdoor
LogPulse has a published detection rule for this CVE: it raises a notable when someone tries to exploit it.
What the vulnerability is
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.
Affected software: casbin casdoor
Scores
- CVSS: 7.5 (high)
- EPSS: 58.30% chance of exploitation in the next 30 days
- CISA KEV: Not listed
- Published: 2022-01-29
What LogPulse has for it
- Detection rule: Yes, published
- Agent check (vulnerable version): No
- Mitigation: Yes, see below
How to mitigate it
Upgrade Casdoor to 1.13.1 or later
Patch or upgrade. Casdoor 1.13.1 checks the field parameter of its list APIs. Upgrading removes the unauthenticated SQL injection of CVE-2022-24124.
Applies to: Casdoor before 1.13.1.
- Check the Casdoor version (image tag or the release in the About page).
- Pull and deploy Casdoor 1.13.1 or later (docker pull casbin/casdoor:<version>, then restart).
- Rotate admin passwords and client secrets if the server was reachable before the upgrade.
Sources:
Source data: NIST NVD, CISA KEV and FIRST EPSS. LogPulse processes new CVEs every hour.
We build every detection with great care, but no two environments are the same. Log sources, parsing and configuration differ, so test a detection in your own environment before you rely on it.