PoC Monitor
← All CVEs
CVE-2025-31161published 3 Apr 2025 00:00 UTCData: JSON · API

CrushFTP

CrushFTP Authentication Bypass Vulnerability

CrushFTP 10 before 10.8.4 and 11 before 11.3.1 allows authentication bypass and takeover of the crushadmin account (unless a DMZ proxy instance is used), as exploited in the wild in March and April 2025, aka "Unauthenticated HTTP(S) port access." A race condition exists in the AWS4-HMAC (compatible with S3) authorization method of the HTTP component of the FTP server. The server first verifies the existence of the user by performing a call to login_user_pass() with no password requirement. This will authenticate the session through the HMAC verification process and up until the server checks for user verification once more. The vulnerability can be further stabilized, eliminating the need for successfully triggering a race condition, by sending a mangled AWS4-HMAC header. By providing only the username and a following slash (/), the server will successfully find a username, which triggers the successful anypass authentication process, but the server will fail to find the expected SignedHeaders entry, resulting in an index-out-of-bounds error that stops the code from reaching the session cleanup. Together, these issues make it trivial to authenticate as any known or guessable user (e.g., crushadmin), and can lead to a full compromise of the system by obtaining an administrative account.

First public PoC 5.7 daysafter publication · 8 Apr 2025
Public PoCs2220 on GitHub · 2 Exploit-DB, Metasploit or nuclei
CVSS9.8critical · scored by CNA · CWE-305
CISA KEV 7 Apr 20254 days after publication · ransomware use known

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

CrushFTP CrushFTP
  • >= 10, < 10.8.4
  • >= 11, < 11.3.1

Fixed in 10.8.4, 11.3.1

Mitigation

Upgrade CrushFTP to 10.8.4 or 11.3.1 or later.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published3 Apr 2025 · t = 0Added to CISA KEV7 Apr 2025 · t+4dFirst public PoC8 Apr 2025 · t+5.7d

First public PoC 5.7 days after publication; added to CISA KEV 4 days after publication. First PoC: Immersive-Labs-Sec/CVE-2025-31161 (created 8 Apr 2025, found by us: backfilled).

PoC repositories

Found on GitHub.

20 PoCs · 2 pending · 4 informational · 1 suspicious or fake

PoCs 20
RepositoryCreatedStarsAssessment
Immersive-Labs-Sec/CVE-2025-31161 8 Apr 2025 +5.7 d 48 PoC
ghostsec420/ShatteredFTP 11 Apr 2025 +8.5 d 13 PoC
TX-One/CVE-2025-31161 21 Apr 2025 +19 d 2 PoC
SUPRAAA-1337/Nuclei_CVE-2025-31161_CVE-2025-2825 24 Apr 2025 +21 d 1 Scanner
SUPRAAA-1337/CVE-2025-31161_exploit 24 Apr 2025 +22 d 0 PoC
0xgh057r3c0n/CVE-2025-31161 23 May 2025 +51 d 5 PoC
Flags · score 30
  • README gives an archive password

Below the suspicion threshold (50); does not change the assessment.

Drelinss/Blackash-CVE-2025-31161 7 Jun 2025 +65 d 0 PoC
r0otk3r/CVE-2025-31161 19 Jul 2025 +108 d 0 PoC
f4dee-backup/CVE-2025-31161 10 Sep 2025 +160 d 2 PoC
0xDTC/CrushFTP-auth-bypass-CVE-2025-31161 27 Sep 2025 +177 d 0 PoC
c4bsec/CVE-2025-31161 21 Oct 2025 +202 d 2 PoC
cesarbtakeda/CVE-2025-31161 21 Oct 2025 +202 d 2 PoC
ch3m1cl/CVE-2025-31161 7 Dec 2025 +248 d 1 PoC
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

