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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2024-12542 PoC — WordPress plugin linkID 安全漏洞

来源
关联漏洞
标题: WordPress plugin linkID 安全漏洞 (CVE-2024-12542)
Description:WordPress和WordPress plugin都是WordPress基金会的产品。WordPress是一套使用PHP语言开发的博客平台。该平台支持在PHP和MySQL的服务器上架设个人博客网站。WordPress plugin是一个应用插件。 WordPress plugin linkID 0.1.2版本及之前版本存在安全漏洞,该漏洞源于phpinfo函数缺少能力检查导致未经授权访问数据。
介绍


# CVE-2024-12542-PoC
Missing Authorization to Unauthenticated Sensitive Information Exposure

## Vulnerability Description

The `linkID` plugin for WordPress is vulnerable to unauthorized access of data due to a missing capability check when including the `phpinfo` function in all versions up to, and including, 0.1.2. This makes it possible for unauthenticated attackers to read configuration settings and predefined variables on the site's server. The plugin does not need to be activated for the vulnerability to be exploited.

## Script Explanation

1. **Disable SSL Verification**: Disables SSL warnings and verification.
2. **Logging Function**: Prints and writes messages to `output.txt`.
3. **Version Check**: Fetches the `readme.txt` file, checks the version. If <= 0.1.2, logs vulnerability and fetches PHP info.
4. **Fetch PHP Info**: Retrieves and saves PHP info to `phpinfo.php`.
5. **Main Function**: Parses URL input, opens `output.txt`, and checks the version.

### Usage:
```
usage: CVE-2024-12542.py [-h] -u URL

Check WordPress plugin version and fetch PHP info.

options:
  -h, --help         show this help message and exit
  -u URL, --url URL  Base URL of the WordPress site

```

文件快照

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

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