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.
High severity with no evidence of exploitation so far.
What to do
- Update LibreOffice to 7.5.9 or 7.6.4, whichever matches your release line, or a later version.
- Read the advisory on libreoffice.org for workarounds and exact fixed builds.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| The Document Foundation | LibreOffice | 7.5 up to, but not including, 7.5.9; 7.6 up to, but not including, 7.6.4 | 7.5.9, 7.6.4 |
| Fedora Project | Fedora | 38 | Not stated |
| Debian | Debian Linux | 11.0; 12.0 | Not 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 system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 8.3 | High | CNA (documentfoundation.org) |
| CVSS 3.1 | 8.8 | High | NVD |
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
- CVE record published.
- Record last changed materially (score, affected products, status or references).
References
Third-party and government advisories
- lists.fedoraproject.org/archives/list/[email protected]/message/QB7UB6CTWQUDOE657OVVRS…Mailing List, Third Party Advisory
- debian.org/security/2023/dsa-5574Third Party Advisory
Other references
Other vulnerabilities in LibreOffice
- 8.5 High severity
- 7.8 High severity
- 7.3 High severity
- 7.8 High severity
- 7.8 High severity
- 7.8 High severity
Recent Improper Preservation of Permissions vulnerabilities
- 9.8 Critical severity
- 8.8 High severity
- 8.8 High severity
- 7.8 High severity
- 8.8 High severity
- 7.8 High severity
Spotted an error? Tell us.