CVE-2014-3545 Moodle remote code execution via quiz questions

Medium 6.0 Published Updated

Authenticated users can execute arbitrary code via crafted quiz questions in Moodle, posing a significant risk to learning management systems.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2014-3545?

CVE-2014-3545 is a medium-severity code injection vulnerability in Moodle Moodle, published on 29 Jul 2014. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

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.

Weakness: CWE-94

Which versions are affected by CVE-2014-3545?

8 open source packages ship an affected version, including moodle/moodle. It affects 1 product.

PackageAffectedFixed in
moodle/moodle PackagistFrom 2.4.02.4.11
moodle/moodle PackagistFrom 2.4.02.4.11
moodle/moodle PackagistFrom 2.5.02.5.7
moodle/moodle PackagistFrom 2.5.02.5.7
moodle/moodle PackagistFrom 2.6.02.6.4
moodle/moodle PackagistFrom 2.6.02.6.4
2 more packages
moodle/moodle PackagistFrom 2.7.02.7.1
moodle/moodle PackagistFrom 2.7.02.7.1

Products include Moodle Moodle.

How do I fix CVE-2014-3545?

Upgrade moodle/moodle to a fixed version for your release line: 2.4.11, 2.5.7, 2.6.4 or 2.7.1.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2014-3545 being exploited?

There is no known exploitation of CVE-2014-3545 in the wild and no public exploit code.

All Moodle Moodle vulnerabilities

Sources

Also known as GHSA-3m99-h3hp-w9j7.

Is CVE-2014-3545 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free