Microsoft Office Remote Code Execution Vulnerability aka. Follina

08 Jun / 2022

Cyber Security

CVE: CVE-2022-30190

What Is Vulnerable?

Windows Office 2013 and later, including the latest patches for Office 2021

What’s Happening?

Microsoft Office is the latest victim to a remote code execution vulnerability which was publicly disclosed by Microsoft on the 31st of May. Nicknamed Follina, this vulnerability is actively being used against Australian organisations by threat actors, according to the ACSC.

How It Works

This vulnerability harnesses Microsoft Support Diagnostic Tool (MSDT) and a malicious URL baked into a word document. When the URL is clicked HTML will download from a webserver and execute arbitrary PowerShell code using the ms-msdt protocol. There are 3 key factors that cause Follina to be troubling to security researchers.

  • Remote code execution vulnerabilities in the Office suite often see a high volume of exploitation due to its ubiquity of use.
  • Pre-existing Office hardening, like removing the use of macros, is ineffective. There is also evidence to suggest that this bypasses the Protected View feature does not detect that the document is malicious when the document is in Rich Text Format (.rtf).
  • It is a one-click vulnerability. Meaning that an affected user only clicks a URL for the attack to function.
     
    What You Can Do

    Update June 8th
    For Cythera managed clients that utilize EndpointPatch Automox, we have created a worklet to remediate the Follina vulnerability whilst waiting for Microsoft to release a patch. The worklet functions by evaluating if any given host has the vulnerable key present within Windows registry, and if so backs it up to a directory of your choosing and deletes the affected key from Windows registry. This worklet can be applied to groups of hosts, and can run on a schedule, ensuring complete coverage and protection of enterprise environments.

As of the 1st of June, there are no official patches available for vulnerable versions of Office products. There is however a simple fix to remediate against this in the interim. The MSDT URI can be disabled via a registry edit in CMD or Group Policy.
 

  • Run Command Prompt as Administrator.
  • To back up the registry key, execute the command “reg export HKEY_CLASSES_ROOT\ms-msdt-backup “
  • Execute the command “reg delete HKEY_CLASSES_ROOT\ms-msdt /f”.
  • Alternatively, delete the HKEY_CLASSES_ROOT\ms-msdt registry key via group policy.

Cythera continues to monitor all managed clients and detection capabilities we have in place will likely detect any post-exploitation activities related to this vulnerability.

Resources

You may be interested in

Amplify client engagement and relationships with Cythera

If you’re a managed service provider (MSP), you’re probably internally considering how to offer cyber security services to your existing cli…

Read More arrow_forward

What is Endpoint Protection?

What is Endpoint Protection? With modern business practices requiring an increased amount of network and cloud based operations it’s rare for…

Read More arrow_forward

Malware That Lives Beyond OS Rebuild

Normally if your machine is infected with malware, you can simply reinstall Windows, and the problem is solved, right? Not with this type of mal…

Read More arrow_forward