Advisory
GHSA-r7p7-qr7p-2rrf
Also known as: CVE-2017-16652
Summary
Symfony Open Redirect
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.
Severity
Medium Basis: The source's own band: MODERATE
Dates
- Published
- 2022-05-14 01:21 UTC
- Modified
- 2024-02-16 08:16 UTC
Affected packages and fixes
| Package | Affected | Fix |
|---|---|---|
| symfony/symfony | introduced 2.7.0, fixed 2.7.38 | The export has no generic command for this ecosystem. |
| symfony/symfony | introduced 2.8.0, fixed 2.8.31 | The export has no generic command for this ecosystem. |
| symfony/symfony | introduced 3.2.0, fixed 3.2.14 | The export has no generic command for this ecosystem. |
| symfony/symfony | introduced 3.3.0, fixed 3.3.13 | The export has no generic command for this ecosystem. |
| symfony/security-http | introduced 2.7.0, fixed 2.7.38 | The export has no generic command for this ecosystem. |
| symfony/security-http | introduced 2.8.0, fixed 2.8.31 | The export has no generic command for this ecosystem. |
| symfony/security-http | introduced 3.2.0, fixed 3.2.14 | The export has no generic command for this ecosystem. |
| symfony/security-http | introduced 3.3.0, fixed 3.3.13 | The export has no generic command for this ecosystem. |
| symfony/security | introduced 2.7.0, fixed 2.7.38 | The export has no generic command for this ecosystem. |
| symfony/security | introduced 2.8.0, fixed 2.8.31 | The export has no generic command for this ecosystem. |
| symfony/security | introduced 3.2.0, fixed 3.2.14 | The export has no generic command for this ecosystem. |
| symfony/security | introduced 3.3.0, fixed 3.3.13 | The export has no generic command for this ecosystem. |
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Links
- https://nvd.nist.gov/vuln/detail/CVE-2017-16652
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-http/CVE-2017-16652.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security/CVE-2017-16652.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2017-16652.yaml
- https://github.com/symfony/symfony
- https://lists.debian.org/debian-lts-announce/2019/03/msg00009.html
- https://symfony.com/blog/cve-2017-16652-open-redirect-vulnerability-on-security-handlers
- https://symfony.com/cve-2017-16652
Source
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0