Privilege escalation in WordPress
CVE-2019-20043
In in wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php in WordPress 3.7 to 5.3.0, authenticated users who do not have the rights to publish a post are able to mark posts as sticky or unsticky via the REST API. For example, the contributor role does not have such rights, but this allowed them to bypass that. This has been patched in WordPress 5.3.1, along with all the previous WordPress versions from 3.7 to 5.3 via a minor release.
Vulnerability class: Privilege Escalation
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N.
EPSS exploit prediction
EPSS 0.025, 84.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- WordPress
- Debian Linux — versions 9.0, 10.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 8 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
- wpvulndb.com/vulnerabilities/9973 (Third Party Advisory, Release Notes)
- wordpress.org/news/2019/12/wordpress-5-3-1-security-and-maintenance-release/ (Release Notes, Vendor Advisory)
- core.trac.wordpress.org/changeset/46893/trunk (Patch)
- github.com/WordPress/wordpress-develop/commit/1d1d5be7aa94608c04516cac4238e8c22… (Third Party Advisory)
- 20200108 [SECURITY] [DSA 4599-1] wordpress security update (mailing-list, Mailing List, Third Party Advisory)
- DSA-4599 (vendor-advisory, Third Party Advisory)
- github.com/WordPress/wordpress-develop/security/advisories/GHSA-g7rg-hchx-c2gw (Third Party Advisory)
- DSA-4677 (vendor-advisory, Third Party Advisory)