GitHub Advisoryadvisory · Packagist
GHSA-r7p7-qr7p-2rrf Symfony Open Redirect
MEDIUM
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
- https://nvd.nist.gov/vuln/detail/CVE-2017-16652 advisory
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-http/CVE-2017-16652.yaml web
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security/CVE-2017-16652.yaml web
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2017-16652.yaml web
- https://github.com/symfony/symfony package
- https://lists.debian.org/debian-lts-announce/2019/03/msg00009.html web
- https://symfony.com/blog/cve-2017-16652-open-redirect-vulnerability-on-security-handlers web
- https://symfony.com/cve-2017-16652 web