这是一个基于 Python 的脚本,用于识别存在 CVE-2018-10933 漏洞的主机。Libssh 扫描器有两种模式:被动模式(横幅抓取)和主动模式(绕过认证),用于验证漏洞是否存在。默认情况下,libssh 扫描器使用被动模式,但提供 -a 参数将使用主动模式,该模式提供更准确的结果。
该漏洞存在于 libssh 0.6+ 版本中,并通过 libssh 0.7.6 和 0.8.4 中的补丁进行了修复。更多详情:https://www.libssh.org/2018/10/16/libssh-0-8-4-and-0-7-6-security-and-bugfix-release/
在克隆的 libssh-scanner 目录中运行 pip install -r requirements.txt。
libssh Scanner - Find vulnerable libssh services by Leap Security (@LeapSecurity)
positional arguments:
target An ip address or new line delimited file containing
IPs to search for the vulnerability.
optional arguments:
-h, --help show this help message and exit
-v, --version show program's version number and exit
-p PORT, --port PORT Set port of SSH service
-a, --aggressive Identify vulnerable hosts by bypassing authentication