EnGarde Secure Linux Security Advisory: PHP | Linux Today

EnGarde Secure Linux Security Advisory: PHP

Written By
Web Webster
Web Webster
Mar 1, 2002
+------------------------------------------------------------------------+
| EnGarde Secure Linux Security Advisory                  March 01, 2002 |
| http://www.engardelinux.org/ 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.


OVERVIEW
- --------
  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.


DETAIL
- ------
  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:

    http://security.e-matters.de/advisories/012002.html
http://www.cert.org/advisories/CA-2002-05.html The Common Vulnerabilities and Exposures project (cve.mitre.org/) has
  assigned the name CAN-2002-0081 to this issue.


SOLUTION
- --------
  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:

    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 <filename>

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 <filename>


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

  Source Packages:

    SRPMS/php-4.0.6-1.0.18.src.rpm
      MD5 Sum:  e590a2f6b9c7e80e90b718e324a5f6ba

  Binary Packages:

    i386/mod_php-4.0.6-1.0.18.i386.rpm
      MD5 Sum:  bcc84d1f09d0c3ae0df569a5d918c37e

    i386/php-4.0.6-1.0.18.i386.rpm
      MD5 Sum:  4d385118b7cbae08731b56f587ae97f2

    i686/mod_php-4.0.6-1.0.18.i686.rpm
      MD5 Sum:  2b425ef98818857067512357c43f6234

    i686/php-4.0.6-1.0.18.i686.rpm
      MD5 Sum:  1fc1cd3a39439bfb66cc63e6152d1ffc


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

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

PHP's Official Web Site:
    http://www.php.net/

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

- --------------------------------------------------------------------------
$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.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8fxtyHD5cqd57fu0RAooKAJ94bas4tg5J8mZuJ6EVjEH7CWdqZACfdVk/
0+hLTlxoix4p5C+EZ7dCKhY=
=yyke
-----END PGP SIGNATURE-----
Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.