Skip to content
Security advisoryCVE-2017-9303

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

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.

Moderate6.1Published Modified Original advisory

As published by the sources

Affected packages

  • illuminate/auth
    Affected>=5.3.0,<=5.3.31 || >=5.4.0,<5.4.22
    Fixed in5.4.22
  • Affected>=5.3.0,<=5.3.31 || >=5.4.0,<5.4.22
    Fixed in5.4.22
  • Affected>=5.4.0,<5.4.22
    Fixed in5.4.22

Derived from the fixed versions above

What to do

  1. Upgrade illuminate/auth to 5.4.22 or later.

    composer update illuminate/auth --with-dependencies
  2. Upgrade laravel/framework to 5.4.22 or later.

    composer update laravel/framework --with-dependencies
  3. Upgrade laravel/laravel to 5.4.22 or later.

    composer update laravel/laravel --with-dependencies

To see which version you have installed, run composer show vendor/package. Running composer audit lists the known advisories that match your installed versions.

Quoted from the original advisory

Details

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.

References

laravel.now is an independent community project. It is not affiliated with, endorsed by, sponsored by, or in any way officially connected to Laravel, Laravel LLC, Taylor Otwell, or the Laravel framework maintainers. Laravel is a trademark of Taylor Otwell. All other trademarks belong to their respective owners.

This site is operated by the makers of Lockhound. Links to Lockhound are promotional.