GHSA-mm9q-3847-m48xmedium5.4
Moodle allows attackers to enter additional answer attempts
The advisory, in context
The lesson module in Moodle through 2.6.11, 2.7.x before 2.7.10, 2.8.x before 2.8.8, and 2.9.x before 2.9.2 allows remote authenticated users to bypass intended access restrictions and enter additional answer attempts by leveraging the student role.
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.
moodle/moodle Packagist
Ecosystem versions
From 2.7.0 before 2.7.10
Fixed in 2.7.10
10 explicitly affected versions
v2.7.0, v2.7.1, v2.7.2, v2.7.3, v2.7.4, v2.7.5, v2.7.6, v2.7.7, v2.7.8, v2.7.9
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "2.7.0"
},
{
"fixed": "2.7.10"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"v2.7.0",
"v2.7.1",
"v2.7.2",
"v2.7.3",
"v2.7.4",
"v2.7.5",
"v2.7.6",
"v2.7.7",
"v2.7.8",
"v2.7.9"
]
}moodle/moodle Packagist
Ecosystem versions
From 2.8.0 before 2.8.8
Fixed in 2.8.8
8 explicitly affected versions
v2.8.0, v2.8.1, v2.8.2, v2.8.3, v2.8.4, v2.8.5, v2.8.6, v2.8.7
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "2.8.0"
},
{
"fixed": "2.8.8"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"v2.8.0",
"v2.8.1",
"v2.8.2",
"v2.8.3",
"v2.8.4",
"v2.8.5",
"v2.8.6",
"v2.8.7"
]
}moodle/moodle Packagist
Ecosystem versions
From 2.9.0 before 2.9.2
Fixed in 2.9.2
2 explicitly affected versions
v2.9.0, v2.9.1
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "2.9.0"
},
{
"fixed": "2.9.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"v2.9.0",
"v2.9.1"
]
}References
- https://nvd.nist.gov/vuln/detail/CVE-2015-5264
- https://github.com/moodle/moodle/commit/3071f085918dfeabb154596362dab2648ec6ad84
- https://github.com/moodle/moodle/commit/343ed5b929ff8a68efe076505cd3e52d951f7869
- https://github.com/moodle/moodle/commit/39b50f7d3eea43266a3d0c09590e48624e69a091
- https://github.com/moodle/moodle/commit/67e3f70bb11382fc0f1eaf1a160c349269e370cc
- https://github.com/moodle/moodle/commit/9d5b339126586eddeced463c81295146e231a3c4
- https://github.com/moodle/moodle/commit/9fd13426926fd882d3f024cb7171802ef2b3814d
- https://github.com/moodle/moodle/commit/ca74203efd51be6467091d9af762a31a7cad5840
- https://github.com/moodle/moodle/commit/cd3a6a78b67abf5c9eb355ddc7899b1b2a9b20ac
- https://github.com/moodle/moodle/commit/e7288eaabe77e04157f702b20fd0a7e9ce7067ca
- https://github.com/moodle/moodle/commit/f9cc721dfd761ee34209cf58838079b9b550b356
- https://github.com/moodle/moodle
- https://moodle.org/mod/forum/discuss.php?d=320287
- https://web.archive.org/web/20160323063809/http://www.securitytracker.com/id/1033619
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-50516
- http://www.openwall.com/lists/oss-security/2015/09/21/1