CakePHP allows direct access of prefixed controller actions
The advisory, in context
Unconventional URL paths would allow direct access to prefixed actions without setting the correct request parameters.
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.99
Fixed in 2.0.99
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "2.0.0"
},
{
"fixed": "2.0.99"
}
],
"type": "ECOSYSTEM"
}
],
"versions": []
}From 2.1.0 before 2.1.99
Fixed in 2.1.99
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "2.1.0"
},
{
"fixed": "2.1.99"
}
],
"type": "ECOSYSTEM"
}
],
"versions": []
}From 2.2.0 before 2.2.99
Fixed in 2.2.99
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "2.2.0"
},
{
"fixed": "2.2.99"
}
],
"type": "ECOSYSTEM"
}
],
"versions": []
}From 2.3.0 before 2.3.99
Fixed in 2.3.99
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "2.3.0"
},
{
"fixed": "2.3.99"
}
],
"type": "ECOSYSTEM"
}
],
"versions": []
}From 2.4.0 before 2.4.99
Fixed in 2.4.99
6 explicitly affected versions
2.4.10, 2.4.5, 2.4.6, 2.4.7, 2.4.8, 2.4.9
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "2.4.0"
},
{
"fixed": "2.4.99"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.4.10",
"2.4.5",
"2.4.6",
"2.4.7",
"2.4.8",
"2.4.9"
]
}From 2.5.0 before 2.5.9
Fixed in 2.5.9
9 explicitly affected versions
2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.5.5, 2.5.6, 2.5.7, 2.5.8
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "2.5.0"
},
{
"fixed": "2.5.9"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.5.0",
"2.5.1",
"2.5.2",
"2.5.3",
"2.5.4",
"2.5.5",
"2.5.6",
"2.5.7",
"2.5.8"
]
}From 2.6.0 before 2.6.11
Fixed in 2.6.11
11 explicitly affected versions
2.6.0, 2.6.1, 2.6.10, 2.6.2, 2.6.3, 2.6.4, 2.6.5, 2.6.6, 2.6.7, 2.6.8, 2.6.9
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "2.6.0"
},
{
"fixed": "2.6.11"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.6.0",
"2.6.1",
"2.6.10",
"2.6.2",
"2.6.3",
"2.6.4",
"2.6.5",
"2.6.6",
"2.6.7",
"2.6.8",
"2.6.9"
]
}From 2.7.0 before 2.7.2
Fixed in 2.7.2
2 explicitly affected versions
2.7.0, 2.7.1
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "2.7.0"
},
{
"fixed": "2.7.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.7.0",
"2.7.1"
]
}References
- https://github.com/cakephp/cakephp/commit/056f24a77428ad35e23cab6840a72b7c25c4ccc0
- https://bakery.cakephp.org/2015/08/06/cakephp_2_5_9_2_6_10_2_7_2_released.html
- https://github.com/FriendsOfPHP/security-advisories/blob/master/cakephp/cakephp/2015-08-06.yaml
- https://github.com/cakephp/cakephp
- https://github.com/cakephp/cakephp/releases/tag/2.5.9
- https://github.com/cakephp/cakephp/releases/tag/2.6.11
- https://github.com/cakephp/cakephp/releases/tag/2.7.2