{"api_version":"1","generated_at":"2026-07-23T09:36:37+00:00","cve":"CVE-2007-1287","urls":{"html":"https://cve.report/CVE-2007-1287","api":"https://cve.report/api/cve/CVE-2007-1287.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2007-1287","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2007-1287"},"summary":{"title":"CVE-2007-1287","description":"A regression error in the phpinfo function in PHP 4.4.3 to 4.4.6, and PHP 6.0 in CVS, allows remote attackers to conduct cross-site scripting (XSS) attacks via GET, POST, or COOKIE array values, which are not escaped in the phpinfo output, as originally fixed for CVE-2005-3388.","state":"PUBLISHED","assigner":"mitre","published_at":"2007-03-06 20:19: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":"4.3","severity":"","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","data":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:N/I:P/A:N","baseScore":4.3,"accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE"}}],"references":[{"url":"http://www.php-security.org/MOPB/MOPB-08-2007.html","name":"http://www.php-security.org/MOPB/MOPB-08-2007.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Patch","Vendor Advisory"],"title":"MOPB-08-2007:PHP 4 phpinfo() XSS Vulnerability (Deja-vu)","mime":"text/html","httpstatus":"-1","archivestatus":"200"},{"url":"http://lists.apple.com/archives/security-announce//2007/Jul/msg00004.html","name":"http://lists.apple.com/archives/security-announce//2007/Jul/msg00004.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"APPLE-SA-2007-07-31 Security Update 2007-007","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://us2.php.net/releases/4_4_7.php","name":"http://us2.php.net/releases/4_4_7.php","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"PHP: PHP 4.4.7 Release Announcement","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/26235","name":"http://secunia.com/advisories/26235","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Mac OS X Security Update Fixes Multiple Vulnerabilities - Advisories - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/25159","name":"http://www.securityfocus.com/bid/25159","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Apple Mac OS X 2007-007 Multiple Security Vulnerabilities","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"http://www.osvdb.org/32774","name":"http://www.osvdb.org/32774","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"","httpstatus":"-1","archivestatus":"0"},{"url":"http://docs.info.apple.com/article.html?artnum=306172","name":"http://docs.info.apple.com/article.html?artnum=306172","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"About Security Update 2007-007","mime":"text/html","httpstatus":"-1","archivestatus":"200"},{"url":"http://www.vupen.com/english/advisories/2007/2732","name":"http://www.vupen.com/english/advisories/2007/2732","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Webmail - OVH","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2007-1287","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-1287","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":"2007","cve_id":"1287","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"php","cpe5":"php","cpe6":"4.4.4","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2007","cve_id":"1287","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"php","cpe5":"php","cpe6":"4.4.5","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2007","cve_id":"1287","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"php","cpe5":"php","cpe6":"4.4.6","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2007","cve_id":"1287","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"php","cpe5":"php","cpe6":"6.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[{"cvename":"CVE-2007-1287","organization":"Red Hat","lastmodified":"2007-04-16","contributor":"Mark J Cox","statementText":"The phpinfo function should not be used in publically-accessible PHP scripts.","cve_year":"2007","cve_id":"1287","crc32":"c7c23380"}],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-07T12:50:35.022Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"32774","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"],"url":"http://www.osvdb.org/32774"},{"name":"ADV-2007-2732","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"],"url":"http://www.vupen.com/english/advisories/2007/2732"},{"tags":["x_refsource_MISC","x_transferred"],"url":"http://www.php-security.org/MOPB/MOPB-08-2007.html"},{"name":"APPLE-SA-2007-07-31","tags":["vendor-advisory","x_refsource_APPLE","x_transferred"],"url":"http://lists.apple.com/archives/security-announce//2007/Jul/msg00004.html"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://us2.php.net/releases/4_4_7.php"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://docs.info.apple.com/article.html?artnum=306172"},{"name":"25159","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/25159"},{"name":"26235","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/26235"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2007-03-03T00:00:00.000Z","descriptions":[{"lang":"en","value":"A regression error in the phpinfo function in PHP 4.4.3 to 4.4.6, and PHP 6.0 in CVS, allows remote attackers to conduct cross-site scripting (XSS) attacks via GET, POST, or COOKIE array values, which are not escaped in the phpinfo output, as originally fixed for CVE-2005-3388."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2007-03-31T09:00:00.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"name":"32774","tags":["vdb-entry","x_refsource_OSVDB"],"url":"http://www.osvdb.org/32774"},{"name":"ADV-2007-2732","tags":["vdb-entry","x_refsource_VUPEN"],"url":"http://www.vupen.com/english/advisories/2007/2732"},{"tags":["x_refsource_MISC"],"url":"http://www.php-security.org/MOPB/MOPB-08-2007.html"},{"name":"APPLE-SA-2007-07-31","tags":["vendor-advisory","x_refsource_APPLE"],"url":"http://lists.apple.com/archives/security-announce//2007/Jul/msg00004.html"},{"tags":["x_refsource_CONFIRM"],"url":"http://us2.php.net/releases/4_4_7.php"},{"tags":["x_refsource_CONFIRM"],"url":"http://docs.info.apple.com/article.html?artnum=306172"},{"name":"25159","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/25159"},{"name":"26235","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/26235"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2007-1287","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":"A regression error in the phpinfo function in PHP 4.4.3 to 4.4.6, and PHP 6.0 in CVS, allows remote attackers to conduct cross-site scripting (XSS) attacks via GET, POST, or COOKIE array values, which are not escaped in the phpinfo output, as originally fixed for CVE-2005-3388."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"32774","refsource":"OSVDB","url":"http://www.osvdb.org/32774"},{"name":"ADV-2007-2732","refsource":"VUPEN","url":"http://www.vupen.com/english/advisories/2007/2732"},{"name":"http://www.php-security.org/MOPB/MOPB-08-2007.html","refsource":"MISC","url":"http://www.php-security.org/MOPB/MOPB-08-2007.html"},{"name":"APPLE-SA-2007-07-31","refsource":"APPLE","url":"http://lists.apple.com/archives/security-announce//2007/Jul/msg00004.html"},{"name":"http://us2.php.net/releases/4_4_7.php","refsource":"CONFIRM","url":"http://us2.php.net/releases/4_4_7.php"},{"name":"http://docs.info.apple.com/article.html?artnum=306172","refsource":"CONFIRM","url":"http://docs.info.apple.com/article.html?artnum=306172"},{"name":"25159","refsource":"BID","url":"http://www.securityfocus.com/bid/25159"},{"name":"26235","refsource":"SECUNIA","url":"http://secunia.com/advisories/26235"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2007-1287","datePublished":"2007-03-06T20:00:00.000Z","dateReserved":"2007-03-06T00:00:00.000Z","dateUpdated":"2024-08-07T12:50:35.022Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2007-03-06 20:19: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:N/AC:M/Au:N/C:N/I:P/A:N","baseScore":4.3,"accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE"},"baseSeverity":"MEDIUM","exploitabilityScore":8.6,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:4.4.4:*:*:*:*:*:*:*","matchCriteriaId":"71AEE8B4-FCF8-483B-8D4C-2E80A02E925E"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:4.4.5:*:*:*:*:*:*:*","matchCriteriaId":"4C2AF1D9-33B6-4B2C-9269-426B6B720164"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:4.4.6:*:*:*:*:*:*:*","matchCriteriaId":"84B70263-37AA-4539-A286-12038A3792C6"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:6.0:*:*:*:*:*:*:*","matchCriteriaId":"7D68E8CC-611F-46B5-9571-0B24FB3928EF"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2007","CveId":"1287","Ordinal":"1","Title":"CVE-2007-1287","CVE":"CVE-2007-1287","Year":"2007"},"notes":[{"CveYear":"2007","CveId":"1287","Ordinal":"1","NoteData":"A regression error in the phpinfo function in PHP 4.4.3 to 4.4.6, and PHP 6.0 in CVS, allows remote attackers to conduct cross-site scripting (XSS) attacks via GET, POST, or COOKIE array values, which are not escaped in the phpinfo output, as originally fixed for CVE-2005-3388.","Type":"Description","Title":"CVE-2007-1287"},{"CveYear":"2007","CveId":"1287","Ordinal":"2","NoteData":"2007-03-06","Type":"Other","Title":"Published"},{"CveYear":"2007","CveId":"1287","Ordinal":"3","NoteData":"2007-03-31","Type":"Other","Title":"Modified"}]}}}