2.1
CWE
NVD-CWE-Other
Advisory Published
Updated

CVE-2006-7204

First published: Tue May 22 2007(Updated: )

The imap_body function in PHP before 4.4.4 does not implement safemode or open_basedir checks, which allows local users to read arbitrary files or list arbitrary directory contents.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
PHP>=5.1.0<5.1.5
PHP>=4.4.0<4.4.4

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2006-7204?

    CVE-2006-7204 is classified as a medium severity vulnerability due to potential local file disclosure risks.

  • How does CVE-2006-7204 affect PHP applications?

    CVE-2006-7204 allows local users to read arbitrary files or list directory contents due to insufficient checks in the imap_body function.

  • How can I fix CVE-2006-7204?

    To fix CVE-2006-7204, upgrade PHP to version 4.4.4 or later, or ensure safemode and open_basedir settings are correctly configured.

  • Which versions of PHP are affected by CVE-2006-7204?

    CVE-2006-7204 affects PHP versions from 4.4.0 to 4.4.4 and from 5.1.0 to 5.1.5.

  • Is CVE-2006-7204 a remote or local vulnerability?

    CVE-2006-7204 is a local vulnerability that requires local user access to exploit.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203