SRC-2016-0003 : ATutor LMS PhotoAlbum search SQL Injection 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 search() function within the 'PhotoAlbum.class.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.

Vendor Response:

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

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

Credit:

This vulnerability was discovered by Steven Seeley of Source Incite