SecurityContext

CVE-2012-2366: Moodle - Broken Access Control

  • Cve: CVE-2012-2366
  • Name: Moodle - Broken Access Control
  • Description: 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.
  • Impact: Authenticated attackers can overwrite arbitrary database activity presets, potentially leading to data tampering or unauthorized configuration changes.
  • Remediation: Update to Moodle 2.1.6 or later, or 2.2.3 or later.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: data_tampering
  • Requirement type: logged_in
  • Requirements: Attacker must be authenticated
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.5
  • Cvss vector: CVSS:2.0/AV:N/AC:L/Au:S/C:N/I:P/A:P
  • Epss score: 0.01423
  • Epss percentile: 0.73583
  • Assignee: [email protected]
  • Published at: 2012-07-21T03:38:56Z
  • Age in days: 5239
  • Modified at: 2026-06-16T23:41:25Z
  • References total: 2
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2012-2366
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
NVD-CWE-Other—

References

UrlSourceTags
http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-31763nvd
http://openwall.com/lists/oss-security/2012/05/23/2nvd

Products

ProductAffectedPlatform boundSourcesUrl
moodle:moodle= 2.2.2, = 2.2.1, = 2.2.0, = 2.1.5, = 2.1.4, = 2.1.3, = 2.1.2, = 2.1.1, = 2.1.0nonvd/v1/products/moodle/moodle

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 62250
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports