Moodle Unauthenticated users can trigger custom messages to admin via paypal enrol script
The advisory, in context
A flaw was found in Moodle 3.4 to 3.4.1, 3.3 to 3.3.4, 3.2 to 3.2.7, 3.1 to 3.1.10 and earlier unsupported versions. Unauthenticated users can trigger custom messages to admin via paypal enrol script. Paypal IPN callback script should only send error emails to admin after request origin was verified, otherwise admin email can be spammed.
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.1 before 3.1.11
Fixed in 3.1.11
14 explicitly affected versions
v3.1.0, v3.1.0-beta, v3.1.0-rc1, v3.1.0-rc2, v3.1.1, v3.1.10, v3.1.2, v3.1.3, v3.1.4, v3.1.5, v3.1.6, v3.1.7, v3.1.8, v3.1.9
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "3.1"
},
{
"fixed": "3.1.11"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"v3.1.0",
"v3.1.0-beta",
"v3.1.0-rc1",
"v3.1.0-rc2",
"v3.1.1",
"v3.1.10",
"v3.1.2",
"v3.1.3",
"v3.1.4",
"v3.1.5",
"v3.1.6",
"v3.1.7",
"v3.1.8",
"v3.1.9"
]
}From 3.2 before 3.2.8
Fixed in 3.2.8
14 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, v3.2.3, v3.2.4, v3.2.5, v3.2.6, v3.2.7
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "3.2"
},
{
"fixed": "3.2.8"
}
],
"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",
"v3.2.3",
"v3.2.4",
"v3.2.5",
"v3.2.6",
"v3.2.7"
]
}From 3.3 before 3.3.5
Fixed in 3.3.5
9 explicitly affected versions
v3.3.0, v3.3.0-beta, v3.3.0-rc1, v3.3.0-rc2, v3.3.0-rc3, v3.3.1, v3.3.2, v3.3.3, v3.3.4
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "3.3"
},
{
"fixed": "3.3.5"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"v3.3.0",
"v3.3.0-beta",
"v3.3.0-rc1",
"v3.3.0-rc2",
"v3.3.0-rc3",
"v3.3.1",
"v3.3.2",
"v3.3.3",
"v3.3.4"
]
}From 3.4 before 3.4.2
Fixed in 3.4.2
6 explicitly affected versions
v3.4.0, v3.4.0-beta, v3.4.0-rc1, v3.4.0-rc2, v3.4.0-rc3, v3.4.1
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "3.4"
},
{
"fixed": "3.4.2"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"v3.4.0",
"v3.4.0-beta",
"v3.4.0-rc1",
"v3.4.0-rc2",
"v3.4.0-rc3",
"v3.4.1"
]
}