CyberSecBulletin
CVE-2023-6186NVD status: Modified

LibreOffice: Improper Preservation of Permissions

CVE-2023-6186 is a high-severity improper preservation of permissions vulnerability in LibreOffice from The Document Foundation, with a CVSS 3.1 base score of 8.8 out of 10. It can be exploited remotely over the network by an attacker with a low-privileged account, without any action from a user. The record lists versions 7.5.9, 7.6.4 as the first without the flaw, so updating LibreOffice to one of those releases or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 0.77% chance of exploitation within 30 days, higher than 56% of scored CVEs.

Next patch cycle

High severity with no evidence of exploitation so far.

What to do

  1. Update LibreOffice to 7.5.9 or 7.6.4, whichever matches your release line, or a later version.
  2. Read the advisory on libreoffice.org for workarounds and exact fixed builds.

Affected products and versions

VendorProductAffected versionsFixed in
The Document FoundationLibreOffice7.5 up to, but not including, 7.5.9; 7.6 up to, but not including, 7.6.47.5.9, 7.6.4
Fedora ProjectFedora38Not stated
DebianDebian Linux11.0; 12.0Not stated

Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.

How the severity score breaks down

Attack vector
NetworkCan be exploited remotely over a network, including the internet.
Attack complexity
LowNo special conditions are needed; the attack works reliably.
Privileges required
LowA basic user account is enough.
User interaction
NoneNo action by a victim is required.
Scope
UnchangedImpact stays within the vulnerable component.
Confidentiality
HighAll data handled by the component can be read.
Integrity
HighData or code can be modified at will.
Availability
HighThe component can be taken down completely.

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. Scored by NVD.

Scoring systemScoreSeverityScored by
CVSS 3.18.3HighCNA (documentfoundation.org)
CVSS 3.18.8HighNVD

Official description

Insufficient macro permission validation of The Document Foundation LibreOffice allows an attacker to execute built-in macros without warning. In affected versions LibreOffice supports hyperlinks with macro or similar built-in command targets that can be executed when activated without warning the user.

Source: the CVE record as published by its numbering authority, via NVD and CVE.org.

The underlying weakness: Improper Preservation of Permissions

The product does not preserve permissions or incorrectly preserves permissions when copying, restoring, or sharing objects, which can cause them to have less restrictive permissions than intended.

More Improper Preservation of Permissions vulnerabilities (CWE-281)

Timeline

  1. CVE record published.
  2. Record last changed materially (score, affected products, status or references).

References

Third-party and government advisories

Other vulnerabilities in LibreOffice

All LibreOffice vulnerabilities

Recent Improper Preservation of Permissions vulnerabilities

Spotted an error? Tell us.