MessengerOverflow_ms03-043.c

Submits the time: 2003-10-21
Submits the user:Dav1d
Tool classification: Attack procedure
Movement platform: Windows
Tool size: 5,699 Bytes
Document MD5: 0e504611d9d217cef084befbb7e528b8
Tool origin:Http://www.dav1d.org

In yesterday passed on MessengerOverflow (MS03-043) c the typesetting had the mistake, caused to be unable to transmit the correct packet package,
Asks the manager to replace! !
The new document joins #pragma comment (lib, "ws2_32.lib"), may directly translate successfully.
To inconvenient which creates, I express extremely the apology!

Family of the security: :Dav1d
Http://www.dav1d.org

DoS Proof of Concept for MS03-043

Exploitation shouldn't be
too hard. Launching it one or two times against the target should make
the machine reboot. Tested against a Win2K SP4.

"The vulnerability results because the Messenger Service does
not properly validate the length of a message before passing it to the
allocated buffer" according to MS bulletin. Digging into it a bit
more, we find that when a character 0x14 in encountered in the 'body'
part of the message, it is replaced by a CR+LF. The buffer allocated
for this operation is twice the size of the string, which is the way
to go, but

DoS Proof of Concept for MS03-043 - exploitation shouldn't be
too hard. Launching it one or two times against the target should make
the machine reboot. Tested against a Win2K SP4.

"The vulnerability results because the Messenger Service does
not properly validate the length of a message before passing it to the
allocated buffer" according to MS bulletin. Digging into it a bit
more, we find that when a character 0x14 in encountered in the 'body'
part of the message, it is replaced by a CR+LF. The buffer allocated
for this operation is twice the size of the string, which is the way
to go, but is then copied to a buffer which was only allocated 11CAh
bytes. Thanks to that, we can bypass the length checks and overflow
the fixed size buffer.

Credits go to LSD:)

Author: Hanabishi Recca recca@mail.ru

Modified: Dav1d homepage: Http://www.dav1d.org

Translates successfully under VC++, has joined: #pragma comment
(lib, "ws2_32.lib") goal ip please voluntarily revises