一个单文件、无依赖的 防御性 工具,用于 Microsoft SharePoint,将 服务发现(单个或批量)与针对两个关键本地部署漏洞的 CVE 评估 相结合:
全部集成在一个源文件中 — 无需单独的脚本。
在单个目标或大型网络中查找 SharePoint 服务器:
| 输入类型 | 示例 |
|---|---|
| 域名 | sharepoint.example.com |
| 单个 IP | 192.168.1.10 |
| CIDR 网段 | 192.168.1.0/24 |
| IP 范围 | 10.0.0.10-10.0.0.50 或 10.0.0.10-50 |
| 目标文件 | 每行一个,可混合类型 |
80,443)--threads)针对两个 CVE 评估已发现/已知的服务器:
三种模式:
--local — 从 Microsoft.SharePoint.dll 读取构建版本(Windows 服务器)--remote — 通过 HTTP 检测版本/构建号--version — 直接提供构建版本--json — 机器可读--html — 可视化报告# 单个域名
python3 sharepoint-cve-scanner.py --discover --targets sharepoint.example.com
# CIDR 网段(大规模)
python3 sharepoint-cve-scanner.py --discover --targets 192.168.1.0/24
# IP 范围(大规模)
python3 sharepoint-cve-scanner.py --discover --targets 10.0.0.10-10.0.0.50
# 从文件读取(混合目标,每行一个)
python3 sharepoint-cve-scanner.py --discover --file targets.txt
# 自定义端口 + 更多线程
python3 sharepoint-cve-scanner.py --discover --targets 10.0.0.0/24 --ports 80,443,4443 --threads 100
# 本地(Windows):从 DLL 读取构建号
python3 sharepoint-cve-scanner.py --local C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.dll
# 远程
python3 sharepoint-cve-scanner.py --remote https://sharepoint.example.com
# 手动指定构建版本
python3 sharepoint-cve-scanner.py --version 16.0.19725.20434
# HTML + JSON 报告
python3 sharepoint-cve-scanner.py --local <dll> --html report.html --json report.json
注意: CVE-2026-55040(身份验证绕过)可与 CVE-2026-63520(远程代码执行)链式利用,形成 未认证远程代码执行。请同时应用两个 Microsoft 更新。
--local。| CVE | 版本 | 修复构建号 |
|---|
| CVE-2026-55040 | Enterprise 2016 | 16.0.5561.1001 |
| CVE-2026-55040 | Server 2019 | 16.0.10417.20175 |
| CVE-2026-55040 | Subscription Edition | 16.0.19725.20434 |
| CVE-2026-63520 | Enterprise 2016 | 16.0.5565.1001 |
| CVE-2026-63520 | Server 2019 | 16.0.10417.20198 |
| CVE-2026-63520 | Subscription Edition | 16.0.19725.20522 |