{"id":"CVE-2001-1247","sourceIdentifier":"cve@mitre.org","published":"2001-12-06T05:00:00.000","lastModified":"2026-06-16T21:55:53.420","vulnStatus":"Modified","cveTags":[],"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."}],"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: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.0,"impactScore":4.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-264"}]}],"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"}]}]}],"references":[{"url":"http://online.securityfocus.com/archive/1/194425","source":"cve@mitre.org","tags":["Exploit","Patch","Vendor Advisory"]},{"url":"http://www.osvdb.org/5440","source":"cve@mitre.org"},{"url":"http://www.php.net/do_download.php?download_file=php-4.1.2.tar.gz","source":"cve@mitre.org"},{"url":"http://www.redhat.com/support/errata/RHSA-2002-035.html","source":"cve@mitre.org","tags":["Patch","Vendor Advisory"]},{"url":"http://online.securityfocus.com/archive/1/194425","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Patch","Vendor Advisory"]},{"url":"http://www.osvdb.org/5440","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.php.net/do_download.php?download_file=php-4.1.2.tar.gz","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.redhat.com/support/errata/RHSA-2002-035.html","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch","Vendor Advisory"]}]}