Improper authentication in Symfony - CVE-2019-10911

 

Improper authentication in Symfony - CVE-2019-10911

Published: April 17, 2019


Vulnerability identifier: #VU18298
CSH Severity: Medium
CVSS v4: 7.7 [CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-10911
CWE-ID: CWE-287
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The disclosed vulnerability allows a remote attacker to bypass authentication process.

The vulnerability exists due to the way application handles values within HTTP cookies, related to session expiration time and username. A remote attacker can modify the remember me cookie value and authenticate as a different user.

This attack is only possible if remember me functionality is enabled and the two users share a password hash or the password hashes (e.g. UserInterface::getPassword()) are null for all users (which is valid if passwords are checked by an external system, e.g. an SSO).

Affected software

Symfony
Drupal
symfony (Debian package)
php-symfony
php-symfony3
php-symfony4
drupal8
Fedora

How to mitigate CVE-2019-10911

Install updates from vendor's website.

Symfony - addressed in versions 2.7.51, 2.8.50, 3.4.26, 4.1.12, 4.2.7
symfony (Debian package) - update to 2.8.7+dfsg-1.3+deb9u2
Drupal - addressed in versions 8.5.15, 8.6.15
php-symfony - addressed in versions 2.8.51-1.fc28, 2.8.51-1.fc29, 2.8.51-1.fc30
php-symfony3 - addressed in versions 3.4.26-1.fc28, 3.4.26-1.fc29, 3.4.26-1.fc30
php-symfony4 - addressed in versions 4.1.12-1.fc29, 4.2.7-2.fc30
drupal8 - addressed in versions 8.6.15-1.fc28, 8.6.15-1.fc29, 8.6.15-1.fc30

External References

Related Security Bulletins