gsd-2010-3870
Vulnerability from gsd
Modified
2023-12-13 01:21
Details
The utf8_decode function in PHP before 5.3.4 does not properly handle non-shortest form UTF-8 encoding and ill-formed subsequences in UTF-8 data, which makes it easier for remote attackers to bypass cross-site scripting (XSS) and SQL injection protection mechanisms via a crafted string.
Aliases
Aliases



{
  "GSD": {
    "alias": "CVE-2010-3870",
    "description": "The utf8_decode function in PHP before 5.3.4 does not properly handle non-shortest form UTF-8 encoding and ill-formed subsequences in UTF-8 data, which makes it easier for remote attackers to bypass cross-site scripting (XSS) and SQL injection protection mechanisms via a crafted string.",
    "id": "GSD-2010-3870",
    "references": [
      "https://www.suse.com/security/cve/CVE-2010-3870.html",
      "https://www.debian.org/security/2011/dsa-2195",
      "https://access.redhat.com/errata/RHSA-2011:0195",
      "https://access.redhat.com/errata/RHSA-2010:0919",
      "https://linux.oracle.com/cve/CVE-2010-3870.html"
    ]
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2010-3870"
      ],
      "details": "The utf8_decode function in PHP before 5.3.4 does not properly handle non-shortest form UTF-8 encoding and ill-formed subsequences in UTF-8 data, which makes it easier for remote attackers to bypass cross-site scripting (XSS) and SQL injection protection mechanisms via a crafted string.",
      "id": "GSD-2010-3870",
      "modified": "2023-12-13T01:21:34.730019Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "secalert@redhat.com",
        "ID": "CVE-2010-3870",
        "STATE": "PUBLIC"
      },
      "affects": {
        "vendor": {
          "vendor_data": [
            {
              "product": {
                "product_data": [
                  {
                    "product_name": "n/a",
                    "version": {
                      "version_data": [
                        {
                          "version_affected": "=",
                          "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 utf8_decode function in PHP before 5.3.4 does not properly handle non-shortest form UTF-8 encoding and ill-formed subsequences in UTF-8 data, which makes it easier for remote attackers to bypass cross-site scripting (XSS) and SQL injection protection mechanisms via a crafted string."
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "n/a"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "http://lists.apple.com/archives/security-announce/2011/Mar/msg00006.html",
            "refsource": "MISC",
            "url": "http://lists.apple.com/archives/security-announce/2011/Mar/msg00006.html"
          },
          {
            "name": "http://support.apple.com/kb/HT4581",
            "refsource": "MISC",
            "url": "http://support.apple.com/kb/HT4581"
          },
          {
            "name": "http://www.php.net/ChangeLog-5.php",
            "refsource": "MISC",
            "url": "http://www.php.net/ChangeLog-5.php"
          },
          {
            "name": "http://lists.opensuse.org/opensuse-security-announce/2010-12/msg00000.html",
            "refsource": "MISC",
            "url": "http://lists.opensuse.org/opensuse-security-announce/2010-12/msg00000.html"
          },
          {
            "name": "http://lists.fedoraproject.org/pipermail/package-announce/2011-January/052836.html",
            "refsource": "MISC",
            "url": "http://lists.fedoraproject.org/pipermail/package-announce/2011-January/052836.html"
          },
          {
            "name": "http://lists.fedoraproject.org/pipermail/package-announce/2011-January/052845.html",
            "refsource": "MISC",
            "url": "http://lists.fedoraproject.org/pipermail/package-announce/2011-January/052845.html"
          },
          {
            "name": "http://marc.info/?l=bugtraq\u0026m=133469208622507\u0026w=2",
            "refsource": "MISC",
            "url": "http://marc.info/?l=bugtraq\u0026m=133469208622507\u0026w=2"
          },
          {
            "name": "http://secunia.com/advisories/42812",
            "refsource": "MISC",
            "url": "http://secunia.com/advisories/42812"
          },
          {
            "name": "http://www.redhat.com/support/errata/RHSA-2011-0195.html",
            "refsource": "MISC",
            "url": "http://www.redhat.com/support/errata/RHSA-2011-0195.html"
          },
          {
            "name": "http://www.ubuntu.com/usn/USN-1042-1",
            "refsource": "MISC",
            "url": "http://www.ubuntu.com/usn/USN-1042-1"
          },
          {
            "name": "http://www.vupen.com/english/advisories/2011/0020",
            "refsource": "MISC",
            "url": "http://www.vupen.com/english/advisories/2011/0020"
          },
          {
            "name": "http://www.vupen.com/english/advisories/2011/0021",
            "refsource": "MISC",
            "url": "http://www.vupen.com/english/advisories/2011/0021"
          },
          {
            "name": "http://www.vupen.com/english/advisories/2011/0077",
            "refsource": "MISC",
            "url": "http://www.vupen.com/english/advisories/2011/0077"
          },
          {
            "name": "http://bugs.php.net/bug.php?id=48230",
            "refsource": "MISC",
            "url": "http://bugs.php.net/bug.php?id=48230"
          },
          {
            "name": "http://bugs.php.net/bug.php?id=49687",
            "refsource": "MISC",
            "url": "http://bugs.php.net/bug.php?id=49687"
          },
          {
            "name": "http://secunia.com/advisories/42410",
            "refsource": "MISC",
            "url": "http://secunia.com/advisories/42410"
          },
          {
            "name": "http://sirdarckcat.blogspot.com/2009/10/couple-of-unicode-issues-on-php-and.html",
            "refsource": "MISC",
            "url": "http://sirdarckcat.blogspot.com/2009/10/couple-of-unicode-issues-on-php-and.html"
          },
          {
            "name": "http://svn.php.net/viewvc?view=revision\u0026revision=304959",
            "refsource": "MISC",
            "url": "http://svn.php.net/viewvc?view=revision\u0026revision=304959"
          },
          {
            "name": "http://us2.php.net/manual/en/function.utf8-decode.php#83935",
            "refsource": "MISC",
            "url": "http://us2.php.net/manual/en/function.utf8-decode.php#83935"
          },
          {
            "name": "http://www.acunetix.com/blog/web-security-articles/security-risks-associated-with-utf8_decode/",
            "refsource": "MISC",
            "url": "http://www.acunetix.com/blog/web-security-articles/security-risks-associated-with-utf8_decode/"
          },
          {
            "name": "http://www.blackhat.com/presentations/bh-usa-09/VELANAVA/BHUSA09-VelaNava-FavoriteXSS-SLIDES.pdf",
            "refsource": "MISC",
            "url": "http://www.blackhat.com/presentations/bh-usa-09/VELANAVA/BHUSA09-VelaNava-FavoriteXSS-SLIDES.pdf"
          },
          {
            "name": "http://www.mandriva.com/en/security/advisories?name=MDVSA-2010:224",
            "refsource": "MISC",
            "url": "http://www.mandriva.com/en/security/advisories?name=MDVSA-2010:224"
          },
          {
            "name": "http://www.openwall.com/lists/oss-security/2010/11/02/1",
            "refsource": "MISC",
            "url": "http://www.openwall.com/lists/oss-security/2010/11/02/1"
          },
          {
            "name": "http://www.openwall.com/lists/oss-security/2010/11/02/11",
            "refsource": "MISC",
            "url": "http://www.openwall.com/lists/oss-security/2010/11/02/11"
          },
          {
            "name": "http://www.openwall.com/lists/oss-security/2010/11/02/2",
            "refsource": "MISC",
            "url": "http://www.openwall.com/lists/oss-security/2010/11/02/2"
          },
          {
            "name": "http://www.openwall.com/lists/oss-security/2010/11/02/4",
            "refsource": "MISC",
            "url": "http://www.openwall.com/lists/oss-security/2010/11/02/4"
          },
          {
            "name": "http://www.openwall.com/lists/oss-security/2010/11/02/6",
            "refsource": "MISC",
            "url": "http://www.openwall.com/lists/oss-security/2010/11/02/6"
          },
          {
            "name": "http://www.openwall.com/lists/oss-security/2010/11/02/8",
            "refsource": "MISC",
            "url": "http://www.openwall.com/lists/oss-security/2010/11/02/8"
          },
          {
            "name": "http://www.openwall.com/lists/oss-security/2010/11/03/1",
            "refsource": "MISC",
            "url": "http://www.openwall.com/lists/oss-security/2010/11/03/1"
          },
          {
            "name": "http://www.redhat.com/support/errata/RHSA-2010-0919.html",
            "refsource": "MISC",
            "url": "http://www.redhat.com/support/errata/RHSA-2010-0919.html"
          },
          {
            "name": "http://www.securityfocus.com/bid/44605",
            "refsource": "MISC",
            "url": "http://www.securityfocus.com/bid/44605"
          },
          {
            "name": "http://www.securitytracker.com/id?1024797",
            "refsource": "MISC",
            "url": "http://www.securitytracker.com/id?1024797"
          },
          {
            "name": "http://www.vupen.com/english/advisories/2010/3081",
            "refsource": "MISC",
            "url": "http://www.vupen.com/english/advisories/2010/3081"
          }
        ]
      }
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "5.2.14",
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndExcluding": "5.3.4",
                "versionStartIncluding": "5.3.0",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          },
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:o:canonical:ubuntu_linux:10.10:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:o:canonical:ubuntu_linux:9.10:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:o:canonical:ubuntu_linux:8.04:*:*:*:-:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:o:canonical:ubuntu_linux:10.04:*:*:*:-:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              },
              {
                "cpe23Uri": "cpe:2.3:o:canonical:ubuntu_linux:6.06:*:*:*:*:*:*:*",
                "cpe_name": [],
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "secalert@redhat.com",
          "ID": "CVE-2010-3870"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "The utf8_decode function in PHP before 5.3.4 does not properly handle non-shortest form UTF-8 encoding and ill-formed subsequences in UTF-8 data, which makes it easier for remote attackers to bypass cross-site scripting (XSS) and SQL injection protection mechanisms via a crafted string."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-20"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "http://sirdarckcat.blogspot.com/2009/10/couple-of-unicode-issues-on-php-and.html",
              "refsource": "MISC",
              "tags": [
                "Exploit",
                "Third Party Advisory"
              ],
              "url": "http://sirdarckcat.blogspot.com/2009/10/couple-of-unicode-issues-on-php-and.html"
            },
            {
              "name": "MDVSA-2010:224",
              "refsource": "MANDRIVA",
              "tags": [
                "Third Party Advisory"
              ],
              "url": "http://www.mandriva.com/en/security/advisories?name=MDVSA-2010:224"
            },
            {
              "name": "http://bugs.php.net/bug.php?id=48230",
              "refsource": "MISC",
              "tags": [
                "Exploit",
                "Vendor Advisory"
              ],
              "url": "http://bugs.php.net/bug.php?id=48230"
            },
            {
              "name": "http://us2.php.net/manual/en/function.utf8-decode.php#83935",
              "refsource": "MISC",
              "tags": [
                "Exploit",
                "Vendor Advisory"
              ],
              "url": "http://us2.php.net/manual/en/function.utf8-decode.php#83935"
            },
            {
              "name": "[oss-security] 20101102 Re: utf-8 security issue in php",
              "refsource": "MLIST",
              "tags": [
                "Mailing List",
                "Third Party Advisory"
              ],
              "url": "http://www.openwall.com/lists/oss-security/2010/11/02/8"
            },
            {
              "name": "[oss-security] 20101102 Re: utf-8 security issue in php",
              "refsource": "MLIST",
              "tags": [
                "Mailing List",
                "Third Party Advisory"
              ],
              "url": "http://www.openwall.com/lists/oss-security/2010/11/02/11"
            },
            {
              "name": "http://www.acunetix.com/blog/web-security-articles/security-risks-associated-with-utf8_decode/",
              "refsource": "MISC",
              "tags": [
                "Exploit",
                "Third Party Advisory"
              ],
              "url": "http://www.acunetix.com/blog/web-security-articles/security-risks-associated-with-utf8_decode/"
            },
            {
              "name": "http://bugs.php.net/bug.php?id=49687",
              "refsource": "CONFIRM",
              "tags": [
                "Exploit",
                "Vendor Advisory"
              ],
              "url": "http://bugs.php.net/bug.php?id=49687"
            },
            {
              "name": "[oss-security] 20101102 Re: utf-8 security issue in php",
              "refsource": "MLIST",
              "tags": [
                "Mailing List",
                "Third Party Advisory"
              ],
              "url": "http://www.openwall.com/lists/oss-security/2010/11/02/4"
            },
            {
              "name": "[oss-security] 20101102 Re: utf-8 security issue in php",
              "refsource": "MLIST",
              "tags": [
                "Mailing List",
                "Third Party Advisory"
              ],
              "url": "http://www.openwall.com/lists/oss-security/2010/11/02/6"
            },
            {
              "name": "[oss-security] 20101103 Re: utf-8 security issue in php",
              "refsource": "MLIST",
              "tags": [
                "Mailing List",
                "Third Party Advisory"
              ],
              "url": "http://www.openwall.com/lists/oss-security/2010/11/03/1"
            },
            {
              "name": "[oss-security] 20101102 utf-8 security issue in php",
              "refsource": "MLIST",
              "tags": [
                "Mailing List",
                "Third Party Advisory"
              ],
              "url": "http://www.openwall.com/lists/oss-security/2010/11/02/1"
            },
            {
              "name": "[oss-security] 20101102 Re: utf-8 security issue in php",
              "refsource": "MLIST",
              "tags": [
                "Mailing List",
                "Third Party Advisory"
              ],
              "url": "http://www.openwall.com/lists/oss-security/2010/11/02/2"
            },
            {
              "name": "http://www.blackhat.com/presentations/bh-usa-09/VELANAVA/BHUSA09-VelaNava-FavoriteXSS-SLIDES.pdf",
              "refsource": "MISC",
              "tags": [
                "Exploit",
                "Third Party Advisory"
              ],
              "url": "http://www.blackhat.com/presentations/bh-usa-09/VELANAVA/BHUSA09-VelaNava-FavoriteXSS-SLIDES.pdf"
            },
            {
              "name": "http://svn.php.net/viewvc?view=revision\u0026revision=304959",
              "refsource": "CONFIRM",
              "tags": [
                "Patch",
                "Vendor Advisory"
              ],
              "url": "http://svn.php.net/viewvc?view=revision\u0026revision=304959"
            },
            {
              "name": "RHSA-2010:0919",
              "refsource": "REDHAT",
              "tags": [
                "Third Party Advisory"
              ],
              "url": "http://www.redhat.com/support/errata/RHSA-2010-0919.html"
            },
            {
              "name": "44605",
              "refsource": "BID",
              "tags": [
                "Third Party Advisory",
                "VDB Entry"
              ],
              "url": "http://www.securityfocus.com/bid/44605"
            },
            {
              "name": "1024797",
              "refsource": "SECTRACK",
              "tags": [
                "Third Party Advisory",
                "VDB Entry"
              ],
              "url": "http://www.securitytracker.com/id?1024797"
            },
            {
              "name": "ADV-2010-3081",
              "refsource": "VUPEN",
              "tags": [
                "Third Party Advisory"
              ],
              "url": "http://www.vupen.com/english/advisories/2010/3081"
            },
            {
              "name": "42410",
              "refsource": "SECUNIA",
              "tags": [
                "Third Party Advisory"
              ],
              "url": "http://secunia.com/advisories/42410"
            },
            {
              "name": "ADV-2011-0020",
              "refsource": "VUPEN",
              "tags": [
                "Third Party Advisory"
              ],
              "url": "http://www.vupen.com/english/advisories/2011/0020"
            },
            {
              "name": "FEDORA-2010-18976",
              "refsource": "FEDORA",
              "tags": [
                "Mailing List",
                "Third Party Advisory"
              ],
              "url": "http://lists.fedoraproject.org/pipermail/package-announce/2011-January/052845.html"
            },
            {
              "name": "FEDORA-2010-19011",
              "refsource": "FEDORA",
              "tags": [
                "Mailing List",
                "Third Party Advisory"
              ],
              "url": "http://lists.fedoraproject.org/pipermail/package-announce/2011-January/052836.html"
            },
            {
              "name": "SUSE-SR:2010:023",
              "refsource": "SUSE",
              "tags": [
                "Mailing List",
                "Third Party Advisory"
              ],
              "url": "http://lists.opensuse.org/opensuse-security-announce/2010-12/msg00000.html"
            },
            {
              "name": "http://www.php.net/ChangeLog-5.php",
              "refsource": "CONFIRM",
              "tags": [
                "Vendor Advisory"
              ],
              "url": "http://www.php.net/ChangeLog-5.php"
            },
            {
              "name": "USN-1042-1",
              "refsource": "UBUNTU",
              "tags": [
                "Third Party Advisory"
              ],
              "url": "http://www.ubuntu.com/usn/USN-1042-1"
            },
            {
              "name": "42812",
              "refsource": "SECUNIA",
              "tags": [
                "Third Party Advisory"
              ],
              "url": "http://secunia.com/advisories/42812"
            },
            {
              "name": "ADV-2011-0021",
              "refsource": "VUPEN",
              "tags": [
                "Third Party Advisory"
              ],
              "url": "http://www.vupen.com/english/advisories/2011/0021"
            },
            {
              "name": "ADV-2011-0077",
              "refsource": "VUPEN",
              "tags": [
                "Third Party Advisory"
              ],
              "url": "http://www.vupen.com/english/advisories/2011/0077"
            },
            {
              "name": "RHSA-2011:0195",
              "refsource": "REDHAT",
              "tags": [
                "Third Party Advisory"
              ],
              "url": "http://www.redhat.com/support/errata/RHSA-2011-0195.html"
            },
            {
              "name": "http://support.apple.com/kb/HT4581",
              "refsource": "CONFIRM",
              "tags": [
                "Third Party Advisory"
              ],
              "url": "http://support.apple.com/kb/HT4581"
            },
            {
              "name": "APPLE-SA-2011-03-21-1",
              "refsource": "APPLE",
              "tags": [
                "Mailing List",
                "Third Party Advisory"
              ],
              "url": "http://lists.apple.com/archives/security-announce/2011/Mar/msg00006.html"
            },
            {
              "name": "SSRT100826",
              "refsource": "HP",
              "tags": [
                "Mailing List",
                "Third Party Advisory"
              ],
              "url": "http://marc.info/?l=bugtraq\u0026m=133469208622507\u0026w=2"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV2": {
          "acInsufInfo": false,
          "cvssV2": {
            "accessComplexity": "MEDIUM",
            "accessVector": "NETWORK",
            "authentication": "NONE",
            "availabilityImpact": "PARTIAL",
            "baseScore": 6.8,
            "confidentialityImpact": "PARTIAL",
            "integrityImpact": "PARTIAL",
            "vectorString": "AV:N/AC:M/Au:N/C:P/I:P/A:P",
            "version": "2.0"
          },
          "exploitabilityScore": 8.6,
          "impactScore": 6.4,
          "obtainAllPrivilege": false,
          "obtainOtherPrivilege": false,
          "obtainUserPrivilege": false,
          "severity": "MEDIUM",
          "userInteractionRequired": false
        }
      },
      "lastModifiedDate": "2023-02-13T04:27Z",
      "publishedDate": "2010-11-12T21:00Z"
    }
  }
}


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.