Moodle's time-validation implementation allows bypassing intended restrictions
The advisory, in context
The time-validation implementation in (1) mod/feedback/complete.php and (2) mod/feedback/complete_guest.php in Moodle through 2.3.11, 2.4.x before 2.4.9, 2.5.x before 2.5.5, and 2.6.x before 2.6.2 allows remote authenticated users to bypass intended restrictions on starting a Feedback activity by choosing an unavailable time.
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.
Earlier releases before 2.4.9
Fixed in 2.4.9
18 explicitly affected versions
v2.3.10, v2.3.11, v2.3.4, v2.3.5, v2.3.6, v2.3.7, v2.3.8, v2.3.9, v2.4.0, v2.4.0-rc1, v2.4.1, v2.4.2, v2.4.3, v2.4.4, v2.4.5, v2.4.6, v2.4.7, v2.4.8
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.4.9"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"v2.3.10",
"v2.3.11",
"v2.3.4",
"v2.3.5",
"v2.3.6",
"v2.3.7",
"v2.3.8",
"v2.3.9",
"v2.4.0",
"v2.4.0-rc1",
"v2.4.1",
"v2.4.2",
"v2.4.3",
"v2.4.4",
"v2.4.5",
"v2.4.6",
"v2.4.7",
"v2.4.8"
]
}From 2.5.0 before 2.5.5
Fixed in 2.5.5
5 explicitly affected versions
v2.5.0, v2.5.1, v2.5.2, v2.5.3, v2.5.4
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "2.5.0"
},
{
"fixed": "2.5.5"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"v2.5.0",
"v2.5.1",
"v2.5.2",
"v2.5.3",
"v2.5.4"
]
}From 2.6.0 before 2.6.2
Fixed in 2.6.2
2 explicitly affected versions
v2.6.0, v2.6.1
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "2.6.0"
},
{
"fixed": "2.6.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"v2.6.0",
"v2.6.1"
]
}References
- https://nvd.nist.gov/vuln/detail/CVE-2014-0127
- https://github.com/moodle/moodle/commit/1298acc7075614d8f24befe7e50edbd695498d66
- https://github.com/moodle/moodle/commit/71037bf26c1e66c628f952b777a9b068775f7b24
- https://github.com/moodle/moodle/commit/7b839b0ec1d3d7fdfe7f76066c49829936a2390e
- https://github.com/moodle/moodle/commit/aea324963dfee857315d147bf0c17659bb43991e
- https://github.com/moodle/moodle
- https://moodle.org/mod/forum/discuss.php?d=256417
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-43656
- http://openwall.com/lists/oss-security/2014/03/17/1