
أداة استغلال CVE-2013-4786 بلغة Go

CosmicRakp هي أداة قوية مكتوبة بلغة Go تتيح لأعضاء الفريق الأحمر (Red Team) ومختبري الاختراق تفريغ تجزئات IPMI. يهدف هذا المشروع إلى أن يكون فعّالاً وسريعاً وسهل الاستخدام.
تستغل هذه الأداة الثغرة الموضحة في CVE-2013-4786، والتي تسمح للمستخدمين غير المصرح لهم باسترجاع تجزئات كلمات المرور المملحة من أجهزة IPMI عبر آلية RAKP (Remote Authentication Key Protocol). يتم تحقيق ذلك من خلال بدء عملية مصادقة IPMI 2.0 RAKP باستخدام مجموعة تشفير (cipher suite) تُفعّل المصادقة 'None'، مما يسمح باسترجاع تجزئات كلمات المرور المملحة.
./build.sh
❯ ./cosmicrakp -h
Usage of ./cosmicrakp:
-debug
enable debug mode
-max-attempts int
maximum number of attempts to open a session (default 3)
-mode string
mode of operation: 'range' or 'file' (default "range")
-output string
File to store output results (default "output.txt")
-range string
IP range for 'range' mode
-retry-delay duration
time to wait between retries (in seconds) (default 2s)
-targets string
target file for 'file' mode
-threads int
number of threads for concurrent execution (default 4)
-usernames string
File containing usernames to test (default "users.txt")
هذا المشروع مستوحى من أحد البراهين الأصلية على المفهوم (Proof of Concept) لاستغلال CVE-2013-4786، إن لم يكن البرهان الأول نفسه، ويأتي تكريماً له. تم تطوير هذا الـ PoC بواسطة Dan Farmer، وهو جزء من إطار عمل Metasploit. يمكنك العثور على الكود الأصلي هنا.
يستخدم هذا المشروع ترخيص MIT.