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 Software | Affected Version | How to fix |
---|---|---|
PHP | >=5.1.0<5.1.5 | |
PHP | >=4.4.0<4.4.4 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2006-7204 is classified as a medium severity vulnerability due to potential local file disclosure risks.
CVE-2006-7204 allows local users to read arbitrary files or list directory contents due to insufficient checks in the imap_body function.
To fix CVE-2006-7204, upgrade PHP to version 4.4.4 or later, or ensure safemode and open_basedir settings are correctly configured.
CVE-2006-7204 affects PHP versions from 4.4.0 to 4.4.4 and from 5.1.0 to 5.1.5.
CVE-2006-7204 is a local vulnerability that requires local user access to exploit.