Realtek 11n Wireless LAN Utility Privilege Escalation Vendor: Realtek Semiconductor Corp. Product web page: http://www.realtek.com.tw Affected version: 700.1631.106.2011 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. Desc: 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. Tested on: Microsoft Windows 7 Vulnerability discovered by Humberto Cabrera @dniz0r Advisory ID: ZSL-2015-5228 Advisory URL: http://www.zeroscience.mk/en/vulnerabilities/ZSL-2015-5228.php 12.02.2015 -- [SC] QueryServiceConfig SUCCESS SERVICE_NAME: realtek11ncu TYPE : 110 WIN32_OWN_PROCESS (interactive) START_TYPE : 2 AUTO_START ERROR_CONTROL : 1 NORMAL BINARY_PATH_NAME : C:\Program Files\REALTEK\11n USB Wireless LAN Utility\RtlService.exe LOAD_ORDER_GROUP : TAG : 0 DISPLAY_NAME : Realtek11nCU DEPENDENCIES : SERVICE_START_NAME : LocalSystem C:\Windows\system32>sc qc realtek11nsu [SC] QueryServiceConfig SUCCESS SERVICE_NAME: realtek11nsu TYPE : 110 WIN32_OWN_PROCESS (interactive) START_TYPE : 2 AUTO_START ERROR_CONTROL : 1 NORMAL BINARY_PATH_NAME : C:\Program Files\REALTEK\Wireless LAN Utility\RtlService.exe LOAD_ORDER_GROUP : TAG : 0 DISPLAY_NAME : Realtek11nSU DEPENDENCIES : SERVICE_START_NAME : LocalSystem