Skip to content
KitploitKITPLOIT
ツールエクスプロイトブログ
Log in
提出
ツールエクスプロイトブログ
提出

ハッキング、侵入テスト、サイバーセキュリティツールをあなたのセキュリティアーセナルに!

Kitploitはハッキング、サイバーセキュリティ、ペネトレーションテストのツールディレクトリです。最新のプロジェクトアップデートを見つけて、脆弱性の発見、システム分析、テストの自動化、セキュリティの強化を行いましょう。

フィードお問い合わせプライバシー© 2026 Kitploit

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
CVE-2026-123158 — Python PoC exploit for CVE-2026-123158 ("sshole"), an OpenSSH authentication bypass on Alpine Linux without PAM, triggered by long passwords against musl crypt(). | Kitploit
ツール/GitHubGitHub/maalfer/cve-2026-123158
Vulnerability AnalysisExploitationWeb Application ExploitationAuthenticationLearning & EducationLabs & Practice
GitHubmaalfer/cve-2026-123158

CVE-2026-123158

Python PoC exploit for CVE-2026-123158 ("sshole"), an OpenSSH authentication bypass on Alpine Linux without PAM, triggered by long passwords against musl crypt().

リポジトリを見る
512026年11月6日未レビュー
共有
要求された言語のコンテンツは利用できません。英語版を表示しています。

CVE-2026-123158 — SSH Authentication Bypass ("sshole") exploit

CVE-2026-123158 is an SSH authentication bypass vulnerability (SSH authentication bypass, login without a password) that affects OpenSSH compiled without PAM on Alpine Linux (musl libc). This repository contains the exploit / PoC (Proof of Concept) in Python that reproduces the flaw in a practical way.

Nicknamed "sshole", the vulnerability allows logging in via SSH to accounts without a real password without needing to know any credentials.

Keywords: CVE-2026-123158, sshole, OpenSSH exploit, Alpine Linux vulnerability, musl crypt bypass, SSH authentication bypass, SSH login without password, auth bypass PoC.

What is CVE-2026-123158?

The crypt() function of musl libc (the libc used by Alpine Linux) literally returns the * character when the submitted password exceeds 256 bytes and the hash stored in /etc/shadow is also * (account marked as "no valid password", typical of service or disabled accounts). OpenSSH, when compiled without PAM support, compares that result directly against the shadow field: when comparing "*" == "*" the server accepts the login without the attacker knowing any real password.

Impact: SSH authentication bypass / access without credentials on affected accounts.

Conditions required for the system to be vulnerable:

  • openssh-server compiled without PAM (--without-pam), as happens by default in many Alpine Linux images.
  • PasswordAuthentication yes in sshd_config.
  • An account with * in /etc/shadow (user without a real password assigned).
  • Any other account on the system with a $5$ or $6$ hash (necessary for musl to enter the vulnerable code path).

Exploit / PoC

pip install paramiko

python3 exploit.py <HOST> <PORT> <USER> [LEN]
# Ejemplo contra cuenta 'alice' con contraseña de 300 caracteres
python3 exploit.py 172.17.0.2 22 alice 300

The script first sends a short password (negative control) and then a long password (>256 bytes) to trigger the musl crypt() bug and confirm whether the login is accepted without valid credentials.

Demo

Screenshot of the CVE-2026-123158 exploit (sshole): SSH authentication bypass on Alpine Linux via a long password

Mitigation

# Actualizar y reiniciar sshd
apk upgrade -U -a
rc-service sshd restart

# O deshabilitar autenticación por contraseña
echo "PasswordAuthentication no" >> /etc/ssh/sshd_config
rc-service sshd restart

Docker Lab

Available at DockerLabs / BunkerLabs — Eseeseache machine — image eseseache:latest, freely accessible, to practice exploiting CVE-2026-123158 in a controlled environment.

References

  • Eseeseache machine on DockerLabs / BunkerLabs — hands-on lab for the vulnerability.

For educational purposes. Do not use against systems without express authorization.

関連ツール

  • nuclei

    高速なYAMLベースの脆弱性スキャナーで、テンプレート駆動型の検出エンジンを備え、Webアプリ、API、ネットワーク、DNS、クラウドインフラストラクチャにわたる自動セキュリティテストを実現します。

  • zaproxy

    オープンソースのWebアプリケーションセキュリティスキャナーで、自動脆弱性検出、手動ペネトレーションテスト、プロキシベースのインターセプションエンジンによるAPIセキュリティテストを提供します。

  • openvas-scanner

    このリポジトリには、Greenbone Community Edition のスキャナーコンポーネントが含まれています。

人気

すべて見る →

コミュニティで最も使われているツールを見つけましょう。

  • 1

    Callisto

    jetp1ane/callisto

    Ghidraを介して実行可能ファイルを逆コンパイルし、Semgrepで擬似Cコードをスキャンし、GPT-3.5-Turboを使用して検出結果を検証することで誤検知を低減する、自動化されたバイナリ脆弱性解析ツール。

    2.2k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock ワンタップ実行アプリ(CVE-2026-43499)

    841
  • 3

    DFRoot

    a2333c/dfroot

    Samsung Galaxy S25 Ultra (SM-S938B) 向けの Android root ツール。DirtyFrag CVE-2026-43284 と CVE-2026-43499 を連鎖させ、KernelSU 経由で起動時に自動的に root を取得します。

    449
  • 4

    ARTEX

    baarai/artex

    プランナー/ワーカーエージェント、資産グラフと探索グラフ、MITMトラフィック記録、脆弱性の再テストを備えたLLMマルチエージェント自律ペネトレーションテストプラットフォーム。

    387
  • 5

    OsintHunter

    letox4/osinthunter

    🎯 究極のOSINTツールキット:調査グラフ、信頼度スコアリング、エイリアスファミリー、マップ、タイムライン、レポート。49個のモジュール、400以上のサイト、APIキー不要。

    348
  • 6

    faraday

    infobyte/faraday

    オープンソースかつAIを活用したサイバーセキュリティツール。オフェンシブセキュリティ、脆弱性管理、自律型ペネトレーションテスト向け。ラテンアメリカのハッカーによって開発され、世界中で使用されています。

    334

すべてのツールを探索

ツールコレクションを閲覧

すべてのツールを見る →
ツールをダウンロード