CredSSP Remote Code Execution Vulnerability (CVE-2018-0886)
A flaw in the Credential Security Support Provider protocol (CredSSP) allowed an attacker to relay user credentials and execute code on the target system. An attacker could perform a man-in-the-middle attack against a Remote Desktop Protocol session to exploit this.
Originally disclosed on Microsoft
Description
A remote code execution vulnerability exists in the Credential Security Support Provider protocol (CredSSP). An attacker who successfully exploited this vulnerability could relay user credentials and use them to execute code on the target system. CredSSP is an authentication provider which processes authentication requests for other applications; any application which depends on CredSSP for authentication may be vulnerable to this type of attack. As an example of how an attacker would exploit this vulnerability against Remote Desktop Protocol, the attacker would need to run a specially crafted application and perform a man-in-the-middle attack against a Remote Desktop Protocol session. An attacker could then install programs; view, change, or delete data; or create new accounts with full user rights. The security update addresses the vulnerability by correcting how Credential Security Support Provider protocol (CredSSP) validates requests during the authentication process. To be fully protected against this vulnerability users must enable Group Policy settings on their systems and update their Remote Desktop clients. The Group Policy settings are disabled by default to prevent connectivity problems and users must follow the instructions documented HERE to be fully protected.
FAQ
I am running Windows 10 Version 1511, and the May 2018 security update is not available for this version of Windows 10. How do I protect my system from this vulnerability? Windows 10 Version 1511 reached end of service on April 10, 2018. If you are unable to update to a newer version of Windows 10, after installing security update 4099779 that was released on March 13, 2018 you can use the included Group Policy settings or registry-based equivalents to manage the setting options on the client and server computers. See Microsoft Knowledge Base article 4093492 for more information.
Microsoft Windows
Microsoft Windows
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the CredSSP protocol did not properly validate authentication requests, allowing an attacker to relay credentials.
Impact
An attacker could install programs, view or change data, or create new accounts with full user rights, but only if they can perform a man-in-the-middle attack and the Group Policy settings are not enabled.
What the attacker needed
Man-in-the-middle position; Remote Desktop Protocol session; Group Policy settings not enabled
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
CredSSP is a Windows component that handles authentication for other applications, like Remote Desktop. The bug meant that an attacker sitting between the user and the server could capture and reuse the user's credentials to run code on the machine. This is serious because it can lead to full control of the system.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.