OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Desktop.ini flaw results in executing folders

From: roozbeh afrasiabi (roozbeh_afrasiabiyahoo.com)
Date: Mon May 17 2004 - 14:32:24 CDT


                            advisory#4
/--------------------------------------------------------------------/

Vendor: Microsoft Corp.
product: windows (only tested on winxp.pro.ed)
test machine: win.xp.pro.ed ie.6 (fully patched)
Discovery by: Roozbeh Afrasiabi
                     [roozbeh_afrasiabi(At)yahoo(dot)com]
Risk: med
Title: Desktop.ini flaw results in executing
                     folders

/--------------------------------------------------------------------/

TABLE OF CONTENTS:
==================

Description..............................................1

Exploit..................................................2

Contact info.............................................3

Disclaimer...............................................4

1)Description:
==================

Certain system folders on windows(XP) are created using desktop.ini by
use of their CLSIDs , this is done by setting the CLSID value of the
shellclassinfo in desktop.ini to their assigned CLSIDs , however there
is no restriction to what CLSIDs are safe and can be used, this could
bring up security issues when CLSIDs that point to executables are set
as the CLSID value.
This vulnerability effects IEXPLORE.EXE and EXPLORER.exe and may result
in execution of malicious code in the context of the currently logged
in user.

2)Exploit
===========

http://www.freewebs.com/roozbeh_afrasiabi/xploit/execute.htm

3)Contact Info
==================

roozbeh_afrasiabi(at)yahoo(dot)com
da_stone_cold_killer(at)yahoo(dot)com
mepersia-fars-shiraz

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.2.1 (MingW32) - WinPT 0.7.96rc1

mQGiBEBVbGoRBACT+S7j6awJjH8ctpioGfdmQzfwxd/M5vcafFpWjYTb2g4NINfB
gzbXFANzOMDcXhmrQysvgeFl7smhFVKDl0c7dtsqvgn5pydfXRCljZwrSQAwE/PS
vSSzV7QhEI5zLWkpieyjZhlxCYtHlxma36pBx3ZpPPDfAFNpW0QBB94rxwCgoZO9
TR/YXs19bOipfffI02dv758EAILHfEHXNkb050yaU8y47JJXl64OOnQcwgNafLa4
cEyYSRYwkZUqnBX6xmB/hy8J9AnmED7tjKLSqrupJivrxueSwbNom+QN2cPpWv+i
MZXGgMLZAOrlAi4R7gGBAIq7K+Ow0Z4/FQMH3Aryw9WkBlDK7bChfLeoAXNrQAWG
kfgKA/47WQN0SAD9KSmbdMB6q8EE7sD7vYkZWIg+j4JJaWskdN7qCbSB6EBnWKQb
6gE2999nlphhmcUjS1TgjUgCLHjQ9lMIWr0Zec8NmcZyEVnEKgjHK7MkvocLpT7h
zYkVMO9HLecllYr6FrnNtWpOw/X7FVhSkNIKgNNZQ0Z3Xi3Z57RQcm9vemJlaCBh
ZnJhc2lhYmkgKHJvb3piZWhfYWZyYXNpYWJpQHlhaG9vLmNvbSkgPGRhX3N0b25l
X2NvbGRfa2lsbGVyQHlhaG9vLmNvbT6IWQQTEQIAGQUCQFVsagQLBwMCAxUCAwMW
AgECHgECF4AACgkQLh+KhhfWhDXgTwCeKAVoNkUjYqBbWu+l3WfArf4+vwkAoIjx
rBC/FnLEJDuSJ5SuLho04QtOuOsEQFVscwEHAL5OyxFo1eAwGijoPfIwQPINLuvr
bo7WVzwGmUXvvZsbLvMjc80zdUD2PaZr1kurZwqE13If+XzpNZdlFfmjtYKST+s8
8lwnzK2ososE0m4uT1MatHQxK3HNKIDRUOg7TC8PaPD+FUYntcdUYs3bdror7179
kOIfM7/ZtCQuWoqFMOZiCTd7PUSgmEXsUWoNzlNmGJmZMgSc0MtAFiGDys3sA5fK
8JyOA0rQHvmcne1Xh9P4aA9+mutSGnx/4mFPYLdDFBA5go5B0XOPrjQelxQlRAAU
xmWk0kgx+X25WRK/AAYpiEYEGBECAAYFAkBVbHMACgkQLh+KhhfWhDUH4wCfZ/83
xkEvaT1IWeaDemU5dYAysPsAnRP6Qyw1DM3gHhxl6m+bjEwPX6AG
=q+hK
-----END PGP PUBLIC KEY BLOCK-----

4)Disclaimer
==================

Roozbeh Afrasiabi is not responsible for the misuse of the information provided in this report. In no event shall the author be liable for any damages whatsoever arising out of or in connection with the use or spread of this advisory. Any use of the information is at the user's own risk.

                                                                                                                                  All Rights Reserved