CVE-2024-6472 Ability to trust not validated macro signatures removed in high security mode

High 7.8 Published Updated

Attackers can bypass macro signature validation in LibreOffice, potentially executing malicious code if users ignore warnings.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2024-6472?

CVE-2024-6472 is a high-severity vulnerability in Libreoffice Libreoffice, published on 5 Aug 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Certificate Validation user interface in LibreOffice allows potential vulnerability.

Signed macros are scripts that have been digitally signed by the developer using a cryptographic signature. When a document with a signed macro is opened a warning is displayed by LibreOffice before the macro is executed.

Previously if verification failed the user could fail to understand the failure and choose to enable the macros anyway.

This issue affects LibreOffice: from 24.2 before 24.2.5.

Weakness: CWE-295

Which versions are affected by CVE-2024-6472?

It affects 1 product.

Linux distribution packages (40)
autocorr-af AlmaLinux:8All versions1:6.4.7.2-18.el8_10.alma.1
autocorr-bg AlmaLinux:8All versions1:6.4.7.2-18.el8_10.alma.1
autocorr-ca AlmaLinux:8All versions1:6.4.7.2-18.el8_10.alma.1
autocorr-cs AlmaLinux:8All versions1:6.4.7.2-18.el8_10.alma.1
autocorr-da AlmaLinux:8All versions1:6.4.7.2-18.el8_10.alma.1
autocorr-de AlmaLinux:8All versions1:6.4.7.2-18.el8_10.alma.1
autocorr-en AlmaLinux:8All versions1:6.4.7.2-18.el8_10.alma.1
autocorr-es AlmaLinux:8All versions1:6.4.7.2-18.el8_10.alma.1
autocorr-fa AlmaLinux:8All versions1:6.4.7.2-18.el8_10.alma.1
autocorr-fi AlmaLinux:8All versions1:6.4.7.2-18.el8_10.alma.1
autocorr-fr AlmaLinux:8All versions1:6.4.7.2-18.el8_10.alma.1
autocorr-ga AlmaLinux:8All versions1:6.4.7.2-18.el8_10.alma.1
autocorr-hr AlmaLinux:8All versions1:6.4.7.2-18.el8_10.alma.1
autocorr-hu AlmaLinux:8All versions1:6.4.7.2-18.el8_10.alma.1
autocorr-is AlmaLinux:8All versions1:6.4.7.2-18.el8_10.alma.1
autocorr-it AlmaLinux:8All versions1:6.4.7.2-18.el8_10.alma.1
autocorr-ja AlmaLinux:8All versions1:6.4.7.2-18.el8_10.alma.1
autocorr-ko AlmaLinux:8All versions1:6.4.7.2-18.el8_10.alma.1
autocorr-lb AlmaLinux:8All versions1:6.4.7.2-18.el8_10.alma.1
autocorr-lt AlmaLinux:8All versions1:6.4.7.2-18.el8_10.alma.1
autocorr-mn AlmaLinux:8All versions1:6.4.7.2-18.el8_10.alma.1
autocorr-nl AlmaLinux:8All versions1:6.4.7.2-18.el8_10.alma.1
autocorr-pl AlmaLinux:8All versions1:6.4.7.2-18.el8_10.alma.1
autocorr-pt AlmaLinux:8All versions1:6.4.7.2-18.el8_10.alma.1
autocorr-ro AlmaLinux:8All versions1:6.4.7.2-18.el8_10.alma.1
autocorr-ru AlmaLinux:8All versions1:6.4.7.2-18.el8_10.alma.1
autocorr-sk AlmaLinux:8All versions1:6.4.7.2-18.el8_10.alma.1
autocorr-sl AlmaLinux:8All versions1:6.4.7.2-18.el8_10.alma.1
autocorr-sr AlmaLinux:8All versions1:6.4.7.2-18.el8_10.alma.1
autocorr-sv AlmaLinux:8All versions1:6.4.7.2-18.el8_10.alma.1
autocorr-tr AlmaLinux:8All versions1:6.4.7.2-18.el8_10.alma.1
autocorr-vi AlmaLinux:8All versions1:6.4.7.2-18.el8_10.alma.1
autocorr-zh AlmaLinux:8All versions1:6.4.7.2-18.el8_10.alma.1
libreoffice AlmaLinux:8All versions1:6.4.7.2-18.el8_10.alma.1
libreoffice-base AlmaLinux:8All versions1:6.4.7.2-18.el8_10.alma.1
libreoffice-calc AlmaLinux:8All versions1:6.4.7.2-18.el8_10.alma.1
libreoffice-core AlmaLinux:8All versions1:6.4.7.2-18.el8_10.alma.1
libreoffice-data AlmaLinux:8All versions1:6.4.7.2-18.el8_10.alma.1
libreoffice-draw AlmaLinux:8All versions1:6.4.7.2-18.el8_10.alma.1
libreoffice-emailmerge AlmaLinux:8All versions1:6.4.7.2-18.el8_10.alma.1

Products include Libreoffice Libreoffice.

How do I fix CVE-2024-6472?

Upgrade to a fixed version.

Is CVE-2024-6472 being exploited?

There is no known exploitation of CVE-2024-6472 in the wild and no public exploit code.

All Libreoffice Libreoffice vulnerabilities

Sources

Also known as ALSA-2024:5583, ALSA-2024:5598, DEBIAN-CVE-2024-6472, DSA-5737-1, GHSA-w6mm-86qp-2r3q, MGASA-2024-0320 and 11 more.

Is CVE-2024-6472 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free