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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2018-7750 PoC — Paramiko SSH服务器实现授权问题漏洞

Source
Associated Vulnerability
Title:Paramiko SSH服务器实现授权问题漏洞 (CVE-2018-7750)
Description:Paramiko是一个基于Python的SSH协议库。SSH server是其中的一个SSH服务器。 Paramiko中的SSH服务器实现的transport.py文件存在安全漏洞,该漏洞源于程序在处理其他请求之前没有正确的检测身份验证是否完成。攻击者可利用该漏洞绕过身份验证,以下版本受到影响:Paramiko 1.17.6之前版本,1.18.5之前的1.18.x版本,2.0.8之前的2.0.x版本,2.1.5之前的2.1.x版本,2.2.3之前的2.2.x版本,2.3.2之前的2.3.x版本,2.4.1
Description
an RCE (remote command execution) approach of CVE-2018-7750
Readme
# CVE-2018-7750
an RCE (remote command execution) approach of CVE-2018-7750

![poc](/img/poc.png)

- Exploit Title: Paramiko < 2.4.1 - Remote Code Execution
- Date: 2018-11-06
- Exploit Author: jm33-ng
- Vendor Homepage: https://www.paramiko.org
- Software Link: [https://github.com/paramiko/paramiko/archive/2.4.0.tar.gz](https://github.com/paramiko/paramiko/archive/2.4.0.tar.gz)
- Version: < 1.17.6, 1.18.x < 1.18.5, 2.0.x < 2.0.8, 2.1.x < 2.1.5, 2.2.x < 2.2.3, 2.3.x < 2.3.2, and 2.4.x < 2.4.1
- Tested on: Multiple platforms
- CVE: CVE-2018-7750

- This PoC provides a way to execute arbitrary commands via paramiko SSH server, using CVE-2018-7750.
- Details about CVE-2018-7750: [https://github.com/paramiko/paramiko/issues/1175](https://github.com/paramiko/paramiko/issues/1175)
- The original PoC, which makes use of SFTP, can be found at [https://www.exploit-db.com/exploits/45712](https://www.exploit-db.com/exploits/45712)
File Snapshot

[4.0K] /data/pocs/8891ef00e1c989474d954aaca0d8f2b068b1f75d ├── [4.0K] img │   ├── [ 35K] poc.png │   └── [ 45K] proceeding_without_auth.png ├── [ 34K] LICENSE ├── [282K] paramiko-2.4.0.tar.gz ├── [1.0K] rce.py ├── [ 934] README.md └── [1.6K] sample_ssh_server.py 1 directory, 7 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.