PHP PEAR INSTALL-AS Attribute Arbitrary File Overwrite Vulnerability

BID:24111

Info

PHP PEAR INSTALL-AS Attribute Arbitrary File Overwrite Vulnerability

Bugtraq ID: 24111
Class: Input Validation Error
CVE: CVE-2007-2519
Remote: Yes
Local: No
Published: May 07 2007 12:00AM
Updated: Jun 05 2007 09:20AM
Credit: Gregory Beaver [[email protected]] discovered this issue.
Vulnerable: Ubuntu Ubuntu Linux 7.04 sparc
Ubuntu Ubuntu Linux 7.04 powerpc
Ubuntu Ubuntu Linux 7.04 i386
Ubuntu Ubuntu Linux 7.04 amd64
Ubuntu Ubuntu Linux 6.10 sparc
Ubuntu Ubuntu Linux 6.10 powerpc
Ubuntu Ubuntu Linux 6.10 i386
Ubuntu Ubuntu Linux 6.10 amd64
Ubuntu Ubuntu Linux 6.06 LTS sparc
Ubuntu Ubuntu Linux 6.06 LTS powerpc
Ubuntu Ubuntu Linux 6.06 LTS i386
Ubuntu Ubuntu Linux 6.06 LTS amd64
PEAR PEAR 1.5.3
PEAR PEAR 1.4.3
PEAR PEAR 1.4.2
PEAR PEAR 1.4.1
PEAR PEAR 1.4
PEAR PEAR 1.0
Mandriva Linux Mandrake 2007.1 x86_64
Mandriva Linux Mandrake 2007.1
Mandriva Linux Mandrake 2007.0 x86_64
Mandriva Linux Mandrake 2007.0
MandrakeSoft Corporate Server 4.0 x86_64
MandrakeSoft Corporate Server 3.0 x86_64
MandrakeSoft Corporate Server 3.0
MandrakeSoft Corporate Server 4.0
Not Vulnerable: PEAR PEAR 1.5.4

Discussion

PHP PEAR INSTALL-AS Attribute Arbitrary File Overwrite Vulnerability

PEAR is prone to a vulnerability that lets attackers overwrite arbitrary files.

An attacker-supplied package may supply directory-traversal strings through the 'install-as' attribute to create and overwrite files in arbitrary locations.

This issue affects PEAR 1.0 to 1.5.3.

Exploit / POC

PHP PEAR INSTALL-AS Attribute Arbitrary File Overwrite Vulnerability

An exploit is not required. A proof of concept is available.

Solution / Fix

PHP PEAR INSTALL-AS Attribute Arbitrary File Overwrite Vulnerability

Solution:
The vendor has released PEAR 1.5.4 to address this issue. Please see the references for more information.


PEAR PEAR 1.0

PEAR PEAR 1.4

PEAR PEAR 1.4.1

PEAR PEAR 1.4.2

PEAR PEAR 1.4.3

PEAR PEAR 1.5.3

References

PHP PEAR INSTALL-AS Attribute Arbitrary File Overwrite Vulnerability

References:
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report