{
  "threat_severity" : "Moderate",
  "public_date" : "2012-01-23T00:00:00Z",
  "bugzilla" : {
    "description" : "httpd: cookie exposure due to error responses",
    "id" : "785069",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=785069"
  },
  "cvss" : {
    "cvss_base_score" : "4.3",
    "cvss_scoring_vector" : "AV:N/AC:M/Au:N/C:P/I:N/A:N",
    "status" : "verified"
  },
  "details" : [ "protocol.c in the Apache HTTP Server 2.2.x through 2.2.21 does not properly restrict header information during construction of Bad Request (aka 400) error documents, which allows remote attackers to obtain the values of HTTPOnly cookies via vectors involving a (1) long or (2) malformed header in conjunction with crafted web script." ],
  "statement" : "This issue affects httpd packages as shipped with Red Hat Enterprise Linux 3 and 4, which are now in the Extended Life Phase of their life cycle. Therefore this issue is not planned to be addressed in future updates. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/",
  "affected_release" : [ {
    "product_name" : "Red Hat Enterprise Linux 5",
    "release_date" : "2012-02-21T00:00:00Z",
    "advisory" : "RHSA-2012:0323",
    "cpe" : "cpe:/o:redhat:enterprise_linux:5",
    "package" : "httpd-0:2.2.3-63.el5_8.1"
  }, {
    "product_name" : "Red Hat Enterprise Linux 6",
    "release_date" : "2012-02-13T00:00:00Z",
    "advisory" : "RHSA-2012:0128",
    "cpe" : "cpe:/o:redhat:enterprise_linux:6",
    "package" : "httpd-0:2.2.15-15.el6_2.1"
  }, {
    "product_name" : "Red Hat JBoss Enterprise Web Server 1 for RHEL 5",
    "release_date" : "2012-05-07T00:00:00Z",
    "advisory" : "RHSA-2012:0542",
    "cpe" : "cpe:/a:redhat:jboss_enterprise_web_server:1::el5",
    "package" : "httpd-0:2.2.17-15.4.ep5.el5"
  }, {
    "product_name" : "Red Hat JBoss Enterprise Web Server 1 for RHEL 6",
    "release_date" : "2012-05-07T00:00:00Z",
    "advisory" : "RHSA-2012:0542",
    "cpe" : "cpe:/a:redhat:jboss_enterprise_web_server:1::el6",
    "package" : "httpd-0:2.2.17-15.4.ep5.el6"
  }, {
    "product_name" : "Red Hat JBoss Web Server 1.0",
    "release_date" : "2012-05-07T00:00:00Z",
    "advisory" : "RHSA-2012:0543",
    "cpe" : "cpe:/a:redhat:jboss_enterprise_web_server:1.0"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Directory Server 8",
    "fix_state" : "Will not fix",
    "package_name" : "httpd",
    "cpe" : "cpe:/a:redhat:directory_server:8"
  }, {
    "product_name" : "Red Hat Enterprise Linux 4",
    "fix_state" : "Will not fix",
    "package_name" : "httpd",
    "cpe" : "cpe:/o:redhat:enterprise_linux:4"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2012-0053\nhttps://nvd.nist.gov/vuln/detail/CVE-2012-0053" ],
  "name" : "CVE-2012-0053",
  "mitigation" : {
    "value" : "As noted in the original reporter's advisory (see comment #5), this issue can be mitigated by using a custom ErrorDocument setting, such as:\nErrorDocument 400 \"Bad Request\"\nhttp://httpd.apache.org/docs/2.2/mod/core.html#errordocument\nIt should be noted that ErrorDocument setting using path or external URL does not mitigate this issue.\nIt should also be noted that this is not an issue by itself.  This can only be exploited via some other cross-site scripting (XSS) flaw found in a web application running on the server and may allow injected JavaScript to gain access to HttpOnly cookies, if the application uses this protection for its cookies.",
    "lang" : "en:us"
  },
  "csaw" : false
}