Hexret
CVE-2021-40444high 7.8PoC available

MSHTML remote-HTML ActiveX to RCE via CAB path traversal (CVE-2021-40444)

CVE-2021-40444: an Office document loads attacker-hosted HTML through MSHTML, which instantiates an ActiveX control whose codebase points at a CAB archive. A ../ path-traversal filename inside the CAB drops an INF into a predictable temp path, and a .cpl: URL with a relative-path escape then runs it via control.exe. Used in the wild in 2021 to deliver Cobalt Strike loaders, and a recognized predecessor of the Follina MSDT bug (CVE-2022-30190).

Product
Microsoft MSHTML (Trident) HTML rendering engine, as reached through Microsoft Office documents
Vendor
Microsoft
Affected
MSHTML on Windows 7 SP1, 8.1, RT 8.1, Windows 10 (1507 through 21H1), and Windows Server 2008 SP2 through 2022, when a crafted Office document is opened
Fixed in
September 14, 2021 cumulative updates (for example KB5005565); Microsoft advisory first published 2021-09-07
Weakness
CWE-22
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
15 Sep 2021

Practice this CVE, free

Classified as

References

Related CVEs