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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-12542 PoC — linkID <= 0.1.2 - Missing Authorization to Unauthenticated Sensitive Information Exposure

Source
Associated Vulnerability
Title:linkID <= 0.1.2 - Missing Authorization to Unauthenticated Sensitive Information Exposure (CVE-2024-12542)
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.
Readme


# 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

```

File Snapshot

[4.0K] /data/pocs/6afa4e72b9a5844ad23f2d903a91036f0cae814a ├── [2.3K] CVE-2024-12542.py └── [1.2K] README.md 0 directories, 2 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →