Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
CVE-2025-54309 — CrushFTP AS2 身份验证绕过 | Kitploit
工具/GitHubGitHub/blueisbeautiful/cve-2025-54309
身份验证与授权漏洞分析漏洞利用Web应用程序漏洞利用信息收集渗透测试
GitHubblueisbeautiful/cve-2025-54309

CVE-2025-54309

CrushFTP AS2 身份验证绕过

查看仓库
41年前尚未审核

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

CVE-2025-54309 CrushFTP 身份认证绕过

概述

CVE-2025-54309 是 CrushFTP 中的一个身份认证绕过漏洞,允许通过操纵 AS2 头来创建未经授权的管理员用户。

技术细节

漏洞位置

  • 文件:crushftp/server/ServerSessionHTTP.java
  • 方法:loginCheckHeaderAuth()(第 2285 行)
  • 根本原因:AS2 头验证逻辑不当

漏洞代码

root@kitploit:~
} else if (this.headerLookup.containsKey("as2-to".toUpperCase())) {
    if (this.headerLookup.getProperty("as2-to".toUpperCase()).trim().indexOf("-_-") < 0 && !ServerStatus.BG("blank_passwords")) {
        return;  // Authentication bypass occurs here
    }

利用方法

  1. 向 /WebInterface/function/ 发送带有空 AS2-To 头的 POST 请求
  2. 在请求体中包含 setUserItem 命令
  3. 由于 AS2-To 头中缺少 -_- 分隔符,服务器会绕过身份认证
  4. 在没有正确身份认证的情况下创建管理员用户

受影响版本

  • CrushFTP 10.x < 10.8.5
  • CrushFTP 11.x < 11.3.4_23

Shodan 查询

  • http.server_hash:525710691,-1319113083,2114359341,1401270286,-608770667
  • http.favicon.hash:-1022206565
  • "/WebInterface/w3c/p3p.xml"

Google 搜索语法

  • intitle:"CrushFTP WebInterface"
  • inurl:"/WebInterface/login.html"

使用方法

root@kitploit:~
python3 cve_2025_54309.py <target_url> [-u username] [-p password] [-v]

示例

root@kitploit:~
# Basic exploitation
python3 cve_2025_54309.py http://crushftp.example.com:8080

# Custom credentials
python3 cve_2025_54309.py https://crushftp.example.com -u kali -p kali1

# With login verification
python3 cve_2025_54309.py http://crushftp.example.com -v

依赖

  • Python 3.x
  • requests 库

免责声明

本工具仅供经授权的安全测试使用。用户需自行遵守适用的法律法规。

下载工具