CVE-2024-12425: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in The Document Foundation LibreOffice
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in The Document Foundation LibreOffice allows Absolute Path Traversal. An attacker can write to arbitrary locations, albeit suffixed with ".ttf", by supplying a file in a format that supports embedded font files. This issue affects LibreOffice: from 24.8 before < 24.8.4.
AI Analysis
Technical Summary
CVE-2024-12425 is a path traversal vulnerability classified under CWE-22 affecting The Document Foundation's LibreOffice software, specifically versions 24.8 prior to 24.8.4. The flaw allows an attacker to write files to arbitrary filesystem locations by exploiting improper validation of pathnames when handling embedded font files within supported document formats. The vulnerability permits writing files with a ".ttf" suffix, which are font files, potentially enabling an attacker to place malicious font files in locations that could be loaded or executed by the system or user applications. Exploitation requires local privileges (AV:L), low attack complexity (AC:L), no authentication (PR:L), and user interaction (UI:P). The impact on confidentiality and availability is minimal, but integrity could be affected if the attacker manages to influence system or application behavior through crafted font files. No known active exploits have been reported, and no patches were linked in the provided data, but upgrading to LibreOffice 24.8.4 or later is recommended. The vulnerability is limited by the need for local access and user interaction, reducing its risk profile. However, in environments where LibreOffice is widely used, especially in document-heavy workflows, this vulnerability could be leveraged for targeted attacks or persistence mechanisms.
Potential Impact
For European organizations, the primary impact of CVE-2024-12425 lies in the potential unauthorized modification of files on systems running vulnerable LibreOffice versions. While the vulnerability does not directly lead to remote code execution or data exfiltration, the ability to write arbitrary ".ttf" files could be abused to influence system behavior, for example, by placing malicious fonts that might be loaded by other applications or the OS, potentially leading to privilege escalation or persistence. The requirement for local privileges and user interaction limits the attack surface, but insider threats or social engineering could still exploit this flaw. Organizations with extensive use of LibreOffice in sensitive sectors such as government, finance, or critical infrastructure should consider the risk more seriously. Additionally, environments with lax endpoint security or where users have elevated privileges are more vulnerable. The low CVSS score reflects the limited scope and impact, but the vulnerability could serve as a stepping stone in multi-stage attacks.
Mitigation Recommendations
1. Upgrade LibreOffice to version 24.8.4 or later as soon as updates become available to ensure the vulnerability is patched. 2. Restrict user permissions on endpoints to prevent unauthorized file writes outside user directories, minimizing the impact of path traversal exploits. 3. Implement application whitelisting and endpoint protection solutions that monitor and block suspicious file writes, especially of font files in unusual locations. 4. Educate users about the risks of opening untrusted documents and the importance of avoiding social engineering traps that could trigger exploitation. 5. Monitor filesystem changes for unexpected creation of ".ttf" files in system or application directories. 6. Employ sandboxing or containerization for document processing where feasible to limit the scope of potential exploitation. 7. Regularly audit and review installed software versions and patch levels across the organization to maintain a secure posture.
Affected Countries
Germany, France, United Kingdom, Italy, Spain, Netherlands, Belgium, Sweden
CVE-2024-12425: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in The Document Foundation LibreOffice
Description
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in The Document Foundation LibreOffice allows Absolute Path Traversal. An attacker can write to arbitrary locations, albeit suffixed with ".ttf", by supplying a file in a format that supports embedded font files. This issue affects LibreOffice: from 24.8 before < 24.8.4.
AI-Powered Analysis
Technical Analysis
CVE-2024-12425 is a path traversal vulnerability classified under CWE-22 affecting The Document Foundation's LibreOffice software, specifically versions 24.8 prior to 24.8.4. The flaw allows an attacker to write files to arbitrary filesystem locations by exploiting improper validation of pathnames when handling embedded font files within supported document formats. The vulnerability permits writing files with a ".ttf" suffix, which are font files, potentially enabling an attacker to place malicious font files in locations that could be loaded or executed by the system or user applications. Exploitation requires local privileges (AV:L), low attack complexity (AC:L), no authentication (PR:L), and user interaction (UI:P). The impact on confidentiality and availability is minimal, but integrity could be affected if the attacker manages to influence system or application behavior through crafted font files. No known active exploits have been reported, and no patches were linked in the provided data, but upgrading to LibreOffice 24.8.4 or later is recommended. The vulnerability is limited by the need for local access and user interaction, reducing its risk profile. However, in environments where LibreOffice is widely used, especially in document-heavy workflows, this vulnerability could be leveraged for targeted attacks or persistence mechanisms.
Potential Impact
For European organizations, the primary impact of CVE-2024-12425 lies in the potential unauthorized modification of files on systems running vulnerable LibreOffice versions. While the vulnerability does not directly lead to remote code execution or data exfiltration, the ability to write arbitrary ".ttf" files could be abused to influence system behavior, for example, by placing malicious fonts that might be loaded by other applications or the OS, potentially leading to privilege escalation or persistence. The requirement for local privileges and user interaction limits the attack surface, but insider threats or social engineering could still exploit this flaw. Organizations with extensive use of LibreOffice in sensitive sectors such as government, finance, or critical infrastructure should consider the risk more seriously. Additionally, environments with lax endpoint security or where users have elevated privileges are more vulnerable. The low CVSS score reflects the limited scope and impact, but the vulnerability could serve as a stepping stone in multi-stage attacks.
Mitigation Recommendations
1. Upgrade LibreOffice to version 24.8.4 or later as soon as updates become available to ensure the vulnerability is patched. 2. Restrict user permissions on endpoints to prevent unauthorized file writes outside user directories, minimizing the impact of path traversal exploits. 3. Implement application whitelisting and endpoint protection solutions that monitor and block suspicious file writes, especially of font files in unusual locations. 4. Educate users about the risks of opening untrusted documents and the importance of avoiding social engineering traps that could trigger exploitation. 5. Monitor filesystem changes for unexpected creation of ".ttf" files in system or application directories. 6. Employ sandboxing or containerization for document processing where feasible to limit the scope of potential exploitation. 7. Regularly audit and review installed software versions and patch levels across the organization to maintain a secure posture.
Affected Countries
For access to advanced analysis and higher rate limits, contact root@offseq.com
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Document Fdn.
- Date Reserved
- 2024-12-10T16:37:20.903Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 69092147fe7723195e054081
Added to database: 11/3/2025, 9:40:23 PM
Last enriched: 11/3/2025, 10:10:12 PM
Last updated: 11/5/2025, 2:00:03 PM
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Related Threats
CVE-2025-12497: CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') in averta Premium Portfolio Features for Phlox theme
HighCVE-2025-11745: CWE-80 Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS) in spacetime Ad Inserter – Ad Manager & AdSense Ads
MediumCVE-2025-58337: CWE-284 Improper Access Control in Apache Software Foundation Apache Doris-MCP-Server
UnknownCVE-2025-12469: CWE-862 Missing Authorization in amans2k FunnelKit Automations – Email Marketing Automation and CRM for WordPress & WooCommerce
MediumCVE-2025-12468: CWE-200 Exposure of Sensitive Information to an Unauthorized Actor in amans2k FunnelKit Automations – Email Marketing Automation and CRM for WordPress & WooCommerce
MediumActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need enhanced features?
Contact root@offseq.com for Pro access with improved analysis and higher rate limits.