Bug 1793658 (CVE-2019-20043) - CVE-2019-20043 wordpress: 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
Summary: CVE-2019-20043 wordpress: authenticated users who do not have the rights to p...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2019-20043
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1793659 1793660
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-01-21 18:47 UTC by Guilherme de Almeida Suckevicz
Modified: 2021-10-28 05:23 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-28 05:23:18 UTC
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2020-01-21 18:47:38 UTC
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.

Reference:
https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-g7rg-hchx-c2gw

Upstream commit:
https://github.com/WordPress/wordpress-develop/commit/1d1d5be7aa94608c04516cac4238e8c22b93c1d9

Comment 1 Guilherme de Almeida Suckevicz 2020-01-21 18:49:43 UTC
Created wordpress tracking bugs for this issue:

Affects: epel-6 [bug 1793659]
Affects: epel-7 [bug 1793660]


Note You need to log in before you can comment on or make changes to this bug.