Visit our newest sister site!
Hundreds of free aircraft flight manuals
Civilian • Historical • Military • Declassified • FREE!

TUCoPS :: Web :: PHP :: esa2-006.txt

php, mod_php - Several flaws in PHP's MIME parsing.

| EnGarde Secure Linux Security Advisory                  March 01, 2002 |
| ESA-20020301-006 |
|                                                                        |
| Packages: php, mod_php                                                 |
| Summary:  Several flaws in PHP's MIME parsing.                         |

  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.

  There is a vulnerability in PHP's MIME data parsing code which may
  allow an attacker to execute arbitrary code as the web server user.

  Stefan Esser of the e-matters team has found several flaws in PHP's
  MIME parsing code, the code that is responsible for handling file
  uploads as per RFC1867.  If a server has file_uploads turned on in
  its php.ini then a remote attacker may execute arbitrary code
  as the web server user (webd).

  For more information on this bug please refer to the original advisory
  by e-matters and the recent follow-up advisory by CERT:

The Common Vulnerabilities and Exposures project ( has
  assigned the name CAN-2002-0081 to this issue.

  All users should upgrade to the most recent version as outlined in
  this advisory.

  Guardian Digital recently made available the Guardian Digital Secure
  Update, a means to proactively keep systems secure and manage
  system software. EnGarde users can automatically update their system
  using the Guardian Digital WebTool secure interface.

  If choosing to manually upgrade this package, updates can be
  obtained from:

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/

  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 

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

  Source Packages:

      MD5 Sum:  e590a2f6b9c7e80e90b718e324a5f6ba

  Binary Packages:

      MD5 Sum:  bcc84d1f09d0c3ae0df569a5d918c37e

      MD5 Sum:  4d385118b7cbae08731b56f587ae97f2

      MD5 Sum:  2b425ef98818857067512357c43f6234

      MD5 Sum:  1fc1cd3a39439bfb66cc63e6152d1ffc

  Guardian Digital's public key:

Credit for the discovery of this bug goes to:
    Stefan Esser <>

PHP's Official Web Site:

Security Contact:
EnGarde Advisories:

$Id: ESA-20020301-006-php,v 1.3 2002/03/01 06:03:33 rwm Exp $
Author: Ryan W. Maple, <>
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-2015 AOH