-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7a942c8
commit 82f6305
Showing
4 changed files
with
54 additions
and
0 deletions.
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,4 @@ | ||
appsec-rules: | ||
- ./appsec-rules/crowdsecurity/base-config.yaml | ||
- ./appsec-rules/crowdsecurity/vpatch-CVE-2024-5910.yaml | ||
nuclei_template: vpatch-CVE-2024-5910.yaml |
19 changes: 19 additions & 0 deletions
19
.appsec-tests/vpatch-CVE-2024-5910/vpatch-CVE-2024-5910.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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
id: vpatch-CVE-2024-5910 | ||
info: | ||
name: vpatch-CVE-2024-5910 | ||
author: crowdsec | ||
severity: info | ||
description: vpatch-CVE-2024-5910 testing | ||
tags: appsec-testing | ||
http: | ||
#this is a dummy request, edit the request(s) to match your needs | ||
- raw: | ||
- | | ||
POST /OS/startup/restore/restoreAdmin.php HTTP/1.1 | ||
Host: {{Hostname}} | ||
#test will fail because we won't match http status | ||
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,30 @@ | ||
|
||
name: crowdsecurity/vpatch-CVE-2024-5910 | ||
description: "Palo Alto Admin Reset (CVE-2024-5910)" | ||
rules: | ||
- and: | ||
- zones: | ||
- METHOD | ||
match: | ||
type: equals | ||
value: POST | ||
- zones: | ||
- URI | ||
transform: | ||
- lowercase | ||
match: | ||
type: contains | ||
value: /os/startup/restore/restoreadmin.php | ||
labels: | ||
type: exploit | ||
service: http | ||
confidence: 3 | ||
spoofable: 0 | ||
behavior: "http:exploit" | ||
label: "Palo Alto Admin Reset" | ||
classification: | ||
- cve.CVE-2024-5910 | ||
- attack.T1595 | ||
- attack.T1190 | ||
- cwe.CWE-306 | ||
- cwe.CWE-276 |
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