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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-11972 PoC — WordPress plugin Hunk Companion 安全漏洞

Source
Associated Vulnerability
Title:WordPress plugin Hunk Companion 安全漏洞 (CVE-2024-11972)
Description:WordPress和WordPress plugin都是WordPress基金会的产品。WordPress是一套使用PHP语言开发的博客平台。该平台支持在PHP和MySQL的服务器上架设个人博客网站。WordPress plugin是一个应用插件。 WordPress plugin Hunk Companion 1.9.0之前版本存在安全漏洞,该漏洞源于未正确授权某些REST API端点,允许未认证的请求安装和激活来自WordPress.org存储库的任意Hunk Companion WordPress插
Description
Hunk Companion < 1.9.0 - Unauthenticated Plugin Installation
Readme
# CVE-2024-11972-PoC
Hunk Companion &lt; 1.9.0 - Unauthenticated Plugin Installation
# Description
The Hunk Companion WordPress plugin before 1.9.0 does not correctly authorize some REST API endpoints, allowing unauthenticated requests to install and activate arbitrary Hunk Companion WordPress plugin before 1.9.0 from the WordPress.org repo, including vulnerable Hunk Companion WordPress plugin before 1.9.0 that have been closed.


## Usage:
```
usage: CVE-2024-11972.py [-h] -u URL [-p PLUGIN]

Hunk Companion < 1.9.0 - Unauthenticated Plugin Installation

options:
  -h, --help            show this help message and exit
  -u URL, --url URL     Base URL of the WordPress site
  -p PLUGIN, --plugin PLUGIN
                        Plugin slug (default: Yoast SEO)
```
### example:
```
python CVE-2024-11972.py -u "http://example.com" -p "plugin-slug"
```
File Snapshot

[4.0K] /data/pocs/9174852cff051768fa8a526b08df3b6f74e9f2c7 ├── [3.6K] CVE-2024-11972.py └── [ 858] 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.