PoC Exploit Released For Critical Microsoft Word RCE Bug

There has been a proof-of-concept published recently for CVE-2023-21716 that analyzes this vulnerability. This vulnerability has been marked as “Critical” and has been detected in Microsoft Word which permits remote code execution (RCE).

Microsoft’s latest Patch Tuesday release in February patched the vulnerability, preventing it from being exploited. In ‘wwlib.dll’ of Microsoft Office, this RCE flaw was initially discovered by a security analyst, Joshua Drake Last year.

The researcher notified Microsoft immediately of his discovery after sending a technical advisory containing a PoC demonstrating that the vulnerability can be exploited.

The vulnerability could potentially be exploited by a remote attacker to execute code on a compromised system.

Vulnerability Details

  • CVE ID: CVE-2023-21716
  • CVSS Score: 9.8
  • Severity: Critical
  • Flaw: Remote Code Execution (RCE)

A remote attacker could potentially take advantage of the issue to execute code. As a result, the attacker has the same permissions as the victim, who opened the malicious [.RTF] file with the same privileges.

A malicious file can be delivered to a victim by attaching it to an email, which is perhaps the easiest way to deliver it, but there are many other methods also available.

In an effort to prevent users from falling victim to this kind of attack, Microsoft warns that they do not have to open the malicious RTF document. The attacker can begin exploiting the system simply by loading a version of it in the Preview Pane.

According to the researcher’s findings, the RTF parser incorporated in Microsoft Word possesses a vulnerability to heap corruption. 

This vulnerability is activated when the software is handling a font table denoted by “\fonttbl” that consists of a considerable number of fonts marked by “\f###.”

An attacker could use a properly crafted heap layout to exploit the bug for arbitrary code execution after memory corruption occurs. To demonstrate code execution, the PoC does not launch the Calculator app in Windows to illustrate heap corruption.

The vulnerability does not appear to be exploited in the wild at the present time. At the present time, Microsoft believes that exploiting the issue is unlikely to occur.

Workaround

There is a fix provided by Microsoft for users that are not able to apply the fix. As Microsoft recommends users to read emails in plain text format. However, this fix is unlikely to be adopted since there will be no enhancements or improvements to the user experience.

There is also a workaround that can be used to make sure RTF documents don’t open when they’re from untrusted or unknown sources by enabling the Microsoft Office File Block policy.

In addition to requiring modification of the Windows Registry, this method also comes with some risks. However, there is no doubt that the best way to address this vulnerability is to install a Microsoft security update.

Network Security Checklist – Download Free E-Book

Gurubaran

Gurubaran is a co-founder of Cyber Security News and GBHackers On Security. He has 10+ years of experience as a Security Consultant, Editor, and Analyst in cybersecurity, technology, and communications.

Recent Posts

Microsoft Teams File Sharing Unavailable Due to Unexpected Outage

Microsoft Teams users across the globe are experiencing significant disruptions in file-sharing capabilities due to…

6 hours ago

Cloud Misconfigurations – A Leading Cause of Data Breaches

Cloud computing has transformed the way organizations operate, offering unprecedented scalability, flexibility, and cost savings.…

7 hours ago

Security Awareness Metrics That Matter to the CISO

Security awareness has become a critical component of organizational defense strategies, particularly as companies adopt…

7 hours ago

New ‘Waiting Thread Hijacking’ Malware Technique Evades Modern Security Measures

Security researchers have unveiled a new malware process injection technique dubbed "Waiting Thread Hijacking" (WTH),…

7 hours ago

From ISO to NIS2 – Mapping Compliance Requirements Globally

The global regulatory landscape for cybersecurity is undergoing a seismic shift, with the European Union’s…

7 hours ago

PasivRobber Malware Emerges, Targeting macOS to Steal Data From Systems and Apps

A sophisticated new malware suite targeting macOS, dubbed "PasivRobber," has been discovered by security researchers.…

7 hours ago