VDB
Sign up
MEDIUM6.1

GHSA-r7p7-qr7p-2rrf

Symfony Open Redirect

Quick fix

GHSA-r7p7-qr7p-2rrf — symfony/symfony: upgrade to the fixed version with the command below.

composer require symfony/symfony:^2.7.38

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Packagist/symfony/symfony
Introduced in: 2.7.0Fixed in: 2.7.38
Fixcomposer require symfony/symfony:^2.7.38
Packagist/symfony/symfony
Introduced in: 2.8.0Fixed in: 2.8.31
Fixcomposer require symfony/symfony:^2.8.31
Packagist/symfony/symfony
Introduced in: 3.2.0Fixed in: 3.2.14
Fixcomposer require symfony/symfony:^3.2.14
Packagist/symfony/symfony
Introduced in: 3.3.0Fixed in: 3.3.13
Fixcomposer require symfony/symfony:^3.3.13
Packagist/symfony/security-http
Introduced in: 2.7.0Fixed in: 2.7.38
Fixcomposer require symfony/security-http:^2.7.38
Packagist/symfony/security-http
Introduced in: 2.8.0Fixed in: 2.8.31
Fixcomposer require symfony/security-http:^2.8.31
Packagist/symfony/security-http
Introduced in: 3.2.0Fixed in: 3.2.14
Fixcomposer require symfony/security-http:^3.2.14
Packagist/symfony/security-http
Introduced in: 3.3.0Fixed in: 3.3.13
Fixcomposer require symfony/security-http:^3.3.13
Packagist/symfony/security
Introduced in: 2.7.0Fixed in: 2.7.38
Fixcomposer require symfony/security:^2.7.38
Packagist/symfony/security
Introduced in: 2.8.0Fixed in: 2.8.31
Fixcomposer require symfony/security:^2.8.31
Packagist/symfony/security
Introduced in: 3.2.0Fixed in: 3.2.14
Fixcomposer require symfony/security:^3.2.14
Packagist/symfony/security
Introduced in: 3.3.0Fixed in: 3.3.13
Fixcomposer require symfony/security:^3.3.13

References