Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .appsec-tests/vpatch-CVE-2025-31161/CVE-2025-31161.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
## autogenerated on 2025-05-09 09:48:32
id: CVE-2025-31161
info:
name: CVE-2025-31161
author: crowdsec
severity: info
description: CVE-2025-31161 testing
tags: appsec-testing
http:
- raw:
- |
GET /WebInterface/function/?command=getUserList&serverGroup=MainUsers&c2f=1234 HTTP/1.1
Cookie: CrushAuth=1234567890123_abcdefghijklmnopqrstuvwxyz1234; currentAuth=1234
Host: {{Hostname}}
Authorization: AWS4-HMAC-SHA256 Credential=crushadmin/
cookie-reuse: true
matchers:
- type: status
status:
- 403
5 changes: 5 additions & 0 deletions .appsec-tests/vpatch-CVE-2025-31161/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## autogenerated on 2025-05-09 09:48:32
appsec-rules:
- ./appsec-rules/crowdsecurity/base-config.yaml
- ./appsec-rules/crowdsecurity/vpatch-CVE-2025-31161.yaml
nuclei_template: CVE-2025-31161.yaml
42 changes: 42 additions & 0 deletions appsec-rules/crowdsecurity/vpatch-CVE-2025-31161.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
## autogenerated on 2025-05-09 09:48:32
name: crowdsecurity/vpatch-CVE-2025-31161
description: 'Detects authentication bypass in CrushFTP via crafted Authorization header and specific endpoint.'
rules:
- and:
- zones:
- URI
transform:
- lowercase
match:
type: contains
value: /webinterface/function/
- zones:
- ARGS
variables:
- command
transform:
- lowercase
match:
type: equals
value: getuserlist
- zones:
- HEADERS
variables:
- authorization
transform:
- lowercase
match:
type: contains
value: aws4-hmac-sha256 credential=crushadmin/

labels:
type: exploit
service: http
confidence: 3
spoofable: 0
behavior: 'http:exploit'
label: 'CrushFTP - Authentication Bypass'
classification:
- cve.CVE-2025-31161
- attack.T1190
- cwe.CWE-287
1 change: 1 addition & 0 deletions collections/crowdsecurity/appsec-virtual-patching.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ appsec-rules:
- crowdsecurity/vpatch-CVE-2024-27292
- crowdsecurity/vpatch-CVE-2025-24893
- crowdsecurity/vpatch-CVE-2021-43798
- crowdsecurity/vpatch-CVE-2025-31161
author: crowdsecurity
contexts:
- crowdsecurity/appsec_base
Expand Down