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.

Published at
2022-01-06
10 days ago
Modified
2022-01-14
2 days ago
2022
Year
The year of the turtle

https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-6676-cqfm-gw84

CONFIRM:https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-6676-cqfm-gw84

https://www.debian.org/security/2022/dsa-5039

DEBIAN:DSA-5039

http://packetstormsecurity.com/files/165540/WordPress-Core-5.8.2-SQL-Injection.html

MISC:http://packetstormsecurity.com/files/165540/WordPress-Core-5.8.2-SQL-Injection.html

https://www.exploit-db.com/exploits/50663

MISC:https://www.exploit-db.com/exploits/50663

https://www.zerodayinitiative.com/advisories/ZDI-22-020/

MISC:https://www.zerodayinitiative.com/advisories/ZDI-22-020/

https://github.com/WordPress/wordpress-develop/commit/17efac8c8ec64555eff5cf51a3eff81e06317214

MISC:https://github.com/WordPress/wordpress-develop/commit/17efac8c8ec64555eff5cf51a3eff81e06317214

https://wordpress.org/news/2022/01/wordpress-5-8-3-security-release/

MISC:https://wordpress.org/news/2022/01/wordpress-5-8-3-security-release/

Vulnerability RAW

{
	"Title": {
		"_text": "CVE-2022-21661"
	},
	"Notes": {
		"Note": [
			{
				"_text": "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."
			},
			{
				"_text": "2022-01-06"
			},
			{
				"_text": "2022-01-14"
			}
		]
	},
	"CVE": {
		"_text": "CVE-2022-21661"
	},
	"References": {
		"Reference": [
			{
				"URL": {
					"_text": "https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-6676-cqfm-gw84"
				},
				"Description": {
					"_text": "CONFIRM:https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-6676-cqfm-gw84"
				}
			},
			{
				"URL": {
					"_text": "https://www.debian.org/security/2022/dsa-5039"
				},
				"Description": {
					"_text": "DEBIAN:DSA-5039"
				}
			},
			{
				"URL": {
					"_text": "http://packetstormsecurity.com/files/165540/WordPress-Core-5.8.2-SQL-Injection.html"
				},
				"Description": {
					"_text": "MISC:http://packetstormsecurity.com/files/165540/WordPress-Core-5.8.2-SQL-Injection.html"
				}
			},
			{
				"URL": {
					"_text": "https://www.exploit-db.com/exploits/50663"
				},
				"Description": {
					"_text": "MISC:https://www.exploit-db.com/exploits/50663"
				}
			},
			{
				"URL": {
					"_text": "https://www.zerodayinitiative.com/advisories/ZDI-22-020/"
				},
				"Description": {
					"_text": "MISC:https://www.zerodayinitiative.com/advisories/ZDI-22-020/"
				}
			},
			{
				"URL": {
					"_text": "https://github.com/WordPress/wordpress-develop/commit/17efac8c8ec64555eff5cf51a3eff81e06317214"
				},
				"Description": {
					"_text": "MISC:https://github.com/WordPress/wordpress-develop/commit/17efac8c8ec64555eff5cf51a3eff81e06317214"
				}
			},
			{
				"URL": {
					"_text": "https://wordpress.org/news/2022/01/wordpress-5-8-3-security-release/"
				},
				"Description": {
					"_text": "MISC:https://wordpress.org/news/2022/01/wordpress-5-8-3-security-release/"
				}
			}
		]
	}
}