ADVISORIES

GitHub Advisory Database

GHSA-r7p7-qr7p-2rrf

Symfony Open Redirect

Moderate CVE-2017-16652

Details

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 packages

EcosystemPackageAffected versions
Packagistsymfony/symfony
From 2.7.0 before 2.7.38 (fixed in 2.7.38)
Packagistsymfony/symfony
From 2.8.0 before 2.8.31 (fixed in 2.8.31)
Packagistsymfony/symfony
From 3.2.0 before 3.2.14 (fixed in 3.2.14)
Packagistsymfony/symfony
From 3.3.0 before 3.3.13 (fixed in 3.3.13)
Packagistsymfony/security-http
From 2.7.0 before 2.7.38 (fixed in 2.7.38)
Packagistsymfony/security-http
From 2.8.0 before 2.8.31 (fixed in 2.8.31)
Packagistsymfony/security-http
From 3.2.0 before 3.2.14 (fixed in 3.2.14)
Packagistsymfony/security-http
From 3.3.0 before 3.3.13 (fixed in 3.3.13)
Packagistsymfony/security
From 2.7.0 before 2.7.38 (fixed in 2.7.38)
Packagistsymfony/security
From 2.8.0 before 2.8.31 (fixed in 2.8.31)
Packagistsymfony/security
From 3.2.0 before 3.2.14 (fixed in 3.2.14)
Packagistsymfony/security
From 3.3.0 before 3.3.13 (fixed in 3.3.13)

References