fkie_cve-2011-1398
Vulnerability from fkie_nvd
Published
2012-08-30 22:55
Modified
2025-04-11 00:51
Severity ?
Summary
The sapi_header_op function in main/SAPI.c in PHP before 5.3.11 and 5.4.x before 5.4.0RC2 does not check for %0D sequences (aka carriage return characters), which allows remote attackers to bypass an HTTP response-splitting protection mechanism via a crafted URL, related to improper interaction between the PHP header function and certain browsers, as demonstrated by Internet Explorer and Google Chrome.
Impacted products
Vendor Product Version
php php *
php php 5.3.0
php php 5.3.1
php php 5.3.2
php php 5.3.3
php php 5.3.4
php php 5.3.5
php php 5.3.6
php php 5.3.7
php php 5.3.8
php php 5.3.9



{
   configurations: [
      {
         nodes: [
            {
               cpeMatch: [
                  {
                     criteria: "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
                     matchCriteriaId: "967EAC47-405C-4AA9-AC96-D3D750029AD0",
                     versionEndIncluding: "5.3.10",
                     vulnerable: true,
                  },
                  {
                     criteria: "cpe:2.3:a:php:php:5.3.0:*:*:*:*:*:*:*",
                     matchCriteriaId: "9EF4B938-BB14-4C06-BEE9-10CA755C5DEF",
                     vulnerable: true,
                  },
                  {
                     criteria: "cpe:2.3:a:php:php:5.3.1:*:*:*:*:*:*:*",
                     matchCriteriaId: "981C922C-7A7D-473E-8C43-03AB62FB5B8B",
                     vulnerable: true,
                  },
                  {
                     criteria: "cpe:2.3:a:php:php:5.3.2:*:*:*:*:*:*:*",
                     matchCriteriaId: "5D0CD11A-09C2-4C60-8F0C-68E55BD6EE63",
                     vulnerable: true,
                  },
                  {
                     criteria: "cpe:2.3:a:php:php:5.3.3:*:*:*:*:*:*:*",
                     matchCriteriaId: "B0F40E4A-E125-4099-A8B3-D42614AA9312",
                     vulnerable: true,
                  },
                  {
                     criteria: "cpe:2.3:a:php:php:5.3.4:*:*:*:*:*:*:*",
                     matchCriteriaId: "4933D9DD-A630-4A3D-9D13-9E182F5F6F8C",
                     vulnerable: true,
                  },
                  {
                     criteria: "cpe:2.3:a:php:php:5.3.5:*:*:*:*:*:*:*",
                     matchCriteriaId: "A9E6D530-91FC-42F4-A427-6601238E0187",
                     vulnerable: true,
                  },
                  {
                     criteria: "cpe:2.3:a:php:php:5.3.6:*:*:*:*:*:*:*",
                     matchCriteriaId: "9EC938DB-E066-407F-BDF8-61A1C41136F7",
                     vulnerable: true,
                  },
                  {
                     criteria: "cpe:2.3:a:php:php:5.3.7:*:*:*:*:*:*:*",
                     matchCriteriaId: "ACDF768D-7F5A-4042-B7DD-398F65F3F094",
                     vulnerable: true,
                  },
                  {
                     criteria: "cpe:2.3:a:php:php:5.3.8:*:*:*:*:*:*:*",
                     matchCriteriaId: "2AF35BB6-C6B1-4683-A8BE-AA72CC34F5B5",
                     vulnerable: true,
                  },
                  {
                     criteria: "cpe:2.3:a:php:php:5.3.9:*:*:*:*:*:*:*",
                     matchCriteriaId: "EC3F1891-032D-409C-904C-A415D2323DFC",
                     vulnerable: true,
                  },
               ],
               negate: false,
               operator: "OR",
            },
         ],
      },
   ],
   cveTags: [],
   descriptions: [
      {
         lang: "en",
         value: "The sapi_header_op function in main/SAPI.c in PHP before 5.3.11 and 5.4.x before 5.4.0RC2 does not check for %0D sequences (aka carriage return characters), which allows remote attackers to bypass an HTTP response-splitting protection mechanism via a crafted URL, related to improper interaction between the PHP header function and certain browsers, as demonstrated by Internet Explorer and Google Chrome.",
      },
      {
         lang: "es",
         value: "La función sapi_header_op en el archivo main/SAPI.c en PHP anterior a versión 5.3.11 y versiones 5.4.x anteriores a 5.4.0RC2, no comprueba si hay secuencias de %0D (también se conoce como caracteres de retorno de acarreo), lo que permite a atacantes remotos omitir un mecanismo de protección de división de respuesta HTTP por medio de una URL diseñada, relacionada con la interacción inapropiada entre la función de PHP header y ciertos navegadores, como es demostrado por Internet Explorer y Google Chrome.",
      },
   ],
   id: "CVE-2011-1398",
   lastModified: "2025-04-11T00:51:21.963",
   metrics: {
      cvssMetricV2: [
         {
            acInsufInfo: false,
            baseSeverity: "MEDIUM",
            cvssData: {
               accessComplexity: "MEDIUM",
               accessVector: "NETWORK",
               authentication: "NONE",
               availabilityImpact: "NONE",
               baseScore: 4.3,
               confidentialityImpact: "NONE",
               integrityImpact: "PARTIAL",
               vectorString: "AV:N/AC:M/Au:N/C:N/I:P/A:N",
               version: "2.0",
            },
            exploitabilityScore: 8.6,
            impactScore: 2.9,
            obtainAllPrivilege: false,
            obtainOtherPrivilege: false,
            obtainUserPrivilege: false,
            source: "nvd@nist.gov",
            type: "Primary",
            userInteractionRequired: false,
         },
      ],
   },
   published: "2012-08-30T22:55:02.497",
   references: [
      {
         source: "cve@mitre.org",
         url: "http://article.gmane.org/gmane.comp.php.devel/70584",
      },
      {
         source: "cve@mitre.org",
         url: "http://lists.opensuse.org/opensuse-security-announce/2013-08/msg00006.html",
      },
      {
         source: "cve@mitre.org",
         url: "http://openwall.com/lists/oss-security/2012/08/29/5",
      },
      {
         source: "cve@mitre.org",
         url: "http://openwall.com/lists/oss-security/2012/09/05/15",
      },
      {
         source: "cve@mitre.org",
         url: "http://rhn.redhat.com/errata/RHSA-2013-1307.html",
      },
      {
         source: "cve@mitre.org",
         url: "http://secunia.com/advisories/55078",
      },
      {
         source: "cve@mitre.org",
         url: "http://security-tracker.debian.org/tracker/CVE-2011-1398",
      },
      {
         source: "cve@mitre.org",
         url: "http://www.securitytracker.com/id?1027463",
      },
      {
         source: "cve@mitre.org",
         url: "http://www.ubuntu.com/usn/USN-1569-1",
      },
      {
         source: "cve@mitre.org",
         url: "https://bugs.php.net/bug.php?id=60227",
      },
      {
         source: "af854a3a-2127-422b-91ae-364da2661108",
         url: "http://article.gmane.org/gmane.comp.php.devel/70584",
      },
      {
         source: "af854a3a-2127-422b-91ae-364da2661108",
         url: "http://lists.opensuse.org/opensuse-security-announce/2013-08/msg00006.html",
      },
      {
         source: "af854a3a-2127-422b-91ae-364da2661108",
         url: "http://openwall.com/lists/oss-security/2012/08/29/5",
      },
      {
         source: "af854a3a-2127-422b-91ae-364da2661108",
         url: "http://openwall.com/lists/oss-security/2012/09/05/15",
      },
      {
         source: "af854a3a-2127-422b-91ae-364da2661108",
         url: "http://rhn.redhat.com/errata/RHSA-2013-1307.html",
      },
      {
         source: "af854a3a-2127-422b-91ae-364da2661108",
         url: "http://secunia.com/advisories/55078",
      },
      {
         source: "af854a3a-2127-422b-91ae-364da2661108",
         url: "http://security-tracker.debian.org/tracker/CVE-2011-1398",
      },
      {
         source: "af854a3a-2127-422b-91ae-364da2661108",
         url: "http://www.securitytracker.com/id?1027463",
      },
      {
         source: "af854a3a-2127-422b-91ae-364da2661108",
         url: "http://www.ubuntu.com/usn/USN-1569-1",
      },
      {
         source: "af854a3a-2127-422b-91ae-364da2661108",
         url: "https://bugs.php.net/bug.php?id=60227",
      },
   ],
   sourceIdentifier: "cve@mitre.org",
   vulnStatus: "Deferred",
   weaknesses: [
      {
         description: [
            {
               lang: "en",
               value: "CWE-20",
            },
         ],
         source: "nvd@nist.gov",
         type: "Primary",
      },
   ],
}


Log in or create an account to share your comment.

Security Advisory comment format.

This schema specifies the format of a comment related to a security advisory.

UUIDv4 of the comment
UUIDv4 of the Vulnerability-Lookup instance
When the comment was created originally
When the comment was last updated
Title of the comment
Description of the comment
The identifier of the vulnerability (CVE ID, GHSA-ID, PYSEC ID, etc.).



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.