GHSA-xh2j-q4mc-v522
Dashboard / Vulnerabilities / GHSA-xh2j-q4mc-v522
Summary: Moodle calculated question type allows remote code execution by Question authors
Details: An issue was discovered in Moodle 3.x. A Teacher creating a Calculated question can intentionally cause remote code execution on the server, aka eval injection.
References: https://nvd.nist.gov/vuln/detail/CVE-2018-1133, https://github.com/moodle/moodle, https://moodle.org/mod/forum/discuss.php?d=371199, https://www.exploit-db.com/exploits/46551, http://www.securityfocus.com/bid/104307
Affected packages
Package
Name: moodle/moodle
Purl: pkg:composer/moodle/moodle
Affected ranges
Type: ECOSYSTEM
Events:
Introduced- 3.1
Fixed -3.1.12
Affected versions
v3.1.0
v3.1.0-beta
v3.1.0-rc1
v3.1.0-rc2
v3.1.1
v3.1.10
v3.1.11
v3.1.2
v3.1.3
v3.1.4
v3.1.5
v3.1.6
v3.1.7
v3.1.8
v3.1.9
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
