[38127] in bugtraq

home help back first fref pref prev next nref lref last post

The Misuse of RC4 in Microsoft Word and Excel

daemon@ATHENA.MIT.EDU (Hongjun Wu)
Tue Jan 11 13:52:00 2005

Date: 11 Jan 2005 11:37:54 -0000
Message-ID: <20050111113754.21736.qmail@www.securityfocus.com>
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: binary
MIME-Version: 1.0
From: Hongjun Wu <hongjun@i2r.a-star.edu.sg>
To: bugtraq@securityfocus.com



There is a serious security flaw in Microsoft Word and Excel. (To the best of my knowledge, this flaw has not been reported in public before.) 

The stream cipher RC4 with key length up to 128 bits is used in Microsoft Word and Excel to encrypt the documents. But when an encrypted document gets modified and saved, the initialization vector of RC4 remains the same. Thus the same keystream generated from RC4 is applied to encrypt the different versions of that document. The consequence is disastrous since a lot of information of that document could be recovered easily from those encrypted different versions. 

The details of the flaw are described in the document (PDF):

    http://eprint.iacr.org/2005/007.pdf

home help back first fref pref prev next nref lref last post