CyberSecBulletin
CVE-2019-0708Exploited in the wildNVD status: Analyzed

Microsoft Remote Desktop Services Remote Code Execution

CVE-2019-0708 is a critical-severity use after free vulnerability in Windows from Microsoft, with a CVSS 3.1 base score of 9.8 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. Affected Windows versions: 7 for 32-bit Systems Service Pack 1; 7 for x64-based Systems Service Pack 1. The record does not name a fixed version, so check the vendor advisory. CISA added it to the Known Exploited Vulnerabilities catalogue on November 3, 2021, which means attacks have been observed in the wild, including in ransomware campaigns.

Patch now

Attackers are already exploiting this vulnerability, according to CISA.

What to do

  1. Check which version of Windows you run against the affected versions below, and install the vendor's latest release.
  2. CISA's required action: Apply updates per vendor instructions.
  3. Read the advisory on huawei.com for workarounds and exact fixed builds.
  4. Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.

Affected products and versions

VendorProductAffected versionsFixed in
MicrosoftWindows7 for 32-bit Systems Service Pack 1; 7 for x64-based Systems Service Pack 1Not stated
MicrosoftWindows Server2008 R2 for Itanium-Based Systems Service Pack 1; 2008 R2 for x64-based Systems Service Pack 1; 2008 for 32-bit Systems Service Pack 2 (Core installation); 2008 for Itanium-Based Systems Service Pack 2; 2008 for 32-bit Systems Service Pack 2; 2008 for x64-based Systems Service Pack 2Not stated
MicrosoftWindows 7Not specified in the recordNot stated
MicrosoftWindows Server 2008r2Not stated
SiemensAxiom Multix M FirmwareNot specified in the recordNot stated
SiemensAxiom Vertix Md Trauma FirmwareNot specified in the recordNot stated
SiemensAxiom Vertix Solitaire M FirmwareNot specified in the recordNot stated
SiemensMobilett Xp Digital FirmwareNot specified in the recordNot stated
SiemensMultix Pro Acss P FirmwareNot specified in the recordNot stated
SiemensMultix Pro P FirmwareNot specified in the recordNot stated
SiemensMultix Pro FirmwareNot specified in the recordNot stated
SiemensMultix Pro Acss FirmwareNot specified in the recordNot stated
SiemensMultix Pro Navy FirmwareNot specified in the recordNot stated
SiemensMultix Swing FirmwareNot specified in the recordNot stated
SiemensMultix Top FirmwareNot specified in the recordNot stated
SiemensMultix Top Acss FirmwareNot specified in the recordNot stated
SiemensMultix Top P FirmwareNot specified in the recordNot stated
SiemensMultix Top Acss P FirmwareNot specified in the recordNot stated
SiemensVertix Solitaire FirmwareNot specified in the recordNot stated
SiemensAtellica Solution FirmwareNot specified in the recordNot stated
SiemensAptio FirmwareNot specified in the recordNot stated
SiemensStreamlab FirmwareNot specified in the recordNot stated
SiemensCentralink FirmwareNot specified in the recordNot stated
SiemensViva E FirmwareNot specified in the recordNot stated
SiemensViva Twin FirmwareNot specified in the recordNot stated

Version data comes from the organisation that assigned the CVE; 35 further products are omitted here. Confirm against the vendor advisory before deciding you are unaffected.

How the severity score breaks down

Attack vector
NetworkCan be exploited remotely over a network, including the internet.
Attack complexity
LowNo special conditions are needed; the attack works reliably.
Privileges required
NoneNo account or login is needed.
User interaction
NoneNo action by a victim is required.
Scope
UnchangedImpact stays within the vulnerable component.
Confidentiality
HighAll data handled by the component can be read.
Integrity
HighData or code can be modified at will.
Availability
HighThe component can be taken down completely.

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. Scored by NVD.

Scoring systemScoreSeverityScored by
CVSS 3.19.8CriticalNVD
CVSS 3.19.8CriticalCISA (ADP)
CVSS 2.010.0HighNVD

Official description

A remote code execution vulnerability exists in Remote Desktop Services formerly known as Terminal Services when an unauthenticated attacker connects to the target system using RDP and sends specially crafted requests, aka 'Remote Desktop Services Remote Code Execution Vulnerability'.

Source: the CVE record as published by its numbering authority, via NVD and CVE.org.

The underlying weakness: Use After Free

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory belongs to the code that operates on the new pointer.

How developers prevent this class of flaw

  • Choose a language that provides automatic memory management.
  • When freeing pointers, be sure to set them to NULL once they are freed. However, the utilization of multiple or complex data structures may lower the usefulness of this strategy.

More Use After Free vulnerabilities (CWE-416)

Timeline

  1. CVE record published.
  2. Added to CISA's Known Exploited Vulnerabilities catalogue.
  3. Deadline for US federal agencies to remediate, set by CISA.
  4. CISA published its SSVC assessment (exploitation: active, automatable: yes, technical impact: total).
  5. Record last changed materially (score, affected products, status or references).

References

Other vulnerabilities in Windows

All Windows vulnerabilities

Recent Use After Free vulnerabilities

Spotted an error? Tell us.