Live threats

All CVEs / Moodle

CVE-2012-2366Moodle

Medium 5.5

Priority
33
CVSS 2.0
5.5
EPSS
1.4%
probability of exploitation in 30 days · percentile 73
Auth required
Yes
Published
Jul 21, 2012
Updated
Jun 16, 2026
Category
Application · Cross-platform
Vector
AV:N/AC:L/Au:S/C:N/I:P/A:P

What happens

mod/data/preset.php in Moodle 2.1.x before 2.1.6 and 2.2.x before 2.2.3 does not properly iterate through an array, which allows remote authenticated users to overwrite arbitrary database activity presets via unspecified vectors.

Original NVD text.

What to do

  1. Apply the vendor's security update for Moodle.

Affected products (CPE)

VendorProductVersions
moodlemoodle2.1.0
moodlemoodle2.1.1
moodlemoodle2.1.2
moodlemoodle2.1.3
moodlemoodle2.1.4
moodlemoodle2.1.5
moodlemoodle2.2.0
moodlemoodle2.2.1
moodlemoodle2.2.2

Official sources

References

Links published by the sources. Open them with care.