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

CVE-2016-2159: Improper Access Control

May 22, 2016 (updated September 7, 2017)

The save_submission function in mod/assign/externallib.php in Moodle allows remote authenticated users to bypass intended due-date restrictions by leveraging the student role for a web-service request.

References

  • moodle.org/mod/forum/discuss.php?d=330182
  • nvd.nist.gov/vuln/detail/CVE-2016-2159

Code Behaviors & Features

Detect and mitigate CVE-2016-2159 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 up to 2.7.12, all versions starting from 2.8 up to 2.8.10, all versions starting from 2.9 up to 2.9.4, all versions starting from 3.0 up to 3.0.2

Fixed versions

  • 2.7.13
  • 2.8.11
  • 2.9.5
  • 3.0.3

Solution

Upgrade to versions 2.7.13, 2.8.11, 2.9.5, 3.0.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-284: Improper Access Control

Source file

packagist/moodle/moodle/CVE-2016-2159.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:51 +0000.