
(c) SECPlayground 平台 — https://www.secplayground.com
这些检测脚本归 SECPlayground 平台所有。
两个安全的检测脚本。两者都不会触发 close_notify-mid-BDAT 触发器,因此不会导致守护进程崩溃,也不会留下 panic 日志条目。
两个脚本的判定结果均为“可能易受攻击”——在不进行实际利用的情况下,远程区分 GnuTLS 与 OpenSSL 构建并不可靠。
# from the lab dir, against the running container
nuclei -t detect/CVE-2026-45185.yaml -u 127.0.0.1:2525
# scan a netblock on common SMTP ports
nuclei -t detect/CVE-2026-45185.yaml -l targets.txt
该模板探测端口 25,465,587,2525,并在以下三个条件全部成立时匹配:Exim 版本 4.97-4.99.2、通告 STARTTLS、通告 CHUNKING。
# single host
nmap -p 2525 --script ./detect/cve-2026-45185.nse 127.0.0.1
# discovery sweep across SMTP ports
nmap -p 25,465,587,2525 --script ./detect/cve-2026-45185.nse 10.0.0.0/24
# install globally (optional)
sudo cp detect/cve-2026-45185.nse /usr/share/nmap/scripts/
sudo nmap --script-updatedb
nmap -p 2525 --script cve-2026-45185 127.0.0.1