roundcube-utils/cnext-exploits
GitHub: roundcube-utils/cnext-exploits
针对 glibc iconv() CVE-2024-2961 缓冲区溢出漏洞的 exploit 工具集,支持从文件读取到 RCE 的多种利用场景。
Stars: 0 | Forks: 0
# CNEXT exploits
CNEXT (CVE-2024-2961) 的 exploits,这是 glibc 的 `iconv()` 中的一个缓冲区溢出漏洞,由 [@cfreal_](https://twitter.com/cfreal_) 发布
# 用法
```
$ git clone --recurse-submodules https://github.com/roundcube-utils/cnext-exploits.git
$ pip install -r requirements.txt
```
# 技术分析
以下博文详细描述了该漏洞及 exploits:
- [Iconv, set the charset to RCE: Exploiting the glibc to hack the PHP engine (part 1)](https://www.ambionics.io/blog/iconv-cve-2024-2961-p1):PHP filters
- [Iconv, set the charset to RCE: Exploiting the glibc to hack the PHP engine (part 2)](https://www.ambionics.io/blog/iconv-cve-2024-2961-p2):直接 `iconv()` 调用,Roundcube
- [Iconv, set the charset to RCE: Exploiting the glibc to hack the PHP engine (part 3)](https://www.ambionics.io/blog/iconv-cve-2024-2961-p3):PHP filters,blind
# exploits
- [CNEXT:从文件读取到 RCE 的 exploit](cnext-exploit.py)
- [Blind CNEXT:从 blind 文件读取到 RCE 的 exploit](blind-cnext-exploit.py)
- [Roundcube:认证后的 RCE exploit](roundcube-exploit.py)
- [CosmicSting + CNEXT:针对 Magento <= 2.4.7 的 RCE](cosmicsting-cnext-exploit.py)
标签:CVE-2024-2961, XXE攻击, 缓冲区溢出, 逆向工具