7.5high
CVE-2016-7401
Django CSRF Protection Bypass
Also known as GHSA-crhm-qpjc-cm64, PYSEC-2016-3
Published 10 y ago · modified 4 mo ago · JSON
CVSS
7.5
v3.0 · NVD
CISA KEV
No
not known exploited
EPSS
5.7%
percentile 93%
Public exploits
0
none known
Summary
The cookie parsing code in Django before 1.8.15 and 1.9.x before 1.9.10, when used on a site with Google Analytics, allows remote attackers to bypass an intended CSRF protection mechanism by setting arbitrary cookies.
Exploit prediction (EPSS)
5.70% probability of exploitation in the next 30 days, higher than 93% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:P/A:N |
| GitHub | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pypi | django | <1.8.15 >=1.9, <1.9.10 | 1.8.15 1.9.10 |
Classification
- Weakness
- CWE-254 7PK - Security Features
- Technology feeds
- Django (RSS, critical only)
References
- debian.org /security/2016/dsa-3678 · vendor-advisory, x_refsource_DEBIAN, x_transferred
- rhn.redhat.com /errata/RHSA-2016-2040.html · vendor-advisory, x_refsource_REDHAT, x_transferred
- rhn.redhat.com /errata/RHSA-2016-2043.html · vendor-advisory, x_refsource_REDHAT, x_transferred
- securitytracker.com /id/1036899 · vdb-entry, x_refsource_SECTRACK, x_transferred
- rhn.redhat.com /errata/RHSA-2016-2041.html · vendor-advisory, x_refsource_REDHAT, x_transferred
- djangoproject.com /weblog/2016/sep/26/security-releases/ · x_refsource_CONFIRM, x_transferred
- rhn.redhat.com /errata/RHSA-2016-2042.html · vendor-advisory, x_refsource_REDHAT, x_transferred
- ubuntu.com /usn/USN-3089-1 · vendor-advisory, x_refsource_UBUNTU, x_transferred
- securityfocus.com /bid/93182 · vdb-entry, x_refsource_BID, x_transferred
- rhn.redhat.com /errata/RHSA-2016-2038.html · vendor-advisory, x_refsource_REDHAT, x_transferred
- rhn.redhat.com /errata/RHSA-2016-2039.html · vendor-advisory, x_refsource_REDHAT, x_transferred
- nvd.nist.gov /vuln/detail/CVE-2016-7401 · advisory
- github.com /django/django/commit/6118ab7d0676f0d622278e5be215f14fb5410b6a · web
- github.com /django/django/commit/6fe846a8f08dc959003f298b5407e321c6fe3735 · web
- github.com /django/django/commit/d1bc980db1c0fffd6d60677e62f70beadb9fe64a · web
- github.com /django/django · package
- github.com /pypa/advisory-database/tree/main/vulns/django/PYSEC-2016-3.yaml · web
- web.archive.org /web/20200227223637/http://www.securityfocus.com/bid/93182 · web
- web.archive.org /web/20210927195154/http://www.securitytracker.com/id/1036899 · web
- djangoproject.com /weblog/2016/sep/26/security-releases · web
- github.com /advisories/GHSA-crhm-qpjc-cm64 · advisory
Sources
- CVE List: CVE-2016-7401
- GitHub Advisory: GHSA-crhm-qpjc-cm64
- NVD: CVE-2016-7401
- OSV: PYSEC-2016-3
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.