Bug 1848697 (CVE-2020-4050) - CVE-2020-4050 wordpress: set-screen-option filter misuse by plugins leads to privilege escalation
Summary: CVE-2020-4050 wordpress: set-screen-option filter misuse by plugins leads to ...
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2020-4050
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: 1848698 1848699
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-06-18 18:27 UTC by Guilherme de Almeida Suckevicz
Modified: 2020-06-18 23:20 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-06-18 23:20:39 UTC
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2020-06-18 18:27:05 UTC
In affected versions of WordPress, misuse of the `set-screen-option` filter's return value allows arbitrary user meta fields to be saved. It does require an admin to install a plugin that would misuse the filter. Once installed, it can be leveraged by low privileged users. This has been patched in version 5.4.2, along with all the previously affected versions via a minor release (5.3.4, 5.2.7, 5.1.6, 5.0.10, 4.9.15, 4.8.14, 4.7.18, 4.6.19, 4.5.22, 4.4.23, 4.3.24, 4.2.28, 4.1.31, 4.0.31, 3.9.32, 3.8.34, 3.7.34).

Reference:
https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-4vpv-fgg2-gcqc

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

Comment 1 Guilherme de Almeida Suckevicz 2020-06-18 18:27:23 UTC
Created wordpress tracking bugs for this issue:

Affects: epel-all [bug 1848699]
Affects: fedora-all [bug 1848698]

Comment 2 Product Security DevOps Team 2020-06-18 23:20:39 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.


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