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.
Metrics
CVSS 2.0 4.3/10
AV:L/AC:L/Au:S/C:P/I:P/A:PAffected software
No affected versions have been published.
Timeline
- Published
- Mar 27, 2007
- Last modified
- Jun 16, 2026
- NVD status
- Modified