CVE-2024-7788
High · 7.8CVSS
7.8
EPSS
0.2%
Published
Sep 17, 2024
CISA due date
—
Cloudanix analysis
A bug in document repair features lets attackers fake digital signatures so malicious files can appear trustworthy.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Moderate
- Impact
- Data Tampering
- Component
- Application
- Class
- Cryptographic Weakness
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Improper validation of digital signatures during Zip Repair Mode allows an attacker to forge signatures on documents.
Why it matters to the business
Organizations relying on document authenticity for workflows face increased risk of tampered or malicious files being accepted as genuine, potentially disrupting trust in signed content and requiring urgent updates across document processing environments.
How an attack unfolds
An attacker crafts a specially malformed ZIP archive containing a digital signature, then triggers the Zip Repair Mode to bypass signature checks and produce a seemingly valid signed document that can be opened without warnings.
How to fix it
Upgrade all affected instances to the fixed version github.com/cri-o/cri-o (Go): fixed in 1.24.0 or later. Verify signature handling configurations after update.
How to confirm the fix worked
Confirm the installed version meets or exceeds the fixed release, test signature validation on sample repaired archives, and review release notes for cryptographic fixes.
Typical attack path
- Identify a target using an affected version of the document processor
- Craft a ZIP archive with an invalid or altered digital signature
- Deliver the archive to the victim via email or file share
- Trigger Zip Repair Mode upon opening or processing
- Obtain a forged signature that passes validation
How to detect it
Review application logs for entries related to Zip Repair Mode processing of signed files, correlate with unexpected signature validations, and search for artifacts from document processing events around the time of suspected compromise.
What your security team should do
- Prioritize patching to the fixed version due to high CVSS and cryptographic nature of the flaw
- Monitor EPSS trend and any emerging exploit maturity indicators
- Audit document workflows that rely on Zip Repair Mode
- Implement compensating controls such as disabling repair mode where feasible until patched
The record
Improper Digital Signature Invalidation vulnerability in Zip Repair Mode of The Document Foundation LibreOffice allows Signature forgery vulnerability in LibreOfficeThis issue affects LibreOffice: from 24.2 before < 24.2.5.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | libreoffice | 0 | No fix |
| Debian:11 | libreoffice | 0 | 1:7.0.4-4+deb11u11 |
| Debian:12 | libreoffice | 0 | 4:7.4.7-1+deb12u5 |
| Debian:13 | libreoffice | 0 | 4:24.2.5-1 |
| Ubuntu:20.04:LTS | libreoffice | 0 | 1:6.4.7-0ubuntu0.20.04.12 |
| Ubuntu:22.04:LTS | libreoffice | 0 | 1:7.3.7-0ubuntu0.22.04.7 |
| Ubuntu:24.04:LTS | libreoffice | 0 | 4:24.2.5-0ubuntu0.24.04.2 |
Related vulnerabilities
- CVE-2024-12426 Exposure of Environmental Variables and arbitrary INI file values to an Unauthorized… Also affects libreoffice
- CVE-2024-12425 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')… Also affects libreoffice
- CVE-2021-25636 LibreOffice supports digital signatures of ODF documents and macros within documents… Also affects libreoffice
- CVE-2021-25633 LibreOffice supports digital signatures of ODF documents and macros within documents… Also affects libreoffice
- CVE-2017-3157 By exploiting the way Apache OpenOffice before 4.1.4 renders embedded objects, an… Also affects libreoffice
- CVE-2017-12607 A vulnerability in OpenOffice's PPT file parser before 4.1.4, and specifically in… Also affects libreoffice
- CVE-2016-10327 LibreOffice before 2016-12-22 has an out-of-bounds write caused by a heap-based buffer… Also affects libreoffice
- CVE-2016-4324 Use-after-free vulnerability in LibreOffice before 5.1.4 allows remote attackers to… Also affects libreoffice