CVE-2017-9303 Laravel does not properly constrain the host portion of a password-reset URL

Medium 6.1 Published Updated

Attackers can manipulate password-reset URLs to redirect users to malicious hosts, facilitating phishing attacks against Laravel applications.

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

What is CVE-2017-9303?

CVE-2017-9303 is a medium-severity vulnerability in n/a, published on 29 May 2017. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Laravel 5.4.x before 5.4.22 does not properly constrain the host portion of a password-reset URL, which makes it easier for remote attackers to conduct phishing attacks by specifying an attacker-controlled host.

Weakness: CWE-20

Which versions are affected by CVE-2017-9303?

10 open source packages ship an affected version, including illuminate/auth, laravel/framework and laravel/laravel. It affects 1 product.

PackageAffectedFixed in
illuminate/auth PackagistFrom 5.3.0 to 5.3.31None
illuminate/auth PackagistFrom 5.3.0 to 5.3.31None
illuminate/auth PackagistFrom 5.4.05.4.22
illuminate/auth PackagistFrom 5.4.05.4.22
laravel/framework PackagistFrom 5.3.0 to 5.3.31None
laravel/framework PackagistFrom 5.3.0 to 5.3.31None
4 more packages
laravel/framework PackagistFrom 5.4.05.4.22
laravel/framework PackagistFrom 5.4.05.4.22
laravel/laravel PackagistFrom 5.4.05.4.22
laravel/laravel PackagistFrom 5.4.05.4.22

Products include Laravel Laravel.

How do I fix CVE-2017-9303?

Upgrade illuminate/auth to 5.4.22 or later.

Is CVE-2017-9303 being exploited?

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

Sources

Also known as GHSA-rc8x-jrrc-frfv.

Is CVE-2017-9303 in your software?

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

Check your SBOMs for free