[27092] in bugtraq

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

Execution Rights Not Checked Correctly For 16-bit Applications

daemon@ATHENA.MIT.EDU (=?iso-8859-1?Q?Torbj=F6rn_Hovmark?)
Wed Sep 18 15:08:52 2002

Message-ID: <03a101c25f39$c6b042d0$fe87a8c0@fujitsu>
From: =?iso-8859-1?Q?Torbj=F6rn_Hovmark?= <torbjorn.hovmark@abtrusion.com>
To: <bugtraq@securityfocus.com>
Date: Wed, 18 Sep 2002 19:35:26 +0200
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

A 16-bit executable file can be loaded for execution even though the file is
flagged with execute permission denied.

Platforms: Windows NT, 2000, XP



Overview:

Windows NT/2000/XP do not check execution rights correctly before allowing
16-bit executables to load. This makes it possible to load and execute
16-bit files without execute permission. For example, the command line

COMMAND /c 16BitApp.exe

will always run the application 16BitApp.exe regardless of execute
permission.

Any application or system setup that depends on access control lists to
protect from remote or local code execution is potentially vulnerable.





Background:

For a background discussion and more detailed instructions of how to
reproduce, see http://www.abtrusion.com/msexe16.asp





Workaround:

Disable NTVDM.EXE. It is possible to do this by denying everyone EXECUTE
permission for NTVDM.EXE. Please note that this will disable all 16-bit
programs.





Status:

The bug was reported to Microsoft on July 2, 2002.

Microsoft plans to fix this bug in future service packs.





Vendor Statement:

Microsoft wants to make the following statement: "Microsoft will fix this
and Microsoft feels that a service pack is the most appropriate way to
address this issue."



______________________________________
Abtrusion Security AB
http://www.abtrusion.com




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