CVE-2007-3007: Medium severity PHP PHP vulnerability

Published Jun 4, 2007
·
Updated

PHP 5 before 5.2.3 does not enforce the openbasedir or safemode 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.

Affected Software

1 affected component
PHP PHP>=5.0.0<5.2.3

Event History

Jun 4, 2007
CVE Published
05:30 PM
CVE Published
via MITRE·09:00 PM
Data Sourced
via MITRE·09:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2007-3007?

CVE-2007-3007 is considered a medium severity vulnerability due to its potential to expose sensitive file existence information.

2

How do I fix CVE-2007-3007?

To fix CVE-2007-3007, upgrade PHP to version 5.2.3 or later to ensure proper enforcement of open_basedir and safe_mode restrictions.

3

Which versions of PHP are affected by CVE-2007-3007?

CVE-2007-3007 affects PHP versions prior to 5.2.3, specifically those in the 5.0.0 to 5.2.2 range.

4

What attacks are possible with CVE-2007-3007?

CVE-2007-3007 may allow attackers to determine the existence of arbitrary files on the server, potentially leading to further exploitation.

5

Is CVE-2007-3007 still a concern today?

While CVE-2007-3007 is outdated, it may still be a concern for systems running unsupported versions of PHP.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203