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
CVE-2026-123158_SSHRole_PoC — Prova de conceito para exploração da vulnerabilidade CVE-2026-123158. | Kitploit
Tools/GitHubGitHub/crash00xd/cve-2026-123158_sshrole_poc
Vulnerability AnalysisExploitationWeb Application ExploitationNetwork SecurityPenetration TestingAuthentication
GitHubcrash00xd/cve-2026-123158_sshrole_poc

CVE-2026-123158_SSHRole_PoC

Prova de conceito para exploração da vulnerabilidade CVE-2026-123158.

View Repository
114 days agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    1.0k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    590
  • 3

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    383
  • 4

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    322
  • 5

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    309
  • 6

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    283

Explore all tools

Browse our collection of tools

View all tools →
Share

SSHole – OpenSSH Authentication Bypass PoC

Python 3 PoC for controlled validation of a possible SSH authentication bypass associated with the SSHole vulnerability, described in the OpenSSH 10.6p2 security advisory.

Warning: tool developed for authorized security testing, audits, and laboratory environments. Use only on servers under your administration or with express authorization.

About the project

The goal of this project is to assist system administrators and offensive security professionals in assessing SSH servers potentially affected by a flaw in the processing of excessively long passwords.

The vulnerability is associated with an interaction between OpenSSH and the musl libc library, under certain compilation and SSH service configuration conditions.

The PoC performs a controlled authentication attempt using a password composed of repeated characters, allowing observation of the server's response.

Vulnerability characteristics

Conditions relevant to the assessment:

  • OpenSSH compiled with musl libc.
  • OpenSSH compiled without PAM support.
  • Password authentication enabled.
  • Test password with a length between 257 and 1,024 characters.
  • Existence of at least one account with a valid password on the system.
  • Target account with a * password field in /etc/shadow.

The presence of these conditions should be investigated before interpreting the test results.

Requirements

  • Python 3.8 or higher.
  • Paramiko.
  • TCP connectivity to the SSH port of the assessed server.

Installation

Clone the repository:

git clone https://github.com/SEU-USUARIO/sshole-poc.git
cd sshole-poc

Install the dependencies:

pip3 install paramiko

Usage

Default test

Performs an authentication attempt using the root user and a password consisting of 300 A characters.

python3 sshole_poc.py -t 192.168.1.100

Specify another user

python3 sshole_poc.py -t 192.168.1.100 -u usuario

Specify another port

python3 sshole_poc.py -t 192.168.1.100 -p 2222

Change the password length

python3 sshole_poc.py -t 192.168.1.100 -l 300

The length allowed by the tool is 257 to 1,024 characters.

Available parameters

ParameterDescriptionDefault
-tTarget IP address or hostnameRequired
-uSSH userroot
-pSSH port22
-lPassword length300

Interpreting the results

ResultInterpretation
AUTHENTICATION ACCEPTEDPossible authentication bypass. Requires investigation and confirmation.
Authentication rejectedThe bypass was not reproduced in this attempt.
SSH errorInconclusive result.
Connection timeoutInconclusive result.
Network errorConnectivity or communication failure.

Important: an accepted authentication does not by itself prove the vulnerability. It is necessary to verify whether access occurred due to the investigated flaw and whether the prerequisites are present.

Likewise, a rejected authentication does not guarantee that the server is protected.

Complementary checks on the server

The following commands can help identify conditions relevant to the exposure.

Identify the OpenSSH version

ssh -V

Identify the C library

ldd --version

Verify the PAM configuration

grep -i '^UsePAM' /etc/ssh/sshd_config

The absence of an explicit directive does not prove that OpenSSH was compiled without PAM. It is also necessary to check the package's compilation options.

Verify password authentication

sshd -T | grep passwordauthentication

Identify accounts with the password field *

sudo awk -F: '$2=="*" {print $1}' /etc/shadow

Mitigation

The following is recommended:

  1. Update OpenSSH to a fixed version, in accordance with the official advisory.
  2. Verify whether the build uses PAM support when applicable.
  3. Assess the use of musl libc and the specific build conditions.
  4. Disable password authentication when possible, prioritizing public key authentication.
  5. Restrict SSH access to authorized users and networks.
  6. Review authentication logs and investigate unexpected access.

Limitations

This PoC performs only a single authentication attempt per execution.

It does not:

  • Automatically identify the C library used by the server.
  • Determine whether OpenSSH was compiled with or without PAM.
  • Confirm all prerequisites of the vulnerability.
  • Guarantee the identification of vulnerable servers through a negative response.
  • Replace a technical analysis of the environment.

References

  • OpenSSH 10.6p2 – Security Release
  • OpenSSH – Official Project
  • Paramiko – Official Documentation

Disclaimer

This project is intended exclusively for educational purposes and security validation in authorized environments.

The author is not responsible for damages, service unavailability, or misuse of this tool.

Use responsibly.

Download Tool