Miggo Logo

CVE-2018-11408: Symfony Open Redirect

6.1

CVSS Score
3.0

Basic Information

EPSS Score
0.53441%
Published
5/14/2022
Updated
2/7/2024
KEV Status
No
Technology
TechnologyPHP

Technical Details

CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
symfony/symfonycomposer>= 2.7.0, < 2.7.482.7.48
symfony/symfonycomposer>= 2.8.0, < 2.8.412.8.41
symfony/symfonycomposer>= 3.3.0, < 3.3.173.3.17
symfony/symfonycomposer>= 3.4.0, < 3.4.113.4.11
symfony/symfonycomposer>= 4.0.0, < 4.0.114.0.11
symfony/security-bundlecomposer>= 2.7.0, < 2.7.482.7.48
symfony/security-bundlecomposer>= 2.8.0, < 2.8.412.8.41
symfony/security-bundlecomposer>= 3.3.0, < 3.3.173.3.17
symfony/security-bundlecomposer>= 3.4.0, < 3.4.113.4.11
symfony/security-bundlecomposer>= 4.0.0, < 4.0.114.0.11

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot 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.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

T** s**urity **n*l*rs in t** S**urity *ompon*nt in Sym*ony in *.*.x ***or* *.*.**, *.*.x ***or* *.*.**, *.*.x ***or* *.*.**, *.*.x ***or* *.*.**, *n* *.*.x ***or* *.*.** **v* *n Op*n r**ir**t vuln*r**ility w**n s**urity.*ttp_utils is inlin** *y * *on

Reasoning

T** vuln*r**ility st*ms *rom t** ***S*ssion*om*in*onstr*intP*ss *ompil*r p*ss's **n*lin* o* s**urity.*ttp_utils. T** ori*in*l *o** (pr*-p*t**) ****k** *or *ot* 's*ssion.stor***.options' p*r*m*t*r *n* 's**urity.*ttp_utils' s*rvi** *xist*n**, r*turnin*