Red Hat Security Advisory 2011-1741-03 - The php-pear package contains the PHP Extension and Application Repository, a framework and distribution system for reusable PHP components. It was found that the "pear" command created temporary files in an insecure way when installing packages. A malicious, local user could use this flaw to conduct a symbolic link attack, allowing them to overwrite the contents of arbitrary files accessible to the victim running the "pear install" command.
dbfac6f4435ff85bfd6210a7625899b4a31e607ba5721367e2bb450b57f0e40e
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
=====================================================================
Red Hat Security Advisory
Synopsis: Low: php-pear security and bug fix update
Advisory ID: RHSA-2011:1741-03
Product: Red Hat Enterprise Linux
Advisory URL: https://rhn.redhat.com/errata/RHSA-2011-1741.html
Issue date: 2011-12-06
CVE Names: CVE-2011-1072
=====================================================================
1. Summary:
An updated php-pear package that fixes one security issue and multiple bugs
is now available for Red Hat Enterprise Linux 6.
The Red Hat Security Response Team has rated this update as having low
security impact. A Common Vulnerability Scoring System (CVSS) base score,
which gives a detailed severity rating, is available from the CVE link in
the References section.
2. Relevant releases/architectures:
Red Hat Enterprise Linux Server (v. 6) - noarch
Red Hat Enterprise Linux Workstation (v. 6) - noarch
3. Description:
The php-pear package contains the PHP Extension and Application Repository
(PEAR), a framework and distribution system for reusable PHP components.
It was found that the "pear" command created temporary files in an insecure
way when installing packages. A malicious, local user could use this flaw
to conduct a symbolic link attack, allowing them to overwrite the contents
of arbitrary files accessible to the victim running the "pear install"
command. (CVE-2011-1072)
This update also fixes the following bugs:
* The php-pear package has been upgraded to version 1.9.4, which provides a
number of bug fixes over the previous version. (BZ#651897)
* Prior to this update, php-pear created a cache in the
"/var/cache/php-pear/" directory when attempting to list all packages. As a
consequence, php-pear failed to create or update the cache file as a
regular user without sufficient file permissions and could not list all
packages. With this update, php-pear no longer fails if writing to the
cache directory is not permitted. Now, all packages are listed as expected.
(BZ#747361)
All users of php-pear are advised to upgrade to this updated package, which
corrects these issues.
4. Solution:
Before applying this update, make sure all previously-released errata
relevant to your system have been applied.
This update is available via the Red Hat Network. Details on how to
use the Red Hat Network to apply this update are available at
https://access.redhat.com/kb/docs/DOC-11259
5. Bugs fixed (http://bugzilla.redhat.com/):
651897 - update php-pear to 1.9.4
681982 - CVE-2011-1072 php-pear: symlink vulnerability in PEAR installer
747361 - pear list-all fails for regular user
6. Package List:
Red Hat Enterprise Linux Server (v. 6):
Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/os/SRPMS/php-pear-1.9.4-4.el6.src.rpm
noarch:
php-pear-1.9.4-4.el6.noarch.rpm
Red Hat Enterprise Linux Workstation (v. 6):
Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Workstation/en/os/SRPMS/php-pear-1.9.4-4.el6.src.rpm
noarch:
php-pear-1.9.4-4.el6.noarch.rpm
These packages are GPG signed by Red Hat for security. Our key and
details on how to verify the signature are available from
https://access.redhat.com/security/team/key/#package
7. References:
https://www.redhat.com/security/data/cve/CVE-2011-1072.html
https://access.redhat.com/security/updates/classification/#low
8. Contact:
The Red Hat security contact is <secalert@redhat.com>. More contact
details at https://access.redhat.com/security/team/contact/
Copyright 2011 Red Hat, Inc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)
iD8DBQFO3jhJXlSAg2UNWIIRArW+AKCCTyThqpqmhOcnbV8orMnIag8uBwCfZgYk
TpsOnqpC7oytz6MFHstgs2U=
=Qx4m
-----END PGP SIGNATURE-----
--
RHSA-announce mailing list
RHSA-announce@redhat.com
https://www.redhat.com/mailman/listinfo/rhsa-announce