
SUPERAntiSpyware Professional X <=10.0.1264 LPE Vulnerability PoC
This vulnerability was discovered and disclosed by M. Akil Gündoğan from Secunnix Vulnerability Research Team. This repository will hold the proof-of concept and advisories.
SUPERAntiSpyware Professional X 10.0.1262 is vulnerable to local privilege escalation because it allows unprivileged users to restore a malicious DLL from quarantine into the "C:\Program Files\SUPERAntiSpyware" folder via an NTFS directory junction, as demonstrated by a crafted version.dll file that is detected as malware. Since SASCore64.exe has a DLL Hijacking vulnerability for "version.dll", a shell is obtained as NT AUTHORITY\SYSTEM after system reboot.
Technical details and step by step Proof of Concept's (PoC):
version.dll file containing shellcode is created.version.dll is not already detected by SUPERAntiSpyware, it is combined with another malicious file in ".zip" with the command copy /b version_created.dll + malicious.zip version.dll to be detected as malicious. In this way, the created ".dll" file can be detected as malicious by SUPERAntiSpyware and quarantined.version.dll into it. Then the folder is scanned and SUPERAntiSpyware quarantines the DLL.CreateMountPoint.exe among the "Symbolic Link Testing" tools provided by Google, the path where version.dll is quarantined is mounted in the C:\Program Files\SUPERAntiSpyware directory. These tools are available at the following link (https://github.com/googleprojectzero/symboliclink-testing-tools) or you can use the mklink command to do the same thing.NT AUTHORITY\SYSTEM privileges for the attacker.Unfortunately, it is not available. We recommend uninstalling SUPERAntiSpyware until the vulnerability is fixed.