SQL Injection in WordPress
CVE-2022-21664
WordPress is a free and open-source content management system written in PHP and paired with a MariaDB database. Due to lack of proper sanitization in one of the classes, there's potential for unintended SQL queries to be executed. This has been patched in WordPress version 5.8.3. Older affected versions are also fixed via security release, that go back till 4.1.34. We strongly recommend that you keep auto-updates enabled. There are no known workarounds for this issue.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.4 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L.
EPSS exploit prediction
EPSS 0.037, 89.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- WordPress
- WordPress Wordpress-Develop — versions >= 4.1.33, < 5.8.3
- Debian Linux — versions 9.0, 10.0, 11.0
- Fedoraproject Fedora — versions 34, 35
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 6 other repositories (20142995/nuclei-templates, Afetter618/WordPress-PenTest, ARPSyndicate/cvemon, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- wordpress.org/news/2022/01/wordpress-5-8-3-security-release/ (Release Notes, Vendor Advisory)
- github.com/WordPress/wordpress-develop/security/advisories/GHSA-jp3p-gw8h-6x86 (Third Party Advisory)
- github.com/WordPress/wordpress-develop/commit/c09ccfbc547d75b392dbccc1ef0b4442c… (Third Party Advisory)
- DSA-5039 (vendor-advisory, Third Party Advisory)
- FEDORA-2022-8472dd59ff (vendor-advisory)
- FEDORA-2022-e37e1e6c7a (vendor-advisory)
- [debian-lts-announce] 20220123 [SECURITY] [DLA 2884-1] wordpress security update (mailing-list, Mailing List, Third Party Advisory)