
Network-based vulnerability scanner for detecting systems vulnerable to CVE-2025-53770 (unsafe deserialization). Includes PowerShell and Python detectors with risk scoring and JSON reporting.
A comprehensive vulnerability detection toolkit for identifying systems vulnerable to CVE-2025-53770 (CWE-502: Deserialization of Untrusted Data).
This project provides enterprise-ready detection scripts to identify and assess systems potentially vulnerable to CVE-2025-53770, a security vulnerability related to unsafe deserialization of untrusted data. The toolkit includes both PowerShell and Python implementations for maximum compatibility across different environments.
# Basic scan
.\src\detectors\detector.ps1 -TargetRange "192.168.1.1-50"
# Scan with output file and verbose logging
.\src\detectors\detector.ps1 -TargetRange "192.168.1.0/24" -OutputFile "results.json" -Verbose
# Install with uv (recommended)
uv sync
# Basic scan
uv run python src/detectors/detector.py --target-range "192.168.1.1-50"
# Scan with output file and verbose logging
uv run python src/detectors/detector.py --target-range "10.0.0.0/24" --output results.json --verbose
# Or use the installed script
uv run cve-2025-53770-detect --target-range "192.168.1.1-50"
CVE-2025-53770/
βββ README.md
βββ docs/
β βββ CLAUDE.md
β βββ DETECTION_ALGORITHMS.md
β βββ LIBRARIES.md
β βββ NOTES.md
β βββ PROJ_NOTES.md
β βββ TASKS.md
β βββ TODO.md
βββ src/
β βββ detectors/
β βββ __init__.py
β βββ detector.py
β βββ detector.ps1
βββ tests/
β βββ README.md
β βββ mock_server/
β βββ test_data/
β βββ unit/
βββ .gitignore
βββ pyproject.toml
βββ uv.lock
Install uv (if not already installed)
# On macOS and Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
# On Windows
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
# Alternative: use pip
pip install uv
Clone the repository
git clone <repository-url>
cd CVE-2025-53770
Install Python dependencies
# Install all dependencies (recommended)
uv sync
# Or install specific groups
uv sync --group testing
uv sync --group dev
# Alternative with pip (if uv not available)
pip install -e .
Verify installation
# Test Python detector
uv run python src/detectors/detector.py --help
uv run cve-2025-53770-detect --help
# Test PowerShell detector
Get-Help .\src\detectors\detector.ps1
detector.ps1)TargetRange (Required): IP range to scan
"192.168.1.100""192.168.1.1-50""192.168.1.0/24" (basic support)OutputFile (Optional): Path to save JSON resultsVerbose (Optional): Enable detailed logging# Scan single subnet with verbose output
.\src\detectors\detector.ps1 -TargetRange "192.168.1.1-254" -Verbose
# Enterprise scan with results export
.\src\detectors\detector.ps1 -TargetRange "10.0.0.1-100" -OutputFile "enterprise_scan.json"
src/detectors/detector.py)--target-range, -t (Required): IP range to scan--output, -o (Optional): Output file for JSON results--verbose, -v (Optional): Enable verbose logging# Comprehensive network scan
uv run python src/detectors/detector.py --target-range "192.168.0.0/24" --verbose
# Targeted scan with results export
uv run python src/detectors/detector.py -t "10.0.1.1-50" -o vulnerability_report.json
# Using the installed command
uv run cve-2025-53770-detect --target-range "192.168.0.0/24" --output scan_results.json
The detectors identify:
ObjectInputStream, BinaryFormatter)pickle.loads, yaml.load)Both detectors generate structured JSON reports:
{
"scan_metadata": {
"cve_id": "CVE-2025-53770",
"scan_date": "2025-07-28T10:30:00Z",
"scanner_version": "Python-1.0",
"target_range": "192.168.1.1-50",
"total_vulnerabilities": 3,
"total_high_severity": 1,
"total_medium_severity": 2,
"total_low_severity": 0
},
"vulnerabilities": [
{
"timestamp": "2025-07-28T10:30:15Z",
"target": {
"ip_address": "192.168.1.100",
"port": 8080
},
"vulnerability": {
"cve_id": "CVE-2025-53770",
"cwe_id": "CWE-502",
"description": "Deserialization of Untrusted Data",
"severity": "HIGH",
"score": 75,
"is_vulnerable": true
},
"findings": [
"Java application server detected: Apache Tomcat",
"Deserialization pattern detected: ObjectInputStream"
],
"technical_details": {
"probe_results": { /* HTTP response data */ },
"scan_method": "Python Async HTTP Probe"
}
}
]
}