Vulnerabilities · 2022 · Wordpress
CVE-2022-21661
Wordpress vulnerability
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.
Affected products
Wordpress, Fedora, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Wordpress runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- wordpress.org/news/2022/01/wordpress-5-8-3-security-release/ · Vendor Advisory
- github.com/WordPress/wordpress-develop/commit/17efac8c8ec64555eff5cf51a3eff81e06317214 · Patch
- packetstormsecurity.com/files/165540/WordPress-Core-5.8.2-SQL-Injection.html · Exploit
- github.com/WordPress/wordpress-develop/security/advisories/GHSA-6676-cqfm-gw84 · Third Party Advisory
- lists.debian.org/debian-lts-announce/2022/01/msg00019.html · Third Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/C · Third Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/D · Third Party Advisory
- www.debian.org/security/2022/dsa-5039 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2022-21661
- cve.org/CVERecord?id=CVE-2022-21661
More vulnerabilities in Wordpress products
CVE-2024-31211CVE-2024-31210CVE-2024-8914CVE-2024-4439CVE-2023-39999CVE-2023-38000CVE-2023-22622CVE-2023-5561All 407
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.