Vulnerability Details : CVE-2022-21661
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.
Vulnerability category: Sql Injection
Products affected by CVE-2022-21661
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
- cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
- cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
- cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
Threat overview for CVE-2022-21661
Top countries where our scanners detected CVE-2022-21661
Top open port discovered on systems with this issue
80
IPs affected by CVE-2022-21661 15
Threat actors abusing to this issue?
Yes
Find out if you* are
affected by CVE-2022-21661!
*Directly or indirectly through your vendors, service providers and 3rd parties.
Powered by
attack surface intelligence
from SecurityScorecard.
Exploit prediction scoring system (EPSS) score for CVE-2022-21661
91.46%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 99 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-21661
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.0
|
MEDIUM | AV:N/AC:L/Au:N/C:P/I:N/A:N |
10.0
|
2.9
|
NIST | |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
3.9
|
3.6
|
NIST | |
8.0
|
HIGH | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H |
1.3
|
6.0
|
GitHub, Inc. |
CWE ids for CVE-2022-21661
-
The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.Assigned by:
- nvd@nist.gov (Primary)
- security-advisories@github.com (Secondary)
References for CVE-2022-21661
-
https://www.zerodayinitiative.com/advisories/ZDI-22-020/
ZDI-22-020 | Zero Day InitiativeThird Party Advisory;VDB Entry
-
https://lists.debian.org/debian-lts-announce/2022/01/msg00019.html
[SECURITY] [DLA 2884-1] wordpress security updateMailing List;Third Party Advisory
-
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DM6XPH3JN6V4NF4WBOJTOXZIVE6VKKE3/
[SECURITY] Fedora 35 Update: wordpress-5.8.3-1.fc35 - package-announce - Fedora Mailing-ListsThird Party Advisory
-
https://www.debian.org/security/2022/dsa-5039
Debian -- Security Information -- DSA-5039-1 wordpressThird Party Advisory
-
http://packetstormsecurity.com/files/165540/WordPress-Core-5.8.2-SQL-Injection.html
WordPress Core 5.8.2 SQL Injection ≈ Packet StormExploit;Third Party Advisory;VDB Entry
-
https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-6676-cqfm-gw84
WordPress: SQL Injection through WP_Query · Advisory · WordPress/wordpress-develop · GitHubThird Party Advisory
-
https://github.com/WordPress/wordpress-develop/commit/17efac8c8ec64555eff5cf51a3eff81e06317214
Query: Improve sanitization within `WP_Tax_Query`. · WordPress/wordpress-develop@17efac8 · GitHubPatch;Third Party Advisory
-
https://wordpress.org/news/2022/01/wordpress-5-8-3-security-release/
News – WordPress 5.8.3 Security Release – WordPress.orgRelease Notes;Vendor Advisory
-
https://www.exploit-db.com/exploits/50663
WordPress Core 5.8.2 - 'WP_Query' SQL Injection - PHP webapps ExploitExploit;Third Party Advisory;VDB Entry
-
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CV4UNEC63UU5GEU47IIR4RMTZAHNEOJG/
[SECURITY] Fedora 34 Update: wordpress-5.8.3-1.fc34 - package-announce - Fedora Mailing-ListsThird Party Advisory
Jump to