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

CVE-2014-3545: Improper Control of Generation of Code ('Code Injection')

May 13, 2022 (updated August 15, 2023)

Moodle through 2.3.11, 2.4.x before 2.4.11, 2.5.x before 2.5.7, 2.6.x before 2.6.4, and 2.7.x before 2.7.1 allows remote authenticated users to execute arbitrary code via a calculated question in a quiz.

References

  • git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-46148
  • openwall.com/lists/oss-security/2014/07/21/1
  • github.com/advisories/GHSA-3m99-h3hp-w9j7
  • github.com/moodle/moodle/blob/1474f74687dda57c7d011b92d16f25b9870d2799/question/type/calculated/question.php
  • moodle.org/mod/forum/discuss.php?d=264266
  • nvd.nist.gov/vuln/detail/CVE-2014-3545

Code Behaviors & Features

Detect and mitigate CVE-2014-3545 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.4.0 up to 2.4.10, all versions starting from 2.5.0 up to 2.5.6, all versions starting from 2.6.0 up to 2.6.3, version 2.7.0

Fixed versions

  • 2.6.4
  • 2.7.1
  • 2.4.11
  • 2.5.7

Solution

Upgrade to versions 2.6.4, 2.7.1, 2.4.11, 2.5.7 or above.

Impact 6 MEDIUM

AV:N/AC:M/Au:S/C:P/I:P/A:P

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

packagist/moodle/moodle/CVE-2014-3545.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:39 +0000.