Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
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.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-28372-telnetd-Privilege-Escalation — This Proof‑of‑Concept demonstrates a **Local Privilege Escalation** vulnerability in GNU inetutils `telnetd`. `telnetd` improperly passes client‑controlled environment variables to `login(1)`. By setting: | Kitploit
Tools/GitHubGitHub/rohitberiwala/cve-2026-28372-telnetd-privilege-escalation
Authentication & AuthorizationPrivilege EscalationVulnerability AnalysisExploitationPenetration Testing
GitHubrohitberiwala/cve-2026-28372-telnetd-privilege-escalation

CVE-2026-28372-telnetd-Privilege-Escalation

This Proof‑of‑Concept demonstrates a **Local Privilege Escalation** vulnerability in GNU inetutils `telnetd`. `telnetd` improperly passes client‑controlled environment variables to `login(1)`. By setting:

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
View Repository
15 months agoNot yet reviewed

CVE-2026-28372: GNU inetutils telnetd Privilege Escalation

Build Status

CVE CVSS Researcher

Professional Proof-of-Concept (PoC) for CVE-2026-28372, a Local Privilege Escalation (LPE) vulnerability found in GNU inetutils telnetd (versions ≤ 2.7).

Technical Summary

The vulnerability occurs because telnetd improperly passes client-controlled environment variables to the login(1) process. By manipulating the CREDENTIALS_DIRECTORY variable and inserting a login.noauth file, an unprivileged attacker can bypass authentication entirely and obtain a root shell without a password.

Vulnerability Details

  • CVE ID: CVE-2026-28372
  • Affected Software: GNU inetutils telnetd ≤ 2.7
  • Required Condition: util-linux version supporting login.noauth
  • Exploit Type: Authentication Bypass / Local Privilege Escalation (LPE)

Exploit Chain

  1. Workspace Setup: Create a local directory containing a login.noauth file set to yes.
  2. Environment Injection: Utilize the Telnet NEW-ENVIRON option to pass the malicious CREDENTIALS_DIRECTORY to the daemon.
  3. Privilege Escalation: The telnetd service executes login(1), which reads the untrusted directory and grants root access.

Usage

Ensure the telnetd service is running and Python 3 is installed.

root@kitploit:~
# Execute the automated exploit script
python3 exploit.py --host 127.0.0.1
Download Tool