目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2023-4911 PoC — glibc 缓冲区错误漏洞

来源
关联漏洞
标题: glibc 缓冲区错误漏洞 (CVE-2023-4911)
Description:glibc(GNU C Library)是GNU计划所实现的C标准库。 glibc存在缓冲区错误漏洞,该漏洞源于动态加载程序ld.so存在缓冲区溢出漏洞。
Description
PoC for CVE-2023-4911 LooneyTuneables
介绍
# CVE-2023-4911
This is a PoC for CVE-2023-4911 ("Looney Tunables") that exploits a bug in the glibc dynamic loader's GLIBC_TUNABLES environment variable parsing function parse_tunables().

This is a rewrite of the C PoC's into a pure python approach. I did this to make it easier to customize the exploit for other platforms.
The only requirement is pwntools, which can be installed as follows:

    python3 -m pip install --upgrade pwntools

I got the original C PoC from: https://github.com/leesh3288/CVE-2023-4911

This code was tested on Ubuntu 22.04.3 with glibc version 2.35-0ubuntu3.1

# su offsets

This image shows the Ubuntu `su` executable. This is why `"` is chosen as the directory symbol, and the offset of -20 bytes points to that symbol:

![image](https://github.com/guffre/CVE-2023-4911/assets/21281361/aab8e766-344f-44ea-a2e6-2b5a5cca1730)

You should check the `su` binary on the machine you are targeting to make sure the offset and symbol are correct.
文件快照

登录后查看神龙缓存的 POC 文件快照

登录查看
备注
    1. 建议优先通过来源进行访问。
    2. 本地 POC 快照面向订阅用户开放;当原始来源失效或无法访问时,本地镜像作为订阅权益的一部分提供。
    3. 持续抓取、验证、维护这份 POC 档案需要不少投入,因此本地快照已纳入付费订阅。您的订阅是让这份资料能继续走下去的关键,由衷感谢。 查看订阅方案 →