
A Python-based reconnaissance scanner for safely identifying potential exposure to SharePoint vulnerability CVE-2025-53770.
A simple, effective reconnaissance tool to identify potential exposure to the critical SharePoint vulnerability CVE-2025-53770.
[!Warning]
This tool is intended for authorised testing purposes only.
The author (DanSec) takes no responsibility for misuse or damage caused by unauthorised scanning or usage. Ensure you have explicit permission to scan any domain or service before using this tool.
CVE-2025-53770 ("ToolShell") is a critical vulnerability affecting on-premises SharePoint Server versions 2016, 2019, and Subscription Edition.
It enables unauthenticated remote code execution (RCE) via:
spinstall0.aspx)web.configViewState to execute code remotelyThis vulnerability has been actively exploited, prompting urgent warnings from authorities worldwide.
For detailed information:
Sublist3r and crt.sh) to identify potential SharePoint hosts.This scanner DOES NOT exploit the vulnerability. It merely identifies potential points of exposure.
Clone the repository and install dependencies:
git clone https://github.com/Sec-Dan/CVE-2025-53770-Scanner.git
cd CVE-2025-53770-scanner
pip install -r requirements.txt
python spScanner.py <target_domain> [options]
Example:
python spScanner.py example.com --threads 5 --retries 2
The resulting CSV file will contain detailed status for each scanned subdomain.
Found a bug or have a feature request? Open an issue or pull request!
Stay safe, and happy scanning!
— DanSec
| Flag | Description | Default |
|---|
<target_domain> | Root domain to scan (required) | - |
-o, --output | CSV output filename | CVE-2025-53770_output.csv |
--passive | Run a passive scan (skip subdomain enumeration) | Disabled |
--threads | Number of concurrent scan threads | 1 |
--retries | Number of retries per host | 1 |
--rate-limit | Max requests per second (0 for unlimited) | 0 |