SRC-2016-0007 : ATutor LMS searchFriends SQL Injection 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 not required to exploit this vulnerability.
The specific flaw exists in the searchFriends() function within the ‘friends.inc.php’ 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.
ATutor has issued an update to correct this vulnerability. More details can be found at: https://github.com/atutor/ATutor/commit/629b2c992447f7670a2fecc484abfad8c4c2d298
- 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