
Telerik Scanner de Vulnerabilidades CVE-2017-9248
Um scanner Python abrangente que descobre endpoints Telerik e testa a vulnerabilidade criptográfica CVE-2017-9248 com capacidades de varredura em lote de nível empresarial.
git clone https://github.com/yourusername/telerik-scanner.git
cd telerik-scanner
pip install requests
python3 telerik.py -u https://target.com
python3 telerik.py -u https://target.com --path /admin/Telerik.Web.UI.DialogHandler.aspx
python3 telerik.py -u https://target.com -d
python3 telerik.py -u https://target.com -d -p 127.0.0.1:8080
python3 telerik.py -u https://target.com -d --csv results.csv
python3 telerik.py -u https://target.com -d --json results.json
python3 telerik.py -u https://target.com -d --csv results.csv --output-dir ./reports/
python3 telerik.py -f urls.txt -d
python3 telerik.py -f urls.txt -d -t 20
python3 telerik.py -f urls.txt -d --csv bulk_results.csv --json bulk_results.json
python3 telerik.py -f urls.txt --csv quick_results.csv
Crie um arquivo de texto com uma URL por linha:
# Sample URLs file
# Lines starting with # are comments
https://example.com
https://test.example.com
https://demo.example.com
https://staging.example.com
| Flag | Descrição | Padrão |
|---|---|---|
-u, --url | URL alvo para varredura de alvo único | - |
-f, --file | Arquivo contendo URLs para varredura em lote | - |
-d, --discover | Habilitar descoberta abrangente de caminhos | Falso |
--path | Caminho específico para testar | /Telerik.Web.UI.DialogHandler.aspx |
-p, --proxy | Servidor proxy | - |
-t, --threads | Número de threads para descoberta | 10 |
--csv | Salvar resultados em arquivo CSV | - |
--json | Salvar resultados em arquivo JSON | - |
--output-dir | Diretório de saída para resultados | Diretório atual |
O arquivo CSV contém informações detalhadas para cada endpoint:
O arquivo JSON contém dados estruturados com todos os detalhes da varredura:
[
{
"target_url": "https://example.com",
"endpoints_found": 3,
"vulnerable_endpoints": 1,
"scan_status": "Completed",
"details": [
{
"url": "https://example.com/Telerik.Web.UI.DialogHandler.aspx",
"vulnerable": true,
"error_message": "Index was outside the bounds of the array.",
"version": "2017.2.711"
}
]
}
]
O scanner fornece atualizações de progresso em tempo real e tabelas de resumo abrangentes:
=====================================
BULK SCAN RESULTS SUMMARY
=====================================
Total Targets Scanned: 5
Successful Scans: 4
Failed Scans: 1
Total Endpoints Found: 12
Total Vulnerable Endpoints: 2
----------------------------------------------------
Target URL Endpoints Vulnerable Status
----------------------------------------------------
https://example.com 3 1 Completed
https://test.example.com 2 0 Completed
https://demo.example.com 0 0 No endpoints found
https://staging.example.com 4 1 Completed
https://dev.example.com 3 0 Completed
----------------------------------------------------
/Telerik.Web.UI.DialogHandler.aspx
/telerik/Telerik.Web.UI.DialogHandler.aspx
/admin/Telerik.Web.UI.DialogHandler.aspx
/cms/Telerik.Web.UI.DialogHandler.aspx
/Telerik.Web.UI.SpellCheckHandler.axd
/Telerik.Web.UI.WebResource.axd
/Telerik.ReportViewer.axd
/RadControls/
/aspnet_client/system_web/4_0_30319/RadControls/
[*] Testing specific path: https://target.com/Telerik.Web.UI.DialogHandler.aspx
[+] VULNERABLE TO CVE-2017-9248!
[+] Error message: Index was outside the bounds of the array.
[+] Detected version: 2016.2.504
[*] Starting bulk scan of URLs from: urls.txt
[*] Discovery mode: Enabled
[*] Threads per target: 10
[*] Loaded 5 URLs for scanning
============================================================
SCANNING TARGET 1/5: https://example.com
============================================================
[+] Found: https://example.com/Telerik.Web.UI.DialogHandler.aspx (Status: 200)
[+] VULNERABLE TO CVE-2017-9248!
[+] Error message: Index was outside the bounds of the array.
[+] Detected version: 2016.2.504
O scanner usa múltiplas técnicas para detectar o CVE-2017-9248:
Se vulnerabilidades forem encontradas:
python3 telerik.py -u https://target.com
python3 telerik.py -f targets.txt -d -t 20 --csv audit_results.csv --json audit_results.json
python3 telerik.py -f targets.txt -d -p 127.0.0.1:8080 --csv proxy_results.csv
https:// se nenhum protocolo for especificado-d/--discover para descoberta abrangente de endpointsApenas para testes autorizados. Os usuários são responsáveis pela autorização adequada.