Lucene search

K
zeroscienceGjoko KrsticZSL-2014-5200
HistoryOct 09, 2014 - 12:00 a.m.

Telefonica O2 Connection Manager 8.7 Service Trusted Path Privilege Escalation

2014-10-0900:00:00
Gjoko Krstic
zeroscience.mk
19

7.8 High

AI Score

Confidence

Low

Title: Telefonica O2 Connection Manager 8.7 Service Trusted Path Privilege Escalation
Advisory ID: ZSL-2014-5200
Type: Local
Impact: Privilege Escalation
Risk: (2/5)
Release Date: 09.10.2014

Summary

O2 Connection Manager will help you to manage your internet connections by getting you connected to the fastest available network. Automatically connect you to the fastest available network including your home broadband if you have a wireless router.

Description

The O2 Connection Manager’s service suffers from an unquoted search path issue impacting the Import WiFi ‘TGCM_ImportWiFiSvc’ service for Windows. This could potentially allow an authorized but non-privileged local user to execute arbitrary code with elevated privileges on the system. A successful attempt would require the local user to be able to insert their code in the system root path undetected by the OS or other security applications where it could potentially be executed during application startup or reboot. If successful, the local user’s code would execute with the elevated privileges of the application.

Vendor

Telefonica S.A. - <http://www.telefonica.com>

Affected Version

8.7.6.792

Tested On

Microsoft Windows 7 Professional SP1 (EN)
Microsoft Windows 7 Ultimate SP1 (EN)

Vendor Status

[22.09.2014] Vulnerability discovered.
[23.09.2014] Contact with the vendor.
[08.10.2014] No reply from the vendor.
[09.10.2014] Public security advisory released.

PoC

o2_usp.txt

Credits

Vulnerability discovered by Gjoko Krstic - <[email protected]>

References

[1] <http://packetstormsecurity.com/files/128628&gt;
[2] <http://cxsecurity.com/issue/WLB-2014100064&gt;
[3] <http://osvdb.org/show/osvdb/113019&gt;
[4] <http://www.securityfocus.com/bid/70373&gt;
[5] <http://www.exploit-db.com/exploits/34967/&gt;
[6] <http://xforce.iss.net/xforce/xfdb/96998&gt;

Changelog

[09.10.2014] - Initial release
[10.10.2014] - Added reference [1], [2] and [3]
[11.10.2014] - Added reference [4]
[14.10.2014] - Added reference [5]
[20.10.2014] - Added reference [6]

Contact

Zero Science Lab

Web: <http://www.zeroscience.mk>
e-mail: [email protected]

<html><body><p>Telefonica O2 Connection Manager 8.7 Service Trusted Path Privilege Escalation


Vendor: Telefonica S.A.
Product web page: http://www.telefonica.com | http://www.o2.co.uk
Affected version: 8.7.6.792

Summary: O2 Connection Manager will help you to manage your internet
connections by getting you connected to the fastest available network.
Automatically connect you to the fastest available network including
your home broadband if you have a wireless router.

Desc: The O2 Connection Manager's service suffers from an unquoted
search path issue impacting the Import WiFi 'TGCM_ImportWiFiSvc'
service for Windows. This could potentially allow an authorized but
non-privileged local user to execute arbitrary code with elevated
privileges on the system. A successful attempt would require the
local user to be able to insert their code in the system root path
undetected by the OS or other security applications where it could
potentially be executed during application startup or reboot. If
successful, the local user’s code would execute with the elevated
privileges of the application. 

Tested on: Microsoft Windows 7 Professional SP1 (EN)
           Microsoft Windows 7 Ultimate SP1 (EN)


Vulnerability discovered by Gjoko 'LiquidWorm' Krstic
                            @zeroscience


Advisory ID: ZSL-2014-5200
Advisory URL: http://www.zeroscience.mk/en/vulnerabilities/ZSL-2014-5200.php


22.09.2014

---


C:\&gt;sc qc TGCM_ImportWiFiSvc
[SC] QueryServiceConfig SUCCESS

SERVICE_NAME: TGCM_ImportWiFiSvc
        TYPE               : 10  WIN32_OWN_PROCESS
        START_TYPE         : 2   AUTO_START
        ERROR_CONTROL      : 1   NORMAL
        BINARY_PATH_NAME   : C:\Program Files (x86)\O2\Connection Manager\ImpWiFiSvc.exe
        LOAD_ORDER_GROUP   :
        TAG                : 0
        DISPLAY_NAME       : TGCM_ImportWiFiSvc
        DEPENDENCIES       :
        SERVICE_START_NAME : LocalSystem

C:\&gt;icacls "C:\Program Files (x86)\O2\Connection Manager\ImpWiFiSvc.exe"
C:\Program Files (x86)\O2\Connection Manager\ImpWiFiSvc.exe NT AUTHORITY\SYSTEM:(I)(F)
                                                            BUILTIN\Administrators:(I)(F)
                                                            BUILTIN\Users:(I)(RX)

Successfully processed 1 files; Failed processing 0 files

C:\&gt;

---
</p></body></html>

7.8 High

AI Score

Confidence

Low