Saturday, June 15, 2024

117 Vulnerabilities Discovered in Microsoft 365 Apps

Microsoft 365 Apps is a suite of productivity tools that includes the following apps and services offered by Microsoft through a subscription service:-

  • Microsoft Teams
  • OneDrive
  • SharePoint
  • PowerPoint
  • Outlook
  • Word
  • Excel
  • Microsoft Office
  • Microsoft OneNote
  • Microsoft Access
  • Microsoft Publisher
  • Microsoft Exchange Server
  • Skype for Business
  • Power BI
  • Microsoft Visio
  • Microsoft Lists
  • Yammer
  • Microsoft Project
  • Skype 

Hackers often target these applications because they are widely used in business environments, providing a large potential attack surface, and successful compromises can provide access to sensitive information and corporate networks.

When Microsoft introduced support for SketchUp (SKP) files in June 2022, it unintentionally revealed 117 vulnerabilities in Microsoft 365 apps.

The cybersecurity analysts at the ThreatLabz research team discovered all these vulnerabilities.

Document
Free Webinar

Live API Attack Simulation Webinar

In the upcoming webinar, Karthik Krishnamoorthy, CTO and Vivek Gopalan, VP of Products at Indusface demonstrate how APIs could be hacked. The session will cover: an exploit of OWASP API Top 10 vulnerability, a brute force account take-over (ATO) attack on API, a DDoS attack on an API, how a WAAP could bolster security over an API gateway

Technical analysis

However, to catalog the 117 vulnerabilities, Microsoft assigned the following CVE IDs:-

Besides this, due to these vulnerabilities, Microsoft temporarily disabled SketchUp in June 2023. Microsoft 365 got SketchUp file support in 2022, a new 3D file format. But, unlike other 3D formats, it’s new, and new features like this can bring security risks.

Reverse engineering is key for cybersecurity, letting experts analyze code to uncover and address potential vulnerabilities.

In Microsoft 365, MSOSPECTRE.DLL handles 3D file parsing. Researchers probed vulnerabilities in SketchUp format in version 16.0.16026.20000 (Jan 2023). Using IDA Pro, functions with ‘SU’ prefix were found in MSOSPECTRE.DLL, revealing SketchUp C APIs from SketchUp SDK. 

Combining reverse engineering and dynamic debugging, researchers identified Spectre::Transcoder::ImporterSKP::ImportToAsset3D as the SKP parsing function in Microsoft 365.

Microsoft fixed Zscaler-discovered vulnerabilities in April and May 2023:-

  • CVE-2023-28285
  • CVE-2023-29344

However, a ThreatLabz analysis found a bypass in CVE-2023-29344’s patch, prompting Microsoft’s response via CVE-2023-33146.

The CVE-2023-29344 patch was released to fix FreeImage vulnerabilities in May 2023, and the following version is the patched version of MSOSPECTRE.DLL:-

  • 16.0.16327.20240

Patch disabled MFC-type SKP file support due to reported vulnerabilities. Incomplete fix, as FreeImage library vulnerabilities persist with VFF-type SKP files.

Comparison of SketchUpModelReader..ReadModel before and after the patch (Source - Zscaler)
Comparison of SketchUpModelReader..ReadModel before and after the patch (Source – Zscaler)

The PoC crafted SKP VFF-type template with SketchUp and embedded zip. The extracted zip was analyzed with the 010 Editor, revealing the image in the materials folder.

Moreover, this approach enabled analysts to reproduce 97 CVE-2023-29344 patch vulnerabilities in Microsoft 365 apps. Since the CVE-2023-33146 was assigned for bypassing the patch, that’s why Microsoft disables SketchUp file insertion in Office docs in response.

Microsoft update (Source - Zscaler)
Microsoft update (Source – Zscaler)

Wrapper functions

Here below, we have mentioned all the Wrapper functions:-

  • Spectre::Transcoder::ImporterSKP::CountEntities
  • Spectre::Transcoder::ImporterSKP::ExportEntities
  • Spectre::Transcoder::ImporterSKP::ExportComponentInstance
  • Spectre::Transcoder::ImporterSKP::ExportFaces
  • Spectre::Transcoder::ImporterSKP::GetMaterial
  • Spectre::Transcoder::SkpUtils::GetTextureId
  • Spectre::Transcoder::ImporterSKP::GetTexture
  • Spectre::Transcoder::ImporterSKP::AddFacesGeometry

Real-World Cases

  • Microsoft Office SKP file parsing `CVertex` object use-after-free vulnerability
  • Microsoft Office SKP file parsing TIFF image integer overflow vulnerability
  • Microsoft Office SKP file parsing uninitialized memory vulnerability
  • Microsoft Office SKP File parsing BMP image out-of-bounds write vulnerability
  • Microsoft Office SKP File parsing PICT image out-of-bounds write vulnerability

Recommendations

Here below, we have mentioned all the recommendations provided by the researchers:-

  • Make sure to prioritize security audits.
  • Ensure blackbox fuzzing for third-party libraries to avoid vulnerabilities.
  • Always keep Microsoft 365 apps updated with the available latest version.

Experience how StorageGuard eliminates the security blind spots in your storage systems by trying a 14-day free trial.

Website

Latest articles

Sleepy Pickle Exploit Let Attackers Exploit ML Models And Attack End-Users

Hackers are targeting, attacking, and exploiting ML models. They want to hack into these...

SolarWinds Serv-U Vulnerability Let Attackers Access sensitive files

SolarWinds released a security advisory for addressing a Directory Traversal vulnerability which allows a...

Smishing Triad Hackers Attacking Online Banking, E-Commerce AND Payment Systems Customers

Hackers often attack online banking platforms, e-commerce portals, and payment systems for illicit purposes.Resecurity...

Threat Actor Claiming Leak Of 5 Million Ecuador’s Citizen Database

A threat actor has claimed responsibility for leaking the personal data of 5 million...

Ascension Hack Caused By an Employee Who Downloaded a Malicious File

Ascension, a leading healthcare provider, has made significant strides in its investigation and recovery...

AWS Announced Malware Detection Tool For S3 Buckets

Amazon Web Services (AWS) has announced the general availability of Amazon GuardDuty Malware Protection...

Hackers Exploiting MS Office Editor Vulnerability to Deploy Keylogger

Researchers have identified a sophisticated cyberattack orchestrated by the notorious Kimsuky threat group.The...
Tushar Subhra Dutta
Tushar Subhra Dutta
Tushar is a Cyber security content editor with a passion for creating captivating and informative content. With years of experience under his belt in Cyber Security, he is covering Cyber Security News, technology and other news.

Free Webinar

API Vulnerability Scanning

71% of the internet traffic comes from APIs so APIs have become soft targets for hackers.Securing APIs is a simple workflow provided you find API specific vulnerabilities and protect them.In the upcoming webinar, join Vivek Gopalan, VP of Products at Indusface as he takes you through the fundamentals of API vulnerability scanning..
Key takeaways include:

  • Scan API endpoints for OWASP API Top 10 vulnerabilities
  • Perform API penetration testing for business logic vulnerabilities
  • Prioritize the most critical vulnerabilities with AcuRisQ
  • Workflow automation for this entire process

Related Articles