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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2018-19207 PoC — WordPress Van Ons WP GDPR Compliance插件安全漏洞

Source
Associated Vulnerability
Title:WordPress Van Ons WP GDPR Compliance插件安全漏洞 (CVE-2018-19207)
Description:WordPress是WordPress软件基金会的一套使用PHP语言开发的博客平台,该平台支持在PHP和MySQL的服务器上架设个人博客网站。Van Ons WP GDPR Compliance plugin是使用在其中的一个数据收集插件。 WordPress Van Ons WP GDPR Compliance插件1.4.3之前版本中存在安全漏洞,该漏洞源于程序没有正确的处理‘$wpdb->prepare()’函数的输入。攻击者可利用该漏洞执行任意代码。
Description
Exploit of the privilege escalation vulnerability of the WordPress plugin "WP GDPR Compliance" by "Van Ons" (https://de.wordpress.org/plugins/wp-gdpr-compliance/) CVE-2018-19207
Readme
# Exploit of Vulnerability CVE-2018-19207 in WP GDPR Compliance Plugin (WordPress)
This python script creates a user with role admin. Change the varbiables baseurl, username, email for your specific case. A working email is needed, because an email is sent to this adress in order to setup a password for the newly created user account.
It works for WP GDPR Compliance plugin in version <=1.4.2.
**Do only use this script on your own sites or when you have permission to do so (e.g. in a legal pentest).**

## Requirements
This script is written in Python 2.7. It is not tested or made to work in Python 3.

This script uses the requests package in python. It can be installed by running

```
pip install requests
```


File Snapshot

[4.0K] /data/pocs/269ea786ce042dcc349a6f7aa84073cc4323cf7d ├── [ 720] README.md └── [2.4K] wp_gdpr_compliance_exploit.py 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.