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

CVE-2015-5338: Cross-Site Request Forgery (CSRF)

May 13, 2022 (updated January 26, 2024)

Multiple cross-site request forgery (CSRF) vulnerabilities in the lesson 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 allow remote attackers to hijack the authentication of arbitrary users for requests to (1) mod/lesson/mediafile.php or (2) mod/lesson/view.php.

References

  • git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-48109
  • github.com/advisories/GHSA-v33x-q8gh-4x42
  • github.com/moodle/moodle/commit/541c5b8552e0162010d0259c90a04eb63e875958
  • github.com/moodle/moodle/commit/817cae1ac7ca748ba368439a40ef67d555774485
  • github.com/moodle/moodle/commit/dcb42c9ed13b0c0ec2dde22b62ef69772d7725e6
  • github.com/moodle/moodle/commit/f75333766c7295932baa72a9dbe9542baf14e107
  • moodle.org/mod/forum/discuss.php?d=323233
  • nvd.nist.gov/vuln/detail/CVE-2015-5338

Code Behaviors & Features

Detect and mitigate CVE-2015-5338 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 8.8 HIGH

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

Learn more about CVSS

Weakness

  • CWE-352: Cross-Site Request Forgery (CSRF)
  • CWE-352: Cross-Site Request Forgery (CSRF)

Source file

packagist/moodle/moodle/CVE-2015-5338.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:08 +0000.