|
|||||||||||
|
Unbreakable Lotus Notes
From: Alotta Black <alotta_black(at)hotmail.com>
Date: Thu Jul 24 2003 - 21:13:24 EDT
Rapid7 reported a buffer overflow in Lotus Notes Protocol Authentication
just a couple of months ago
Unconvinced, I tried messing around with it and managed to crash Lotus Notes Server by following Rapid7's advisory. All seems right, only a few details in the advisory were incorrect:
Outer header field must be less than the length specified in the DN field in order for the byte counter to be reset to 0xFFFE. It is also possible to copy more than 65534 bytes onto the Notes heap, by crafting the packet such that the counter resets to 0xFFFE each time it reaches ->2 where it breaks out. 2) "An attacker can supply all of the bytes to be copied by specifying additional data in the packet after the DN". While it is possible to control N in copying N*65534 bytes, it is not possible to supply all of the bytes. Each authentication request contains a length field in the header, such that, data limited by this length is first truncated before it is processed. The value of this length field is capped at 0x1f40 bytes, sending any one byte more will cause the session to be disconnected immediately. This essentially prevents anyone from supply all of the N*65534 bytes to be copied onto the heap.
With these limitations, EBX and EDX were nevertheless overwritten in
OSFreeDBlockWithSize() and
Lotus is probably right, Notes Server is unbreakable. -- A1otta Black _________________________________________________________________ Stay in touch with absent friends - get MSN Messenger http://www.msn.co.uk/messengerReceived on Fri Jul 25 01:45:36 2003 This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:07:40 EDT |
||||||||||
|
|||||||||||