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.
Attackers are already exploiting this vulnerability, according to CISA.
What to do
- Update Microsoft Exchange Server 2013 Cumulative Update 23 to 15.00.1497.044 or a later version.
- Update Microsoft Exchange Server 2016 Cumulative Update 22 to 15.01.2375.037 or a later version.
- Update Microsoft Exchange Server 2019 Cumulative Update 11 to 15.02.0986.036 or a later version.
- CISA's required action: Apply updates per vendor instructions.
- Read the advisory on msrc.microsoft.com for workarounds and exact fixed builds.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Microsoft | Microsoft Exchange Server 2013 Cumulative Update 23 | 15.00.0 up to, but not including, 15.00.1497.044 | 15.00.1497.044 |
| Microsoft | Microsoft Exchange Server 2016 Cumulative Update 22 | 15.0.0 up to, but not including, 15.01.2375.037 | 15.01.2375.037 |
| Microsoft | Microsoft Exchange Server 2019 Cumulative Update 11 | 15.02.0 up to, but not including, 15.02.0986.036 | 15.02.0986.036 |
| Microsoft | Microsoft Exchange Server 2019 Cumulative Update 12 | 15.02.0 up to, but not including, 15.02.1118.020 | 15.02.1118.020 |
| Microsoft | Microsoft Exchange Server 2016 Cumulative Update 23 | 15.01.0 up to, but not including, 15.01.2507.016 | 15.01.2507.016 |
| Microsoft | Exchange Server | 2013; 2016; 2019 | Not 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
- Added to CISA's Known Exploited Vulnerabilities catalogue.
- CVE record published.
- Deadline for US federal agencies to remediate, set by CISA.
- CISA published its SSVC assessment (exploitation: active, automatable: no, technical impact: total).
- Record last changed materially (score, affected products, status or references).
References
Advisories
Third-party and government advisories
- kb.cert.org/vuls/id/915563Third Party Advisory, US Government Resource
- secpod.com/blog/microsoft-november-2022-patch-tuesday-patches-65-vulnerabilities-including-6-zero-days/Third Party Advisory
- vicarius.io/vsociety/posts/cve-2022-41082-microsoft-exchange-server-remote-code-execution-vulnerability-detec…Third Party Advisory
- vicarius.io/vsociety/posts/cve-2022-41082-microsoft-exchange-server-remote-code-execution-vulnerability-mitig…Third Party Advisory
- cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-41082US Government Resource
Technical write-ups (may include proof of concept)
- packetstormsecurity.com/files/170066/Microsoft-Exchange-ProxyNotShell-Remote-Code-Execution.htmlExploit, Third Party Advisory, VDB Entry
Other vulnerabilities in Microsoft Exchange Server 2013 Cumulative Update 23
- 8.8 High severity
- 9.8 Critical severity
- 8.8 High severity
- 9.8 Critical severity
- 9.8 Critical severity
- 7.5 High severity
Recent Deserialization of Untrusted Data vulnerabilities
- 7.5 High severity
- 7.5 High severity
- 8.0 High severity
- 7.2 High severity
- 9.8 Critical severity
- 9.8 Critical severity
Spotted an error? Tell us.