The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-6472

CVE-2024-6472: LibreOffice Auth Bypass Vulnerability

CVE-2024-6472 is an authentication bypass flaw in LibreOffice's certificate validation interface that could allow users to enable unverified macros. This article covers technical details, affected versions, and mitigations.

Updated: January 22, 2026

CVE-2024-6472 Overview

CVE-2024-6472 is a certificate validation vulnerability in LibreOffice that affects the user interface for signed macro verification. When a document containing a signed macro is opened, LibreOffice displays a warning before executing the macro. However, if the certificate verification fails, the warning message could be misinterpreted by users, potentially leading them to enable macros despite the failed verification.

Signed macros are scripts that have been digitally signed by the developer using a cryptographic signature. The security model relies on users making informed decisions based on accurate verification results. This vulnerability undermines that model by presenting verification failures in a confusing manner, which could lead to users inadvertently executing malicious macros.

Critical Impact

Users may unknowingly execute malicious macros due to confusing certificate verification failure messages, potentially leading to system compromise, data theft, or further malware deployment.

Affected Products

  • LibreOffice versions 24.2 through 24.2.4
  • LibreOffice libreoffice:libreoffice component
  • All platforms running affected LibreOffice versions

Discovery Timeline

  • 2024-08-05 - CVE-2024-6472 published to NVD
  • 2025-12-10 - Last updated in NVD database

Technical Details for CVE-2024-6472

Vulnerability Analysis

This vulnerability is classified under CWE-295 (Improper Certificate Validation), specifically affecting the user interface component responsible for communicating certificate verification results to end users.

The core issue lies in how LibreOffice presents failed certificate verification attempts. When opening a document with a signed macro, LibreOffice performs cryptographic validation of the signature. If this validation fails—whether due to an invalid certificate, an untrusted certificate authority, certificate expiration, or signature tampering—the resulting warning message failed to clearly communicate the nature and severity of the failure.

The attack requires local access and user interaction, meaning an attacker must convince a victim to open a malicious document. However, the confusing UI makes it significantly more likely that users will bypass security warnings and enable potentially dangerous macros.

Root Cause

The root cause is improper certificate validation feedback in the user interface. The verification logic itself correctly identifies certificate failures, but the presentation layer fails to translate these technical failures into clear, actionable warnings for end users. This creates a gap between the security mechanism's detection capabilities and the user's ability to make informed security decisions.

The issue specifically manifests in LibreOffice versions from 24.2 before 24.2.5, indicating it was likely introduced during development of the 24.2 release branch.

Attack Vector

The attack vector is local with user interaction required. An attacker would craft a malicious LibreOffice document containing a macro with an invalid or maliciously crafted digital signature. The attack flow involves:

  1. Creating a document with embedded malicious macro code
  2. Applying an invalid or untrusted certificate signature to the macro
  3. Distributing the document to potential victims via email, file sharing, or other means
  4. When opened, the confusing verification failure message may lead users to enable the macro
  5. Upon enablement, the malicious macro executes with the user's privileges

The vulnerability does not provide automatic code execution—it relies on social engineering amplified by the confusing UI to trick users into enabling macros they should reject.

Detection Methods for CVE-2024-6472

Indicators of Compromise

  • LibreOffice documents (.odt, .ods, .odp, .docx, .xlsx, .pptx) with embedded macros from untrusted sources
  • Unusual macro execution events in LibreOffice logs following document opens
  • Documents with certificates that fail validation but were still allowed to execute
  • Presence of recently opened documents from suspicious email attachments or downloads

Detection Strategies

  • Monitor for LibreOffice processes spawning unexpected child processes after document opens
  • Implement endpoint detection rules for macro-enabled document execution patterns
  • Deploy SentinelOne behavioral AI to detect post-exploitation activity from malicious macro payloads
  • Review LibreOffice security logs for certificate verification failures followed by macro execution

Monitoring Recommendations

  • Enable enhanced logging for LibreOffice macro execution events
  • Configure SentinelOne to monitor document application child process creation
  • Implement network monitoring for suspicious outbound connections following document opens
  • Track file hash reputation for documents with embedded macros

How to Mitigate CVE-2024-6472

Immediate Actions Required

  • Update LibreOffice to version 24.2.5 or later immediately
  • Configure LibreOffice macro security to "High" or "Very High" to restrict macro execution
  • Educate users about the risks of enabling macros from untrusted sources
  • Consider temporarily disabling macro execution organization-wide until patching is complete

Patch Information

LibreOffice has addressed this vulnerability in version 24.2.5. The patch improves the certificate verification user interface to clearly communicate verification failures, making it easier for users to understand when a macro signature cannot be trusted. Organizations should update to this version or later as soon as possible.

For detailed patch information, refer to the LibreOffice Security Advisory CVE-2024-6472.

Workarounds

  • Set macro security level to "Very High" which only allows macros from trusted file locations
  • Disable all macros by setting Tools → Options → LibreOffice → Security → Macro Security to "Very High"
  • Remove untrusted certificates from the LibreOffice certificate store
  • Use organization-wide group policies to enforce macro restrictions pending patching
bash
# Configuration example - Disable macros via registrymodifications.xcu
# Add to LibreOffice user profile configuration
# Location: ~/.config/libreoffice/4/user/registrymodifications.xcu

# Set macro security level to Very High (4)
# <item oor:path="/org.openoffice.Office.Common/Security/Scripting">
#   <prop oor:name="MacroSecurityLevel" oor:op="fuse"><value>4</value></prop>
# </item>

# Alternatively, restrict via command line deployment
libreoffice --infilter="macro_security_level=4"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechLibreoffice

  • SeverityHIGH

  • CVSS Score7.8

  • EPSS Probability0.07%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-295
  • Vendor Resources
  • LibreOffice Security Advisory CVE-2024-6472
  • Related CVEs
  • CVE-2024-7788: LibreOffice Signature Forgery Vulnerability

  • CVE-2023-2255: LibreOffice Auth Bypass Vulnerability

  • CVE-2025-2866: LibreOffice PDF Signature Spoofing Flaw

  • CVE-2023-0950: LibreOffice Spreadsheet RCE Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English