Authored by Thurein Soe

mRemoteNG version 1.76.20 suffers from a weak permission privilege escalation vulnerability.

advisories | CVE-2020-24307

mRemoteNG mRemoteNG v1.76.20 Privilege Escalation


Detailed Information
------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Product Name: mRemoteNG
Vendor Home Page: https://mremoteng.org
Vulnerable Version: mRemoteNG v1.76.20
Fixed Version: mRemoteNG v1.76.20.24615
Vulnerability Type: Improper Access Control (CWE-284)
CVE Reference: CVE-2020-24307
Author of Advisory: Thurein Soe

------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Product Description:

mRemoteNG is an open-source multi-protocol, remote connections manager for
Windows that allows managing multiple diverse connections with remote
systems.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Vulnerability description:

Windows service permissions is a type of local privilege escalation in the
windows operating system. Weak service permissions run with system user
permission that allows a standard user to elevate to administrator
privilege on the compromised system upon successfully modifying the
service. mRemoteNG.exe was giving modify permission to any authenticated
users in the windows operating system that allows standard users to modify
the service resulting in leading Privilege Escalation.

C:UsersNyaMeeEain>icacls "C:Program Files (x86)mRemoteNGmRemoteNG.exe"
C:Program Files (x86)mRemoteNGmRemoteNG.exe APPLICATION PACKAGE
AUTHORITYALL APPLICATION PACKAGES:(M)
BUILTINUsers:(M)
APPLICATION PACKAGE AUTHORITYALL APPLICATION PACKAGES:(I)(M)
NT AUTHORITYSYSTEM:(I)(F)
BUILTINAdministrators:(I)(F)
BUILTINUsers:(I)(RX)
APPLICATION PACKAGE AUTHORITYALL RESTRICTED APPLICATION PACKAGES:(I)(RX)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------

References:
https://www.immuniweb.com/vulnerability/improper-access-control.html
https://www.cvedetails.com/cwe-details/284/Access-Control-Authorization-Issues.html
------------------------------------------------------------------------------------------------------------------------------------------------------------------------

Credits:
Thurein Soe
------------------------------------------------------------------------------------------------------------------------------------------------------------------------