What did the 2018 CredSSP update for CVE-2018-0886 change, and what do the Force Updated Clients, Mitigated and Vulnerable settings mean for a client and a server?
answer
- a flaw in how requests are validated
- one policy, three values
- client fallback versus server acceptance
- the default moved in May 2018
basics
~20 sThe March 2018 update corrected how CredSSP validates requests (CVE-2018-0886) and added the Encryption Oracle Remediation policy. Force Updated Clients blocks insecure fallback and refuses unpatched clients, Mitigated blocks fallback but accepts them, and Vulnerable allows fallback.
solid answer
~30 sCVE-2018-0886 is a remote code execution flaw in how unpatched CredSSP validates requests during authentication; Microsoft's update of March 13, 2018 corrected it for clients and servers. The policy Encryption Oracle Remediation (registry value `AllowEncryptionOracle`) controls compatibility. **Force Updated Clients** (0): clients cannot fall back to insecure versions and services refuse unpatched clients. **Mitigated** (1): clients cannot fall back, but services still accept unpatched clients. **Vulnerable** (2): clients may fall back. The update of May 8, 2018 changed the default from Vulnerable to Mitigated, so patched clients cannot reach unpatched servers. A change needs a reboot.
code
ini · 14 lines; HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\CredSSP\Parameters
; Value: AllowEncryptionOracle (REG_DWORD), reboot required
; Group Policy: Computer Configuration -> Administrative Templates
; -> System -> Credentials Delegation -> Encryption Oracle Remediation
;
; 0 = Force Updated Clients
; client: no fallback to insecure versions
; server: unpatched clients are not accepted
; 1 = Mitigated (default since the May 8, 2018 update)
; client: no fallback to insecure versions
; server: unpatched clients are accepted
; 2 = Vulnerable
; client: fallback to insecure versions is allowed
; server: unpatched clients are acceptedgo deeper
Recall that CVE-2018-0886 is a CredSSP flaw, that Microsoft fixed it in March 2018, and that a policy now governs fallback.
Give the three policy values with their numbers and say what each does on the client side and on the server side.
Read the matrix to predict which client and server pairs are blocked, and explain why the May 2018 default made patched clients fail against unpatched servers.
Decide the order of a fleet-wide move: patch, set Mitigated, inventory third-party CredSSP software, and only then enforce Force Updated Clients where it is safe.
## The flaw and the fix CVE-2018-0886 is titled "CredSSP Remote Code Execution Vulnerability" and states that the flaw lies in how CredSSP validates requests during the authentication process. Microsoft's support page describes it as a flaw in unpatched versions of CredSSP, any application relying on CredSSP being potentially affected, and says a successful attack could relay user credentials to run code on the target. The record lists the affected releases, among them Windows 7 SP1, Windows 8.1, Windows 10 releases up to version 1709, Windows Server 2008 SP2 and R2 SP1, Windows Server 2012 and R2, Windows Server 2016 and Windows Server version 1709. The policy text gives Remote Desktop Connection as its example, and the page is explicit that it applies to every application that uses the CredSSP component. The fix is both a code change and a policy. The update changes the CredSSP protocol and the Remote Desktop clients, and it adds a policy that decides whether a patched component may talk to an unpatched peer. Separately, MS-CSSP records that a major revision for improved security was made in protocol version 5 and advises supporting version 5 or higher only; the sources do not map the March 2018 update to a version number, so treat the two facts as related history, not as one statement. ## The three settings | Setting | Registry value | Client behaviour | Server behaviour | |---|---|---|---| | Force Updated Clients | 0 | No fallback to insecure versions | Does not accept unpatched clients | | Mitigated | 1 | No fallback to insecure versions | Accepts unpatched clients | | Vulnerable | 2 | May fall back to insecure versions | Accepts unpatched clients | The registry path is `HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System\CredSSP\Parameters`, the value `AllowEncryptionOracle` is a DWORD, and any change requires a reboot. The policy sits under Computer Configuration, Administrative Templates, System, Credentials Delegation. ## The dated rollout - **March 13, 2018:** the initial update for CredSSP and the Remote Desktop clients; Microsoft recommended setting the policy to Force Updated Clients or Mitigated as soon as possible. - **April 17, 2018:** a Remote Desktop client update improved the error shown when an updated client fails against a server that has not been updated. - **May 8, 2018:** the default changed from Vulnerable to Mitigated. From then on, patched clients cannot communicate with unpatched servers unless the administrator sets an allowed combination. ## Reading the interoperability matrix Rows are the client, columns the server: | Client \ Server | Unpatched | Force | Mitigated | Vulnerable | |---|---|---|---|---| | Unpatched | Allowed | Blocked | Allowed | Allowed | | Force | Blocked | Allowed | Allowed | Allowed | | Mitigated | Blocked | Allowed | Allowed | Allowed | | Vulnerable | Allowed | Allowed | Allowed | Allowed | Two blocked patterns matter. A patched client (Force or Mitigated) is blocked from an unpatched server, because it refuses the only version that server offers. An unpatched client is blocked from a server set to Force. The page rates a client as secure only when it is patched and set to Force or Mitigated; a Vulnerable client leaves the servers it connects to exposed, and an unpatched client is vulnerable. The matrix describes the CredSSP protocol only, and a Windows Remote Desktop server may also be configured with a TLS-based fallback, which can change the result. ## Evidence for an audit - **Policy state.** Collect the effective value of `AllowEncryptionOracle` from every client and server, or the Group Policy result that sets it, and compare it with the intended value. - **Patch level.** The matrix is expressed in patched and unpatched terms, so the inventory needs the update status of each system that speaks CredSSP, not only Remote Desktop hosts. - **Operational signal.** Event 6041 on patched clients lists the hosts that still offer an old version. It identifies blocked pairs, and it is not a measure of exposure on its own. - **Direction of travel.** Microsoft's guidance was to apply the policy as Force Updated Clients or Mitigated on clients and servers as soon as possible, so a Vulnerable value found today needs a recorded reason. ## What the operator does - Patch servers and clients, then set the policy by Group Policy so the intended value is explicit rather than an inherited default. - Do not set Force Updated Clients on a server until every Windows and third-party CredSSP client that reaches it supports the newest version. - Third-party clients and servers must use the latest CredSSP protocol; the vendor decides compatibility. - Plan the reboot: no change to the policy takes effect without one.
- Why could patched clients no longer reach unpatched servers after the May 2018 update?The default became Mitigated, under which a client may not fall back to insecure CredSSP versions. An unpatched server offers only such a version, so the pair is blocked. The remedy is to update the server, not to weaken the client.
- A server is set to Mitigated. Can an unpatched client still connect?Yes, because Mitigated services accept unpatched clients. The server stays reachable for them, which is why Force Updated Clients exists, but it should be used only after every client that reaches the server supports the newest version.
- Who is responsible for compatibility of non-Microsoft remote desktop software?The vendor. Microsoft's page states that all third-party clients and servers must use the latest CredSSP protocol and tells administrators to ask the vendor, using the published protocol documentation as the reference.
- Patching only the servers closes CVE-2018-0886 for every connection.
- Vulnerable is the safe compatibility setting because only servers need protecting.
- Force Updated Clients should be pushed everywhere on day one.
- The policy takes effect without a restart.
- The registry values rise with strictness, so 2 is Force Updated Clients.