CVE-2020-4048 Open redirect in wp_validate_redirect() in WordPress

Medium 5.7 Published Updated

An attacker can craft a link that redirects users to an arbitrary external site, potentially facilitating phishing attacks against WordPress users.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2020-4048?

CVE-2020-4048 is a medium-severity vulnerability in Debian Debian Linux, published on 12 Jun 2020. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

In affected versions of WordPress, due to an issue in wp_validate_redirect() and URL sanitization, an arbitrary external link can be crafted leading to unintended/open redirect when clicked. 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).

Weakness: CWE-601

Which versions are affected by CVE-2020-4048?

2 open source packages ship an affected version, including wordpress and wordpress-multisite. It affects 3 products.

PackageAffectedFixed in
wordpress BitnamiFrom 3.7.03.7.34, 3.8.34, 3.9.32, 4.0.31, 4.1.31, 4.2.28, 4.3.24, 4.4.23, 4.5.22, 4.6.19, 4.7.18, 4.8.14, 4.9.15, 5.0.10, 5.1.6, 5.2.7, 5.3.4, 5.4.2
wordpress-multisite BitnamiFrom 3.7.03.7.34, 3.8.34, 3.9.32, 4.0.31, 4.1.31, 4.2.28, 4.3.24, 4.4.23, 4.5.22, 4.6.19, 4.7.18, 4.8.14, 4.9.15, 5.0.10, 5.1.6, 5.2.7, 5.3.4, 5.4.2

Products include Debian Debian Linux, Fedoraproject Fedora, Wordpress Wordpress.

How do I fix CVE-2020-4048?

Upgrade wordpress to a fixed version for your release line: 3.7.34, 3.8.34, 3.9.32 or 4.0.31.

Is CVE-2020-4048 being exploited?

There is no known exploitation of CVE-2020-4048 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as BIT-wordpress-2020-4048, BIT-wordpress-multisite-2020-4048, DEBIAN-CVE-2020-4048, GHSA-q6pw-gvf4-5fj5, UBUNTU-CVE-2020-4048.

Is CVE-2020-4048 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free