[OpenPKG-SA-2002.007] OpenPKG Security Advisory (mm)

From: OpenPKG (openpkg@openpkg.org)
Date: 07/30/02


Date: Tue, 30 Jul 2002 15:05:33 +0200
From: OpenPKG <openpkg@openpkg.org>
To: bugtraq@securityfocus.com


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

________________________________________________________________________

OpenPKG Security Advisory The OpenPKG Project
http://www.openpkg.org/security.html http://www.openpkg.org
openpkg-security@openpkg.org openpkg@openpkg.org
OpenPKG-SA-2002.007 30-Jul-2002
________________________________________________________________________

Package: mm
Vulnerability: local root exploit
OpenPKG Specific: no

Affected Releases: OpenPKG 1.0 OpenPKG CURRENT
Affected Packages: <= mm-1.1.3-1.0.0 <= mm-1.1.3
Corrected Packages: >= mm-1.1.3-1.0.1 >= mm-1.2.0
Dependent Packages: apache apache

Description:
  Marcus Meissner and Sebastian Krahmer discovered a race condition
  on creating temporary files in the OSSP mm library. The Common
  Vulnerabilities and Exposures (CVE) project assigned the id
  CAN-2002-0658 [5] to the problem. The bug affects all programs which
  are linked with OSSP mm. This may allow an attacker to conduct a local
  root exploit. OSSP mm is often used in Apache setups using mod_ssl
  and/or mod_php. Here the vulnerability can be exploited to obtain
  root privilege if shell access to the Apache run-time user is already
  obtained.

  Please check whether you are affected by running "<prefix>/bin/rpm
  -q mm". If you have the "mm" package installed and its version is
  affected (see above), we recommend that you immediately upgrade it
  (see Solution). Additionally, we recommend that you rebuild and
  reinstall all dependent OpenPKG packages, too. [2]

Solution:
  Select the updated source RPM appropriate for your OpenPKG release
  [4], fetch it from the OpenPKG FTP service [3] or a mirror location,
  verify its integrity [1], build a corresponding binary RPM from it
  and update your OpenPKG installation by applying the binary RPM [2].
  For the latest OpenPKG 1.0 release, perform the following operations
  to permanently fix the security problem (for other releases adjust
  accordingly).

  $ ftp ftp.openpkg.org
  ftp> bin
  ftp> cd release/1.0/UPD
  ftp> get mm-1.1.3-1.0.1.src.rpm
  ftp> bye
  $ <prefix>/bin/rpm --checksig mm-1.1.3-1.0.1.src.rpm
  $ <prefix>/bin/rpm --rebuild mm-1.1.3-1.0.1.src.rpm
  $ su -
  # <prefix>/bin/rpm -Fvh <prefix>/RPM/PKG/mm-1.1.3-1.0.1.*.rpm

  Now proceed and rebuild and reinstall all dependent OpenPKG packages,
  too. [6]
________________________________________________________________________

References:
  [1] http://www.openpkg.org/security.html#signature
  [2] http://www.openpkg.org/tutorial.html#regular-source
  [3] ftp://ftp.openpkg.org/release/1.0/UPD/
  [4] ftp://ftp.openpkg.org/release/1.0/UPD/mm-1.1.3-1.0.1.src.rpm
  [5] http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2002-0658
  [6] ftp://ftp.openpkg.org/release/1.0/UPD/apache-1.3.22-1.0.4.src.rpm
________________________________________________________________________

For security reasons, this advisory was digitally signed with
the OpenPGP public key "OpenPKG <openpkg@openpkg.org>" (ID 63C4CB9F)
of the OpenPKG project which you can find under the official URL
http://www.openpkg.org/openpkg.pgp or on http://keyserver.pgp.com/. To
check the integrity of this advisory, verify its digital signature by
using GnuPG (http://www.gnupg.org/). For instance, pipe this message to
the command "gpg --verify --keyserver keyserver.pgp.com".
________________________________________________________________________

-----BEGIN PGP SIGNATURE-----
Comment: OpenPKG <openpkg@openpkg.org>

iEYEARECAAYFAj1GjiIACgkQgHWT4GPEy5+dRwCdGCpZ3TCpxh39dB0ZgbieXvLd
QiQAoOUJCijAwnAaHGdf/cVC3RhFDISy
=LA85
-----END PGP SIGNATURE-----



Relevant Pages

  • Re: Mandrake 8.1 Desktop Gone
    ... You want to set up anonymous ftp with a chroot jail. ... Use chmod to remove "others" access to all directories in root. ... database using the same package specification ...
    (alt.os.linux)
  • Re: root access denied via SSH
    ... After adding this user and modifying it to have root ... When you say users have lost access only via ssh, ... for FTP access and never SSH access. ...
    (comp.unix.questions)
  • Re: LWP::Simple getstore with absolute path not working
    ... When a user logs in via ftp, ... Actually this is server/config dependant. ... example on my personal system, if I login in as a run of the mill user, ... is used), or the true root of the system, in which case you referernce ...
    (comp.lang.perl.misc)
  • Re: Automate FTP account creation
    ... i.e when user register to website then an FTP account ... not give you root access. ... You could do it by executing a PHP script which switches to the root ...
    (comp.lang.php)