RHEL 6 : php-pear (RHSA-2011:1741)

medium Nessus Plugin ID 57021

Synopsis

The remote Red Hat host is missing a security update for php-pear.

Description

The remote Redhat Enterprise Linux 6 host has a package installed that is affected by a vulnerability as referenced in the RHSA-2011:1741 advisory.

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.

Tenable has extracted the preceding description block directly from the Red Hat Enterprise Linux security advisory.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Update the RHEL php-pear package based on the guidance in RHSA-2011:1741.

See Also

http://www.nessus.org/u?9709678d

https://access.redhat.com/security/updates/classification/#low

https://bugzilla.redhat.com/show_bug.cgi?id=651897

https://bugzilla.redhat.com/show_bug.cgi?id=681982

https://bugzilla.redhat.com/show_bug.cgi?id=747361

https://access.redhat.com/errata/RHSA-2011:1741

Plugin Details

Severity: Medium

ID: 57021

File Name: redhat-RHSA-2011-1741.nasl

Version: 1.19

Type: local

Agent: unix

Published: 12/6/2011

Updated: 4/14/2025

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

Vendor

Vendor Severity: Low

CVSS v2

Risk Factor: Low

Base Score: 3.3

Temporal Score: 2.6

Vector: CVSS2#AV:L/AC:M/Au:N/C:N/I:P/A:P

CVSS Score Source: CVE-2011-1072

CVSS v3

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 5

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:redhat:enterprise_linux:php-pear, cpe:/o:redhat:enterprise_linux:6

Required KB Items: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list, Host/cpu

Exploit Ease: No known exploits are available

Patch Publication Date: 12/6/2011

Vulnerability Publication Date: 3/2/2011

Reference Information

CVE: CVE-2011-1072

BID: 46605

RHSA: 2011:1741