SRC-2016-0015 : ATutor LMS write_temp_file File Write Remote Code Execution Vulnerability



CVSS Score:

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

Affected Vendors:


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 ‘’ script. The method write_temp_file() contains vulnerable parameters allowing for an attacker to write arbitrary content to the web application. A remote attacker can exploit this vulnerability to execute arbitrary code under the context of the web server.

Vendor Response:

ATutor has issued an update to correct this vulnerability. More details can be found at:

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


This vulnerability was discovered by Steven Seeley of Source Incite