CVE-2015-6527
Vulnerability from cvelistv5
Published
2016-01-19 02:00
Modified
2024-08-06 07:22
Severity ?
Summary
The php_str_replace_in_subject function in ext/standard/string.c in PHP 7.x before 7.0.0 allows remote attackers to execute arbitrary code via a crafted value in the third argument to the str_ireplace function.
Impacted products
n/an/a
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-06T07:22:22.215Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=6aeee47b2cd47915ccfa3b41433a3f57aea24dd5"
          },
          {
            "name": "[oss-security] 20150730 Re: CVE Request: PHP v7 - Code execution vulnerability",
            "tags": [
              "mailing-list",
              "x_refsource_MLIST",
              "x_transferred"
            ],
            "url": "http://www.openwall.com/lists/oss-security/2015/07/30/11"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://bugs.php.net/bug.php?id=70140"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "n/a",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "n/a"
            }
          ]
        }
      ],
      "datePublic": "2015-07-30T00:00:00",
      "descriptions": [
        {
          "lang": "en",
          "value": "The php_str_replace_in_subject function in ext/standard/string.c in PHP 7.x before 7.0.0 allows remote attackers to execute arbitrary code via a crafted value in the third argument to the str_ireplace function."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "description": "n/a",
              "lang": "en",
              "type": "text"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2016-01-19T04:57:02",
        "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "shortName": "mitre"
      },
      "references": [
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=6aeee47b2cd47915ccfa3b41433a3f57aea24dd5"
        },
        {
          "name": "[oss-security] 20150730 Re: CVE Request: PHP v7 - Code execution vulnerability",
          "tags": [
            "mailing-list",
            "x_refsource_MLIST"
          ],
          "url": "http://www.openwall.com/lists/oss-security/2015/07/30/11"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://bugs.php.net/bug.php?id=70140"
        }
      ],
      "x_legacyV4Record": {
        "CVE_data_meta": {
          "ASSIGNER": "cve@mitre.org",
          "ID": "CVE-2015-6527",
          "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": "The php_str_replace_in_subject function in ext/standard/string.c in PHP 7.x before 7.0.0 allows remote attackers to execute arbitrary code via a crafted value in the third argument to the str_ireplace function."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "eng",
                  "value": "n/a"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "http://git.php.net/?p=php-src.git;a=commit;h=6aeee47b2cd47915ccfa3b41433a3f57aea24dd5",
              "refsource": "CONFIRM",
              "url": "http://git.php.net/?p=php-src.git;a=commit;h=6aeee47b2cd47915ccfa3b41433a3f57aea24dd5"
            },
            {
              "name": "[oss-security] 20150730 Re: CVE Request: PHP v7 - Code execution vulnerability",
              "refsource": "MLIST",
              "url": "http://www.openwall.com/lists/oss-security/2015/07/30/11"
            },
            {
              "name": "https://bugs.php.net/bug.php?id=70140",
              "refsource": "CONFIRM",
              "url": "https://bugs.php.net/bug.php?id=70140"
            }
          ]
        }
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
    "assignerShortName": "mitre",
    "cveId": "CVE-2015-6527",
    "datePublished": "2016-01-19T02:00:00",
    "dateReserved": "2015-08-20T00:00:00",
    "dateUpdated": "2024-08-06T07:22:22.215Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2015-6527\",\"sourceIdentifier\":\"cve@mitre.org\",\"published\":\"2016-01-19T05:59:01.327\",\"lastModified\":\"2023-11-07T02:26:55.950\",\"vulnStatus\":\"Modified\",\"descriptions\":[{\"lang\":\"en\",\"value\":\"The php_str_replace_in_subject function in ext/standard/string.c in PHP 7.x before 7.0.0 allows remote attackers to execute arbitrary code via a crafted value in the third argument to the str_ireplace function.\"},{\"lang\":\"es\",\"value\":\"La funci\u00f3n php_str_replace_in_subjec en ext/standard/string.c en PHP 7.x en versiones anteriores a 7.0.0 permite a atacantes remotos ejecutar c\u00f3digo arbitrario a trav\u00e9s de un valor manipulado en el tercer argumento en la funci\u00f3n str_ireplace.\"}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"LOW\",\"integrityImpact\":\"LOW\",\"availabilityImpact\":\"LOW\",\"baseScore\":7.3,\"baseSeverity\":\"HIGH\"},\"exploitabilityScore\":3.9,\"impactScore\":3.4}],\"cvssMetricV2\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"2.0\",\"vectorString\":\"AV:N/AC:L/Au:N/C:P/I:P/A:P\",\"accessVector\":\"NETWORK\",\"accessComplexity\":\"LOW\",\"authentication\":\"NONE\",\"confidentialityImpact\":\"PARTIAL\",\"integrityImpact\":\"PARTIAL\",\"availabilityImpact\":\"PARTIAL\",\"baseScore\":7.5},\"baseSeverity\":\"HIGH\",\"exploitabilityScore\":10.0,\"impactScore\":6.4,\"acInsufInfo\":false,\"obtainAllPrivilege\":false,\"obtainUserPrivilege\":false,\"obtainOtherPrivilege\":false}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"NVD-CWE-noinfo\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:php:php:7.0.0:-:*:*:*:*:*:*\",\"matchCriteriaId\":\"E5C4C35D-F8FE-429F-8F6E-9178EAB21772\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:php:php:7.0.0:alpha1:*:*:*:*:*:*\",\"matchCriteriaId\":\"DA0E42D0-A586-4735-B3F2-DC51CC1ACDFD\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:php:php:7.0.0:alpha2:*:*:*:*:*:*\",\"matchCriteriaId\":\"3358E003-0F13-4FC2-9A00-BE8B3A907912\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:php:php:7.0.0:beta1:*:*:*:*:*:*\",\"matchCriteriaId\":\"1A31D38C-B4A3-4412-8C04-0034336A4008\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:php:php:7.0.0:beta2:*:*:*:*:*:*\",\"matchCriteriaId\":\"FB0EF60E-6DCC-40E2-912F-65639A1E03D2\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:php:php:7.0.0:beta3:*:*:*:*:*:*\",\"matchCriteriaId\":\"1A24B9F1-51E6-4070-80CE-6B8BA35E2FA6\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:php:php:7.0.0:rc1:*:*:*:*:*:*\",\"matchCriteriaId\":\"08F899C5-185B-422D-80C8-26C1D1035CD2\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:php:php:7.0.0:rc2:*:*:*:*:*:*\",\"matchCriteriaId\":\"52F5FB2E-EE4E-4692-BC61-32A48A6CB395\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:php:php:7.0.0:rc3:*:*:*:*:*:*\",\"matchCriteriaId\":\"CBB01909-99C2-45CA-A78A-82310750B638\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:php:php:7.0.0:rc4:*:*:*:*:*:*\",\"matchCriteriaId\":\"D4C3FE85-68E8-4B99-8925-8A77CA44C4B4\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:php:php:7.0.0:rc5:*:*:*:*:*:*\",\"matchCriteriaId\":\"6111AC65-5B02-4E3D-BF7E-340809D57515\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:php:php:7.0.0:rc6:*:*:*:*:*:*\",\"matchCriteriaId\":\"235D8852-3E38-4859-BEDF-4BA8D5D12EB1\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:php:php:7.0.0:rc7:*:*:*:*:*:*\",\"matchCriteriaId\":\"B97290A3-CC6A-493F-876B-A2D1A5F5E690\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:php:php:7.0.0:rc8:*:*:*:*:*:*\",\"matchCriteriaId\":\"61C1862E-863E-4CAB-A9D7-9F2383AFA6FB\"}]}]}],\"references\":[{\"url\":\"http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=6aeee47b2cd47915ccfa3b41433a3f57aea24dd5\",\"source\":\"cve@mitre.org\"},{\"url\":\"http://www.openwall.com/lists/oss-security/2015/07/30/11\",\"source\":\"cve@mitre.org\",\"tags\":[\"Mailing List\",\"Third Party Advisory\"]},{\"url\":\"https://bugs.php.net/bug.php?id=70140\",\"source\":\"cve@mitre.org\",\"tags\":[\"Exploit\",\"Issue Tracking\",\"Vendor Advisory\"]}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading...

Loading...

Loading...

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.