Dairrow/CVE-2025-31161 11 Jan 2026 +284 d 1 PoC
Shisones/CVE-2025-31161 20 Feb 2026 +324 d 0 PoC
eserror/CVE-2025-31161 23 Feb 2026 +326 d 0 PoC
0xBlackash/CVE-2025-31161 20 Apr 2026 +1.0 y 1 PoC
0xredash/CVE-2025-31161 20 Apr 2026 +1.0 y 1 PoC
ashrafzaryouh/CVE-2025-31161 20 Apr 2026 +1.0 y 1 PoC
rufflabs/ludus_crushftp_cve-2025-31161_sim 29 Jun 2026 +1.2 y 0 PoC
Pending 2
RepositoryCreatedStarsAssessment
B1ack4sh/Blackash-CVE-2025-31161 unknown 0 Pending · repository unavailable (HTTP 404)
ibrahmsql/CVE-2025-31161 unknown 0 Pending · repository unavailable (HTTP 404)
Informational 4
RepositoryCreatedStarsAssessment
acan0007/CVE-2025-31161 15 Sep 2025 +165 d 0 Informational · write-up
Teexo/CVE-2025-31161 26 Sep 2025 +177 d 0 Informational · write-up
tdawg506/CVE-2025-31161 26 Sep 2025 +177 d 0 Informational · write-up
rufflabs/crushftp_cve-2025-31161 29 Jun 2026 +1.2 y 0 Informational · write-up
Suspicious or fake 1
RepositoryCreatedStarsAssessment
rufflabs/ludus_crushftp_cve-2025-31161 29 Jun 2026 +1.2 y 0 Fake

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.

PoC characteristics

What to hunt for in your logs · from 20 PoC repos

GET /WebInterface/function/

Query
command=getUserList serverGroup=MainUsers c2f= c2f=5210 c2f=wIwV c2f=1111
Key headers
Authorization: AWS4-HMAC-SHA256 Credential=crushadmin/ Cookie: currentAuth=31If; CrushAuth=1744110584619_p38s3LvsGAfk4GvVu0vWtsEQEv31If Cookie: CrushAuth={var}_{var}{var}; currentAuth={var} Cookie: CrushAuth=0828540337007_SinTOvNrIzehhqvCPpCEIqWzCnAg5210; currentAuth=5210 Cookie: CrushAuth=1758816957058_vuiPVygdYnM1kzYGOs9d3tzIbFWIwV Cookie: CrushAuth=1743113839553_vD96EZ70ONL6xAd1DAJhXMZYMn1111 Origin: {var} Origin: {var}://{var} Referer: {var}/WebInterface/login.html Referer: {var}://{var}/WebInterface/login.html X-Requested-With: XMLHttpRequest
Ports
8080, 8085
PoC User-Agent
Mozilla-Operator/1.0
Seen in
14 repos: 0xBlackash/CVE-2025-31161, 0xgh057r3c0n/CVE-2025-31161, 0xredash/CVE-2025-31161, Drelinss/Blackash-CVE-2025-31161, Immersive-Labs-Sec/CVE-2025-31161, SUPRAAA-1337/CVE-2025-31161_exploit, SUPRAAA-1337/Nuclei_CVE-2025-31161_CVE-2025-2825, Shisones/CVE-2025-31161, ashrafzaryouh/CVE-2025-31161, c4bsec/CVE-2025-31161, cesarbtakeda/CVE-2025-31161, ch3m1cl/CVE-2025-31161, eserror/CVE-2025-31161, ghostsec420/ShatteredFTP
Evidence
0xBlackash/CVE-2025-31161/cve-2025-31161.py:65 0xgh057r3c0n/CVE-2025-31161/CVE-2025-31161.py:66 0xgh057r3c0n/CVE-2025-31161/CVE-2025-31161.yaml:42 0xredash/CVE-2025-31161/cve-2025-31161.py:65 Drelinss/Blackash-CVE-2025-31161/CVE-2025-31161.py:38 Immersive-Labs-Sec/CVE-2025-31161/cve-2025-31161.py:55

POST /WebInterface/function/

