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.
The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
Link | Tags |
---|---|
https://moodle.org/mod/forum/discuss.php?d=371199 | patch vendor advisory |
https://www.exploit-db.com/exploits/46551/ | third party advisory vdb entry exploit |
http://www.securityfocus.com/bid/104307 | third party advisory vdb entry |