the internet's safety

msoffice-signature.txt

msoffice-signature.txt
Posted Dec 12, 2007
Authored by Henrich C. Poehls, Dong Tran, Finn Petersen, Frederic Pscheid

Microsoft Office 2007's digital signature protection does not protect meta-data.

tags | advisory
MD5 | 4344e3549407ac807bc6531c29a6bf52

msoffice-signature.txt

Change Mirror Download

Affects: Microsoft Office 2007 (12.0.6015.5000)
MSO (12.0.6017.5000)
possibly older versions


I. Background

Microsoft Office is a suite containing several programs to
handle Office documents like text documents or spreadsheets.
The latest version uses an XML based document format.
Microsoft Office allows documents to be digitally signed by
authors using certified keys, allowing viewers to verify the
integrity and the origin based on the author's public key.
The author's public key certificate, which can come from a
trusted third party, is embedded in the signed document.
It is XML DSig based.


II. Problem Description

Microsoft Office documents carry meta data information
according to the DublinCore metadata in the file
docProps/core.xml . Among these meta data information
are the fields "LastModifiedBy", "creator" together with
several others that can be displayed/changed through the
following menu "Office Button -> Prepare -> Properties".
These entries can be changed without invalidating the signature.
At least under Windows Operating Systems these information are
also shown in the Window's file systems properties.


III. Impact

The meta data of signed Microsoft Office documents can be
changed. An attacker can change the values to spoof the origin
of signed documents, hoping to induce trust or otherwise
deceive the user.

III.1. Proof of Concept

Open the OOXML ZIP container of a signed document.
Change the values in the docProps/core.xml file.
For example set the value between "<dc:creator>*</dc:creator>"
to "<dc:creator>FooBar</dc:creator>".
The changes will be displayed in the document's properties
dialog as described above. The signature will still be valid.


IV. Workaround

The meta data information of a signed OOXML document
can be changed without invalidating the signature, thus
information about the real author of a signed document can
only be retrieved from the certificate.
The signed file's meta data can not be trusted as the
meta data is not covered by the signature.


V. Solution

No possible solution.


VI. Correction details

A closer look into the references section of the XML signature
used by Microsoft Office (stored in the File
_xmlsignatures\sig1.xml) reveals that the file core.xml is
not in the list of references. Thus it is not covered by the
signature.

As a solution the scope of the signature needs to be extended
to cover all the relevant information contained in the whole
document, thus also the meta data in core.xml.

Include core.xml, and probably other files in the signature's
list of references.

VII. Time line

2007-10-24: Vendor contacted
2007-10-25: Vendor acknowledged receipt
2007-11-14: 1st Deadline reached
2007-11-27: Reminder sent
2007-12-12: No response received until today




Yours,
Henrich C. Poehls, Dong Tran, Finn Petersen, Frederic Pscheid
SVS - Dept. of Informatics - University of Hamburg

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

May 2012

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    May 1st
    37 Files
  • 2
    May 2nd
    53 Files
  • 3
    May 3rd
    33 Files
  • 4
    May 4th
    4 Files
  • 5
    May 5th
    10 Files
  • 6
    May 6th
    17 Files
  • 7
    May 7th
    19 Files
  • 8
    May 8th
    36 Files
  • 9
    May 9th
    34 Files
  • 10
    May 10th
    35 Files
  • 11
    May 11th
    20 Files
  • 12
    May 12th
    18 Files
  • 13
    May 13th
    11 Files
  • 14
    May 14th
    27 Files
  • 15
    May 15th
    58 Files
  • 16
    May 16th
    54 Files
  • 17
    May 17th
    25 Files
  • 18
    May 18th
    53 Files
  • 19
    May 19th
    9 Files
  • 20
    May 20th
    15 Files
  • 21
    May 21st
    25 Files
  • 22
    May 22nd
    32 Files
  • 23
    May 23rd
    35 Files
  • 24
    May 24th
    26 Files
  • 25
    May 25th
    25 Files
  • 26
    May 26th
    0 Files
  • 27
    May 27th
    0 Files
  • 28
    May 28th
    0 Files
  • 29
    May 29th
    0 Files
  • 30
    May 30th
    0 Files
  • 31
    May 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2012 Packet Storm. All rights reserved.

close