Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

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

Source
Associated Vulnerability
Title:glibc 缓冲区错误漏洞 (CVE-2023-4911)
Description:glibc(GNU C Library)是GNU计划所实现的C标准库。 glibc存在缓冲区错误漏洞,该漏洞源于动态加载程序ld.so存在缓冲区溢出漏洞。
Description
Proof of concept for CVE-2023-4911 (Looney Tunables) discovered by Qualys Threat Research Unit 
Readme
# Proof of concept for CVE-2023-4911 (Looney Tunables)


This vulnerability has been discovered by Qualys Threat Research. [Here you can read the advisory they published](https://www.qualys.com/2023/10/03/cve-2023-4911/looney-tunables-local-privilege-escalation-glibc-ld-so.txt), it explains in depth the vulnerability.

The exploit has been tested on Ubuntu 22.04.2 LTS with GLIBC 2.35-0ubuntu3.1.

## Testing the exploit

The makefile allows testing the exploit in the following scenarios:

1. With ASLR disabled (test).
2. With ASLR enabled (exploit) 
3. Debugging the exploit (debug)

### Demo

![exploit](https://i.imgur.com/sR520VK.jpg)

-----
Kudos to [leesh3288](https://github.com/leesh3288/CVE-2023-4911) for his exploit.
File Snapshot

[4.0K] /data/pocs/fbf7ace284120e98f01c4ba88e0585064d0c7064 ├── [ 471] create-libc.py ├── [ 238] gdb-script ├── [ 295] Makefile ├── [ 732] README.md └── [4.4K] xpl.c 0 directories, 5 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. If the original source is unavailable, please email f.jinxu#gmail.com for a local snapshot (replace # with @).
    3. Shenlong has snapshotted the POC code for you. To support long-term maintenance, please consider donating. Thank you for your support.