CVE-2022-21661
HIGH7.5EPSS 90.4%SQL injection in WordPress
發布日:2022/1/6修改日:2026/5/27
描述
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.
受影響套件(5)
- Bitnami/wordpress>= 3.7.0, < 3.7.37, >= 3.8.0, < 3.8.37, >= 3.9.0, < 3.9.35, >= 4.0.0, < 4.0.34, >= 4.1.0, < 4.1.34, >= 4.2.0, < 4.2.31, >= 4.3.0, < 4.3.27, >= 4.4.0, < 4.4.26, >= 4.5.0, < 4.5.25, >= 4.6.0, < 4.6.22, >= 4.7.0, < 4.7.22, >= 4.8.0, < 4.8.18, >= 4.9.0, < 4.9.19, >= 5.0.0, < 5.0.15, >= 5.1.0, < 5.1.12, >= 5.2.0, < 5.2.14, >= 5.3.0, < 5.3.11, >= 5.4.0, < 5.4.9, >= 5.5.0, < 5.5.8, >= 5.6.0, < 5.6.7, >= 5.7.0, < 5.7.5, >= 5.8.0, < 5.8.3
- Bitnami/wordpress-multisite>= 3.7.0, < 3.7.37, >= 3.8.0, < 3.8.37, >= 3.9.0, < 3.9.35, >= 4.0.0, < 4.0.34, >= 4.1.0, < 4.1.34, >= 4.2.0, < 4.2.31, >= 4.3.0, < 4.3.27, >= 4.4.0, < 4.4.26, >= 4.5.0, < 4.5.25, >= 4.6.0, < 4.6.22, >= 4.7.0, < 4.7.22, >= 4.8.0, < 4.8.18, >= 4.9.0, < 4.9.19, >= 5.0.0, < 5.0.15, >= 5.1.0, < 5.1.12, >= 5.2.0, < 5.2.14, >= 5.3.0, < 5.3.11, >= 5.4.0, < 5.4.9, >= 5.5.0, < 5.5.8, >= 5.6.0, < 5.6.7, >= 5.7.0, < 5.7.5, >= 5.8.0, < 5.8.3
- Debian/wordpressfrom 0, < 5.7.5+dfsg1-0+deb11u1
- Debian/wordpressfrom 0, < 4.7.22+dfsg-0+deb9u1
- Debian/wordpressfrom 0, < 5.0.15+dfsg1-0+deb10u1
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
參考連結(13)
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2022-21661
- WEBhttp://packetstormsecurity.com/files/165540/WordPress-Core-5.8.2-SQL-Injection.html
- WEBhttps://github.com/WordPress/wordpress-develop/commit/17efac8c8ec64555eff5cf51a3eff81e06317214
- WEBhttps://github.com/WordPress/wordpress-develop/security/advisories/GHSA-6676-cqfm-gw84
- WEBhttps://lists.debian.org/debian-lts-announce/2022/01/msg00019.html
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CV4UNEC63UU5GEU47IIR4RMTZAHNEOJG/
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DM6XPH3JN6V4NF4WBOJTOXZIVE6VKKE3/
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2022-21661
- WEBhttps://wordpress.org/news/2022/01/wordpress-5-8-3-security-release/
- WEBhttps://www.debian.org/security/2022/dsa-5039
- WEBhttps://www.exploit-db.com/exploits/50663
- WEBhttps://www.vicarius.io/vsociety/posts/understanding-the-wordpress-sql-injection-vulnerability-cve-2022-21661
- WEBhttps://www.zerodayinitiative.com/advisories/ZDI-22-020/