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...
Medium CVSS 4.3
- CVE id
- CVE-2019-20043
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| WordPress Runtimes and servers |
>= 3.7, < 5.3.1 | 5.3.1 |
How to fix it
Upgrade WordPress to 5.3.1 or later.
wp core version
- Update WordPress core to the patched release (Dashboard > Updates, wp core update, or the wordpress image tag).
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
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.
References
- CVE-2019-20043 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2019-20043
- Web: https://core.trac.wordpress.org/changeset/46893/trunk
- Web: https://github.com/WordPress/wordpress-develop/commit/1d1d5be7aa94608c04516cac4238e8c22b93c1d9
- Web: https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-g7rg-hchx-c2gw
- Web: https://seclists.org/bugtraq/2020/Jan/8
- Web: https://wordpress.org/news/2019/12/wordpress-5-3-1-security-and-maintenance-release/
- Web: https://wpvulndb.com/vulnerabilities/9973
- Web: https://www.debian.org/security/2020/dsa-4599
- Web: https://www.debian.org/security/2020/dsa-4677
- Web: https://core.trac.wordpress.org/changeset/46893/trunk
- Web: https://github.com/WordPress/wordpress-develop/commit/1d1d5be7aa94608c04516cac4238e8c22b93c1d9
- Web: https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-g7rg-hchx-c2gw
- Web: https://seclists.org/bugtraq/2020/Jan/8
- Web: https://wordpress.org/news/2019/12/wordpress-5-3-1-security-and-maintenance-release/
- Web: https://wpvulndb.com/vulnerabilities/9973
- Web: https://www.debian.org/security/2020/dsa-4599
- Web: https://www.debian.org/security/2020/dsa-4677
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.