
Scanner de vulnérabilité Telerik CVE-2017-9248
Un scanner Python complet qui découvre les points de terminaison Telerik et teste la vulnérabilité cryptographique CVE-2017-9248 avec des capacités de scan en masse de niveau entreprise.
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
Créez un fichier texte avec une URL par ligne :
# Sample URLs file
# Lines starting with # are comments
https://example.com
https://test.example.com
https://demo.example.com
https://staging.example.com
| Option | Description | Défaut |
|---|---|---|
-u, --url | URL cible pour le scan d'une seule cible | - |
-f, --file | Fichier contenant les URLs pour le scan en masse | - |
-d, --discover | Activer la découverte complète de chemins | False |
--path | Chemin spécifique à tester | /Telerik.Web.UI.DialogHandler.aspx |
-p, --proxy | Serveur proxy | - |
-t, --threads | Nombre de threads pour la découverte | 10 |
--csv | Enregistrer les résultats dans un fichier CSV | - |
--json | Enregistrer les résultats dans un fichier JSON | - |
--output-dir | Répertoire de sortie pour les résultats | Répertoire courant |
Le fichier CSV contient des informations détaillées pour chaque point de terminaison :
Le fichier JSON contient des données structurées avec tous les détails du scan :
[
{
"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"
}
]
}
]
Le scanner fournit des mises à jour en temps réel et des tableaux récapitulatifs complets :
=====================================
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
Le scanner utilise plusieurs techniques pour détecter CVE-2017-9248 :
Si des vulnérabilités sont trouvées :
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:// si aucun protocole n'est spécifié-d/--discover pour une découverte complète des points de terminaisonPour des tests autorisés uniquement. Les utilisateurs sont responsables de l'obtention des autorisations appropriées.