GitHub Advisoryadvisory · Packagist

GHSA-r7p7-qr7p-2rrf Symfony Open Redirect

MEDIUM Published 2022-05-14 Modified 2023-10-31 Official page ↗
Aliases
CVE-2017-16652
Ecosystem
Packagist
Packages
symfony/symfony, symfony/security-http, symfony/security
Severity
Moderate
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weaknesses
CWE-601
Reviewed
2023-07-26

Affected packages

• Packagist symfony/symfony: >= 2.7.0, < 2.7.38 → fixed in 2.7.38 • Packagist symfony/symfony: >= 2.8.0, < 2.8.31 → fixed in 2.8.31 • Packagist symfony/symfony: >= 3.2.0, < 3.2.14 → fixed in 3.2.14 • Packagist symfony/symfony: >= 3.3.0, < 3.3.13 → fixed in 3.3.13 • Packagist symfony/security-http: >= 2.7.0, < 2.7.38 → fixed in 2.7.38 • Packagist symfony/security-http: >= 2.8.0, < 2.8.31 → fixed in 2.8.31 • Packagist symfony/security-http: >= 3.2.0, < 3.2.14 → fixed in 3.2.14 • Packagist symfony/security-http: >= 3.3.0, < 3.3.13 → fixed in 3.3.13 • Packagist symfony/security: >= 2.7.0, < 2.7.38 → fixed in 2.7.38 • Packagist symfony/security: >= 2.8.0, < 2.8.31 → fixed in 2.8.31 • Packagist symfony/security: >= 3.2.0, < 3.2.14 → fixed in 3.2.14 • Packagist symfony/security: >= 3.3.0, < 3.3.13 → fixed in 3.3.13

Description

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.

Related

Alias · CVE (1)

  • CVE-2017-16652 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. vulnerability

Weakness · CWE (1)

  • CWE-601 URL Redirection to Untrusted Site weakness

References