CVE-2017-16652Sensiolabs Symfony
Medium 6.1 No auth needed
Follow: this CVE · Sensiolabs · Sensiolabs Symfony We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.0
- 6.1
- EPSS
- 0.8% probability of exploitation in 30 days · percentile 51
- Auth required
- No
- Published
- Jun 13, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-601
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Symfony.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | symfony/security |
≥ 2.7.0 < 2.7.38 |
2.7.38 |
composer require "symfony/security:^2.7.38" |
| Packagist | symfony/security |
≥ 2.8.0 < 2.8.31 |
2.8.31 |
composer require "symfony/security:^2.8.31" |
| Packagist | symfony/security |
≥ 3.2.0 < 3.2.14 |
3.2.14 |
composer require "symfony/security:^3.2.14" |
| Packagist | symfony/security |
≥ 3.3.0 < 3.3.13 |
3.3.13 |
composer require "symfony/security:^3.3.13" |
| Packagist | symfony/security-http |
≥ 2.7.0 < 2.7.38 |
2.7.38 |
composer require "symfony/security-http:^2.7.38" |
| Packagist | symfony/security-http |
≥ 2.8.0 < 2.8.31 |
2.8.31 |
composer require "symfony/security-http:^2.8.31" |
| Packagist | symfony/security-http |
≥ 3.2.0 < 3.2.14 |
3.2.14 |
composer require "symfony/security-http:^3.2.14" |
| Packagist | symfony/security-http |
≥ 3.3.0 < 3.3.13 |
3.3.13 |
composer require "symfony/security-http:^3.3.13" |
| Packagist | symfony/symfony |
≥ 2.7.0 < 2.7.38 |
2.7.38 |
composer require "symfony/symfony:^2.7.38" |
| Packagist | symfony/symfony |
≥ 2.8.0 < 2.8.31 |
2.8.31 |
composer require "symfony/symfony:^2.8.31" |
| Packagist | symfony/symfony |
≥ 3.2.0 < 3.2.14 |
3.2.14 |
composer require "symfony/symfony:^3.2.14" |
| Packagist | symfony/symfony |
≥ 3.3.0 < 3.3.13 |
3.3.13 |
composer require "symfony/symfony:^3.3.13" |
Per OSV / GitHub Advisories (GHSA-r7p7-qr7p-2rrf). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| sensiolabs | symfony | > 2.7.0 < 2.7.38 |
| sensiolabs | symfony | > 2.8.0 < 2.8.31 |
| sensiolabs | symfony | > 3.2.0 < 3.2.14 |
| sensiolabs | symfony | ≥ 3.3.0 < 3.3.13 |
| debian | debian_linux | 8.0 |
Official sources
References
Links published by the sources. Open them with care.
- lists.debian.org Third Party Advisory
- symfony.com Vendor Advisory