Tried, Tested and Proven

Vulnerability title: Unrestricted File Upload In Livetecs Timelive

CVE: CVE-2014-2042
Vendor: Livetecs
Product: Timelive
Affected version: 6.2.71
Fixed version: 6.5.1
Reported by: Richard Hatch

Details:

It was discovered that it was possible for low-level TimeLive application users to upload
files (by using the “My Projects”..”Manage Project” functionality). There was no restriction on
file types that could be uploaded and the permissions applied to those uploaded files included
“Read and Execute”.

1. Using any text editor create a new file “run-cacl.aspx” and add the following content:
<%@ Page Language=”VB” %>
<%
System.Diagnostics.Process.Start(“calc.exe”)
%>
2. Login to the TimeLive application as a low-level (standard) user
3. Click “My Projects” from the left-hand menu
4. Click the “Manage” icon – It looks like a notepad and pen
5. Scroll to the bottom of the page that opens and click “Attachment”
6. Click “Browse” and navigate to to where you saved “run-cacl.exe”
7. Click “Upload”
8. Logout of TimeLive [Optional]
9. On the server hosting the TimeLive application run “TaskMgr”
9. Browse to http://MyTimeLiveURL/Uploads/1/1/run-cacl.aspx
10. Observe “calc.exe” running as “NETWORK_SERVICE” in the Task manager
Note: Depending on the configuration of the TimeLive application used for testing it may be
necessary to change the “1/1″ part of the URL.

Impact:

An attacker could interact with the system within the context of the “NETWORK_SERVICE” role, or potentially elevate their privileges to full “nt authority\system” via the use of tools such as the Metasploit Meterpreter utility which has such functionality built-in.

Exploit:

Exploit code not required.

Vendor status:

01/11/2013 Advisory created
12/11/2013 Vendor contacted
27/11/2013 Vendor contacted reattempted
10/01/2014 Vendor Responded
15/01/2014 Vendor working on a fix
21/02/2014 CVE obtained
14/04/2014 Fix released
17/04/2014 Published
Copyright:

Copyright © Portcullis Computer Security Limited 2014, All rights reserved worldwide. Permission is hereby granted for the electronic redistribution of this information. It is not to be edited or altered in any way without the express written consent of Portcullis Computer Security Limited.

Disclaimer:

The information herein contained may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user’s risk. In no event shall the author/distributor (Portcullis Computer Security Limited) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.