Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1133753 - (CVE-2014-5459) CVE-2014-5459 php-pear: insecure temporary file use for cache data
CVE-2014-5459 php-pear: insecure temporary file use for cache data
Status: CLOSED NOTABUG
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20140825,repor...
: Security
Depends On: 1133754
Blocks: 1133755
  Show dependency treegraph
 
Reported: 2014-08-26 00:45 EDT by Murray McAllister
Modified: 2015-01-20 12:38 EST (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-01-20 12:38:09 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Murray McAllister 2014-08-26 00:45:46 EDT
It was reported that the pear utility insecurely used the /tmp/ directory for cache data. A local attacker could use this flaw to perform a symbolic link attack against a user (typically the root user) running a pear command, causing an arbitrary file to be overwritten, possibly leading to a denial of service.

Original report:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=759282
Comment 1 Murray McAllister 2014-08-26 00:47:13 EDT
Created php-pear tracking bugs for this issue:

Affects: fedora-all [bug 1133754]
Comment 2 Murray McAllister 2014-08-26 00:53:00 EDT
CVE request: http://www.openwall.com/lists/oss-security/2014/08/26/3
Comment 3 Remi Collet 2014-08-26 01:24:24 EDT
# pear config-get cache_dir
/var/cache/php-pear

# ll -d /var/cache/php-pear
drwxr-xr-x. 2 root root 147456 22 août  08:57 /var/cache/php-pear


So /tmp is not used with default provided configuration.

So, I think we are not affected by this debian specific issue.
Comment 4 Murray McAllister 2014-08-27 02:53:45 EDT
(In reply to Remi Collet from comment #3)
> # pear config-get cache_dir
> /var/cache/php-pear
> 
> # ll -d /var/cache/php-pear
> drwxr-xr-x. 2 root root 147456 22 août  08:57 /var/cache/php-pear
> 
> 
> So /tmp is not used with default provided configuration.
> 
> So, I think we are not affected by this debian specific issue.

Thanks Remi, sorry for not checking that.

MITRE assigned CVE-2014-5459 to this issue:

http://www.openwall.com/lists/oss-security/2014/08/27/3
Comment 6 Vincent Danen 2015-01-20 12:38:09 EST
Statement:

This issue did not affect the versions of php-pear as shipped with Red Hat Enterprise Linux 5, 6 and 7 as well as Red Hat Software Collections as they do not use a world-writable directory for storing PEAR cache data.

Note You need to log in before you can comment on or make changes to this bug.