SRC-2016-0014 : ATutor LMS zip Directory Traversal Remote Code Execution Vulnerability

CVE ID:

N/A

CVSS Score:

7.5, (AV:N/AC:L/Au:N/C:P/I:P/A:P)

Affected Vendors:

ATutor

Affected Products:

ATutor 2.2.1 is confirmed, other versions may also be affected.

Vulnerability Details:

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 ‘zip.php’ script. An attacker can upload a zip file using the ‘upload.php’ script containing a directory traversal attack and have them extracted by the ‘zip.php’ script. Files can be extracted into the applications web root by bypassing a poor blacklist sanity check from the preExportCallBack() function. An attacker can leverage this to upload and execute arbitrary php code.

Vendor Response:

ATutor has issued an update to correct this vulnerability. More details can be found at: https://github.com/atutor/ATutor/commit/a50250b86c00a224fc9a4e643318eb2d0e3eb1fc

Disclosure Timeline:

  • 2016-03-20 – Vulnerability reported to vendor
  • 2016-03-20 – CVE requested and rejected
  • 2016-03-23 – Vendor confirmed issue
  • 2016-03-23 – Vendor releases a patch
  • 2016-03-23 – Coordinated public release of advisory

Credit:

This vulnerability was discovered by Steven Seeley of Source Incite