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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-7135 PoC — WordPress plugin Tainacan 安全漏洞

Source
Associated Vulnerability
Title:WordPress plugin Tainacan 安全漏洞 (CVE-2024-7135)
Description:WordPress和WordPress plugin都是WordPress基金会的产品。WordPress是一套使用PHP语言开发的博客平台。该平台支持在PHP和MySQL的服务器上架设个人博客网站。WordPress plugin是一个应用插件。 WordPress plugin Tainacan 0.21.7版本及之前版本存在安全漏洞,该漏洞源于缺少对“get_file”函数的功能检查。攻击者利用该漏洞可以读取服务器上任意文件的内容。
Readme
# CVE-2024-7135
The Tainacan plugin for WordPress is vulnerable to unauthorized access of data due to a missing capability check on the 'get_file' function in all versions up to, and including, 0.21.7. The function is also vulnerable to directory traversal. This makes it possible for authenticated attackers, with Subscriber-level access and above, to read the contents of arbitrary files on the server, which can contain sensitive information.

# usage
```
WordPress CVE-2024-7135 Wordpress Tainacan 0.21.7 Arbitrary File Read



options:
  -h, --help            show this help message and exit
  -u URL, --url URL     Base URL of the WordPress site
  -usr USERNAME, --username USERNAME
                        WordPress username
  -p PASSWORD, --password PASSWORD
                        WordPress password
  -f FILE, --file FILE  File path to include in the nonce URL (default: wp-config.php)
```
# pip 
```
pip install requests
pip install beautifulsoup4


```

This script is provided for educational purposes only. The author is not responsible for any damages caused by the misuse of this script.

File Snapshot

[4.0K] /data/pocs/dfe6fd046a7d74b37dca63c96766ccc984ba2906 ├── [3.3K] CVE-2024-7135.py └── [1.1K] 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. 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.