PT-2008-1458 · Php · Curl Library+1

Maksymilian Arciemowicz

·

Published

2008-01-24

·

Updated

2018-10-15

·

CVE-2007-4850

CVSS v2.0

5.0

Medium

VectorAV:N/AC:L/Au:N/C:P/I:N/A:N
Name of the Vulnerable Software and Affected Versions cURL library (aka libcurl) in PHP versions 5.2.4 and 5.2.5
Description The issue allows context-dependent attackers to bypass safe mode and open basedir restrictions, enabling them to read arbitrary files. This is achieved via a file:// request that contains a x00 sequence.
Recommendations For PHP version 5.2.4, update to a version that fixes this issue. For PHP version 5.2.5, update to a version that fixes this issue. As a temporary workaround, consider restricting file:// requests to minimize the risk of exploitation.

Exploit

Fix

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2007-4850

Affected Products

Php
Curl Library