{"id":"GHSA-3m99-h3hp-w9j7","summary":"Moodle remote code execution via quiz questions","details":"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.","aliases":["CVE-2014-3545"],"modified":"2024-12-07T05:33:40.299588Z","published":"2022-05-13T01:12:40Z","database_specific":{"github_reviewed_at":"2023-08-15T22:30:28Z","nvd_published_at":"2014-07-29T11:10:00Z","cwe_ids":["CWE-94"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2014-3545"},{"type":"WEB","url":"https://github.com/moodle/moodle/commit/155bc7547227dc2047cfc8630cbfe121888b359b"},{"type":"WEB","url":"https://github.com/moodle/moodle/commit/29005a5418894b76e62e44bbc2c9e4ddee8f5ce6"},{"type":"WEB","url":"https://github.com/moodle/moodle/commit/44f726a7b1d351b39bb2a6a30c1b30027fabd000"},{"type":"WEB","url":"https://github.com/moodle/moodle/commit/539a25ff03fae377758d62caefcc71a2418e9a84"},{"type":"WEB","url":"https://github.com/moodle/moodle/commit/5c6c172033e3fb4afce862f8b32b459f5c35ad19"},{"type":"WEB","url":"https://github.com/moodle/moodle/commit/66de66fe6a8ce8f491562edad0a14f26d4808cb4"},{"type":"WEB","url":"https://github.com/moodle/moodle/commit/770d3ce42669067eca2bcee22d142ed7fec08550"},{"type":"WEB","url":"https://github.com/moodle/moodle/commit/82b3260eab2db58dfa9510645fd2c60ee0ce142e"},{"type":"WEB","url":"https://github.com/moodle/moodle/commit/88ec9f308da6a4bc7a735458cdf72648357d501d"},{"type":"PACKAGE","url":"https://github.com/moodle/moodle"},{"type":"WEB","url":"https://github.com/moodle/moodle/blob/1474f74687dda57c7d011b92d16f25b9870d2799/question/type/calculated/question.php#L426"},{"type":"WEB","url":"https://moodle.org/mod/forum/discuss.php?d=264266"},{"type":"WEB","url":"http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-46148"},{"type":"WEB","url":"http://openwall.com/lists/oss-security/2014/07/21/1"}],"affected":[{"package":{"name":"moodle/moodle","ecosystem":"Packagist","purl":"pkg:composer/moodle/moodle"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.7.0"},{"fixed":"2.7.1"}]}],"versions":["2.7.0","v2.7.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-3m99-h3hp-w9j7/GHSA-3m99-h3hp-w9j7.json"}},{"package":{"name":"moodle/moodle","ecosystem":"Packagist","purl":"pkg:composer/moodle/moodle"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.0"},{"fixed":"2.6.4"}]}],"versions":["v2.6.0","v2.6.1","v2.6.2","v2.6.3"],"database_specific":{"last_known_affected_version_range":"\u003c= 2.6.3","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-3m99-h3hp-w9j7/GHSA-3m99-h3hp-w9j7.json"}},{"package":{"name":"moodle/moodle","ecosystem":"Packagist","purl":"pkg:composer/moodle/moodle"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.5.0"},{"fixed":"2.5.7"}]}],"versions":["v2.5.0","v2.5.1","v2.5.2","v2.5.3","v2.5.4","v2.5.5","v2.5.6"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-3m99-h3hp-w9j7/GHSA-3m99-h3hp-w9j7.json","last_known_affected_version_range":"\u003c= 2.5.6"}},{"package":{"name":"moodle/moodle","ecosystem":"Packagist","purl":"pkg:composer/moodle/moodle"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.4.0"},{"fixed":"2.4.11"}]}],"versions":["v2.4.0","v2.4.1","v2.4.10","v2.4.2","v2.4.3","v2.4.4","v2.4.5","v2.4.6","v2.4.7","v2.4.8","v2.4.9"],"database_specific":{"last_known_affected_version_range":"\u003c= 2.4.10","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-3m99-h3hp-w9j7/GHSA-3m99-h3hp-w9j7.json"}}],"schema_version":"1.9.0"}