On Patch Tuesday, Microsoft fixed 66 CVEs, including an RCE bug in MSHTML under active attack as threat actors passed around guides for the drop-dead simple exploit.
<div class="c-article__content js-reading-content"> <p>In <a href="https://msrc.microsoft.com/update-guide/vulnerability" target="_blank" rel="noopener">September’s Patch Tuesday</a> crop of security fixes, Microsoft released patches for 66 CVEs, three of which are rated critical, and one of which – the Windows MSHTML zero-day – has been under active attack for nearly two weeks.</p> <p>One other bug is listed as publicly known but isn’t (yet) being exploited. Immersive Labs’ Kevin Breen, director of cyber threat research, observed that with only one CVE under active attack in the wild, it’s “quite a light Patch Tuesday” – at least on the surface, that is.</p> <p>The flaws were found in Microsoft Windows and Windows components, Microsoft Edge (Chromium, iOS, and Android), Azure, Office and Office Components, SharePoint Server, Microsoft Windows DNS and the Windows Subsystem for Linux.</p> <p><a href="https://threatpost.com/infosec-insider-subscription-page/?utm_source=ART&utm_medium=ART&utm_campaign=InfosecInsiders_Newsletter_Promo/" target="_blank" rel="noopener"><img loading="lazy" class="aligncenter wp-image-168544 size-full" src="https://media.threatpost.com/wp-content/uploads/sites/103/2021/07/10165815/infosec_insiders_in_article_promo.png" alt="Infosec Insiders Newsletter" width="700" height="50"></a></p> <p>Of the 66 new CVEs patched today, three are rated critical, 62 are rated important, and one is rated moderate in severity.</p> <p>Over the past nine months of 2021, this is the seventh month in which Microsoft patched fewer than 100 CVEs, in stark contrast to 2020, when Redmond spent eight months gushing out more than 100 CVE patches per month. But while the overall number of vulnerabilities is lighter, the severity ratings have ticked up, as the <a href="https://www.zerodayinitiative.com/blog/2021/9/14/the-september-2021-security-update-review-kpgpb" target="_blank" rel="noopener">Zero Day Initiative</a> noted.</p> <p>Some observers pegged the top patching priority in this month’s batch as being a fix for CVE-2021-40444: An important-rated vulnerability in Microsoft’s MSHTML (Trident) engine that rates 8.8 out of 10 on the CVSS scale.</p> <p>Disclosed on Sept. 7, it’s a painfully throbbing sore thumb, given that researchers developed a number of proof-of-concept (PoC) exploits showing how drop-dead simple it is to exploit, and attackers have been sharing guides on how to do just that.</p> <h2>Under Active Attack: CVE-2021-40444</h2> <p>It’s been nearly two weeks since this serious, simple to exploit bug has been under active attack, and it’s been nearly a week since attackers started to share blueprints on how to carry out an exploit.</p> <p>Microsoft said last week that the flaw could let an attacker “craft a malicious ActiveX control to be used by a Microsoft Office document that hosts the browser rendering engine,” after which “the attacker would then have to convince the user to open the malicious document.” Unfortunately, malicious macro attacks continue to be prevalent: In July, for example, legacy users of Microsoft Excel were being targeted in a malware campaign that used a <a href="https://threatpost.com/microsoft-office-malware-protection-bypass/167652/" target="_blank" rel="noopener">novel malware-obfuscation technique</a> to disable malicious macro warnings and deliver the ZLoader trojan.</p> <p>An attacker would need to convince a user to open a specially crafted Microsoft Office document containing the exploit code.</p> <p>Satnam Narang, staff research engineer at Tenable, noted via email that there have been warnings that this vulnerability will be incorporated into malware payloads and used to distribute ransomware: A solid reason to put the patch at the top of your priority list.</p> <p>“There are no indications that this has happened yet, but with the patch now available, organizations should prioritize updating their systems as soon as possible,” Narang told Threatpost.</p> <p>Last Wednesday, Sept. 8, <a href="https://twitter.com/GossiTheDog/status/1435515875025633282" target="_blank" rel="noopener">Kevin Beaumont</a> – head of the security operations center for U.K. fashion retailer Arcadia Group and a past senior threat intelligence analyst at Microsoft – <a href="https://twitter.com/GossiTheDog/status/1435562870331293706" target="_blank" rel="noopener">noted</a> that the exploit had been in the wild for about a week or more.</p> <p>It got worse: Last Thursday, Sept. 9, threat actors began <a href="https://www.bleepingcomputer.com/news/microsoft/windows-mshtml-zero-day-exploits-shared-on-hacking-forums/" target="_blank" rel="noopener">sharing exploit how-tos</a> and PoCs for the Windows MSHTML zero-day. BleepingComputer gave it a try and found that the guides are “simple to follow and [allow] anyone to create their own working version” of the exploit, “including a Python server to distribute the malicious documents and CAB files.”</p> <p>It took the publication all of 15 minutes to recreate the exploit.</p> <p>A week ago, on Tuesday, Sept. 7, Microsoft and the Cybersecurity and Infrastructure Security Agency (CISA) had <a href="https://threatpost.com/microsoft-zero-day-rce-flaw-in-windows/169273/" target="_blank" rel="noopener">urged mitigations</a> of the remote-code execution (RCE) flaw, which is found in all modern Windows operating systems.</p> <p>Last week, the company didn’t say much about the bug in MSHTML, aka Trident, which is the HTML engine built into Windows since Internet Explorer debuted more than 20 years ago and which allows Windows to read and display HTML files.</p> <p>Microsoft did say, however, that it was aware of targeted attacks trying to exploit it via specially crafted Microsoft Office documents.</p> <p>In spite of there being no security updates available for the vulnerability at that time, MIcrosoft went ahead and disclosed it, along with mitigations meant to help prevent exploitation.</p> <h2>Mitigations That Don’t Mitigate</h2> <p>Tracked as <a href="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-40444" target="_blank" rel="noopener">CVE-2021-40444</a>, the flaw is serious enough that CISA sent its own advisory, alerting users and administrators and recommending that they use the mitigations and workarounds Microsoft recommended – mitigations that try to prevent exploitation by blocking ActiveX controls and Word/RTF document previews in Windows Explorer.</p> <p>Emphasis on “try to:” Unfortunately, those mitigations proved to be less than foolproof, as researchers, including Beaumont, managed to <a href="https://twitter.com/GossiTheDog/status/1435570418623070210" target="_blank" rel="noopener">modify the exploit</a> so that it didn’t use ActiveX, <a href="https://www.bleepingcomputer.com/news/microsoft/windows-mshtml-zero-day-defenses-bypassed-as-new-info-emerges/" target="_blank" rel="noopener">effectively skirting Microsoft’s mitigations</a>.</p> <p>The Zero Day Initiative <a href="https://www.zerodayinitiative.com/blog/2021/9/14/the-september-2021-security-update-review-kpgpb" target="_blank" rel="noopener">said that</a> for now, the most-effective defense is “to apply the patch and avoid Office docs you aren’t expecting to receive.”</p> <p>Be sure to carefully review and install <a href="https://msrc.microsoft.com/update-guide/vulnerability/CVE-2021-40444" target="_blank" rel="noopener">all the needed patches</a> for your setup: There’s a long list of updates for specific platforms, and it’s important not to slather on too thin a layer of protection.</p> <p>Credit for finding this bug goes to Rick Cole of MSTIC; Bryce Abdo, Dhanesh Kizhakkinan and Genwei Jiang, all from Mandiant; and Haifei Li of EXPMON.</p> <h2>Baddest Bug Award</h2> <p>The award for baddest bug – or at least, the one with the highest severity rating, with a CVSS score of 9.8 – goes to <a href="https://msrc.microsoft.com/update-guide/vulnerability/CVE-2021-38647" target="_blank" rel="noopener">CVE-2021-38647</a>: a critical remote-code execution (RCE) vulnerability in Open Management Infrastructure.</p> <p><a href="https://github.com/microsoft/omi" target="_blank" rel="noopener">OMI is an open-source project</a> to further the development of a production-quality implementation of the <a href="https://www.dmtf.org/standards/cim" target="_blank" rel="noopener">DMTF CIM/WBEM</a> standards.</p> <p>“This vulnerability requires no user interaction or privileges, so an attacker can run their code on an affected system just by sending a specially crafted message to an affected system,” the Zero Day Initiatve explained. That makes it high priority: ZDI recommended that OMI users test and deploy this one quickly.</p> <h2>Yet More PrintNightmare Patches</h2> <p>Microsoft also patched three elevation of privilege vulnerabilities in Windows Print Spooler (<a href="https://msrc.microsoft.com/update-guide/vulnerability/CVE-2021-38667" target="_blank" rel="noopener">CVE-2021-38667</a>, <a href="https://msrc.microsoft.com/update-guide/vulnerability/CVE-2021-38671" target="_blank" rel="noopener">CVE-2021-38671</a> and <a href="https://msrc.microsoft.com/update-guide/vulnerability/CVE-2021-40447" target="_blank" rel="noopener">CVE-2021-40447</a>), all rated important.</p> <p>These are the three latest fixes in a steady <a href="https://threatpost.com/cisa-mitigation-printnightmare-bug/167515/" target="_blank" rel="noopener">stream</a> of <a href="https://threatpost.com/microsoft-unpatched-printnightmare-zero-day/168613/" target="_blank" rel="noopener">patches</a> for flaws in Windows Print Spooler that followed the <a href="https://threatpost.com/poc-exploit-windows-print-spooler-bug/167430/" target="_blank" rel="noopener">disclosure of PrintNightmare</a> in June. This probably won’t be the last patch in that parade: Tenable’s Narang told Threatpost that “researchers continue to discover ways to exploit Print Spooler” and that the firm expects “continued research in this area.”</p> <p>Only one – CVE-2021-38671 – of today’s patch trio is rated as “exploitation more likely.” Regardless, organizations should prioritize patching these flaws as “they are extremely valuable to attackers in post-exploitation scenarios,” Narang observed.</p> <h2>More ‘Exploitation More Likely’</h2> <p>Immersive’s Breen told Threatpost that a trio of local privilege-escalation vulnerabilities in the Windows Common Log File System Driver (<a href="https://msrc.microsoft.com/update-guide/vulnerability/CVE-2021-36955" target="_blank" rel="noopener">CVE-2021-36955</a>, <a href="https://msrc.microsoft.com/update-guide/vulnerability/CVE-2021-36963" target="_blank" rel="noopener">CVE-2021-36963</a>, <a href="https://msrc.microsoft.com/update-guide/vulnerability/CVE-2021-38633" target="_blank" rel="noopener">CVE-2021-38633</a>) are also noteworthy, all of them being listed as “exploitation more likely.”</p> <p>“Local priv-esc vulnerabilities are a key component of almost every successful cyberattack, especially for the likes of ransomware operators who abuse this kind of exploit to gain the highest level of access,” Breen said via email. “This allows them to disable antivirus, delete backups and ensure their encryptors can reach even the most sensitive of files.”</p> <p>One glaring example of that emerged in May, when hundreds of millions of <a href="https://threatpost.com/dell-kernel-privilege-bugs/165843/" target="_blank" rel="noopener">Dell users were found to be at risk</a> from kernel-privilege bugs. The bugs lurked undisclosed for 12 years, and could have allowed attackers to bypass security products, execute code and pivot to other parts of the network for lateral movement.</p> <p>The three exploits Microsoft patched on Tuesday aren’t remote, meaning that attackers need to have achieved code execution by other means. One such way would be via CVE-2021-40444.</p> <p>Two other vulnerabilities – <a href="https://msrc.microsoft.com/update-guide/vulnerability/CVE-2021-38639" target="_blank" rel="noopener">CVE-2021-38639</a> and <a href="https://msrc.microsoft.com/update-guide/vulnerability/CVE-2021-36975" target="_blank" rel="noopener">CVE-2021-36975</a>, both Win32k escalation of privilege flaws – have also been listed as “exploitation more likely” and, together, cover the full range of supported Windows versions.</p> <p>Breen said that he’s starting to feel like a broken record when it comes to privilege escalation vulnerabilities. They’re not rated as high a severity risk as RCE bugs, but “these local exploits can be the linchpin in the post-exploitation phases of an experienced attacker,” he asserted. “If you can block them here you have the potential to significantly limit their damage.”</p> <p>he added, “If we assume a determined attacker will be able to infect a victim’s device through social engineering or other techniques, I would argue that patching priv-esc vulnerabilities is even more important than patching some other remote code-execution vulns,” Breen said.</p> <h2>Still, This RCE Is Pretty Important</h2> <p>Danny Kim, a principal architect at Virsec who spent time at Microsoft during his graduate work on the OS security development team, wants security teams to pay attention to <a href="https://msrc.microsoft.com/update-guide/vulnerability/CVE-2021-36965" target="_blank" rel="noopener">CVE-2021-36965</a> – an important-rated Windows WLAN AutoConfig Service RCE vulnerability – given its combination of severity (with a CVSS:3.0 base score of 8.8); no requirement for privilege escalation/user interaction to exploit; and breadth of affected Windows versions.</p> <p>The WLAN AutoConfig Service is part of the mechanism that Windows 10 uses to choose the wireless network a computer will connect to, and to the Windows Scripting Engine, respectively.</p> <p>The patch fixes a flaw that could allow network-adjacent attackers to run their code on affected systems at system level.</p> <p>As the Zero Day Initiative explained, that means an attacker could “completely take over the target – provided they are on an adjacent network.” That would come in quite handy in a <a href="https://threatpost.com/microsoft-wi-fi-protection/145053/" target="_blank" rel="noopener">coffee-shop attack</a>, where multiple people use an unsecured Wi-Fi network.</p> <p>This one “is especially alarming,” Kim said: Think <a href="https://threatpost.com/solarwinds-default-password-access-sales/162327/" target="_blank" rel="noopener">SolarWinds</a> and PrintNightmare.</p> <p>“As recent trends have shown, remote code execution-based attacks are the most critical vulnerabilities that can lead to the largest negative impact on an enterprise, as we have seen in the Solarwinds and PrintNightmare attacks,” he said in an email.</p> <p>Kim said that in spite of the exploit code maturity being currently unproven, the vulnerability has been confirmed to exist, leaving an opening for attackers.</p> <p>“It specifically relies on the attacker being located in the same network, so it would not be surprising to see this vulnerability used in combination with another CVE/attack to achieve an attacker’s end goal,” he predicted. “Remote code execution attacks can lead to unverified processes running on the server workload, only highlighting the need for constant, deterministic runtime monitoring. Without this protection in place, RCE attacks can lead to a total loss of confidentiality and integrity of an enterprise’s data.”</p> <p>The Zero Day Initiative also found this one alarming. Even though it requires proximity to a target, it requires no privileges or user interaction, so “don’t let the adjacent aspect of this bug diminish the severity,” it said. “Definitely test and deploy this patch quickly.”</p> <h2>And Don’t Forget to Patch Chrome</h2> <p>Breen told Threatpost via email that security teams should also pay attention to 25 vulnerabilities patched in Chrome and ported over to Microsoft’s Chromium-based Edge.</p> <p>Browsers are, after all, windows into things both private, sensitive and valuable to criminals, he said.</p> <p>“I cannot underestimate the importance of patching your browsers and keeping them up to date,” he stressed. “After all, browsers are the way we interact with the internet and web-based services that contain all sorts of highly sensitive, valuable and private information. Whether you’re thinking about your online banking or the data collected and stored by your organization’s web apps, they could all be exposed by attacks that exploit the browser.”</p> <p><b>It’s time to evolve threat hunting into a pursuit of adversaries. </b><a href="https://threatpost.com/webinars/threat-hunting-catch-adversaries/?utm_source=ART&utm_medium=ART&utm_campaign=September_Cybersixgill_Webinar"><b>JOIN</b></a><b> Threatpost and Cybersixgill for </b><a href="https://threatpost.com/webinars/threat-hunting-catch-adversaries/?utm_source=ART&utm_medium=ART&utm_campaign=September_Cybersixgill_Webinar"><b>Threat Hunting to Catch Adversaries, Not Just Stop Attacks</b></a><b> and get a guided tour of the dark web and learn how to track threat actors before their next attack. </b><a href="https://threatpost.com/webinars/threat-hunting-catch-adversaries/?utm_source=ART&utm_medium=ART&utm_campaign=September_Cybersixgill_Webinar"><b>REGISTER NOW</b></a><b> for the LIVE discussion on September 22 at 2 PM EST with Cybersixgill’s Sumukh Tendulkar and Edan Cohen, along with researcher and vCISO Chris Roberts and Threatpost host Becky Bracken.</b></p> <footer class="c-article__footer"> <div class="c-article__footer__container"> <div class="c-article__footer__col"> <a href="#discussion" class="c-button c-button--secondary">Write a comment</a> </div> <div class="c-article__footer__col"> <div class="c-article__sharing"> <p><strong>Share this article:</strong></p> <nav class="c-nav-sharing"> <div class="social-likes social-likes_notext" data-title="Microsoft Patches Actively Exploited Windows Zero-Day Bug" data-url="https://threatpost.com/microsoft-patch-tuesday-exploited-windows-zero-day/169459/" data-counters="no" data-zeroes="yes"><div class="facebook" title="Share via Facebook"></div> <div class="twitter" title="Share via Twitter"></div><div class="linkedin" title="Share via LinkedIn"></div> <div class="reddit" title="Share via Reddit"></div> <div class="flipboard" title="Share via Flipboard"></div> </div> </nav> </div> </div> </div> <div class="c-article__footer__container"> <div class="c-article__footer__col"></div> <div class="c-article__footer__col"> <ul class="c-list-categories"> <li><a class="c-label c-label--secondary-transparent" href="https://threatpost.com/category/vulnerabilities/">Vulnerabilities</a></li> <li><a class="c-label c-label--secondary-transparent" href="https://threatpost.com/category/web-security/">Web Security</a></li> </ul> </div> </div> </footer> </div>