CVE-2017-9303 Laravel does not properly constrain the host portion of a password-reset URL
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.
| Package | Affected | Fixed in |
|---|---|---|
illuminate/auth Packagist | From 5.3.0 to 5.3.31 | None |
illuminate/auth Packagist | From 5.3.0 to 5.3.31 | None |
illuminate/auth Packagist | From 5.4.0 | 5.4.22 |
illuminate/auth Packagist | From 5.4.0 | 5.4.22 |
laravel/framework Packagist | From 5.3.0 to 5.3.31 | None |
laravel/framework Packagist | From 5.3.0 to 5.3.31 | None |
4 more packages
laravel/framework Packagist | From 5.4.0 | 5.4.22 |
laravel/framework Packagist | From 5.4.0 | 5.4.22 |
laravel/laravel Packagist | From 5.4.0 | 5.4.22 |
laravel/laravel Packagist | From 5.4.0 | 5.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.
Other vulnerabilities in n/a
Sources
Also known as GHSA-rc8x-jrrc-frfv.