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

CVE-2015-5342: Moodle allows attackers to bypass intended access restrictions

May 13, 2022 (updated January 26, 2024)

The choice module in 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 allows remote authenticated users to bypass intended access restrictions by visiting a URL to add or delete responses in the closed state.

References

  • git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-51569
  • github.com/advisories/GHSA-6xpm-q8x9-j3rw
  • github.com/moodle/moodle/commit/02d8c8ca394ba053905f9b87c155042aabf0ce1b
  • github.com/moodle/moodle/commit/09bb6f19e5814deb25ae6ceb8270063430b8941f
  • github.com/moodle/moodle/commit/5c16db4fc561c97b6a907398ea081cdaf6590214
  • github.com/moodle/moodle/commit/6283c33979001b035f9fc565b869296f66a61c4e
  • github.com/moodle/moodle/commit/7ca8c34045eb0d2031652b452492fe4abb2c7c8a
  • github.com/moodle/moodle/commit/97394274ee29f0a6eecab330b5bbb8ee335e7ece
  • github.com/moodle/moodle/commit/bdaa571437c6357f322871b068f02a4520b7a23d
  • github.com/moodle/moodle/commit/fb2491effb1a7d5d7abb0efba5b3929342990514
  • moodle.org/mod/forum/discuss.php?d=323237
  • nvd.nist.gov/vuln/detail/CVE-2015-5342

Code Behaviors & Features

Detect and mitigate CVE-2015-5342 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 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:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-264

Source file

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

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:15:07 +0000.