{"id":"CVE-2006-7204","sourceIdentifier":"cve@mitre.org","published":"2007-05-22T19:30:00.000","lastModified":"2026-06-16T22:34:34.517","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"La función imap_body en PHP anterior a 4.4.4 no implementa el modo seguro o las comprobaciones open_basedir, lo cual permite a usuarios locales leer archivos de su elección o listar el contenido de directorios de su elección."}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:P/I:N/A:N","baseScore":2.1,"accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"NONE","availabilityImpact":"NONE"},"baseSeverity":"LOW","exploitabilityScore":3.9,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"NVD-CWE-Other"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","versionStartIncluding":"4.4.0","versionEndExcluding":"4.4.4","matchCriteriaId":"04B2F4B0-052C-4EE6-95AC-2A3440253BF6"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","versionStartIncluding":"5.1.0","versionEndExcluding":"5.1.5","matchCriteriaId":"24EA21E4-6DC3-40AA-B270-65F577FFAD11"}]}]}],"references":[{"url":"http://bugs.php.net/bug.php?id=37265","source":"cve@mitre.org","tags":["Vendor Advisory"]},{"url":"http://secunia.com/advisories/21546","source":"cve@mitre.org","tags":["Patch","Vendor Advisory"]},{"url":"http://us2.php.net/ChangeLog-4.php#4.4.4","source":"cve@mitre.org","tags":["Vendor Advisory"]},{"url":"http://www.osvdb.org/28005","source":"cve@mitre.org","tags":["Broken Link","Patch"]},{"url":"http://bugs.php.net/bug.php?id=37265","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"]},{"url":"http://secunia.com/advisories/21546","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Vendor Advisory"]},{"url":"http://us2.php.net/ChangeLog-4.php#4.4.4","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"]},{"url":"http://www.osvdb.org/28005","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link","Patch"]}],"evaluatorSolution":"The vendor has addressed this issue with the following product update:\nhttp://www.php.net/downloads.php\n","vendorComments":[{"organization":"Mandriva","comment":"Due to the nature of safe_mode and open_basedir restrictions, and in alignment with the PHP group’s stance on these features, Mandriva does not consider this a security issue.","lastModified":"2007-09-21T00:00:00"},{"organization":"Red Hat","comment":"We do not consider these to be security issues.  For more details see http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=169857#c1\nand http://www.php.net/security-note.php\n","lastModified":"2007-05-29T00:00:00"}]}