[Exploit]  [Remote]  [Local]  [Web Apps]  [Dos/Poc]  [Shellcode]  [RSS]

# Title : Symantec pcAnywhere Insecure File Permissions Local Privilege Escalation
# Published : 2012-05-02
# Author :
# Previous Title : CPE17 Autorun Killer <= 1.7.1 Stack Buffer Overflow Exploit
# Next Title : Csound hetro File Handling Stack Buffer Overflow


======= 
Summary 
======= 
Name: Symantec pcAnywhere insecure file permissions local privilege escalation 
Release Date: 30 April 2012 
Reference: NGS00117 
Discoverer: Edward Torkington <edward.torkington@ngssecure.com> 
Vendor: Symantec 
Vendor Reference: 
Systems Affected: 

Symantec pcAnywhere 12.5.x 
IT Management Suite 7.0 pcAnywhere Solution 12.5.x 
IT Management Suite 7.1 pcAnywhere Solution 12.6.x 

Risk: High 
Status: Fixed 

======== 
TimeLine 
======== 
Discovered: 23 August 2011 
Released: 14 September 2011 
Approved: 14 September 2011 
Reported: 23 August 2011 
Fixed: 24 January 2012 
Published: 30 April 2012 

=========== 
Description 
=========== 

Inadequate file permissions on application binaries could result on local privilege escalation 

================= 
Technical Details 
================= 
A number of key files in the C:Program FilesSymantecpcAnywhere folder are writable by any user: 

C:Program FilesSymantecpcAnywhereWinAw32.exe Everyone:(OI)(CI)F 
                                                NT 
AUTHORITYSYSTEM:(OI)(CI)F 

C:Program FilesSymantecpcAnywhereawrem32.exe Everyone:(OI)(CI)F 
                                                NT 
AUTHORITYSYSTEM:(OI)(CI)F 

C:Program FilesSymantecpcAnywhereawhost32.exe Everyone:(OI)(CI)F 
                                                 NT 
AUTHORITYSYSTEM:(OI)(CI)F 

It is trivial to replace these .exe (including the main pcanywhere exe, winaw32.exe with a malicious binary). When launched by the admin, privilege escalation would be gained. The awhost32.exe is set as a service under some scenarios (SYSTEM) and allows a user to privilege escalate by overwriting this binary. 

=============== 
Fix Information 
=============== 

An updated version of the software has been released to address these vulnerabilities: 
http://www.symantec.com/security_response/securityupdates/detail.jsp?fid=security
_advisory&pvid=security_advisory&year=2012&suid=20120124_00