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

CVE-2016-8642: Improper Access Control

May 13, 2022 (updated July 28, 2023)

In Moodle 2.x and 3.x, the question engine allows access to files that should not be available.

References

  • github.com/advisories/GHSA-x32v-7qw8-cpq8
  • github.com/moodle/moodle/commit/cf0b9432d81ba9d5763e4894f82c95ca9fbf548f
  • moodle.org/mod/forum/discuss.php?d=343275
  • nvd.nist.gov/vuln/detail/CVE-2016-8642
  • web.archive.org/web/20210123193602/http://www.securityfocus.com/bid/94441

Code Behaviors & Features

Detect and mitigate CVE-2016-8642 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 starting from 2.7 up to 2.7.16, all versions starting from 2.8 up to 2.8.12, all versions starting from 2.9 up to 2.9.8, all versions starting from 3.0 up to 3.0.6, all versions starting from 3.1 up to 3.1.2

Fixed versions

  • 3.0.7
  • 3.1.3
  • 2.7.17
  • 2.9.9

Solution

Upgrade to versions 3.0.7, 3.1.3, 2.7.17, 2.9.9 or above.

Impact 5.3 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-284: Improper Access Control

Source file

packagist/moodle/moodle/CVE-2016-8642.yml

Spotted a mistake? Edit the file on GitLab.

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

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