CVE-2015-4050: Symfony/http kernel Symfony Incorrect Access Control Vulnerability
MODERATECVE-2015-4050 is a MODERATE symfony incorrect access control vulnerability (CWE-284: Improper Access Control) affecting Symfony/http kernel libraries in the Packagist ecosystem. The issue involves symfony incorrect access control. Remediation is available by upgrading affected packages to version 2.3.29, 2.5.12, 2.6.8.
CVE-2015-4050 at a Glance
How to Fix CVE-2015-4050
To remediate this vulnerability, upgrade all affected Symfony/http kernel dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade symfony/http-kernel to 2.3.29
Upgrade symfony/http-kernel to 2.5.12
Upgrade symfony/http-kernel to 2.6.8
Upgrade symfony/symfony to 2.3.29
Upgrade symfony/symfony to Latest secure release
Upgrade symfony/symfony to 2.5.12
Upgrade symfony/symfony to 2.6.8
Upgrade symfony/http-kernel to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for symfony/http-kernel
How to Check if You Are Affected
To determine whether your application is affected by CVE-2015-4050, inspect your project dependencies for Symfony/http kernel:
inspect dependencies for symfony/http-kernel
Analyze the terminal output to locate any version of Symfony/http kernel in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.3.29), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. In Symfony/http kernel, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2015-4050 Affected Symfony/http kernel Versions
8 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
symfony/http-kernel
|
Packagist |
≥ 2.3.19
< 2.3.29
|
2.3.29
|
|
symfony/http-kernel
|
Packagist |
≥ 2.5.4
< 2.5.12
|
2.5.12
|
|
symfony/http-kernel
|
Packagist |
≥ 2.6.0
< 2.6.8
|
2.6.8
|
|
symfony/symfony
|
Packagist |
≥ 2.3.19
< 2.3.29
|
2.3.29
|
|
symfony/symfony
|
Packagist |
≥ 2.4.9
≤ 2.4.10
|
|
|
symfony/symfony
|
Packagist |
≥ 2.5.4
< 2.5.12
|
2.5.12
|
|
symfony/symfony
|
Packagist |
≥ 2.6.0
< 2.6.8
|
2.6.8
|
|
symfony/http-kernel
|
Packagist |
≥ 2.4.9
≤ 2.4.10
|
|
References
Frequently Asked Questions
What is CVE-2015-4050?
Which Symfony/http kernel versions are affected?
What version fixes CVE-2015-4050?
Is symfony/http-kernel affected?
Is symfony/symfony affected?
What CWE is associated with CVE-2015-4050?
How can I check Packagist dependencies for CVE-2015-4050?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-qmqw-mpqp-mr54",
"modified" : "2024-02-08T19:21:57Z",
"published" : "2022-05-17T03:11:51Z",
"aliases" : [ "CVE-2015-4050" ],
"summary" : "Symfony Incorrect Access Control",
"details" : "FragmentListener in the HttpKernel component in Symfony 2.3.19 through 2.3.28, 2.4.9 through 2.4.10, 2.5.4 through 2.5.11, and 2.6.0 through 2.6.7, when ESI or SSI support enabled, does not check if the `_controller` attribute is set, which allows remote attackers to bypass URL signing and security rules by including (1) no hash or (2) an invalid hash in a request to `/_fragment`.\n\nThis issue has been fixed in Symfony 2.3.29, 2.5.12, and 2.6.8. Note that no fixes are provided for Symfony 2.4 as it's not maintained anymore.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/http-kernel"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.3.19"
}, {
"fixed" : "2.3.29"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/http-kernel"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.5.4"
}, {
"fixed" : "2.5.12"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/http-kernel"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.6.0"
}, {
"fixed" : "2.6.8"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/symfony"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.3.19"
}, {
"fixed" : "2.3.29"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/symfony"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.4.9"
}, {
"last_affected" : "2.4.10"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/symfony"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.5.4"
}, {
"fixed" : "2.5.12"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/symfony"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.6.0"
}, {
"fixed" : "2.6.8"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "symfony/http-kernel"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.4.9"
}, {
"last_affected" : "2.4.10"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2015-4050"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/http-kernel/CVE-2015-4050.yaml"
}, {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2015-4050.yaml"
}, {
"type" : "WEB",
"url" : "https://symfony.com/cve-2015-4050"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20200228090443/http://www.securityfocus.com/bid/74928"
}, {
"type" : "WEB",
"url" : "http://lists.fedoraproject.org/pipermail/package-announce/2015-June/159513.html"
}, {
"type" : "WEB",
"url" : "http://lists.fedoraproject.org/pipermail/package-announce/2015-June/159603.html"
}, {
"type" : "WEB",
"url" : "http://lists.fedoraproject.org/pipermail/package-announce/2015-June/159610.html"
}, {
"type" : "WEB",
"url" : "http://symfony.com/blog/cve-2015-4050-esi-unauthorized-access"
}, {
"type" : "WEB",
"url" : "http://www.debian.org/security/2015/dsa-3276"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-284" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-08-03T21:47:36Z",
"nvd_published_at" : "2015-06-02T14:59:00Z"
}
}