{
  "threat_severity" : "Moderate",
  "public_date" : "2015-03-02T00:00:00Z",
  "bugzilla" : {
    "description" : "php: move_uploaded_file() NUL byte injection in file name",
    "id" : "1207682",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1207682"
  },
  "cvss" : {
    "cvss_base_score" : "4.0",
    "cvss_scoring_vector" : "AV:N/AC:H/Au:N/C:P/I:N/A:P",
    "status" : "verified"
  },
  "cwe" : "CWE-626",
  "details" : [ "The move_uploaded_file implementation in ext/standard/basic_functions.c in PHP before 5.4.39, 5.5.x before 5.5.23, and 5.6.x before 5.6.7 truncates a pathname upon encountering a \\x00 character, which allows remote attackers to bypass intended extension restrictions and create files with unexpected names via a crafted second argument.  NOTE: this vulnerability exists because of an incomplete fix for CVE-2006-7243.", "It was found that PHP move_uploaded_file() function did not properly handle file names with a NULL character. A remote attacker could possibly use this flaw to make a PHP script access unexpected files and bypass intended file system access restrictions." ],
  "statement" : "This issue does not affect the current php and php53 packages in Red Hat Enterprise Linux 5 and 6, as it was previously corrected as part of the fix for CVE-2006-7243.",
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 7",
    "release_date" : "2015-06-23T00:00:00Z",
    "advisory" : "RHSA-2015:1135",
    "cpe" : "cpe:/o:redhat:enterprise_linux:7",
    "package" : "php-0:5.4.16-36.ael7b_1"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 6",
    "release_date" : "2015-06-04T00:00:00Z",
    "advisory" : "RHSA-2015:1053",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el6",
    "package" : "php55-0:2.0-1.el6"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 6",
    "release_date" : "2015-06-04T00:00:00Z",
    "advisory" : "RHSA-2015:1053",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el6",
    "package" : "php55-php-0:5.5.21-2.el6"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 6",
    "release_date" : "2015-06-04T00:00:00Z",
    "advisory" : "RHSA-2015:1066",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el6",
    "package" : "php54-0:2.0-1.el6"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 6",
    "release_date" : "2015-06-04T00:00:00Z",
    "advisory" : "RHSA-2015:1066",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el6",
    "package" : "php54-php-0:5.4.40-1.el6"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 6",
    "release_date" : "2015-06-04T00:00:00Z",
    "advisory" : "RHSA-2015:1066",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el6",
    "package" : "php54-php-pecl-zendopcache-0:7.0.4-3.el6"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS",
    "release_date" : "2015-06-04T00:00:00Z",
    "advisory" : "RHSA-2015:1053",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el6",
    "package" : "php55-0:2.0-1.el6"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS",
    "release_date" : "2015-06-04T00:00:00Z",
    "advisory" : "RHSA-2015:1053",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el6",
    "package" : "php55-php-0:5.5.21-2.el6"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS",
    "release_date" : "2015-06-04T00:00:00Z",
    "advisory" : "RHSA-2015:1066",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el6",
    "package" : "php54-0:2.0-1.el6"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS",
    "release_date" : "2015-06-04T00:00:00Z",
    "advisory" : "RHSA-2015:1066",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el6",
    "package" : "php54-php-0:5.4.40-1.el6"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 6.5 EUS",
    "release_date" : "2015-06-04T00:00:00Z",
    "advisory" : "RHSA-2015:1066",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el6",
    "package" : "php54-php-pecl-zendopcache-0:7.0.4-3.el6"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS",
    "release_date" : "2015-06-04T00:00:00Z",
    "advisory" : "RHSA-2015:1053",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el6",
    "package" : "php55-0:2.0-1.el6"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS",
    "release_date" : "2015-06-04T00:00:00Z",
    "advisory" : "RHSA-2015:1053",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el6",
    "package" : "php55-php-0:5.5.21-2.el6"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS",
    "release_date" : "2015-06-04T00:00:00Z",
    "advisory" : "RHSA-2015:1066",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el6",
    "package" : "php54-0:2.0-1.el6"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS",
    "release_date" : "2015-06-04T00:00:00Z",
    "advisory" : "RHSA-2015:1066",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el6",
    "package" : "php54-php-0:5.4.40-1.el6"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS",
    "release_date" : "2015-06-04T00:00:00Z",
    "advisory" : "RHSA-2015:1066",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el6",
    "package" : "php54-php-pecl-zendopcache-0:7.0.4-3.el6"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 7",
    "release_date" : "2015-06-04T00:00:00Z",
    "advisory" : "RHSA-2015:1053",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el7",
    "package" : "php55-0:2.0-1.el7"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 7",
    "release_date" : "2015-06-04T00:00:00Z",
    "advisory" : "RHSA-2015:1053",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el7",
    "package" : "php55-php-0:5.5.21-2.el7"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 7",
    "release_date" : "2015-06-04T00:00:00Z",
    "advisory" : "RHSA-2015:1066",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el7",
    "package" : "php54-0:2.0-1.el7"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 7",
    "release_date" : "2015-06-04T00:00:00Z",
    "advisory" : "RHSA-2015:1066",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el7",
    "package" : "php54-php-0:5.4.40-1.el7"
  }, {
    "product_name" : "Red Hat Software Collections for Red Hat Enterprise Linux 7",
    "release_date" : "2015-06-04T00:00:00Z",
    "advisory" : "RHSA-2015:1066",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2::el7",
    "package" : "php54-php-pecl-zendopcache-0:7.0.4-3.el7"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Enterprise Linux 5",
    "fix_state" : "Not affected",
    "package_name" : "php",
    "cpe" : "cpe:/o:redhat:enterprise_linux:5"
  }, {
    "product_name" : "Red Hat Enterprise Linux 5",
    "fix_state" : "Not affected",
    "package_name" : "php53",
    "cpe" : "cpe:/o:redhat:enterprise_linux:5"
  }, {
    "product_name" : "Red Hat Enterprise Linux 6",
    "fix_state" : "Not affected",
    "package_name" : "php",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6"
  }, {
    "product_name" : "Red Hat Software Collections",
    "fix_state" : "Affected",
    "package_name" : "php54-php",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:1"
  }, {
    "product_name" : "Red Hat Software Collections",
    "fix_state" : "Affected",
    "package_name" : "php55-php",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:1"
  }, {
    "product_name" : "Red Hat Software Collections",
    "fix_state" : "Not affected",
    "package_name" : "rh-php56-php",
    "cpe" : "cpe:/a:redhat:rhel_software_collections:2"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2015-2348\nhttps://nvd.nist.gov/vuln/detail/CVE-2015-2348" ],
  "name" : "CVE-2015-2348",
  "csaw" : false
}