Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CrushFTP-AS2-Bypass-Research-CVE-2025-54309 — Research on CrushFTP AS2 authentication bypass allowing unauthenticated admin access. Includes PoC scripts, detection rules, and technical analysis for educational and defensive purposes. | Kitploit
Tools/GitHubGitHub/smileyface101/crushftp-as2-bypass-research-cve-2025-54309
Defensive ToolsVulnerability AnalysisExploitationIDS/IPS EvasionWeb Application ExploitationPenetration TestingAuthenticationLearning & EducationIncident Response

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
GitHubsmileyface101/crushftp-as2-bypass-research-cve-2025-54309

CrushFTP-AS2-Bypass-Research-CVE-2025-54309

Research on CrushFTP AS2 authentication bypass allowing unauthenticated admin access. Includes PoC scripts, detection rules, and technical analysis for educational and defensive purposes.

View Repository
39 months agoNot yet reviewed
Share

CrushFTP AS2 Authentication Bypass Research

CVSS Score Status

⚠️ IMPORTANT: This vulnerability has been patched by CrushFTP as of November 2025. This research is published for educational and defensive purposes only.

📝 NOTE: This research is based on vulnerability patterns similar to CVE-2025-54309. The exact CVE number may differ. This is independent security research conducted in a controlled home lab environment.

About This Research

This repository documents a critical authentication bypass vulnerability in CrushFTP servers that allows complete administrative access through AS2 (Applicability Statement 2) header manipulation. The vulnerability requires no authentication and can be exploited with a single HTTP request.

Key Points:

  • Research conducted in authorized home lab (March-July 2025)
  • Vendor notified (August 2025) - no response received
  • Patched by CrushFTP (November 2025)
  • Public disclosure (December 2025)
  • Published for educational and defensive purposes

Researcher: SmileyFace101 ()

@SmileyFace101

🔍 Vulnerability Details

Technical Summary

CrushFTP's web interface incorrectly trusts AS2 protocol headers without proper validation. The server assumes AS2 requests are pre-authenticated and bypasses normal authentication procedures.

Key Details

  • Product: CrushFTP Server
  • Component: AS2 Authentication Module
  • Estimated CVSS: 9.8 (Critical)
  • Attack Vector: HTTP Header Manipulation
  • Complexity: LOW - Single HTTP request
  • Authentication: NONE required
  • Impact: Complete system compromise
  • Related CVE: Similar to CVE-2025-54309

Tested Versions

Vulnerable CrushFTP Versions (Confirmed in Lab):

  • CrushFTP 10.x (tested on 10.5.x branch)
  • CrushFTP 11.x (tested on 11.1.x branch)

Patched Versions:

  • CrushFTP 10.7.0+ (patched November 2025)
  • CrushFTP 11.2.0+ (patched November 2025)

Lab Environment:

  • Operating System: Linux (Ubuntu 22.04 LTS)
  • Test Infrastructure: Isolated home lab network
  • No production systems were tested

Attack Vector

root@kitploit:~
X-DMZ-Proxy: disabled
X-AS2-Version: 1.0
User-Agent: AS2Server/1.0

Example (Lab Environment):

root@kitploit:~
curl -H "X-DMZ-Proxy: disabled" \
     -H "X-AS2-Version: 1.0" \
     -H "User-Agent: AS2Server/1.0" \
     "http://10.0.100.50/WebInterface/admin/index.html"

Note: Only use on systems you own or have explicit permission to test.

Critical Discovery

During exploitation, we discovered a mathematical relationship in session cookie generation that makes exploitation 100% reliable:

root@kitploit:~
CrushAuth Structure: [TIMESTAMP]_[SESSION_ID]
currentAuth = Last 4 characters of SESSION_ID
c2f parameter = Same as currentAuth value

� What You'll Find Here

🔧 Exploitation Tools

  • Complete PoC scripts with session management
  • Targeted testing for high-value endpoints
  • Adaptive exploitation with multiple strategies

🔍 Detection & Defense

  • IDS/IPS rules (Snort & Suricata)
  • Log analysis scripts for IOC detection
  • Network signatures for monitoring

📖 Documentation

  • Technical analysis - Complete vulnerability breakdown
  • Exploitation methodology - Step-by-step attack chain
  • Session management - Mathematical pattern discovered
  • JavaScript analysis - Client-side code reverse engineering

📊 Impact Assessment

Security AspectImpact LevelDescription
Confidentiality🔴 CRITICALComplete access to credentials, configs, PGP keys, logs
Integrity🔴 CRITICALUser account creation, config changes, file modifications
Availability🟡 HIGHSystem command execution, service disruption capability
Privilege Escalation🔴 CRITICALDirect admin access, persistent account creation

Post-Exploitation Capabilities

