{"api_version":"1","generated_at":"2026-07-23T06:18:15+00:00","cve":"CVE-2001-1247","urls":{"html":"https://cve.report/CVE-2001-1247","api":"https://cve.report/api/cve/CVE-2001-1247.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2001-1247","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2001-1247"},"summary":{"title":"CVE-2001-1247","description":"PHP 4.0.4pl1 and 4.0.5 in safe mode allows remote attackers to read and write files owned by the web server UID by uploading a PHP script that uses the error_log function to access the files.","state":"PUBLISHED","assigner":"mitre","published_at":"2001-12-06 05:00:00","updated_at":"2025-04-03 01:03:51"},"problem_types":["CWE-264","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"6.4","severity":"","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:N","data":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:N","baseScore":6.4,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"NONE"}}],"references":[{"url":"http://online.securityfocus.com/archive/1/194425","name":"http://online.securityfocus.com/archive/1/194425","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Patch","Vendor Advisory"],"title":"","mime":"","httpstatus":"-1","archivestatus":"503"},{"url":"http://www.php.net/do_download.php?download_file=php-4.1.2.tar.gz","name":"http://www.php.net/do_download.php?download_file=php-4.1.2.tar.gz","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"PHP: Manual Quick Reference","mime":"text/html","httpstatus":"200","archivestatus":"503"},{"url":"http://www.redhat.com/support/errata/RHSA-2002-035.html","name":"http://www.redhat.com/support/errata/RHSA-2002-035.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Vendor Advisory"],"title":"redhat.com | Red Hat Support","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.osvdb.org/5440","name":"http://www.osvdb.org/5440","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"404 Not Found","mime":"text/html","httpstatus":"404","archivestatus":"503"},{"url":"https://www.cve.org/CVERecord?id=CVE-2001-1247","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2001-1247","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":"2001","cve_id":"1247","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"php","cpe5":"php","cpe6":"4.0.4pl1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2001","cve_id":"1247","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"php","cpe5":"php","cpe6":"4.0.5","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-08T04:51:07.539Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"20010630 php breaks safe mode","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"],"url":"http://online.securityfocus.com/archive/1/194425"},{"name":"5440","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"],"url":"http://www.osvdb.org/5440"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://www.php.net/do_download.php?download_file=php-4.1.2.tar.gz"},{"name":"RHSA-2002:035","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"],"url":"http://www.redhat.com/support/errata/RHSA-2002-035.html"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2001-06-30T00:00:00.000Z","descriptions":[{"lang":"en","value":"PHP 4.0.4pl1 and 4.0.5 in safe mode allows remote attackers to read and write files owned by the web server UID by uploading a PHP script that uses the error_log function to access the files."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2002-06-16T00:00:00.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"name":"20010630 php breaks safe mode","tags":["mailing-list","x_refsource_BUGTRAQ"],"url":"http://online.securityfocus.com/archive/1/194425"},{"name":"5440","tags":["vdb-entry","x_refsource_OSVDB"],"url":"http://www.osvdb.org/5440"},{"tags":["x_refsource_CONFIRM"],"url":"http://www.php.net/do_download.php?download_file=php-4.1.2.tar.gz"},{"name":"RHSA-2002:035","tags":["vendor-advisory","x_refsource_REDHAT"],"url":"http://www.redhat.com/support/errata/RHSA-2002-035.html"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2001-1247","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":"PHP 4.0.4pl1 and 4.0.5 in safe mode allows remote attackers to read and write files owned by the web server UID by uploading a PHP script that uses the error_log function to access the files."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"20010630 php breaks safe mode","refsource":"BUGTRAQ","url":"http://online.securityfocus.com/archive/1/194425"},{"name":"5440","refsource":"OSVDB","url":"http://www.osvdb.org/5440"},{"name":"http://www.php.net/do_download.php?download_file=php-4.1.2.tar.gz","refsource":"CONFIRM","url":"http://www.php.net/do_download.php?download_file=php-4.1.2.tar.gz"},{"name":"RHSA-2002:035","refsource":"REDHAT","url":"http://www.redhat.com/support/errata/RHSA-2002-035.html"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2001-1247","datePublished":"2002-06-25T04:00:00.000Z","dateReserved":"2002-05-01T00:00:00.000Z","dateUpdated":"2024-08-08T04:51:07.539Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2001-12-06 05:00:00","lastModifiedDate":"2025-04-03 01:03:51","problem_types":["CWE-264","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:N","baseScore":6.4,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"NONE"},"baseSeverity":"MEDIUM","exploitabilityScore":10,"impactScore":4.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:4.0.4pl1:*:*:*:*:*:*:*","matchCriteriaId":"E3A7253D-5C08-4170-9D65-6D460B076942"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:4.0.5:*:*:*:*:*:*:*","matchCriteriaId":"DD5FC218-3DDB-4981-81C9-6C69F8DA6F4D"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2001","CveId":"1247","Ordinal":"1","Title":"CVE-2001-1247","CVE":"CVE-2001-1247","Year":"2001"},"notes":[{"CveYear":"2001","CveId":"1247","Ordinal":"1","NoteData":"PHP 4.0.4pl1 and 4.0.5 in safe mode allows remote attackers to read and write files owned by the web server UID by uploading a PHP script that uses the error_log function to access the files.","Type":"Description","Title":"CVE-2001-1247"},{"CveYear":"2001","CveId":"1247","Ordinal":"2","NoteData":"2002-06-25","Type":"Other","Title":"Published"},{"CveYear":"2001","CveId":"1247","Ordinal":"3","NoteData":"2002-06-15","Type":"Other","Title":"Modified"}]}}}