目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2018-10562 PoC — Dasan GPON家庭路由器命令注入漏洞

来源
关联漏洞
标题: Dasan GPON家庭路由器命令注入漏洞 (CVE-2018-10562)
Description:Dasan GPON是韩国Dasan公司的一款家用路由器产品。 Dasan GPON家庭路由器中存在命令注入漏洞,该漏洞源于用户再次访问/diag.html页面时路由器将因特网包探索器的结果保存在/tmp中并将它传输给用户。攻击者可通过向GponForm/diag_Form URI发送带有‘dest_host’参数的diag_action=ping请求利用该漏洞执行命令并检索输出。
Description
Python exploit for Remote Code Executuion on GPON home routers (CVE-2018-10562). Initially disclosed by VPNMentor (https://www.vpnmentor.com/blog/critical-vulnerability-gpon-router/), kudos for their work.
介绍
# RCE on GPON home routers (CVE-2018-10561)

## Vulnerability
Many routers today use GPON internet, and  a way to bypass all authentication on the devices (**CVE-2018-10561**) was found by [VPNMentor](https://www.vpnmentor.com/blog/critical-vulnerability-gpon-router/). With this authentication bypass, it's also possible to unveil another command injection vulnerability (**CVE-2018-10562**) and execute commands on the device.

At the time it was written almost ONE MILLION of these devices are exposed to the Internet, according to [Shodan](https://www.shodan.io/search?query=title%3A%22GPON+Home+Gateway%22).


## Dependencies required
`requests`

`urllib2`

## Tested on 
`Kali Linux`

`Ubuntu 17.10 Server`


## Usage

```
python gpon_rce.py TARGET_URL COMMAND

```
e.g.
```
python gpon_rce.py http://192.168.1.15 'id'

```

## Screenshots
<p align="center">
  <img width="460" src="https://cdn1.imggmi.com/uploads/2018/5/7/f1210b72c5a5349f8aa5cbf310c3c7d6-full.png">
</p>


<p align="center">
  <img width="460" src="https://cdn1.imggmi.com/uploads/2018/5/7/981fdc2cdce43511a89135f2fca7f474-full.png">
</p>
文件快照

登录后查看神龙缓存的 POC 文件快照

登录查看
备注
    1. 建议优先通过来源进行访问。
    2. 本地 POC 快照面向订阅用户开放;当原始来源失效或无法访问时,本地镜像作为订阅权益的一部分提供。
    3. 持续抓取、验证、维护这份 POC 档案需要不少投入,因此本地快照已纳入付费订阅。您的订阅是让这份资料能继续走下去的关键,由衷感谢。 查看订阅方案 →