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:\Users\NyaMeeEain>icacls "C:\Program Files (x86)\mRemoteNG\mRemoteNG.exe" C:\Program Files (x86)\mRemoteNG\mRemoteNG.exe APPLICATION PACKAGE AUTHORITY\ALL APPLICATION PACKAGES:(M) BUILTIN\Users:(M) APPLICATION PACKAGE AUTHORITY\ALL APPLICATION PACKAGES:(I)(M) NT AUTHORITY\SYSTEM:(I)(F) BUILTIN\Administrators:(I)(F) BUILTIN\Users:(I)(RX) APPLICATION PACKAGE AUTHORITY\ALL 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 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------