TUCoPS :: Linux :: Apps N-Z :: esa2-002.txt

pine - URL handling vulnerability - ESA-20020114-002


+------------------------------------------------------------------------+
| EnGarde Secure Linux Security Advisory                January 14, 2002 |
|  http://www.engardelinux.org/ ESA-20020114-002 |
|                                                                        |
| Package:  pine                                                         |
| Summary:  'pine' URL handling vulnerability                            |
+------------------------------------------------------------------------+

  EnGarde Secure Linux is a secure distribution of Linux that features
  improved access control, host and network intrusion detection, Web
  based secure remote management, complete e-commerce using AllCommerce,
  and integrated open source security tools.


OVERVIEW
--------
  There is a vulnerability in pine which can allow an attacker to execute
  arbitrary commands on a victims machine by sending them a specially-
  crafted URL which is then mishandled by pine's URL handling code.


DETAIL
------
  zen-parse has found a URL handling vulnerability, much like the recent
  xchat vulnerability  (http://www.securityfocus.com/bid/1601), in the pine
  mail and news reader.  By sending a victim a URL of the form:

       http://address/'&/some/program${IFS}with${IFS}arguments&'
(where ' is the backtick character)

  an attacker can execute '/some/program with arguments' on the victims
  machine.  If the victim is reading his mail as root (which is
  obviously not recommended) then this can lead to a root compromise.


SOLUTION
--------
  This information applies only to EnGarde Secure Linux Community edition
  users. Registered users of the EnGarde Secure Linux Professional
  edition can use the Guardian Digital Secure Network to upgrade their
  packages automatically.

  All users should upgrade to the most recent version as outlined in
  this advisory.  All updates may be found at:

     ftp://ftp.engardelinux.org/pub/engarde/stable/updates/
http://ftp.engardelinux.org/pub/engarde/stable/updates/

Before upgrading the package, the machine must either:

    a) be booted into a "standard" kernel; or
    b) have LIDS disabled.

  To disable LIDS, execute the command:

    # /sbin/lidsadm -S -- -LIDS_GLOBAL

  To install the updated package, execute the command:

    # rpm -Uvh 

You must now update the LIDS configuration by executing the command:

    # /usr/sbin/config_lids.pl

  To re-enable LIDS (if it was disabled), execute the command:

    # /sbin/lidsadm -S -- +LIDS_GLOBAL

  To verify the signatures of the updated packages, execute the command:

    # rpm -Kv 


UPDATED PACKAGES
----------------
  These updated packages are for EnGarde Secure Linux 1.0.1 (Finestra).

  Source Packages:

    SRPMS/pine-4.33-1.0.6.src.rpm
      MD5 Sum: 7a6653d8814945edee9ab544afb696bc

  Binary Packages:

    i386/pine-4.33-1.0.6.i386.rpm
      MD5 Sum: 4b1d60e1e7ccb3a8a511db42877f0b15

    i686/pine-4.33-1.0.6.i686.rpm
      MD5 Sum: 995ed060b84adb05b5b274d353becd91


REFERENCES
----------

  Guardian Digital's public key:
     http://ftp.engardelinux.org/pub/engarde/ENGARDE-GPG-KEY

Credit for the discovery of this bug goes to:
    zen-parse <zen-parse@gmx.net>

pine's Official Web Site:
     http://www.washington.edu/pine/

Security Contact:    security@guardiandigital.com
EnGarde Advisories:   http://www.engardelinux.org/advisories.html

--------------------------------------------------------------------------
$Id: ESA-20020114-002-pine,v 1.2 2002/01/14 18:20:07 rwm Exp $
--------------------------------------------------------------------------
Author: Ryan W. Maple, <ryan@guardiandigital.com>
Copyright 2002, Guardian Digital, Inc.

TUCoPS is optimized to look best in Firefox® on a widescreen monitor (1440x900 or better).
Site design & layout copyright © 1986-2024 AOH