
Telerik CVE-2017-9248 Scanner di vulnerabilità
Uno scanner Python completo che scopre endpoint Telerik e testa la vulnerabilità crittografica CVE-2017-9248 con funzionalità di scansione bulk di livello enterprise.
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
Crea un file di testo con un URL per riga:
# File di esempio con URL
# Le righe che iniziano con # sono commenti
https://example.com
https://test.example.com
https://demo.example.com
https://staging.example.com
Il file CSV contiene informazioni dettagliate per ogni endpoint:
Il file JSON contiene dati strutturati con tutti i dettagli della scansione:
[
{
"target_url": "https://example.com",
"endpoints_found": 3,
"vulnerable_endpoints": 1,
"scan_status": "Completato",
"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"
}
]
}
]
Lo scanner fornisce aggiornamenti in tempo reale sui progressi e tabelle riassuntive complete:
=====================================
RIEPILOGO RISULTATI SCANSIONE BULK
=====================================
Target totali scansionati: 5
Scansioni riuscite: 4
Scansioni fallite: 1
Endpoint totali trovati: 12
Endpoint totali vulnerabili: 2
----------------------------------------------------
URL target Endpoint Vulnerabili Stato
----------------------------------------------------
https://example.com 3 1 Completato
https://test.example.com 2 0 Completato
https://demo.example.com 0 0 Nessun endpoint trovato
https://staging.example.com 4 1 Completato
https://dev.example.com 3 0 Completato
----------------------------------------------------
/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/
[*] Test del percorso specifico: https://target.com/Telerik.Web.UI.DialogHandler.aspx
[+] VULNERABILE A CVE-2017-9248!
[+] Messaggio di errore: Index was outside the bounds of the array.
[+] Versione rilevata: 2016.2.504
[*] Avvio scansione bulk degli URL dal file: urls.txt
[*] Modalità scoperta: Abilitata
[*] Thread per target: 10
[*] Caricati 5 URL per la scansione
============================================================
SCANSIONE TARGET 1/5: https://example.com
============================================================
[+] Trovato: https://example.com/Telerik.Web.UI.DialogHandler.aspx (Stato: 200)
[+] VULNERABILE A CVE-2017-9248!
[+] Messaggio di errore: Index was outside the bounds of the array.
[+] Versione rilevata: 2016.2.504
Lo scanner utilizza molteplici tecniche per rilevare CVE-2017-9248:
Se vengono trovate vulnerabilità:
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 non viene specificato alcun protocollo-d/--discover per la scoperta completa degli endpointSolo per test autorizzati. Gli utenti sono responsabili della corretta autorizzazione.
| Flag | Descrizione | Predefinito |
|---|
-u, --url | URL target per scansione singolo target | - |
-f, --file | File contenente URL per scansione bulk | - |
-d, --discover | Abilita scoperta completa dei percorsi | False |
--path | Percorso specifico da testare | /Telerik.Web.UI.DialogHandler.aspx |
-p, --proxy | Server proxy | - |
-t, --threads | Numero di thread per la scoperta | 10 |
--csv | Salva i risultati in file CSV | - |
--json | Salva i risultati in file JSON | - |
--output-dir | Directory di output per i risultati | Directory corrente |