Open redirect in Symfony - CVE-2017-16652

 

Open redirect in Symfony - CVE-2017-16652

Published: June 13, 2018 / Updated: July 17, 2020


Vulnerability identifier: #VU31280
CSH Severity: Low
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2017-16652
CWE-ID: CWE-601
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to read and manipulate data.

An issue was discovered in Symfony 2.7.x before 2.7.38, 2.8.x before 2.8.31, 3.2.x before 3.2.14, and 3.3.x before 3.3.13. DefaultAuthenticationSuccessHandler or DefaultAuthenticationFailureHandler takes the content of the _target_path parameter and generates a redirect response, but no check is performed on the path, which could be an absolute URL to an external domain. This Open redirect vulnerability can be exploited for example to mount effective phishing attacks.


Affected software

Symfony
Fedora
php-symfony
php-symfony3
php-symfony4

How to mitigate CVE-2017-16652

Install update from vendor's website.

Symfony - update to 3.3.13
php-symfony - update to 2.8.42-1.fc27
php-symfony3 - update to 3.3.17-1.fc27
php-symfony4 - update to 4.0.1-1.fc27

External References

Related Security Bulletins