exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

icq11.htm

icq11.htm
Posted Jan 21, 2000
Site oliver.efri.hr

OS tested was Windows 2000 and ICQ v99b 1.1.1.1. ICQ is a very popular chat client that is affected by a exploitable buffer overflow when it parses an URL sent by another user. What this means is that arbitary assembly code can be run on the remote machine.

tags | exploit, remote, overflow
systems | windows
SHA-256 | c56d1f4e56219b6d49de977af302c96651bb3965e3248d8a7976706cedb0949c

icq11.htm

Change Mirror Download
<!DOCTYPE HTML PUBLIC "html.dtd">
<HTML>
<BODY BGCOLOR="#000000" TEXT="#FFFFFF"><PRE>
<FONT COLOR="#CC0000">COMMAND</FONT>

ICQ

<FONT COLOR="#CC0000">SYSTEMS AFFECTED</FONT>

Icq v99b 1.1.1.1

<FONT COLOR="#CC0000">PROBLEM</FONT>

Drew Copley found following. OS tested was Windows 2000 and ICQ
v99b 1.1.1.1. ICQ is a very popular chat client that is affected
by a exploitable buffer overflow when it parses an URL sent by
another user. What this means:

* one, arbitary assembly code can be run on the remote machine.
(Therefore, a shell could be spawned, a trojan executed, or
perhaps easiest of all the hard drive could be wiped.)

* two, this did not take very long to find, and generally, if
there is not bounds checking in one place, then there is not
going to be bounds checking in other places as well. While ICQ
is not likely to be run on a "hub of commerce" server... it is
run on millions of systems, and someone could use a script to
spam these millions of systems with such an URL... from there
a timed distributed network attack could be launched. (Timed
because of the dynamic IP's).

When sending a URL link through a message in ICQ, it is possible
to overflow the buffer and control the instruction execution.
<FONT COLOR="#00FF00">
http://www.yahoo.com/sites.asp?!!!!·P!
</FONT>
The exclamation marks are where EBP is overwritten. The four
characters after that are where EIP is overwritten. This link
puts a jump esp into the EIP, bringing the flow of execution back
into the buffer to the place right at the end of the URL, after
the last NOP's after the EIP (tested on w2k final beta).

So, basically, you just tack the exploit code onto the end of the
URL above, and the machine will run it. It should be pretty easy
to jump the stack as well. Some characters are not allowed,
making this slightly more difficult. ",", opcode 2C is not
allowed, "]"'s are not allowed, and opcode "01" is not allowed.
Pretty much anything else is.

Explicit example would be as it follows. You click on someone in
your ICQ to send them a message, you cut and past the above code
into the message. When they receive and click on the link to
jump to the location the exploit code tacked onto the end would
be executed.

To tack the exploit assembly code on there, write it up, asssemble
it... get the opcodes, then use something like UltraEdit32 to
paste the binary characters onto the end of the URL. Such code
may be pieced together from freeware assembly scripts and etc.

However, some people believe that buffer overflow is in the
regular text messages, NOT the URL messages. ICQ usually parses
and highlights URL's typed into messages. When sending a really
long URL in a message with the same version of ICQ under Windows
98 the client will crash as soon as you click on the URL. It
will also die if you open up the message in the history and click
on the URL. The overflow doesn't happen just by viewing the
message - you have to click on the URL. If that's the case, you
might just be able to avoid the problem by not clicking on those
long urls.

One way to duplicate bad behaviour is to:
<FONT COLOR="#00FF00">
- Copy the original URL from the original notice (sites.yahoo etc)
to include the binary exclamation marks et. all.
- Downloaded complied assembly code for a little cube generator
and open in UE32.
- Paste in the URL etc.
- Copy all of it and paste it into the URL section of ICQ's send
a web address.
- Con your wife into opening the URL.
- Listen to her bitch at you for crashing her computer.
</FONT>
Doing this did not execute the binary code that was placed at the
end of the URL but did cause an unwanted, adverse reaction from
the OS Win 98 Release1. That resulted in a reboot.

Somehow you cant send normal messages with more than 450
characters or whatever but if you start with http://www... ICQ
doesnt seem to check it and messages with 2000 characters were no
problem.

<FONT COLOR="#CC0000">SOLUTION</FONT>

Fix: Don't accept communication with people you don't know. Test
your software yourself for bugs, especially under Windows where
incidents are not likely to quickly end up in CERT or similiar
places.

There is a much simpler fix available, go into the Preferences
window, select the Events tab, select the URL setting on the
"Select Event to Configure" combobox and then select "Auto
Decline." This appears to shut down the http event.
</PRE></BODY>
</HTML>
Login or Register to add favorites

File Archive:

May 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    May 1st
    44 Files
  • 2
    May 2nd
    5 Files
  • 3
    May 3rd
    11 Files
  • 4
    May 4th
    0 Files
  • 5
    May 5th
    0 Files
  • 6
    May 6th
    28 Files
  • 7
    May 7th
    3 Files
  • 8
    May 8th
    4 Files
  • 9
    May 9th
    54 Files
  • 10
    May 10th
    12 Files
  • 11
    May 11th
    0 Files
  • 12
    May 12th
    0 Files
  • 13
    May 13th
    17 Files
  • 14
    May 14th
    11 Files
  • 15
    May 15th
    17 Files
  • 16
    May 16th
    13 Files
  • 17
    May 17th
    22 Files
  • 18
    May 18th
    0 Files
  • 19
    May 19th
    0 Files
  • 20
    May 20th
    17 Files
  • 21
    May 21st
    18 Files
  • 22
    May 22nd
    7 Files
  • 23
    May 23rd
    111 Files
  • 24
    May 24th
    27 Files
  • 25
    May 25th
    0 Files
  • 26
    May 26th
    0 Files
  • 27
    May 27th
    0 Files
  • 28
    May 28th
    0 Files
  • 29
    May 29th
    0 Files
  • 30
    May 30th
    0 Files
  • 31
    May 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close