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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2022-21661 PoC — WordPress plugin SQL注入漏洞

Source
Associated Vulnerability
Title:WordPress plugin SQL注入漏洞 (CVE-2022-21661)
Description:WordPress是Wordpress基金会的一套使用PHP语言开发的博客平台。该平台支持在PHP和MySQL的服务器上架设个人博客网站。WordPress plugin是WordPress开源的一个应用插件。 WordPress plugin 存在SQL注入漏洞,该漏洞源于WP_查询中的不正确清理。攻击者可利用该漏洞执行SQL注入攻击。
Description
A Python PoC of CVE-2022-21661, inspired from z92g's Go PoC
Readme
# CVE-2022-21661-PoC
A Python PoC of CVE-2022-21661, inspired from [z92g's Go PoC](https://github.com/z92g/CVE-2022-21661)


## Installation
```
pip3 install -r requirements.txt
```

## Usage
```
usage: main.py [-h] [-u URL] [-f FILE]

Identify CEV-2022-21661 in Wordpress instances.

options:
  -h, --help            show this help message and exit
  -u URL, --url URL     A single URL to check.
  -f FILE, --file FILE  A list of URLs to check.

by sealldeveloper
```

### Examples
```
python3 main.py -u https://example.com
```

or

```
python3 main.py -f urls.txt
```
File Snapshot

[4.0K] /data/pocs/4126b220185411514fc5b3cdf0a3b6ae5e3d4adb ├── [1.0K] LICENSE ├── [4.9K] main.py ├── [ 571] README.md └── [ 17] requirements.txt 0 directories, 4 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.