
Telerik CVE-2017-9248 भेद्यता स्कैनर
एक व्यापक Python स्कैनर जो Telerik एंडपॉइंट्स की खोज करता है और एंटरप्राइज़-ग्रेड बल्क स्कैनिंग क्षमताओं के साथ CVE-2017-9248 क्रिप्टोग्राफिक भेद्यता का परीक्षण करता है।
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
एक टेक्स्ट फ़ाइल बनाएँ जिसमें प्रति पंक्ति एक URL हो:
# Sample URLs file
# Lines starting with # are comments
https://example.com
https://test.example.com
https://demo.example.com
https://staging.example.com
| फ़्लैग | विवरण | डिफ़ॉल्ट |
|---|---|---|
-u, --url | एकल लक्ष्य स्कैनिंग के लिए लक्ष्य URL | - |
-f, --file | बल्क स्कैनिंग के लिए URL वाली फ़ाइल | - |
-d, --discover | व्यापक पथ खोज सक्षम करें | False |
--path | परीक्षण करने के लिए विशिष्ट पथ | /Telerik.Web.UI.DialogHandler.aspx |
-p, --proxy | प्रॉक्सी सर्वर | - |
-t, --threads | खोज के लिए थ्रेड गणना | 10 |
--csv | परिणाम CSV फ़ाइल में सहेजें | - |
--json | परिणाम JSON फ़ाइल में सहेजें | - |
--output-dir | परिणामों के लिए आउटपुट निर्देशिका | वर्तमान निर्देशिका |
CSV फ़ाइल में प्रत्येक एंडपॉइंट के लिए विस्तृत जानकारी होती है:
JSON फ़ाइल में सभी स्कैन विवरण के साथ संरचित डेटा होता है:
[
{
"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"
}
]
}
]
स्कैनर रीयल-टाइम प्रगति अपडेट और व्यापक सारांश तालिकाएँ प्रदान करता है:
=====================================
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
स्कैनर CVE-2017-9248 का पता लगाने के लिए कई तकनीकों का उपयोग करता है:
यदि भेद्यताएँ पाई जाती हैं:
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:// जोड़ता है यदि कोई प्रोटोकॉल निर्दिष्ट नहीं है-d/--discover का उपयोग करेंकेवल अधिकृत परीक्षण के लिए। उपयोगकर्ता उचित प्राधिकरण के लिए जिम्मेदार हैं।