GHSA-h95j-h2rv-qrg4
Vulnerability from github
Published
2018-07-23 19:51
Modified
2024-09-16 22:05
Summary
Django Cross-Site Request Forgery vulnerability
Details

The CSRF protection mechanism in Django through 1.2.7 and 1.3.x through 1.3.1 does not properly handle web-server configurations supporting arbitrary HTTP Host headers, which allows remote attackers to trigger unauthenticated forged requests via vectors involving a DNS CNAME record and a web page containing JavaScript code.

Show details on source website


{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "Django"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "1.2.7"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "Django"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "1.3"
            },
            {
              "last_affected": "1.3.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2011-4140"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-352"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2020-06-16T21:39:45Z",
    "nvd_published_at": null,
    "severity": "HIGH"
  },
  "details": "The CSRF protection mechanism in Django through 1.2.7 and 1.3.x through 1.3.1 does not properly handle web-server configurations supporting arbitrary HTTP Host headers, which allows remote attackers to trigger unauthenticated forged requests via vectors involving a DNS CNAME record and a web page containing JavaScript code.",
  "id": "GHSA-h95j-h2rv-qrg4",
  "modified": "2024-09-16T22:05:38Z",
  "published": "2018-07-23T19:51:19Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2011-4140"
    },
    {
      "type": "WEB",
      "url": "https://bugzilla.redhat.com/show_bug.cgi?id=737366"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/advisories/GHSA-h95j-h2rv-qrg4"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/django/django"
    },
    {
      "type": "WEB",
      "url": "https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2011-5.yaml"
    },
    {
      "type": "WEB",
      "url": "https://hermes.opensuse.org/messages/14700881"
    },
    {
      "type": "WEB",
      "url": "https://web.archive.org/web/20140806062902/http://secunia.com/advisories/46614"
    },
    {
      "type": "WEB",
      "url": "https://www.djangoproject.com/weblog/2011/sep/09"
    },
    {
      "type": "WEB",
      "url": "https://www.djangoproject.com/weblog/2011/sep/10/127"
    },
    {
      "type": "WEB",
      "url": "http://openwall.com/lists/oss-security/2011/09/11/1"
    },
    {
      "type": "WEB",
      "url": "http://openwall.com/lists/oss-security/2011/09/13/2"
    },
    {
      "type": "WEB",
      "url": "http://www.debian.org/security/2011/dsa-2332"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Django Cross-Site Request Forgery vulnerability"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading...

Loading...

Loading...
  • 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.