CVE-2007-3007

Medium

Description

PHP 5 before 5.2.3 does not enforce the open_basedir or safe_mode restriction in certain cases, which allows context-dependent attackers to determine the existence of arbitrary files by checking if the readfile function returns a string. NOTE: this issue might also involve the realpath function.

SeverityMedium
CVSS5.0
Exploit probability—
ProductPhp
PublishedJun 4, 2007
First seenJun 4, 2007

How to fix

Affected products

ProductAffected versionsFixed in
php php5.0.0 ≤ v < 5.2.35.2.3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.