All vulnerabilities

Servers and applications

CVE-2012-2366

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.

Severity
Medium 5.5
Published
21 Jul 2012
Last changed
16 Jun 2026
Added to UpHeron
1 Nov 2026
Exploit chance
1.4% in the next 30 daysHigher than 73% of CVEs. EPSS by FIRST, 12 Nov 2026
Attack
Over the network · Needs a login
Attacker can
Change some data · Slow it down
CVSS vector
AV:N/AC:L/Au:S/C:N/I:P/A:P
Sources
NVD

Affected software

SoftwareAffected versions
MoodleServers and applications · cpe:a:moodle:moodle
  • Version 2.2.2
  • Version 2.2.1
  • Version 2.2.0
  • Version 2.1.5
All 9 release lines
  • Version 2.1.0
  • Version 2.1.1
  • Version 2.1.2
  • Version 2.1.3
  • Version 2.1.4
  • Version 2.1.5
  • Version 2.2.0
  • Version 2.2.1
  • Version 2.2.2

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2012-2366
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2012-2366