CVEvulnerability
CVE-2007-1710
4.3 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2007-03-27
- Last modified
- 2026-06-16
- Assigner
- [email protected]
- CVSS 2.0 ([email protected])
- 4.3 MEDIUM — AV:L/AC:L/Au:S/C:P/I:P/A:P
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 configurations
• php php 4.4.4
• php php 5.1.6
• php php 5.2.1
References
- http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01056506 h20000.www2.hp.com
- http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01086137 h20000.www2.hp.com
- http://secunia.com/advisories/25423 secunia.com
- http://secunia.com/advisories/25850 secunia.com
- http://www.vupen.com/english/advisories/2007/1991 www.vupen.com
- http://www.vupen.com/english/advisories/2007/2374 www.vupen.com
- https://www.exploit-db.com/exploits/3573 www.exploit-db.com
- http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01056506 h20000.www2.hp.com
- http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01086137 h20000.www2.hp.com
- http://secunia.com/advisories/25423 secunia.com
- http://secunia.com/advisories/25850 secunia.com
- http://www.vupen.com/english/advisories/2007/1991 www.vupen.com
- http://www.vupen.com/english/advisories/2007/2374 www.vupen.com
- https://www.exploit-db.com/exploits/3573 www.exploit-db.com