gsd-2012-5526
Vulnerability from gsd
Modified
2023-12-13 01:20
Details
CGI.pm module before 3.63 for Perl does not properly escape newlines in (1) Set-Cookie or (2) P3P headers, which might allow remote attackers to inject arbitrary headers into responses from applications that use CGI.pm.
Aliases
Aliases



{
  "GSD": {
    "alias": "CVE-2012-5526",
    "description": "CGI.pm module before 3.63 for Perl does not properly escape newlines in (1) Set-Cookie or (2) P3P headers, which might allow remote attackers to inject arbitrary headers into responses from applications that use CGI.pm.",
    "id": "GSD-2012-5526",
    "references": [
      "https://www.suse.com/security/cve/CVE-2012-5526.html",
      "https://www.debian.org/security/2012/dsa-2586",
      "https://www.debian.org/security/2012/dsa-2587",
      "https://access.redhat.com/errata/RHSA-2013:0685",
      "https://alas.aws.amazon.com/cve/html/CVE-2012-5526.html",
      "https://linux.oracle.com/cve/CVE-2012-5526.html"
    ]
  },
  "gsd": {
    "metadata": {
      "exploitCode": "unknown",
      "remediation": "unknown",
      "reportConfidence": "confirmed",
      "type": "vulnerability"
    },
    "osvSchema": {
      "aliases": [
        "CVE-2012-5526"
      ],
      "details": "CGI.pm module before 3.63 for Perl does not properly escape newlines in (1) Set-Cookie or (2) P3P headers, which might allow remote attackers to inject arbitrary headers into responses from applications that use CGI.pm.",
      "id": "GSD-2012-5526",
      "modified": "2023-12-13T01:20:19.952967Z",
      "schema_version": "1.4.0"
    }
  },
  "namespaces": {
    "cve.org": {
      "CVE_data_meta": {
        "ASSIGNER": "secalert@redhat.com",
        "ID": "CVE-2012-5526",
        "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": "CGI.pm module before 3.63 for Perl does not properly escape newlines in (1) Set-Cookie or (2) P3P headers, which might allow remote attackers to inject arbitrary headers into responses from applications that use CGI.pm."
          }
        ]
      },
      "problemtype": {
        "problemtype_data": [
          {
            "description": [
              {
                "lang": "eng",
                "value": "n/a"
              }
            ]
          }
        ]
      },
      "references": {
        "reference_data": [
          {
            "name": "http://kb.juniper.net/InfoCenter/index?page=content\u0026id=JSA10705",
            "refsource": "MISC",
            "url": "http://kb.juniper.net/InfoCenter/index?page=content\u0026id=JSA10705"
          },
          {
            "name": "http://kb.juniper.net/InfoCenter/index?page=content\u0026id=JSA10735",
            "refsource": "MISC",
            "url": "http://kb.juniper.net/InfoCenter/index?page=content\u0026id=JSA10735"
          },
          {
            "name": "http://www.oracle.com/technetwork/topics/security/ovmbulletinjul2016-3090546.html",
            "refsource": "MISC",
            "url": "http://www.oracle.com/technetwork/topics/security/ovmbulletinjul2016-3090546.html"
          },
          {
            "name": "http://cpansearch.perl.org/src/MARKSTOS/CGI.pm-3.63/Changes",
            "refsource": "MISC",
            "url": "http://cpansearch.perl.org/src/MARKSTOS/CGI.pm-3.63/Changes"
          },
          {
            "name": "http://rhn.redhat.com/errata/RHSA-2013-0685.html",
            "refsource": "MISC",
            "url": "http://rhn.redhat.com/errata/RHSA-2013-0685.html"
          },
          {
            "name": "http://secunia.com/advisories/51457",
            "refsource": "MISC",
            "url": "http://secunia.com/advisories/51457"
          },
          {
            "name": "http://secunia.com/advisories/55314",
            "refsource": "MISC",
            "url": "http://secunia.com/advisories/55314"
          },
          {
            "name": "http://www.debian.org/security/2012/dsa-2586",
            "refsource": "MISC",
            "url": "http://www.debian.org/security/2012/dsa-2586"
          },
          {
            "name": "http://www.openwall.com/lists/oss-security/2012/11/15/6",
            "refsource": "MISC",
            "url": "http://www.openwall.com/lists/oss-security/2012/11/15/6"
          },
          {
            "name": "http://www.securityfocus.com/bid/56562",
            "refsource": "MISC",
            "url": "http://www.securityfocus.com/bid/56562"
          },
          {
            "name": "http://www.securitytracker.com/id?1027780",
            "refsource": "MISC",
            "url": "http://www.securitytracker.com/id?1027780"
          },
          {
            "name": "http://www.ubuntu.com/usn/USN-1643-1",
            "refsource": "MISC",
            "url": "http://www.ubuntu.com/usn/USN-1643-1"
          },
          {
            "name": "https://exchange.xforce.ibmcloud.com/vulnerabilities/80098",
            "refsource": "MISC",
            "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/80098"
          },
          {
            "name": "https://github.com/markstos/CGI.pm/pull/23",
            "refsource": "MISC",
            "url": "https://github.com/markstos/CGI.pm/pull/23"
          }
        ]
      }
    },
    "nvd.nist.gov": {
      "configurations": {
        "CVE_data_version": "4.0",
        "nodes": [
          {
            "children": [],
            "cpe_match": [
              {
                "cpe23Uri": "cpe:2.3:a:andy_armstrong:cgi.pm:*:*:*:*:*:*:*:*",
                "cpe_name": [],
                "versionEndIncluding": "3.62",
                "vulnerable": true
              }
            ],
            "operator": "OR"
          }
        ]
      },
      "cve": {
        "CVE_data_meta": {
          "ASSIGNER": "secalert@redhat.com",
          "ID": "CVE-2012-5526"
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "en",
              "value": "CGI.pm module before 3.63 for Perl does not properly escape newlines in (1) Set-Cookie or (2) P3P headers, which might allow remote attackers to inject arbitrary headers into responses from applications that use CGI.pm."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "en",
                  "value": "CWE-16"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "56562",
              "refsource": "BID",
              "tags": [],
              "url": "http://www.securityfocus.com/bid/56562"
            },
            {
              "name": "[oss-security] 20121115 Re: CVE Request -- perl-CGI: Newline injection due to improper CRLF escaping in Set-Cookie and P3P headers",
              "refsource": "MLIST",
              "tags": [],
              "url": "http://www.openwall.com/lists/oss-security/2012/11/15/6"
            },
            {
              "name": "https://github.com/markstos/CGI.pm/pull/23",
              "refsource": "MISC",
              "tags": [],
              "url": "https://github.com/markstos/CGI.pm/pull/23"
            },
            {
              "name": "1027780",
              "refsource": "SECTRACK",
              "tags": [],
              "url": "http://www.securitytracker.com/id?1027780"
            },
            {
              "name": "http://cpansearch.perl.org/src/MARKSTOS/CGI.pm-3.63/Changes",
              "refsource": "CONFIRM",
              "tags": [],
              "url": "http://cpansearch.perl.org/src/MARKSTOS/CGI.pm-3.63/Changes"
            },
            {
              "name": "51457",
              "refsource": "SECUNIA",
              "tags": [],
              "url": "http://secunia.com/advisories/51457"
            },
            {
              "name": "USN-1643-1",
              "refsource": "UBUNTU",
              "tags": [],
              "url": "http://www.ubuntu.com/usn/USN-1643-1"
            },
            {
              "name": "DSA-2586",
              "refsource": "DEBIAN",
              "tags": [],
              "url": "http://www.debian.org/security/2012/dsa-2586"
            },
            {
              "name": "RHSA-2013:0685",
              "refsource": "REDHAT",
              "tags": [],
              "url": "http://rhn.redhat.com/errata/RHSA-2013-0685.html"
            },
            {
              "name": "55314",
              "refsource": "SECUNIA",
              "tags": [],
              "url": "http://secunia.com/advisories/55314"
            },
            {
              "name": "http://www.oracle.com/technetwork/topics/security/ovmbulletinjul2016-3090546.html",
              "refsource": "CONFIRM",
              "tags": [],
              "url": "http://www.oracle.com/technetwork/topics/security/ovmbulletinjul2016-3090546.html"
            },
            {
              "name": "http://kb.juniper.net/InfoCenter/index?page=content\u0026id=JSA10735",
              "refsource": "CONFIRM",
              "tags": [],
              "url": "http://kb.juniper.net/InfoCenter/index?page=content\u0026id=JSA10735"
            },
            {
              "name": "http://kb.juniper.net/InfoCenter/index?page=content\u0026id=JSA10705",
              "refsource": "CONFIRM",
              "tags": [],
              "url": "http://kb.juniper.net/InfoCenter/index?page=content\u0026id=JSA10705"
            },
            {
              "name": "perl-cgipm-header-injection(80098)",
              "refsource": "XF",
              "tags": [],
              "url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/80098"
            }
          ]
        }
      },
      "impact": {
        "baseMetricV2": {
          "cvssV2": {
            "accessComplexity": "LOW",
            "accessVector": "NETWORK",
            "authentication": "NONE",
            "availabilityImpact": "NONE",
            "baseScore": 5.0,
            "confidentialityImpact": "NONE",
            "integrityImpact": "PARTIAL",
            "vectorString": "AV:N/AC:L/Au:N/C:N/I:P/A:N",
            "version": "2.0"
          },
          "exploitabilityScore": 10.0,
          "impactScore": 2.9,
          "obtainAllPrivilege": false,
          "obtainOtherPrivilege": false,
          "obtainUserPrivilege": false,
          "severity": "MEDIUM",
          "userInteractionRequired": false
        }
      },
      "lastModifiedDate": "2017-08-29T01:32Z",
      "publishedDate": "2012-11-21T23:55Z"
    }
  }
}


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.