Icecream Apps Insecure File Permissions / Privilege Escalation
Posted on 15 September 2016
# Exploit Title: Multiple Icecream Apps Local Privilege Escalation # Date: 13/09/2016 # Exploit Author: Tulpa # Contact: tulpa@tulpa-security.com # Author website: www.tulpa-security.com # Vendor Homepage: icecreamapps.com # Software Versions Affected: Icecream Ebook Reader 4.21 | Icecream Screen Recorder 4.21 | Icecream Screen Recorder 2.12 # Software Link: http://icecreamapps.com/Ebook-Reader/ | http://icecreamapps.com/Screen-Recorder/ | http://icecreamapps.com/Slideshow-Maker/ # Tested on: Windows 10 Professional x64 and Windows XP SP3 x86 1. Description: The default installation directory for Icecream Ebook Reader is "C:Program Files (x86)Icecream Ebook Reader" with weak folder permissions that grants EVERYONE change/modify privileges to the contents of the directory and it's subfolders. This allows an attacker opportunity for their own code execution under any other user running the application. The same vulnerability exists for "Icecream Screen Recorder" as well as "Icecream Slideshow Maker". 2. Proof C:Program Files (x86)>icacls "Icecream Ebook Reader" Icecream Ebook Reader Everyone:(OI)(CI)(M) NT SERVICETrustedInstaller:(I)(F) NT SERVICETrustedInstaller:(I)(CI)(IO)(F) NT AUTHORITYSYSTEM:(I)(F) NT AUTHORITYSYSTEM:(I)(OI)(CI)(IO)(F) BUILTINAdministrators:(I)(F) BUILTINAdministrators:(I)(OI)(CI)(IO)(F) BUILTINUsers:(I)(RX) BUILTINUsers:(I)(OI)(CI)(IO)(GR,GE) CREATOR OWNER:(I)(OI)(CI)(IO)(F) APPLICATION PACKAGE AUTHORITYALL APPLICATION PACKAGES:(I)(RX) APPLICATION PACKAGE AUTHORITYALL APPLICATION PACKAGES:(I)(OI)(CI)(IO)(GR,GE) C:Program Files (x86)>icacls "Icecream Screen Recorder" Icecream Screen Recorder Everyone:(OI)(CI)(M) NT SERVICETrustedInstaller:(I)(F) NT SERVICETrustedInstaller:(I)(CI)(IO)(F) NT AUTHORITYSYSTEM:(I)(F) NT AUTHORITYSYSTEM:(I)(OI)(CI)(IO)(F) BUILTINAdministrators:(I)(F) BUILTINAdministrators:(I)(OI)(CI)(IO)(F) BUILTINUsers:(I)(RX) BUILTINUsers:(I)(OI)(CI)(IO)(GR,GE) CREATOR OWNER:(I)(OI)(CI)(IO)(F) APPLICATION PACKAGE AUTHORITYALL APPLICATION PACKAGES:(I)(RX) APPLICATION PACKAGE AUTHORITYALL APPLICATION PACKAGES:(I)(OI)(CI)(IO)(GR,GE) C:Program FilesIcecream Slideshow Maker Everyone:(OI)(CI)C BUILTINUsers:R BUILTINUsers:(OI)(CI)(IO)(special access:) GENERIC_READ GENERIC_EXECUTE BUILTINPower Users:C BUILTINPower Users:(OI)(CI)(IO)C BUILTINAdministrators:F BUILTINAdministrators:(OI)(CI)(IO)F NT AUTHORITYSYSTEM:F NT AUTHORITYSYSTEM:(OI)(CI)(IO)F TULPA-842269BBBAdministrator:F CREATOR OWNER:(OI)(CI)(IO)F 3. Exploit: Simply replace any of the application exe's or any of the dll's with your preferred payload and wait for execution.