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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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 signed macros. This article covers technical details, affected versions, and mitigations.

Updated: May 14, 2026

CVE-2024-6472 Overview

CVE-2024-6472 affects the certificate validation user interface in LibreOffice. The vulnerability resides in how the application presents signed macro verification failures to users. When a document containing a signed macro is opened, LibreOffice displays a warning before executing the macro. Prior to the fix, users encountering a verification failure could misinterpret the warning and choose to enable the macros regardless. This user interface weakness maps to improper certificate validation [CWE-295]. The issue affects LibreOffice versions from 24.2 before 24.2.5.

Critical Impact

Attackers can leverage misleading certificate validation dialogs to convince users to execute malicious signed macros, leading to local code execution with full impact on confidentiality, integrity, and availability.

Affected Products

  • LibreOffice 24.2 through versions before 24.2.5
  • The Document Foundation LibreOffice (desktop productivity suite)
  • All operating systems supported by the affected LibreOffice builds

Discovery Timeline

  • 2024-08-05 - CVE-2024-6472 published to the National Vulnerability Database (NVD)
  • 2025-12-10 - Last updated in NVD database

Technical Details for CVE-2024-6472

Vulnerability Analysis

The vulnerability stems from how LibreOffice communicates signed macro verification failures through its certificate validation user interface. Signed macros are scripts cryptographically signed by their developer. LibreOffice verifies the signature when the document is opened and displays a warning dialog before executing any macro code.

When verification fails, the previous dialog implementation did not clearly distinguish between a successfully validated signature and a failed one. A user could misread the warning and grant execution permission to a macro whose signature could not be trusted. The flaw classifies as Improper Certificate Validation [CWE-295] because the trust decision presented to the user did not accurately reflect the cryptographic verification result.

Successful exploitation results in arbitrary macro code running with the privileges of the user opening the document. This gives an attacker the ability to access files, execute commands, and tamper with data accessible to that user.

Root Cause

The root cause is a user interface design defect in the macro signature warning dialog. The dialog presented signature failure states in a manner that allowed users to proceed without understanding that the cryptographic verification had failed. The application logic deferred the trust decision to the user without conveying the failed state clearly.

Attack Vector

Exploitation requires local user interaction. An attacker crafts a document containing a malicious macro signed with an invalid, untrusted, or tampered signature. The attacker then delivers the document through email, file sharing, or a compromised website. When the victim opens the document in a vulnerable LibreOffice build, the misleading verification dialog can be misinterpreted, leading the user to enable macros and trigger code execution. No network access or elevated privileges are required to launch the attack.

No public proof-of-concept or exploit code is currently available for CVE-2024-6472. Refer to the LibreOffice Security Advisory CVE-2024-6472 for vendor-supplied technical context.

Detection Methods for CVE-2024-6472

Indicators of Compromise

  • Office documents (.odt, .ods, .odp, .docx, .xlsx) containing embedded macros with invalid or untrusted digital signatures
  • LibreOffice child processes (soffice.bin) spawning interpreters such as cmd.exe, powershell.exe, bash, or python shortly after document open
  • Unexpected outbound network connections initiated by soffice.bin following document execution
  • New persistence artifacts (scheduled tasks, registry Run keys, cron entries) created in user context after opening a signed-macro document

Detection Strategies

  • Monitor process lineage for soffice.bin parenting scripting hosts or shells, a strong signal of macro-driven code execution
  • Inspect email gateways and file shares for Office documents containing macros and flag those with broken or self-signed certificate chains
  • Correlate document-open telemetry with subsequent file writes to user-writable directories (%APPDATA%, /tmp, ~/.config)

Monitoring Recommendations

  • Enable command-line and process-creation logging on endpoints running LibreOffice to capture macro-triggered execution chains
  • Audit LibreOffice macro security settings centrally and alert on downgrades from High or Very High to Medium or Low
  • Aggregate endpoint, email, and proxy telemetry in a centralized analytics platform to correlate document delivery with post-open behavior

How to Mitigate CVE-2024-6472

Immediate Actions Required

  • Upgrade LibreOffice to version 24.2.5 or later on all endpoints in the 24.2 branch
  • Configure macro security to High or Very High so unsigned and untrusted-signed macros are blocked by default
  • Educate users to reject any macro prompt that references a failed or unverifiable signature
  • Inventory hosts running affected LibreOffice builds and prioritize patching for users who routinely handle external documents

Patch Information

The Document Foundation fixed CVE-2024-6472 in LibreOffice 24.2.5. The patch revises the certificate validation user interface to clearly communicate failed signature states and removes ambiguous trust prompts. Patch details are available in the LibreOffice Security Advisory CVE-2024-6472.

Workarounds

  • Disable macro execution entirely through Tools > Options > LibreOffice > Security > Macro Security and select Very High
  • Restrict trusted macro sources to a managed allowlist of internal signing certificates
  • Block inbound Office documents containing macros at the email gateway when business workflows allow
bash
# Configuration example: enforce highest macro security via the LibreOffice registrymodifications.xcu
# Place under each user profile: ~/.config/libreoffice/4/user/registrymodifications.xcu
<item oor:path="/org.openoffice.Office.Common/Security/Scripting">
  <prop oor:name="MacroSecurityLevel" oor:op="fuse">
    <value>3</value>
  </prop>
</item>

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-2026-4430: LibreOffice Buffer Overflow Vulnerability

  • CVE-2024-5261: LibreOffice TLS Verification Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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