Moodle Cross-Site Request Forgery (CSRF)
The advisory, in context
In Moodle 2.x and 3.x, a CSRF attack is possible that allows attackers to change the "number of courses displayed in the course overview block" configuration setting.
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 3.2 before 3.2.3
Fixed in 3.2.3
9 explicitly affected versions
v3.2.0, v3.2.0-beta, v3.2.0-rc1, v3.2.0-rc2, v3.2.0-rc3, v3.2.0-rc4, v3.2.0-rc5, v3.2.1, v3.2.2
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "3.2"
},
{
"fixed": "3.2.3"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"v3.2.0",
"v3.2.0-beta",
"v3.2.0-rc1",
"v3.2.0-rc2",
"v3.2.0-rc3",
"v3.2.0-rc4",
"v3.2.0-rc5",
"v3.2.1",
"v3.2.2"
]
}From 3.1 before 3.1.6
Fixed in 3.1.6
9 explicitly affected versions
v3.1.0, v3.1.0-beta, v3.1.0-rc1, v3.1.0-rc2, v3.1.1, v3.1.2, v3.1.3, v3.1.4, v3.1.5
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "3.1"
},
{
"fixed": "3.1.6"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"v3.1.0",
"v3.1.0-beta",
"v3.1.0-rc1",
"v3.1.0-rc2",
"v3.1.1",
"v3.1.2",
"v3.1.3",
"v3.1.4",
"v3.1.5"
]
}From 3.0 before 3.0.10
Fixed in 3.0.10
15 explicitly affected versions
v3.0.0, v3.0.0-beta, v3.0.0-rc1, v3.0.0-rc2, v3.0.0-rc3, v3.0.0-rc4, v3.0.1, v3.0.2, v3.0.3, v3.0.4, v3.0.5, v3.0.6, v3.0.7, v3.0.8, v3.0.9
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "3.0"
},
{
"fixed": "3.0.10"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"v3.0.0",
"v3.0.0-beta",
"v3.0.0-rc1",
"v3.0.0-rc2",
"v3.0.0-rc3",
"v3.0.0-rc4",
"v3.0.1",
"v3.0.2",
"v3.0.3",
"v3.0.4",
"v3.0.5",
"v3.0.6",
"v3.0.7",
"v3.0.8",
"v3.0.9"
]
}From 2.7 before 2.7.20
Fixed in 2.7.20
23 explicitly affected versions
v2.7.0, v2.7.0-beta, v2.7.0-rc1, v2.7.0-rc2, v2.7.1, v2.7.10, v2.7.11, v2.7.12, v2.7.13, v2.7.14, v2.7.15, v2.7.16, v2.7.17, v2.7.18, v2.7.19, 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"
},
{
"fixed": "2.7.20"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"v2.7.0",
"v2.7.0-beta",
"v2.7.0-rc1",
"v2.7.0-rc2",
"v2.7.1",
"v2.7.10",
"v2.7.11",
"v2.7.12",
"v2.7.13",
"v2.7.14",
"v2.7.15",
"v2.7.16",
"v2.7.17",
"v2.7.18",
"v2.7.19",
"v2.7.2",
"v2.7.3",
"v2.7.4",
"v2.7.5",
"v2.7.6",
"v2.7.7",
"v2.7.8",
"v2.7.9"
]
}