SRC-2016-0007 : ATutor LMS searchFriends SQL Injection 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 not required to exploit this vulnerability.

The specific flaw exists in the searchFriends() function within the ‘’ script. An attacker can steal the administrators hashed password. The hashed password can be used to login to the target without password cracking due to a second weakness in the authentication mechanism. Finally, an attacker can use these combined vulnerabilities to upload and execute arbitrary php code.

Vendor Response:

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

Disclosure Timeline:

  • 2016-02-24 – Vulnerability reported to vendor
  • 2016-02-24 – CVE requested and rejected
  • 2016-02-25 – Vendor confirmed issue
  • 2016-03-07 – Vendor releases a patch
  • 2016-03-08 – Coordinated public release of advisory

Proof of Concept:


This vulnerability was discovered by Steven Seeley of Source Incite