Realtek 11n Wireless LAN Utility Privilege Escalation

Title: Realtek 11n Wireless LAN Utility Privilege Escalation
Advisory ID: ZSL-2015-5228
Type: Local
Impact: Privilege Escalation
Risk: (2/5)
Release Date: 24.02.2015
Summary
Realtek 11n Wireless LAN utility is deployed and used by realtek alfa cards and more in order to help diagnose and view wireless card properties.
Description
The application suffers from an unquoted search path issue impacting the Realtek Service 'Realtek11nSU' and 'Realtek11nCU' for Windows deployed as part of 11n USB Wireless LAN Utility. 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
Realtek Semiconductor Corp. - http://www.realtek.com.tw
Affected Version
700.1631.106.2011
Tested On
Microsoft Windows 7
Vendor Status
N/A
PoC
realtek_eop.txt
Credits
Vulnerability discovered by Humberto Cabrera - <humbe@zeroscience.mk>
References
[1] https://eaty0face.wordpress.com/2015/02/13/realtek-11n-wireless-lan-utility-privilege-escalation/
[2] http://www.exploit-db.com/exploits/36062/
[3] http://packetstormsecurity.com/files/130515
[4] http://osvdb.org/show/osvdb/118748
[5] https://exchange.xforce.ibmcloud.com/#/vulnerabilities/101203
Changelog
[24.02.2015] - Initial release
[25.02.2015] - Added reference [3]
[26.02.2015] - Added reference [4]
[12.03.2015] - Added reference [5]
Contact
Zero Science Lab

Web: http://www.zeroscience.mk
e-mail: lab@zeroscience.mk