MEDIUM6.1
GHSA-rc8x-jrrc-frfv
Laravel does not properly constrain the host portion of a password-reset URL
Quick fix
GHSA-rc8x-jrrc-frfv — laravel/laravel: upgrade to the fixed version with the command below.
composer require laravel/laravel:^5.4.22Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/laravel/laravel
Introduced in:
5.4.0Fixed in: 5.4.22Fix
composer require laravel/laravel:^5.4.22Packagist/illuminate/auth
Introduced in:
5.3.0No fixed version published yet for illuminate/auth (composer). Pin to a known-safe version or switch to an alternative.
Packagist/illuminate/auth
Introduced in:
5.4.0Fixed in: 5.4.22Fix
composer require illuminate/auth:^5.4.22Packagist/laravel/framework
Introduced in:
5.3.0No fixed version published yet for laravel/framework (composer). Pin to a known-safe version or switch to an alternative.
Packagist/laravel/framework
Introduced in:
5.4.0Fixed in: 5.4.22Fix
composer require laravel/framework:^5.4.22References
- https://nvd.nist.gov/vuln/detail/CVE-2017-9303[ADVISORY]
- https://github.com/laravel/framework/commit/cef10551820530632a86fa6f1306fee95c5cac43[WEB]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/illuminate/auth/CVE-2017-9303.yaml[WEB]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/laravel/framework/CVE-2017-9303.yaml[WEB]
- https://laravel-news.com/laravel-5-4-22-is-now-released-and-includes-a-security-fix[WEB]
- https://laravel.com/docs/5.4/releases#laravel-5.4.22[WEB]
- https://web.archive.org/web/20171021180417/http://www.securityfocus.com/bid/98776[WEB]
- http://www.securityfocus.com/bid/98776[WEB]