
CVE-2013-4786 Go exploitation tool

CosmicRakp 是一款使用 Go 语言编写的强大工具,允许红队成员和渗透测试人员导出 IPMI 哈希值。该项目旨在高效、快速且易于使用。
该工具利用了 CVE-2013-4786 中详述的漏洞,允许未经授权的用户通过 RAKP(远程认证密钥协议)机制从 IPMI 设备中检索加盐密码哈希值。实现方式是通过启动一个 IPMI 2.0 RAKP 认证过程,使用允许 '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")
本项目受最早(如果不是最早)针对 CVE-2013-4786 的概念验证(PoC)的启发,并以此致敬。该 PoC 由 Dan Farmer 开发,是 Metasploit 框架的一部分。您可以在此处找到原始代码:原始代码。
本项目采用 MIT 许可证。