SRC-2016-0011 : ATutor LMS import_test Directory Traversal Remote Code Execution Vulnerability
ATutor 2.2.1 is confirmed, other versions may also be affected.
This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of ATutor. Authentication is required to exploit this vulnerability however authentication bypass vulnerabilities are known and remote registration is open by default.
The specific flaw exists in the ‘import_test.php’ script. An attacker can upload and extract a zip file containing a directory traversal attack. Files can be extracted into the applications web root by bypassing a poor blacklist sanity check from the preImportCallBack() function. An attacker can leverage this to upload and execute arbitrary php code.
ATutor has issued an update to correct this vulnerability. More details can be found at: https://github.com/atutor/ATutor/commit/d1517f1af8d94509394f05c04c387d76301a801b
- 2016-03-11 – Vulnerability reported to vendor
- 2016-03-11 – CVE requested and rejected
- 2016-03-12 – Vendor confirmed issue
- 2016-03-19 – Vendor releases a patch
- 2016-03-19 – Coordinated public release of advisory
This vulnerability was discovered by Steven Seeley of Source Incite