Query
command=getUserList serverGroup=MainUsers c2f=wIwV
Key headers
Accept: application/xml, text/xml, */* Authorization: AWS4-HMAC-SHA256 Credential=crushadmin/ Authorization: AWS4-HMAC-SHA256 Credential={var}/ Cookie: currentAuth=31If; CrushAuth=1744110584619_p38s3LvsGAfk4GvVu0vWtsEQEv31If Cookie: CrushAuth=1758816957058_vuiPVygdYnM1kzYGOs9d3tzIbFWIwV Cookie: {var}
Body markers
command=setUserItem data_action=replace serverGroup=MainUsers username= user=<?xml version="1.0" encoding="UTF-8"?><user type="properties"> xmlItem=user vfs_items=<?xml version="1.0" encoding="UTF-8"?><vfs type="vector"></vfs> permissions=<?xml version="1.0" encoding="UTF-8"?><VFS type="properties"><item name="/">(read)(view)(resume)</item></VFS> c2f=31If c2f=0000 user=<?xml version=\"1.0\" encoding=\"UTF-8\"?><user type=\"properties\"> permissions=<?xml version="1.0" encoding="UTF-8"?><VFS type="properties"><item name="/">(read)(write)(view)(delete)(resume)(makedir)(deletedir)(rename)(admin)</item></VFS> user= permissions= in application/x-www-form-urlencoded
Ports
8080, 8085
PoC User-Agent
Mozilla-Operator/1.0
Seen in
12 repos: 0xBlackash/CVE-2025-31161, 0xgh057r3c0n/CVE-2025-31161, 0xredash/CVE-2025-31161, Drelinss/Blackash-CVE-2025-31161, Immersive-Labs-Sec/CVE-2025-31161, Shisones/CVE-2025-31161, ashrafzaryouh/CVE-2025-31161, c4bsec/CVE-2025-31161, cesarbtakeda/CVE-2025-31161, ch3m1cl/CVE-2025-31161, eserror/CVE-2025-31161, ghostsec420/ShatteredFTP
Evidence
0xBlackash/CVE-2025-31161/cve-2025-31161.py:76 0xgh057r3c0n/CVE-2025-31161/CVE-2025-31161.py:77 0xredash/CVE-2025-31161/cve-2025-31161.py:76 Drelinss/Blackash-CVE-2025-31161/CVE-2025-31161.py:46 Immersive-Labs-Sec/CVE-2025-31161/cve-2025-31161.py:63 Shisones/CVE-2025-31161/exploit.py:73

GET /

Key headers
Authorization: AWS4-HMAC-SHA256 Credential=crushadmin/ Cookie: CrushAuth=1758816957058_vuiPVygdYnM1kzYGOs9d3tzIbFWIwV
Seen in
1 repo: 0xDTC/CrushFTP-auth-bypass-CVE-2025-31161
Evidence
0xDTC/CrushFTP-auth-bypass-CVE-2025-31161/cve-2025-31161.sh:35 0xDTC/CrushFTP-auth-bypass-CVE-2025-31161/cve-2025-31161.sh:62 0xDTC/CrushFTP-auth-bypass-CVE-2025-31161/cve-2025-31161.sh:106

GET /WebInterface/

Seen in
1 repo: Shisones/CVE-2025-31161
Evidence
Shisones/CVE-2025-31161/exploit.py:15

GET /webinterface/function/

Query
command=getUserList serverGroup=MainUsers c2f=wIwV
Key headers
Authorization: AWS4-HMAC-SHA256 Credential=crushadmin/ Cookie: CrushAuth=1758816957058_vuiPVygdYnM1kzYGOs9d3tzIbFWIwV Cookie: currentAuth=31If; CrushAuth=1744110584619_p38s3LvsGAfk4GvVu0vWtsEQEv31If
Seen in
1 repo: 0xDTC/CrushFTP-auth-bypass-CVE-2025-31161
Evidence
0xDTC/CrushFTP-auth-bypass-CVE-2025-31161/cve-2025-31161.go:23 0xDTC/CrushFTP-auth-bypass-CVE-2025-31161/cve-2025-31161.go:59 0xDTC/CrushFTP-auth-bypass-CVE-2025-31161/cve-2025-31161.go:111

POST /

Body markers
command=setUserItem data_action=replace serverGroup=MainUsers username= user= xmlItem=user vfs_items= permissions= c2f=31If in application/x-www-form-urlencoded
Seen in
1 repo: 0xDTC/CrushFTP-auth-bypass-CVE-2025-31161
Evidence
0xDTC/CrushFTP-auth-bypass-CVE-2025-31161/cve-2025-31161.sh:122

POST /webinterface/function/

Key headers
Authorization: AWS4-HMAC-SHA256 Credential=crushadmin/ Cookie: currentAuth=31If; CrushAuth=1744110584619_p38s3LvsGAfk4GvVu0vWtsEQEv31If
Content-Type
application/x-www-form-urlencoded
Seen in
1 repo: 0xDTC/CrushFTP-auth-bypass-CVE-2025-31161
Evidence
0xDTC/CrushFTP-auth-bypass-CVE-2025-31161/cve-2025-31161.go:140

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

GET /WebInterface/function/
(?i)^/WebInterface/function/\?(?:.*&)?command=getUserList.*serverGroup=MainUsers.*c2f=.*c2f=5210.*c2f=wIwV.*c2f=1111
POST /WebInterface/function/
(?i)^/WebInterface/function/\?(?:.*&)?command=getUserList.*serverGroup=MainUsers.*c2f=wIwV
GET /
(?i)^/(?:[?#].*)?$
GET /WebInterface/
(?i)^/WebInterface/(?:[?#].*)?$
GET /dev/null
(?i)^/dev/null(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /WebInterface/function/
alert http any any -> $HOME_NET [8080,8085] (msg:"GG PoC-Monitor CVE-2025-31161 CrushFTP CrushFTP exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/WebInterface/function/"; http.uri; content:"command=getUserList"; http.uri; content:"serverGroup=MainUsers"; http.uri; content:"c2f="; http.uri; content:"c2f=5210"; http.uri; content:"c2f=wIwV"; http.uri; content:"c2f=1111"; http.header; content:"Authorization: AWS4-HMAC-SHA256 Credential=crushadmin/"; nocase; http.header; content:"Cookie: currentAuth=31If|3b| CrushAuth=1744110584619_p38s3LvsGAfk4GvVu0vWtsEQEv31If"; nocase; http.header; content:"Cookie: CrushAuth="; nocase; http.header; content:"Cookie: CrushAuth=0828540337007_SinTOvNrIzehhqvCPpCEIqWzCnAg5210|3b| currentAuth=5210"; nocase; http.header; content:"Cookie: CrushAuth=1758816957058_vuiPVygdYnM1kzYGOs9d3tzIbFWIwV"; nocase; http.header; content:"Cookie: CrushAuth=1743113839553_vD96EZ70ONL6xAd1DAJhXMZYMn1111"; nocase; http.header_names; content:"Origin"; nocase; http.header_names; content:"Origin"; nocase; http.header_names; content:"Referer"; nocase; http.header_names; content:"Referer"; nocase; http.header; content:"X-Requested-With: XMLHttpRequest"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2025-31161; classtype:web-application-attack; sid:9690604; rev:1;)
POST /WebInterface/function/
alert http any any -> $HOME_NET [8080,8085] (msg:"GG PoC-Monitor CVE-2025-31161 CrushFTP CrushFTP exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/WebInterface/function/"; http.uri; content:"command=getUserList"; http.uri; content:"serverGroup=MainUsers"; http.uri; content:"c2f=wIwV"; http.header; content:"Accept: application/xml, text/xml, */*"; nocase; http.header; content:"Authorization: AWS4-HMAC-SHA256 Credential=crushadmin/"; nocase; http.header; content:"Authorization: AWS4-HMAC-SHA256 Credential="; nocase; http.header; content:"Cookie: currentAuth=31If|3b| CrushAuth=1744110584619_p38s3LvsGAfk4GvVu0vWtsEQEv31If"; nocase; http.header; content:"Cookie: CrushAuth=1758816957058_vuiPVygdYnM1kzYGOs9d3tzIbFWIwV"; nocase; http.header_names; content:"Cookie"; nocase; http.request_body; content:"command=setUserItem"; http.request_body; content:"data_action=replace"; http.request_body; content:"serverGroup=MainUsers"; http.request_body; content:"username="; http.request_body; content:"user=<?xml version=|22|1.0|22| encoding=|22|UTF-8|22|?><user type=|22|properties|22|>"; http.request_body; content:"xmlItem=user"; http.request_body; content:"vfs_items=<?xml version=|22|1.0|22| encoding=|22|UTF-8|22|?><vfs type=|22|vector|22|></vfs>"; http.request_body; content:"permissions=<?xml version=|22|1.0|22| encoding=|22|UTF-8|22|?><VFS type=|22|properties|22|><item name=|22|/|22|>(read)(view)(resume)</item></VFS>"; http.request_body; content:"c2f=31If"; http.request_body; content:"c2f=0000"; http.request_body; content:"user=<?xml version=|5c||22|1.0|5c||22| encoding=|5c||22|UTF-8|5c||22|?><user type=|5c||22|properties|5c||22|>"; http.request_body; content:"permissions=<?xml version=|22|1.0|22| encoding=|22|UTF-8|22|?><VFS type=|22|properties|22|><item name=|22|/|22|>(read)(write)(view)(delete)(resume)(makedir)(deletedir)(rename)(admin)</item></VFS>"; http.request_body; content:"user="; http.request_body; content:"permissions="; reference:url,poc.griffinguard.io/cve/CVE-2025-31161; classtype:web-application-attack; sid:9053338; rev:1;)
GET /
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-31161 CrushFTP CrushFTP exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.header; content:"Authorization: AWS4-HMAC-SHA256 Credential=crushadmin/"; nocase; http.header; content:"Cookie: CrushAuth=1758816957058_vuiPVygdYnM1kzYGOs9d3tzIbFWIwV"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2025-31161; classtype:web-application-attack; sid:9258055; rev:1;)
GET /WebInterface/
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-31161 CrushFTP CrushFTP exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/WebInterface/"; reference:url,poc.griffinguard.io/cve/CVE-2025-31161; classtype:web-application-attack; sid:9405259; rev:1;)
GET /dev/null
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-31161 CrushFTP CrushFTP exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/dev/null"; reference:url,poc.griffinguard.io/cve/CVE-2025-31161; classtype:web-application-attack; sid:9774030; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /WebInterface/function/
title: CrushFTP CrushFTP exploit attempt (CVE-2025-31161)
id: gg-pocmon-cve-2025-31161-9690604
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-31161. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-31161
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/WebInterface/function/'
    cs-uri-query|contains|all:
      - 'command=getUserList'
      - 'serverGroup=MainUsers'
      - 'c2f='
      - 'c2f=5210'
      - 'c2f=wIwV'
      - 'c2f=1111'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.31161
POST /WebInterface/function/
title: CrushFTP CrushFTP exploit attempt (CVE-2025-31161)
id: gg-pocmon-cve-2025-31161-9053338
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-31161. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-31161
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/WebInterface/function/'
    cs-uri-query|contains|all:
      - 'command=getUserList'
      - 'serverGroup=MainUsers'
      - 'c2f=wIwV'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.31161
GET /
title: CrushFTP CrushFTP exploit attempt (CVE-2025-31161)
id: gg-pocmon-cve-2025-31161-9258055
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-31161. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-31161
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.31161
GET /WebInterface/
title: CrushFTP CrushFTP exploit attempt (CVE-2025-31161)
id: gg-pocmon-cve-2025-31161-9405259
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-31161. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-31161
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/WebInterface/'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.31161
GET /dev/null
title: CrushFTP CrushFTP exploit attempt (CVE-2025-31161)
id: gg-pocmon-cve-2025-31161-9774030
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-31161. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-31161
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/dev/null'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.31161