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

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

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

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

工具目录

分类

查看所有分类
Loading categories
cve-2023-36845-scanner — 一个用于扫描存在 CVE-2023-36845 漏洞的 Juniper 防火墙的 go-exploit | Kitploit
工具/GitHubGitHub/vulncheck-oss/cve-2023-36845-scanner
漏洞扫描器漏洞利用Web安全网络安全渗透测试红队
GitHubvulncheck-oss/cve-2023-36845-scanner

cve-2023-36845-scanner

一个用于扫描存在 CVE-2023-36845 漏洞的 Juniper 防火墙的 go-exploit

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
查看仓库
网站
62621年前Kitploit 审核通过
分享

Juniper CVE-2023-36845 漏洞扫描器

该漏洞扫描器可用于扫描 Juniper 防火墙,以判断其是否易受 CVE-2023-36845 影响。由于该扫描器基于 go-exploit 构建,因此包含两个阶段:

  • 目标验证:确保目标是一个潜在受影响的 Juniper 防火墙。
  • 目标利用:扫描器发送一条 LD_PRELOAD 消息,使易受攻击的系统生成一条(无害的)错误消息。

有关利用 CVE-2023-36845 的更多详细信息,请参阅我们的博客:Juniper 防火墙上的无文件远程代码执行。

编译

你可以使用 makefile 构建一个 docker 容器:

root@kitploit:~
make docker

或者,如果你已有可用的 Go 构建环境,直接使用 make 即可:

root@kitploit:~
albinolobster@mournland:~/cve-2023-36845-scanner$ make
gofmt -d -w scan.go
golangci-lint run --fix scan.go
GOOS=linux GOARCH=arm64 go build -o build/scan_linux-arm64 scan.go

用法

该工具基于 go-exploit 构建,因此有多种方式提供待扫描的目标。完整说明可在项目的 扫描文档 中找到,下面给出一些示例:

扫描单个主机

root@kitploit:~
$ ./build/scan_linux-arm64 -a -v -e -rhost 10.12.72.1 -log-json=true | jq 'select(.msg == "Vulnerable")'
{
  "time": "2023-09-16T06:18:01.964471183-04:00",
  "level": "SUCCESS",
  "msg": "Vulnerable",
  "vulnerable": true,
  "rhost": "10.12.72.1",
  "rport": 80
}

扫描多个主机

root@kitploit:~
$ ./build/scan_linux-arm64 -a -v -e -rhosts 10.12.72.1,10.12.72.2
time=2023-09-16T06:19:26.592-04:00 level=STATUS msg="Starting target" index=0 host=10.12.72.1 port=80 ssl=false "ssl auto"=true
time=2023-09-16T06:19:36.607-04:00 level=STATUS msg="Validating JunOS Web Interface target" host=10.12.72.1 port=80
time=2023-09-16T06:19:37.528-04:00 level=SUCCESS msg="Target validation succeeded!" host=10.12.72.1 port=80
time=2023-09-16T06:19:37.574-04:00 level=SUCCESS msg=Vulnerable vulnerable=true rhost=10.12.72.1 rport=80
time=2023-09-16T06:19:37.575-04:00 level=STATUS msg="Exploit successfully completed"
time=2023-09-16T06:19:37.575-04:00 level=STATUS msg="Starting target" index=1 host=10.12.72.2 port=80 ssl=false "ssl auto"=true
time=2023-09-16T06:19:37.575-04:00 level=STATUS msg="Validating JunOS Web Interface target" host=10.12.72.2 port=80
time=2023-09-16T06:19:37.576-04:00 level=ERROR msg="The target isn't recognized as JunOS Web Interface, quitting" host=10.12.72.2 port=80

使用代理扫描主机文件(并将日志写入文件)

go-exploit 支持通过提供的目标 csv 进行扫描,csv 的格式为:host, port, anything if ssl is enabled(不过在使用 -a 时 SSL 字段会被忽略)。完整详情请参阅扫描文档。它还支持通过代理进行扫描。命令示例如下:

root@kitploit:~
$ ./build/scan_linux-arm64 -v -e -rhosts-file ~/junos/junos.targets.csv -proxy socks5://127.0.0.1:9050 -log-file vulnscan.json
^C
$ tail vulnscan.json 
time=2023-09-17T05:11:19.256-04:00 level=STATUS msg="Starting target" index=0 host=x port=443 ssl=true "ssl auto"=false
time=2023-09-17T05:11:19.256-04:00 level=STATUS msg="Validating JunOS Web Interface target" host=x port=443
time=2023-09-17T05:11:29.257-04:00 level=ERROR msg="HTTP request error: Get \"https://x:443/\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)"
time=2023-09-17T05:11:29.257-04:00 level=ERROR msg="The target isn't recognized as JunOS Web Interface, quitting" host=x port=443
time=2023-09-17T05:11:29.257-04:00 level=STATUS msg="Starting target" index=1 host=x port=80 ssl=false "ssl auto"=false
time=2023-09-17T05:11:29.257-04:00 level=STATUS msg="Validating JunOS Web Interface target" host=xport=80
下载工具