Symfony Host Header Injection vulnerability in the HttpFoundation component
The advisory, in context
Symfony 2.0.X before 2.0.24, 2.1.X before 2.1.12, 2.2.X before 2.2.5, and 2.3.X before 2.3.3 have an issue in the HttpFoundation component. The Host header can be manipulated by an attacker when the framework is generating an absolute URL. A remote attacker could exploit this vulnerability to inject malicious content into the Web application page and conduct various attacks.
Affected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
From 2.0.0 before 2.0.24
Fixed in 2.0.24
19 explicitly affected versions
2.0.4, 2.0.5, 2.0.6, 2.0.7, v2.0.10, v2.0.11, v2.0.12, v2.0.13, v2.0.14, v2.0.15, v2.0.16, v2.0.17, v2.0.18, v2.0.19, v2.0.20, v2.0.21, v2.0.22, v2.0.23, v2.0.9
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "2.0.0"
},
{
"fixed": "2.0.24"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.0.4",
"2.0.5",
"2.0.6",
"2.0.7",
"v2.0.10",
"v2.0.11",
"v2.0.12",
"v2.0.13",
"v2.0.14",
"v2.0.15",
"v2.0.16",
"v2.0.17",
"v2.0.18",
"v2.0.19",
"v2.0.20",
"v2.0.21",
"v2.0.22",
"v2.0.23",
"v2.0.9"
]
}From 2.1.0 before 2.1.12
Fixed in 2.1.12
12 explicitly affected versions
v2.1.0, v2.1.1, v2.1.10, v2.1.11, v2.1.2, v2.1.3, v2.1.4, v2.1.5, v2.1.6, v2.1.7, v2.1.8, v2.1.9
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "2.1.0"
},
{
"fixed": "2.1.12"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"v2.1.0",
"v2.1.1",
"v2.1.10",
"v2.1.11",
"v2.1.2",
"v2.1.3",
"v2.1.4",
"v2.1.5",
"v2.1.6",
"v2.1.7",
"v2.1.8",
"v2.1.9"
]
}From 2.2.0 before 2.2.5
Fixed in 2.2.5
5 explicitly affected versions
v2.2.0, v2.2.1, v2.2.2, v2.2.3, v2.2.4
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "2.2.0"
},
{
"fixed": "2.2.5"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"v2.2.0",
"v2.2.1",
"v2.2.2",
"v2.2.3",
"v2.2.4"
]
}From 2.3.0 before 2.3.3
Fixed in 2.3.3
3 explicitly affected versions
v2.3.0, v2.3.1, v2.3.2
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "2.3.0"
},
{
"fixed": "2.3.3"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"v2.3.0",
"v2.3.1",
"v2.3.2"
]
}From 2.0.0 before 2.0.24
Fixed in 2.0.24
18 explicitly affected versions
2.0.4, 2.0.5, 2.0.6, 2.0.7, v2.0.10, v2.0.12, v2.0.13, v2.0.14, v2.0.15, v2.0.16, v2.0.17, v2.0.18, v2.0.19, v2.0.20, v2.0.21, v2.0.22, v2.0.23, v2.0.9
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "2.0.0"
},
{
"fixed": "2.0.24"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.0.4",
"2.0.5",
"2.0.6",
"2.0.7",
"v2.0.10",
"v2.0.12",
"v2.0.13",
"v2.0.14",
"v2.0.15",
"v2.0.16",
"v2.0.17",
"v2.0.18",
"v2.0.19",
"v2.0.20",
"v2.0.21",
"v2.0.22",
"v2.0.23",
"v2.0.9"
]
}From 2.1.0 before 2.1.12
Fixed in 2.1.12
12 explicitly affected versions
v2.1.0, v2.1.1, v2.1.10, v2.1.11, v2.1.2, v2.1.3, v2.1.4, v2.1.5, v2.1.6, v2.1.7, v2.1.8, v2.1.9
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "2.1.0"
},
{
"fixed": "2.1.12"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"v2.1.0",
"v2.1.1",
"v2.1.10",
"v2.1.11",
"v2.1.2",
"v2.1.3",
"v2.1.4",
"v2.1.5",
"v2.1.6",
"v2.1.7",
"v2.1.8",
"v2.1.9"
]
}From 2.2.0 before 2.2.5
Fixed in 2.2.5
5 explicitly affected versions
v2.2.0, v2.2.1, v2.2.2, v2.2.3, v2.2.4
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "2.2.0"
},
{
"fixed": "2.2.5"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"v2.2.0",
"v2.2.1",
"v2.2.2",
"v2.2.3",
"v2.2.4"
]
}From 2.3.0 before 2.3.3
Fixed in 2.3.3
3 explicitly affected versions
v2.3.0, v2.3.1, v2.3.2
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "2.3.0"
},
{
"fixed": "2.3.3"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"v2.3.0",
"v2.3.1",
"v2.3.2"
]
}References
- https://nvd.nist.gov/vuln/detail/CVE-2013-4752
- https://web.archive.org/web/20130901060826/http://www.securityfocus.com/bid/61715
- https://symfony.com/blog/security-releases-symfony-2-0-24-2-1-12-2-2-5-and-2-3-3-released
- https://github.com/symfony/symfony
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2013-4752.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/http-foundation/CVE-2013-4752.yaml
- https://exchange.xforce.ibmcloud.com/vulnerabilities/86374
- https://exchange.xforce.ibmcloud.com/vulnerabilities/86373
- https://exchange.xforce.ibmcloud.com/vulnerabilities/86372
- https://exchange.xforce.ibmcloud.com/vulnerabilities/86371
- https://exchange.xforce.ibmcloud.com/vulnerabilities/86370
- https://exchange.xforce.ibmcloud.com/vulnerabilities/86369
- https://exchange.xforce.ibmcloud.com/vulnerabilities/86368
- https://exchange.xforce.ibmcloud.com/vulnerabilities/86367
- https://exchange.xforce.ibmcloud.com/vulnerabilities/86366
- https://exchange.xforce.ibmcloud.com/vulnerabilities/86365
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2013-4752
- http://lists.fedoraproject.org/pipermail/package-announce/2013-August/114450.html
- http://lists.fedoraproject.org/pipermail/package-announce/2013-August/114461.html
- http://symfony.com/blog/security-releases-symfony-2-0-24-2-1-12-2-2-5-and-2-3-3-released