Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. moodle/moodle
  4. ›
  5. CVE-2015-5340

CVE-2015-5340: Moodle sensitive information disclosure

May 13, 2022 (updated May 23, 2025)

Moodle through 2.6.11, 2.7.x before 2.7.11, 2.8.x before 2.8.9, and 2.9.x before 2.9.3 does not consider the moodle/badges:viewbadges capability, which allows remote authenticated users to obtain sensitive badge information via a request involving (1) badges/overview.php or (2) badges/view.php.

References

  • github.com/advisories/GHSA-mmvj-j7hq-rx85
  • github.com/moodle/moodle
  • github.com/moodle/moodle/commit/47d5c29202e299fdbe54229d3f6b0c381835eae3
  • github.com/moodle/moodle/commit/65734f149f3c7e6cce9402f51f9a97deb31170db
  • github.com/moodle/moodle/commit/7cff64fdbfff749e779cb625fbddcce737355100
  • github.com/moodle/moodle/commit/d41fa94a69bebeca69a4cd5332bb9569cfd87b99
  • github.com/moodle/moodle/commit/d70f610615242c5c7b3ae0bf7ef6868520dcd850
  • moodle.org/mod/forum/discuss.php?d=323235
  • nvd.nist.gov/vuln/detail/CVE-2015-5340

Code Behaviors & Features

Detect and mitigate CVE-2015-5340 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 2.6.11, all versions starting from 2.7.0 before 2.7.11, all versions starting from 2.8.0 before 2.8.9, all versions starting from 2.9.0 before 2.9.3

Fixed versions

  • 2.7.11
  • 2.8.9
  • 2.9.3

Solution

Upgrade to versions 2.7.11, 2.8.9, 2.9.3 or above.

Impact 4.3 MEDIUM

CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor

Source file

packagist/moodle/moodle/CVE-2015-5340.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 07 Dec 2025 00:20:09 +0000.