Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2023-25136 PoC — OpenSSH 资源管理错误漏洞

Source
Associated Vulnerability
Title:OpenSSH 资源管理错误漏洞 (CVE-2023-25136)
Description:OpenSSH(OpenBSD Secure Shell)是加拿大OpenBSD计划组的一套用于安全访问远程计算机的连接工具。该工具是SSH协议的开源实现,支持对所有的传输进行加密,可有效阻止窃听、连接劫持以及其他网络级的攻击。 OpenSSH 存在资源管理错误漏洞,该漏洞源于options.kex_algorithms 处理期间引入了双重释放漏洞。
Description
OpenSSH 9.1 vulnerability mass scan and exploit
Readme
# CVE-2023-25136
OpenSSH 9.1 vulnerability mass scan and exploit

# Description
OpenSSH server (sshd) 9.1 introduced a double-free vulnerability during options.kex_algorithms handling. This is fixed in OpenSSH 9.2. The double free can be leveraged, by an unauthenticated remote attacker in the default configuration, to jump to any location in the sshd address space. One third-party report states "remote code execution is theoretically possible."
https://nvd.nist.gov/vuln/detail/CVE-2023-25136

# Use
1. Run the scan.py script and enter the file name with IP addresses python scan.py
![Screenshot_1](https://user-images.githubusercontent.com/118097522/235245971-2eef4f46-a0e3-4a2b-bfef-420bc13106d8.png)

2. Run the exploit.py script and enter the vulnerable IP address python exploit.py
![Screenshot_2](https://user-images.githubusercontent.com/118097522/235246694-0945bdeb-5550-43a9-a86f-526165edb200.png)


# Requirements 
The script runs in Python3
If you don't have the libraries installed, they will be installed when you run the program

• paramiko: to install it just type pip install paramiko

• colorama: to install it just type pip install colorama
File Snapshot

[4.0K] /data/pocs/0f7603096d667bdb4b35e005be0916120cbeda17 ├── [2.3K] exploit.py ├── [1.1K] README.md └── [4.6K] scan.py 0 directories, 3 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. If the original source is unavailable, please email f.jinxu#gmail.com for a local snapshot (replace # with @).
    3. Shenlong has snapshotted the POC code for you. To support long-term maintenance, please consider donating. Thank you for your support.