✅ Complete server and user enumeration
✅ User account creation and modification
✅ File system access and browsing
✅ Command execution via telnet interface
✅ Job scheduling with system privileges
✅ PGP key and certificate access
✅ Administrative configuration modification

🛡️ Mitigation & Remediation

Immediate Actions (CRITICAL)

  1. Patch CrushFTP to the latest version immediately
  2. Disable AS2 functionality if not required
  3. Implement WAF rules blocking AS2 headers from untrusted sources
  4. Reset all administrative credentials on CrushFTP servers
  5. Enable MFA for administrative panels

Detection Implementation

See detection/ directory for:

  • IDS/IPS signatures (Snort, Suricata)
  • Log analysis queries
  • Network traffic signatures
  • Behavioral anomaly detection rules

Long-term Security Measures

  • Implement multi-factor authentication
  • Network segmentation for admin interfaces
  • Regular security assessments
  • Principle of least privilege enforcement

📈 Detection & Forensics

HTTP Traffic Signatures

root@kitploit:~
X-DMZ-Proxy: disabled
X-AS2-Version: 1.0
User-Agent: AS2Server/1.0

Network Indicators

  • Large HTTP responses (19KB+) from admin endpoints without authentication
  • POST requests to /WebInterface/function/ with AS2 headers
  • Administrative panel access without prior login
  • Unusual traffic patterns to CrushFTP servers

Log Analysis

root@kitploit:~
# Web server logs
grep -E "(X-DMZ-Proxy|X-AS2-Version|AS2Server)" /var/log/nginx/access.log

# CrushFTP application logs
grep -E "(WebInterface/admin|WebInterface/function)" crushftp.log

📚 Repository Contents

root@kitploit:~
.
├── README.md                          # This file - overview and usage
├── docs/
│   └── TECHNICAL_ANALYSIS.md         # Complete technical deep-dive
├── exploits/
│   ├── enhanced_session_exploit.sh   # Full exploitation with session mgmt
│   ├── targeted_exploitation.sh      # High-value endpoint testing
│   └── adaptive_exploitation.sh      # Multi-strategy approach
└── detection/
    ├── snort_rules.txt               # IDS/IPS signatures (Snort)
    ├── suricata_rules.txt            # IDS/IPS signatures (Suricata)
    └── log_analysis.sh               # Log analysis and IOC detection

Quick Start

  1. Read the docs:

    • Start with this README for overview
    • See TECHNICAL_ANALYSIS.md for deep technical details
  2. Test in your lab:

    root@kitploit:~
    # Make sure you own the target system!
    ./exploits/enhanced_session_exploit.sh 10.0.100.50
    
  3. Deploy detection:

    • Copy IDS rules to your Snort/Suricata
    • Run log analysis script on your web server logs

🔬 Research Findings

Key Technical Achievements

✅ Complete AS2 authentication bypass discovered and documented
✅ Critical session cookie generation requirement identified and solved
✅ Mathematical relationship in session management reverse-engineered
✅ Two-phase exploitation methodology developed
✅ 100% reliable exploitation pattern established
✅ Multiple RCE vectors identified and analyzed
✅ Complete JavaScript source code analysis performed

Affected CrushFTP Endpoints

  • /WebInterface/admin/index.html - Main admin panel
  • /WebInterface/admin/telnet.html - Telnet interface
  • /WebInterface/Jobs/index.html - Job management
  • /WebInterface/UserManager/index.html - User management
  • /WebInterface/PGP/index.html - PGP key management
  • /WebInterface/function/ - Administrative function processor

🔗 References

  • CrushFTP Official Website
  • CVSS 3.1 Calculator
  • CWE-287: Improper Authentication
  • OWASP Authentication Cheat Sheet

👤 Author

Author: SmileyFace101
GitHub: @SmileyFace101
Research Period: March - July 2025 (Home Lab)
Public Disclosure: December 6, 2025


⚖️ Legal & Ethical Notice

This research is for EDUCATIONAL and DEFENSIVE purposes ONLY.

✅ Authorized Use:

  • Security research and education
  • Defending your own systems
  • Authorized penetration testing
  • Understanding attack patterns

❌ Prohibited:

  • Unauthorized system access
  • Testing systems without permission
  • Malicious use
  • Any illegal activity

By using this research, you agree to:

  1. Use it only on systems you own or have written permission to test
  2. Comply with all applicable laws and regulations
  3. Practice responsible disclosure
  4. Assume all responsibility for your actions

Disclaimer: The author is not responsible for misuse. Unauthorized computer access is illegal.


📄 License

MIT License - See LICENSE file for details.

Last Updated: December 6, 2025
Risk Assessment: CRITICAL - Immediate patching and mitigation required

Last Updated: December 6, 2025
Author: SmileyFace101
Research Conducted: March - July 2025 in authorized lab environment

Download Tool