CVE-2007-1710 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....
MediumCVSS 4.3
EPSS 0.46%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| PHP | = 4.4.4 | No fix listed |
| PHP | = 5.1.6 | No fix listed |
| PHP | = 5.2.1 | No fix listed |
References
- SSRT071423 vendor-advisory
- HPSBTU02232 vendor-advisory
- 25423 third-party-advisory
- 25850 third-party-advisory
- ADV-2007-1991 vdb-entry
- ADV-2007-2374 vdb-entry
- 3573 exploit