=====================================================================
                                  CERT-Renater

                       Note d'Information No. 2005/VULN261
_____________________________________________________________________

DATE                      : 14/04/2005

HARDWARE PLATFORM(S)      : /

OPERATING SYSTEM(S)       : Systems running JunkBuster versions prior to 2.0.2-r3.

======================================================================

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200504-11
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                             http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

   Severity: High
      Title: JunkBuster: Multiple vulnerabilities
       Date: April 13, 2005
       Bugs: #88537
         ID: 200504-11

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

JunkBuster is vulnerable to a heap corruption vulnerability, and under
certain configurations may allow an attacker to modify settings.

Background
==========

JunkBuster is a filtering HTTP proxy, designed to enhance privacy and
remove unwanted content.

Affected packages
=================

     -------------------------------------------------------------------
      Package               /  Vulnerable  /                 Unaffected
     -------------------------------------------------------------------
   1  www-proxy/junkbuster     < 2.0.2-r3                   >= 2.0.2-r3

Description
===========

James Ranson reported a vulnerability when JunkBuster is configured to
run in single-threaded mode, an attacker can modify the referrer
setting by getting a victim to request a specially crafted URL. Tavis
Ormandy of the Gentoo Linux Security Audit Team identified a heap
corruption issue in the filtering of URLs.

Impact
======

If JunkBuster has been configured to run in single-threaded mode, an
attacker can disable or modify the filtering of Referrer: HTTP headers,
potentially compromising the privacy of users. The heap corruption
vulnerability could crash or disrupt the operation of the proxy,
potentially executing arbitrary code.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All JunkBuster users should upgrade to the latest version:

     # emerge --sync
     # emerge --ask --oneshot --verbose ">=www-proxy/junkbuster-2.0.2-r3"

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

   http://security.gentoo.org/glsa/glsa-200504-11.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2005 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.0


======================================================================

         =========================================================
         Les serveurs de référence du CERT-Renater
         http://www.urec.fr/securite
         http://www.cru.fr/securite
         http://www.renater.fr
         =========================================================
         + CERT-RENATER          | tel : 01-53-94-20-44          +
         + 151 bd de l'Hopital   | fax : 01-53-94-20-41          +
         + 75013 Paris           | email: certsvp@renater.fr     +
         =========================================================


