Vulnerability Bulletins

MSA-21-0035: Arbitrary file read by site administrators via LaTeX preamble

   
Affected software PHP
 
by Michael Hawkins. Insufficient escaping of the LaTeX preamble made it possible for site administrators to read files available to the HTTP server system account.Severity/Risk:SeriousVersions affected:3.11 to 3.11.2, 3.10 to 3.10.6, 3.9 to 3.9.9 and earlier unsupported versionsVersions fixed:3.11.3, 3.10.7 and 3.9.10Reported by:raisin_bugbountyWorkaround:Hard-code the value of the LaTeX preamble into $CFG->forced_plugin_settings[filter_tex][latexpreamble] within the sites config.php

More info:

https://moodle.org/mod/forum/discuss.php?d=427106&parent=1719328