Oops... Code Execution and Content Spoofing: The First Comprehensive Analysis of OpenDocument Signatures
Simon Rohlmann, Christian Mainka, Vladislav Mladenov, Jörg Schwenk
摘要
OpenDocument is one of the major standards for interoperable office documents. Supported by office suites like Apache OpenOffice, LibreOffice, and Microsoft Office, the OpenDocument Format (ODF) is available for text processing, spreadsheets, and presentations on all major desktop and mobile operating systems.
When it comes to governmental and business use cases, OpenDocument signatures can protect the integrity of a document's content, for example, for contracts, amendments, or bills. Moreover OpenDocument signatures also protect document's macros. Since the risks of using macros in documents is well-known, modern office applications only enable their execution if a trusted entity signs the macro code. Thus, the security of ODF documents often depends on the correct signature verification.
In this paper, we conduct the first comprehensive analysis of OpenDocument signatures and reveal numerous severe threats. We identified five new attacks and evaluated them against 16 office applications on Windows, macOS, Linux, iOS, Android, and two online services. Our investigation revealed 12 out of 18 applications to be vulnerable for macro code execution, although the application only executes macros signed by trusted entities. For 17 of 18 applications, we could spoof the content in a signed ODF document while keeping the signature valid and trusted. Finally, we showed that attackers possessing a signed ODF could alter and forge the signature creation time in 16 of 18 applications.
Our research was acknowledged by Microsoft, Apache OpenOffice, and LibreOffice during the coordinated disclosure.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
脉络
- Breaking the Specification: PDF Certification 引用了 1 Trillion Dollar Refund: How To Spoof PDF Signatures
- Breaking the Specification: PDF Certification 引用了 Shadow Attacks: Hiding and Replacing Content in Signed PDFs
- Processing Dangerous Paths - On Security and Privacy of the Portable Document Format 引用了 PDF Mirage: Content Masking Attack Against Information-Based Online Services
- 1 Trillion Dollar Refund: How To Spoof PDF Signatures 引用了 PDF Mirage: Content Masking Attack Against Information-Based Online Services
- Shadow Attacks: Hiding and Replacing Content in Signed PDFs 引用了 PDF Mirage: Content Masking Attack Against Information-Based Online Services
- Shadow Attacks: Hiding and Replacing Content in Signed PDFs 引用了 1 Trillion Dollar Refund: How To Spoof PDF Signatures
它引用的 Paper5
- PDF Mirage: Content Masking Attack Against Information-Based Online ServicesIan D. Markwood, Dakun Shen, Yao Liu, Zhuo LuUSENIX Security 2017 · 31 次引用
- 1 Trillion Dollar Refund: How To Spoof PDF SignaturesVladislav Mladenov, Christian Mainka, Karsten Meyer zu Selhausen, Martin Grothe 等CCS 2019 · 23 次引用
- Breaking the Specification: PDF CertificationSimon Rohlmann, Vladislav Mladenov, Christian Mainka, Jörg SchwenkS&P 2021 · 16 次引用
- Processing Dangerous Paths - On Security and Privacy of the Portable Document FormatJens Müller, Dominik Noss, Christian Mainka, Vladislav Mladenov 等NDSS 2021
- Shadow Attacks: Hiding and Replacing Content in Signed PDFsChristian Mainka, Vladislav Mladenov, Simon RohlmannNDSS 2021
相关 Paper
- Every Signature is Broken: On the Insecurity of Microsoft Office's OOXML SignaturesSimon Rohlmann, Vladislav Mladenov, Christian Mainka, Daniel Hirschberger 等USENIX Security 2023
- Be Careful of What You Embed: Demystifying OLE VulnerabilitiesYunpeng Tian, Feng Dong, Haoyi Liu, Meng Xu 等NDSS 2025
- "Johnny, you are fired!" - Spoofing OpenPGP and S/MIME Signatures in EmailsJens Müller, Marcus Brinkmann, Damian Poddebniak, Hanno Böck 等USENIX Security 2019 · 34 次引用
- Data-strophy: When Your Integrity Goes Wild, So Does Your Data!Ya-Nan Li, Yaqing Song, Qiang Tang, Moti Yung 等CCS 2026
- Achilles: A Formal Framework of Leaking Secrets from Signature Schemes via RowhammerJunkai Liang, Zhi Zhang, Xin Zhang, Qingni Shen 等USENIX Security 2025
