CVE-2007-2519 Path traversal in n/a
A path traversal flaw in PEAR allows attackers to overwrite arbitrary files via malicious package.xml attributes, requiring user-assisted installation.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2007-2519?
CVE-2007-2519 is a medium-severity path traversal vulnerability in n/a, published on 22 May 2007. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Which versions are affected by CVE-2007-2519?
It affects 1 product.
Products include Php Group Pear.
How do I fix CVE-2007-2519?
No fix has been published for CVE-2007-2519 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2007-2519 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2007-2519 exists.
Public exploit code: 1 Exploit-DB entry.
Sources
Also known as GHSA-w4p3-mf5w-2mr6.