Praetorian503 Posted January 21, 2013 Report Share Posted January 21, 2013 The Aloaha Credential Provider Service is vulnerable to an elevation of privileges vulnerability which can be used by a simple user that can change the executable file with a binary of choice. The vulnerability exist due to the improper permissions, with the 'F' flag (full) for the 'Everyone' group, for the 'AloahaCredentialProviderService.exe' binary file. The service was shipped with Aloaha PDF Saver and possibly every SmartCard Software package from Aloaha. The files are installed in the 'Wrocklage' directory which has the Everyone group assigned to it with full permissions making every single file inside vulnerable to change by any user on the affected machine. After you replace the binary with your rootkit, on reboot you get SYSTEM privileges. Version 5.0.226 is affected.Aloaha Credential Provider Monitor 5.0.226 Local Privilege Escalation VulnerabilityVendor: Aloaha Software - Wrocklage Intermedia GmbHProduct web page: http://www.aloaha.comAffected version: 5.0.226Summary: Aloaha Credential Provider represents one of the most dramatic changesin the Windows Vista / 7 logon screen, making it much easier to implement new userauthentication scenarios that are supported by the OS. To be able to logon viaSmartcard to a windows machine requires usually the machine being a member of adomain. With the Aloaha Credential Provider that is not required, the logon screenis the first thing users see when they turn on the computer.Desc: The Aloaha Credential Provider Service is vulnerable to an elevation ofprivileges vulnerability which can be used by a simple user that can change theexecutable file with a binary of choice. The vulnerability exist due to theimproper permissions, with the 'F' flag (full) for the 'Everyone' group, for the'AloahaCredentialProviderService.exe' binary file. The service was shipped withAloaha PDF Saver and possibly every SmartCard Software package from Aloaha. Thefiles are installed in the 'Wrocklage' directory which has the Everyone groupassigned to it with full permissions making every single file inside vulnerableto change by any user on the affected machine. After you replace the binary withyour rootkit, on reboot you get SYSTEM privileges.Tested on: Microsoft Windows 7 Ultimate SP1 (EN) 32bit/64bitVulnerability discovered by Gjoko 'LiquidWorm' Krstic @zeroscienceAdvisory ID: ZSL-2013-5124Advisory URL: http://www.zeroscience.mk/en/vulnerabilities/ZSL-2013-5124.php19.01.2013---------------------------------------------------------------------------------C:\Program Files\Wrocklage>sc qc AloahaCPM[SC] QueryServiceConfig SUCCESSSERVICE_NAME: AloahaCPM TYPE : 10 WIN32_OWN_PROCESS START_TYPE : 2 AUTO_START ERROR_CONTROL : 0 IGNORE BINARY_PATH_NAME : "C:\Program Files\Wrocklage\AloahaCredentialProviderService.exe" LOAD_ORDER_GROUP : TAG : 0 DISPLAY_NAME : Aloaha Credential Provider Monitor DEPENDENCIES : SERVICE_START_NAME : LocalSystemC:\Program Files\Wrocklage>cacls AloahaCredentialProviderService.exeC:\Program Files\Wrocklage\AloahaCredentialProviderService.exe NT AUTHORITY\SYSTEM:(ID)F Everyone:(ID)F BUILTIN\Administrators:(ID)F BUILTIN\Users:(ID)RC:\Program Files\Wrocklage>---------------------------------------------------------------------------------Source: PacketStorm Quote Link to comment Share on other sites More sharing options...