CyberSecBulletin
CVE-2022-41082Exploited in the wildNVD status: Analyzed

Microsoft Exchange Server Remote Code Execution

CVE-2022-41082 is a high-severity deserialization of untrusted data vulnerability in Microsoft Exchange Server 2013 Cumulative Update 23 from Microsoft, with a CVSS 3.1 base score of 8.0 out of 10. It can be exploited from the same local network by an attacker with a low-privileged account, without any action from a user. The record lists version 15.00.1497.044 as the first without the flaw, so updating Microsoft Exchange Server 2013 Cumulative Update 23 to that release or later removes the exposure. CISA added it to the Known Exploited Vulnerabilities catalogue on September 30, 2022, 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. Update Microsoft Exchange Server 2013 Cumulative Update 23 to 15.00.1497.044 or a later version.
  2. Update Microsoft Exchange Server 2016 Cumulative Update 22 to 15.01.2375.037 or a later version.
  3. Update Microsoft Exchange Server 2019 Cumulative Update 11 to 15.02.0986.036 or a later version.
  4. CISA's required action: Apply updates per vendor instructions.
  5. Read the advisory on msrc.microsoft.com for workarounds and exact fixed builds.

Affected products and versions

VendorProductAffected versionsFixed in
MicrosoftMicrosoft Exchange Server 2013 Cumulative Update 2315.00.0 up to, but not including, 15.00.1497.04415.00.1497.044
MicrosoftMicrosoft Exchange Server 2016 Cumulative Update 2215.0.0 up to, but not including, 15.01.2375.03715.01.2375.037
MicrosoftMicrosoft Exchange Server 2019 Cumulative Update 1115.02.0 up to, but not including, 15.02.0986.03615.02.0986.036
MicrosoftMicrosoft Exchange Server 2019 Cumulative Update 1215.02.0 up to, but not including, 15.02.1118.02015.02.1118.020
MicrosoftMicrosoft Exchange Server 2016 Cumulative Update 2315.01.0 up to, but not including, 15.01.2507.01615.01.2507.016
MicrosoftExchange Server2013; 2016; 2019Not stated

Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.

How the severity score breaks down

Attack vector
AdjacentThe attacker must be on the same local network segment.
Attack complexity
LowNo special conditions are needed; the attack works reliably.
Privileges required
LowA basic user account is enough.
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:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. Scored by CNA (microsoft.com).

Official description

Microsoft Exchange Server Remote Code Execution Vulnerability

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

The underlying weakness: Deserialization of Untrusted Data

The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.

How developers prevent this class of flaw

  • If available, use the signing/sealing features of the programming language to assure that deserialized data has not been tainted. For example, a hash-based message authentication code (HMAC) could be used to ensure that data has not been modified.
  • When deserializing data, populate a new object rather than just deserializing. The result is that the data flows through safe input validation and that the functions are safe.
  • Explicitly define a final object() to prevent deserialization.

More Deserialization of Untrusted Data vulnerabilities (CWE-502)

Timeline

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

References

Technical write-ups (may include proof of concept)

Other vulnerabilities in Microsoft Exchange Server 2013 Cumulative Update 23

All Microsoft Exchange Server 2013 Cumulative Update 23 vulnerabilities

Recent Deserialization of Untrusted Data vulnerabilities

Spotted an error? Tell us.