{"id":"CVE-2015-3412","state":"PUBLISHED","title":"PHP before 5.4.40, 5.5.x before 5.5.24, and 5.6.x before 5.6.8 does not ensure that pathnames lack %00 sequences, which might allow remote attackers to read arbitrary files via cra","description":"PHP before 5.4.40, 5.5.x before 5.5.24, and 5.6.x before 5.6.8 does not ensure that pathnames lack %00 sequences, which might allow remote attackers to read arbitrary files via crafted input to an application that calls the stream_resolve_include_path function in ext/standard/streamsfuncs.c, as demonstrated by a filename\\0.extension attack that bypasses an intended configuration in which client users may read files with only one specific extension.","publishedAt":"2016-05-16T10:00:00.000Z","updatedAt":"2024-08-06T05:47:57.712Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://rhn.redhat.com/errata/RHSA-2015-1187.html","http://www.securitytracker.com/id/1032709","http://rhn.redhat.com/errata/RHSA-2015-1186.html","https://bugs.php.net/bug.php?id=69353","http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html","http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=4435b9142ff9813845d5c97ab29a5d637bedb257","http://php.net/ChangeLog-5.php","http://rhn.redhat.com/errata/RHSA-2015-1135.html","http://www.securityfocus.com/bid/75250","http://rhn.redhat.com/errata/RHSA-2015-1218.html"],"weaknesses":[],"ingestedAt":"2026-10-29T19:42:04.713Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2015/3xxx/CVE-2015-3412.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2015-3412","state":"PUBLISHED","datePublished":"2016-05-16T10:00:00.000Z","dateUpdated":"2024-08-06T05:47:57.712Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2015-04-24T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"PHP before 5.4.40, 5.5.x before 5.5.24, and 5.6.x before 5.6.8 does not ensure that pathnames lack %00 sequences, which might allow remote attackers to read arbitrary files via crafted input to an application that calls the stream_resolve_include_path function in ext/standard/streamsfuncs.c, as demonstrated by a filename\\0.extension attack that bypasses an intended configuration in which client users may read files with only one specific extension."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://rhn.redhat.com/errata/RHSA-2015-1187.html","name":"RHSA-2015:1187","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.securitytracker.com/id/1032709","name":"1032709","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"http://rhn.redhat.com/errata/RHSA-2015-1186.html","name":"RHSA-2015:1186","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://bugs.php.net/bug.php?id=69353","tags":["x_refsource_CONFIRM"]},{"url":"http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html","tags":["x_refsource_CONFIRM"]},{"url":"http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=4435b9142ff9813845d5c97ab29a5d637bedb257","tags":["x_refsource_CONFIRM"]},{"url":"http://php.net/ChangeLog-5.php","tags":["x_refsource_CONFIRM"]},{"url":"http://rhn.redhat.com/errata/RHSA-2015-1135.html","name":"RHSA-2015:1135","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.securityfocus.com/bid/75250","name":"75250","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://rhn.redhat.com/errata/RHSA-2015-1218.html","name":"RHSA-2015:1218","tags":["vendor-advisory","x_refsource_REDHAT"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2018-01-04T19:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2015-04-02T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2015-3412","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 before 5.4.40, 5.5.x before 5.5.24, and 5.6.x before 5.6.8 does not ensure that pathnames lack %00 sequences, which might allow remote attackers to read arbitrary files via crafted input to an application that calls the stream_resolve_include_path function in ext/standard/streamsfuncs.c, as demonstrated by a filename\\0.extension attack that bypasses an intended configuration in which client users may read files with only one specific extension."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"RHSA-2015:1187","refsource":"REDHAT","url":"http://rhn.redhat.com/errata/RHSA-2015-1187.html"},{"name":"1032709","refsource":"SECTRACK","url":"http://www.securitytracker.com/id/1032709"},{"name":"RHSA-2015:1186","refsource":"REDHAT","url":"http://rhn.redhat.com/errata/RHSA-2015-1186.html"},{"name":"https://bugs.php.net/bug.php?id=69353","refsource":"CONFIRM","url":"https://bugs.php.net/bug.php?id=69353"},{"name":"http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html","refsource":"CONFIRM","url":"http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html"},{"name":"http://git.php.net/?p=php-src.git;a=commit;h=4435b9142ff9813845d5c97ab29a5d637bedb257","refsource":"CONFIRM","url":"http://git.php.net/?p=php-src.git;a=commit;h=4435b9142ff9813845d5c97ab29a5d637bedb257"},{"name":"http://php.net/ChangeLog-5.php","refsource":"CONFIRM","url":"http://php.net/ChangeLog-5.php"},{"name":"RHSA-2015:1135","refsource":"REDHAT","url":"http://rhn.redhat.com/errata/RHSA-2015-1135.html"},{"name":"75250","refsource":"BID","url":"http://www.securityfocus.com/bid/75250"},{"name":"RHSA-2015:1218","refsource":"REDHAT","url":"http://rhn.redhat.com/errata/RHSA-2015-1218.html"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://rhn.redhat.com/errata/RHSA-2015-1187.html","name":"RHSA-2015:1187","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://www.securitytracker.com/id/1032709","name":"1032709","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred"]},{"url":"http://rhn.redhat.com/errata/RHSA-2015-1186.html","name":"RHSA-2015:1186","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://bugs.php.net/bug.php?id=69353","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=4435b9142ff9813845d5c97ab29a5d637bedb257","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://php.net/ChangeLog-5.php","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://rhn.redhat.com/errata/RHSA-2015-1135.html","name":"RHSA-2015:1135","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://www.securityfocus.com/bid/75250","name":"75250","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://rhn.redhat.com/errata/RHSA-2015-1218.html","name":"RHSA-2015:1218","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-06T05:47:57.712Z"}}]}}}