National Cyber-Alert System
Vulnerability Summary for CVE-2007-2519
Original release date:05/22/2007
Last revised:11/15/2008
Source:
US-CERT/NIST
Overview
Directory traversal vulnerability in the installer in PEAR 1.0 through 1.5.3 allows user-assisted remote attackers to overwrite arbitrary files via a .. (dot dot) sequence in the (1) install-as attribute in the file element in package.xml 1.0 or the (2) as attribute in the install element in package.xml 2.0. NOTE: it could be argued that this does not cross privilege boundaries in typical installations, since the code being installed could perform the same actions.
Impact
CVSS Severity (version 2.0):
Impact Subscore:
6.4
Exploitability Subscore:
8.6
CVSS Version 2 Metrics:
Access Vector: Network exploitable; Victim must voluntarily interact with attack mechanism
Access Complexity: Medium
Authentication: Not required to exploit
Impact Type:Provides unauthorized access, Allows partial confidentiality, integrity, and availability violation; Allows unauthorized disclosure of information; Allows disruption of service
- Official Statement from Red Hat (05/24/2007)
-
Installation of a PEAR package from an untrusted source could allow malicious code to be installed and potentially executed by the root user. This is true regardless of the existence of this particular bug in the PEAR installer, so the bug would not be treated as security-sensitive. As when handling system RPM packages, the root user must always ensure that any packages installed are from a trusted source and have been packaged correctly.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.
External Source: CONFIRM
Name: http://pear.php.net/advisory-20070507.txt
Type: Advisory; Patch Information
External Source: OSVDB
Name: 42108
External Source: XF
Name: pear-installer-file-overwrite(34482)
External Source: UBUNTU
Name: USN-462-1
External Source: BID
Name: 24111
External Source: MANDRIVA
Name: MDKSA-2007:110
External Source: VUPEN
Name: ADV-2007-1926
External Source: SECUNIA
Name: 25372
External Source: CONFIRM
Name: http://pear.php.net/news/vulnerability2.php