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
WordPress Core 5.8.2 - 'WP_Query' SQL Injection
Readme
# CVE-2022-21661 WordPress-Core-5.8.2-WP_Query-SQL-Injection

![alt text](https://github.com/TAPESH-TEAM/CVE-2022-21661-WordPress-Core-5.8.2-WP_Query-SQL-Injection/blob/main/photo_2022-01-14_13-44-44.jpg)

# Exploit WordPress Core 5.8.2 - 'WP_Query' SQL Injection


Description:

WordPress is a free and open-source content management system written in PHP and paired with a MariaDB database. Due to improper sanitization in WP_Query, there can be cases where SQL injection is possible through plugins or themes that use it in a certain way. This has been patched in WordPress version 5.8.3. Older affected versions are also fixed via security release, that go back till 3.7.37. We strongly recommend that you keep auto-updates enabled. There are no known workarounds for this vulnerability.


References :

Note: References are provided for the convenience of the reader to help distinguish between vulnerabilities. The list is not intended to be complete.

CONFIRM:https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-6676-cqfm-gw84
URL:https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-6676-cqfm-gw84
DEBIAN:DSA-5039
URL:https://www.debian.org/security/2022/dsa-5039
FEDORA:FEDORA-2022-8472dd59ff
URL:https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DM6XPH3JN6V4NF4WBOJTOXZIVE6VKKE3
FEDORA:FEDORA-2022-e37e1e6c7a
URL:https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CV4UNEC63UU5GEU47IIR4RMTZAHNEOJG/
MISC:http://packetstormsecurity.com/files/165540/WordPress-Core-5.8.2-SQL-Injection.html
MISC:https://www.exploit-db.com/exploits/50663
MISC:https://www.zerodayinitiative.com/advisories/ZDI-22-020/
MISC:https://github.com/WordPress/wordpress-develop/commit/17efac8c8ec64555eff5cf51a3eff81e06317214
URL:https://github.com/WordPress/wordpress-develop/commit/17efac8c8ec64555eff5cf51a3eff81e06317214
MISC:https://wordpress.org/news/2022/01/wordpress-5-8-3-security-release/
URL:https://wordpress.org/news/2022/01/wordpress-5-8-3-security-release/

File Snapshot

[4.0K] /data/pocs/8a8ead1973aed1348e6fa63feb46efc4543bff4a ├── [1.6K] Exploit.txt ├── [ 27K] photo_2022-01-14_13-44-44.jpg └── [2.0K] README.md 0 directories, 3 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.