Description
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.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- PHP PEAR 1.5.3 - INSTALL-AS Attribute Arbitrary File Overwrite EDB-30074 · remote · May 7, 2007 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- USN-462-1 vendor-advisory
- 42108 vdb-entry
- MDKSA-2007:110 vendor-advisory
- 24111 vdb-entry
- ADV-2007-1926 vdb-entry
- http://pear.php.net/advisory-20070507.txt
- pear-installer-file-overwrite(34482) vdb-entry
- http://pear.php.net/news/vulnerability2.php
- 25372 third-party-advisory