The OpenNET Project
 
Search (keywords):  SOFT ARTICLES TIPS & TRICKS SECURITY
LINKS NEWS MAN DOCUMENTATION


Icecast temp patch (OR: Patches? We DO need stinkin' patches!!@$!)


<< Previous INDEX Search src Set bookmark Go to bookmark Next >>
Date: Wed, 3 Apr 2002 12:42:03 -0800 (PST)
From: Neeko Oni <neeko@haackey.com>
To: bugtraq@securityfocus.com
Subject: Icecast temp patch (OR: Patches?  We DO need stinkin' patches!!@$!)

--%--multipart-mixed-boundary-1.1430.1017866523--%
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

This addresses the client_login() Icecast issue:

For those who have a burning need to 'patch < patch', or just don't
want to type three lines into client.c, I've attached a small
patch to client.c (Icecast 1.3.11).
Simplicity is thy name.
(More specific:  It's the suggested patch in the icx.c exploit, with
 an added logging flag.)

Thanks to Diz for making this public.

.Neeko Oni

--%--multipart-mixed-boundary-1.1430.1017866523--%
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Description: ASCII text
Content-Disposition: attachment; filename="ice-patch"

--- client.c    Wed Aug  1 16:06:53 2001
+++ src/client.c      Wed Apr  3 12:36:23 2002
@@ -103,6 +103,11 @@
 
        xa_debug(3, "Client login...\n");
 
+       if (strlen(expr) > 8000) { 
+               write_log(LOG_DEFAULT, "WARNING: expr greater than 8000--possible BOF attack?");
+       return;
+}
+
        if (!con || !expr) {
                write_log(LOG_DEFAULT, "WARNING: client_login called with NULL pointer");
                return;

--%--multipart-mixed-boundary-1.1430.1017866523--%--

<< Previous INDEX Search src Set bookmark Go to bookmark Next >>



Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру