+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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
FEDORA:FEDORA-2022-e37e1e6c7a
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/
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#Exploit Author: Aryan Chehreghani