Skip to content
OpenAdvisories
Medium · 6.1 CVE-2018-19790 EUVD-2022-3158GHSA-89r2-5g34-2g47

Symfony Open Redirect

Published Dec 18, 2018 · Updated Aug 5, 2024 · Assigned by mitre

Description

An open redirect was discovered in Symfony 2.7.x before 2.7.50, 2.8.x before 2.8.49, 3.x before 3.4.20, 4.0.x before 4.0.15, 4.1.x before 4.1.9 and 4.2.x before 4.2.1. By using backslashes in the `_failure_path` input field of login forms, an attacker can work around the redirection target restrictions and effectively redirect the user to any domain after login.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 symfony 3.4.20+dfsg-1 —
Debian 13 symfony 3.4.20+dfsg-1 —
Debian 12 symfony 3.4.20+dfsg-1 —
Debian 9 symfony 2.8.7+dfsg-1.3+deb9u2 DSA-4441-1
Debian 8 symfony 2.3.21+dfsg-4+deb8u4 DLA-1707-1
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS symfony No fix yet —
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS symfony No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist symfony/security >= 2.7.38, < 2.7.50 2.7.50 GHSA-89r2-5g34-2g47
Packagist symfony/security >= 2.8.0, < 2.8.49 2.8.49 GHSA-89r2-5g34-2g47
Packagist symfony/security >= 3.0.0, < 3.4.19 3.4.19 GHSA-89r2-5g34-2g47
Packagist symfony/security >= 4.0.0, < 4.0.15 4.0.15 GHSA-89r2-5g34-2g47
Packagist symfony/security >= 4.1.0, < 4.1.9 4.1.9 GHSA-89r2-5g34-2g47
Packagist symfony/security >= 4.2.0, < 4.2.1 4.2.1 GHSA-89r2-5g34-2g47
Packagist symfony/security-http >= 2.7.38, < 2.7.50 2.7.50 GHSA-89r2-5g34-2g47
Packagist symfony/security-http >= 2.8.0, < 2.8.49 2.8.49 GHSA-89r2-5g34-2g47
Packagist symfony/security-http >= 3.0.0, < 3.4.20 3.4.20 GHSA-89r2-5g34-2g47
Packagist symfony/security-http >= 4.0.0, < 4.0.15 4.0.15 GHSA-89r2-5g34-2g47
Packagist symfony/security-http >= 4.1.0, < 4.1.9 4.1.9 GHSA-89r2-5g34-2g47
Packagist symfony/security-http >= 4.2.0, < 4.2.1 4.2.1 GHSA-89r2-5g34-2g47
Packagist symfony/symfony >= 2.7.38, < 2.7.50 2.7.50 GHSA-89r2-5g34-2g47
Packagist symfony/symfony >= 2.8.0, < 2.8.49 2.8.49 GHSA-89r2-5g34-2g47
Packagist symfony/symfony >= 3.0.0, < 3.4.20 3.4.20 GHSA-89r2-5g34-2g47
Packagist symfony/symfony >= 4.0.0, < 4.0.15 4.0.15 GHSA-89r2-5g34-2g47
Packagist symfony/symfony >= 4.1.0, < 4.1.9 4.1.9 GHSA-89r2-5g34-2g47

Advisories 2

References