CVE-2007-4850Php
Medium 5.0 No auth needed
Follow: this CVE · Php · Php We alert you by email or Slack (account required).
- Priority
- 46
- CVSS 2.0
- 5.0
- EPSS
- 5.6% probability of exploitation in 30 days · percentile 94
- Auth required
- No
- Published
- Jan 25, 2008
- Updated
- Jun 16, 2026
- Category
- Web application · Cross-platform
- Weakness (CWE)
- CWE-264
- Vector
AV:N/AC:L/Au:N/C:P/I:N/A:N
What happens
curl/interface.c in the cURL library (aka libcurl) in PHP 5.2.4 and 5.2.5 allows context-dependent attackers to bypass safe_mode and open_basedir restrictions and read arbitrary files via a file:// request containing a \x00 sequence, a different vulnerability than CVE-2006-2563.
What to do
- Apply the vendor's security update for Php.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| php | php | 5.2.4 |
| php | php | 5.2.5 |
Official sources
References
Links published by the sources. Open them with care.
- cvs.php.net Exploit
- lists.apple.com
- lists.apple.com
- lists.grok.org.uk Exploit
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- secunia.com
- securityreason.com Exploit
- securityreason.com
- support.apple.com
- wiki.rpath.com
- www.mandriva.com
- www.mandriva.com
- www.openwall.com
- www.php.net
- www.securityfocus.com
- www.securityfocus.com
- www.securityfocus.com
- www.securityfocus.com
- www.securityfocus.com
- www.ubuntu.com
- www.vupen.com
- www.vupen.com
- www.vupen.com
- exchange.xforce.ibmcloud.com
- exchange.xforce.ibmcloud.com