CVE-2007-1710 Path traversal in n/a
Attackers can bypass safe_mode restrictions to read arbitrary files using specific URL syntax in the readfile function.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2007-1710?
CVE-2007-1710 is a medium-severity path traversal vulnerability in Php Php, published on 27 Mar 2007. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
The readfile function in PHP 4.4.4, 5.1.6, and 5.2.1 allows context-dependent attackers to bypass safe_mode restrictions and read arbitrary files by referring to local files with a certain URL syntax instead of a pathname syntax, as demonstrated by a filename preceded a "php://../../" sequence.
Which versions are affected by CVE-2007-1710?
It affects 1 product.
Products include Php Php.
How do I fix CVE-2007-1710?
No fix has been published for CVE-2007-1710 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-1710 being exploited?
There is no known exploitation of CVE-2007-1710 in the wild and no public exploit code.
Other vulnerabilities in Php Php
Sources
Also known as GHSA-v2p7-54g6-4g8h.