{"api_version":"1","generated_at":"2026-07-23T04:21:33+00:00","cve":"CVE-2006-7204","urls":{"html":"https://cve.report/CVE-2006-7204","api":"https://cve.report/api/cve/CVE-2006-7204.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2006-7204","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2006-7204"},"summary":{"title":"CVE-2006-7204","description":"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.","state":"PUBLISHED","assigner":"mitre","published_at":"2007-05-22 19:30:00","updated_at":"2026-04-23 00:35:47"},"problem_types":["NVD-CWE-Other","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"2.1","severity":"","vector":"AV:L/AC:L/Au:N/C:P/I:N/A:N","data":{"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"}}],"references":[{"url":"http://www.osvdb.org/28005","name":"http://www.osvdb.org/28005","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link","Patch"],"title":"","mime":"","httpstatus":"-1","archivestatus":"0"},{"url":"http://secunia.com/advisories/21546","name":"http://secunia.com/advisories/21546","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Vendor Advisory"],"title":"PHP Multiple Vulnerabilities - Advisories - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://bugs.php.net/bug.php?id=37265","name":"http://bugs.php.net/bug.php?id=37265","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"PHP Bugs: #37265: imap_body able to bypass php_openbasedir","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://us2.php.net/ChangeLog-4.php#4.4.4","name":"http://us2.php.net/ChangeLog-4.php#4.4.4","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"PHP: PHP 4 ChangeLog","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2006-7204","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2006-7204","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2006","cve_id":"7204","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"php","cpe5":"php","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[{"cvename":"CVE-2006-7204","organization":"Mandriva","lastmodified":"2007-09-21","contributor":"Vincent Danen","statementText":"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.","cve_year":"2006","cve_id":"7204","crc32":"4c4c82a0"},{"cvename":"CVE-2006-7204","organization":"Red Hat","lastmodified":"2007-05-29","contributor":"Mark J Cox","statementText":"We do not consider these to be security issues. For more details see http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=169857#c1 and http://www.php.net/security-note.php","cve_year":"2006","cve_id":"7204","crc32":"86eef3b5"}],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-07T20:57:41.181Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"28005","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"],"url":"http://www.osvdb.org/28005"},{"name":"21546","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/21546"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://us2.php.net/ChangeLog-4.php#4.4.4"},{"tags":["x_refsource_MISC","x_transferred"],"url":"http://bugs.php.net/bug.php?id=37265"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2006-05-01T00:00:00.000Z","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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2022-10-03T16:21:25.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"name":"28005","tags":["vdb-entry","x_refsource_OSVDB"],"url":"http://www.osvdb.org/28005"},{"name":"21546","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/21546"},{"tags":["x_refsource_CONFIRM"],"url":"http://us2.php.net/ChangeLog-4.php#4.4.4"},{"tags":["x_refsource_MISC"],"url":"http://bugs.php.net/bug.php?id=37265"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2006-7204","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"28005","refsource":"OSVDB","url":"http://www.osvdb.org/28005"},{"name":"21546","refsource":"SECUNIA","url":"http://secunia.com/advisories/21546"},{"name":"http://us2.php.net/ChangeLog-4.php#4.4.4","refsource":"CONFIRM","url":"http://us2.php.net/ChangeLog-4.php#4.4.4"},{"name":"http://bugs.php.net/bug.php?id=37265","refsource":"MISC","url":"http://bugs.php.net/bug.php?id=37265"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2006-7204","datePublished":"2007-05-22T19:00:00.000Z","dateReserved":"2007-05-22T00:00:00.000Z","dateUpdated":"2024-08-07T20:57:41.181Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2007-05-22 19:30:00","lastModifiedDate":"2026-04-23 00:35:47","problem_types":["NVD-CWE-Other","n/a"],"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}]},"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"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2006","CveId":"7204","Ordinal":"1","Title":"CVE-2006-7204","CVE":"CVE-2006-7204","Year":"2006"},"notes":[{"CveYear":"2006","CveId":"7204","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"CVE-2006-7204"},{"CveYear":"2006","CveId":"7204","Ordinal":"2","NoteData":"2007-05-22","Type":"Other","Title":"Published"}]}}}