CVE-2018-11408: Symfony Open Redirect
6.1
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.53441%
CWE
Published
5/14/2022
Updated
2/7/2024
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
symfony/symfony | composer | >= 2.7.0, < 2.7.48 | 2.7.48 |
symfony/symfony | composer | >= 2.8.0, < 2.8.41 | 2.8.41 |
symfony/symfony | composer | >= 3.3.0, < 3.3.17 | 3.3.17 |
symfony/symfony | composer | >= 3.4.0, < 3.4.11 | 3.4.11 |
symfony/symfony | composer | >= 4.0.0, < 4.0.11 | 4.0.11 |
symfony/security-bundle | composer | >= 2.7.0, < 2.7.48 | 2.7.48 |
symfony/security-bundle | composer | >= 2.8.0, < 2.8.41 | 2.8.41 |
symfony/security-bundle | composer | >= 3.3.0, < 3.3.17 | 3.3.17 |
symfony/security-bundle | composer | >= 3.4.0, < 3.4.11 | 3.4.11 |
symfony/security-bundle | composer | >= 4.0.0, < 4.0.11 | 4.0.11 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from the AddSessionDomainConstraintPass compiler pass's handling of security.http_utils. The original code (pre-patch) checked for both 'session.storage.options' parameter and 'security.http_utils' service existence, returning early if either was missing. When security.http_utils was inlined (not explicitly defined in the container), this check allowed the code to skip adding the domain validation regex to the service. The patch removed the http_utils check, ensuring the regex is always added or an exception is thrown if the service is missing. This indicates the process() method's conditional logic was the root cause of the incomplete validation.