GHSA-3m99-h3hp-w9j7medium
Moodle remote code execution via quiz questions
Impact
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.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
moodle/moodle Packagist
| Affected range | Recorded fix |
|---|---|
| From 2.7.0 before 2.7.1Ecosystem versions | 2.7.1 |
| From 2.6.0 before 2.6.4Ecosystem versions | 2.6.4 |
| From 2.5.0 before 2.5.7Ecosystem versions | 2.5.7 |
| From 2.4.0 before 2.4.11Ecosystem versions | 2.4.11 |
Version evidence: OSV · GHSA-3m99-h3hp-w9j7
View original version evidence (24 explicit versions)
Original source 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.
References
- Security advisory nvd.nist.gov/vuln/detail/CVE-2014-3545
- Patch github.com/moodle/moodle/commit/155bc7547227dc2047cfc8630cbfe121888b359b
- Patch github.com/moodle/moodle/commit/29005a5418894b76e62e44bbc2c9e4ddee8f5ce6
- Patch github.com/moodle/moodle/commit/44f726a7b1d351b39bb2a6a30c1b30027fabd000
- Patch github.com/moodle/moodle/commit/539a25ff03fae377758d62caefcc71a2418e9a84
- Patch github.com/moodle/moodle/commit/5c6c172033e3fb4afce862f8b32b459f5c35ad19
- Patch github.com/moodle/moodle/commit/66de66fe6a8ce8f491562edad0a14f26d4808cb4
- Patch github.com/moodle/moodle/commit/770d3ce42669067eca2bcee22d142ed7fec08550
- Patch github.com/moodle/moodle/commit/82b3260eab2db58dfa9510645fd2c60ee0ce142e
- Patch github.com/moodle/moodle/commit/88ec9f308da6a4bc7a735458cdf72648357d501d
- Source reference github.com/moodle/moodle
- Source reference github.com/moodle/moodle/blob/1474f74687dda57c7d011b92d16f25b9870d2799/question/type/calculated/question.php
- Source reference moodle.org/mod/forum/discuss.php
- Source reference git.moodle.org/gw
- Security advisory openwall.com/lists/oss-security/2014/07/21/1