CVE-2015-5963
published 2015-08-24CVE-2015-5963: contrib.sessions.middleware.SessionMiddleware in Django 1.8.x before 1.8.4, 1.7.x before 1.7.10, 1.4.x before 1.4.22, and possibly other versions allows remote…
PriorityP427medium5CVSS 2.0
AVNACLAuNCNINAP
EPSS
5.16%
91.4th percentile
contrib.sessions.middleware.SessionMiddleware in Django 1.8.x before 1.8.4, 1.7.x before 1.7.10, 1.4.x before 1.4.22, and possibly other versions allows remote attackers to cause a denial of service (session store consumption or session record removal) via a large number of requests to contrib.auth.views.logout, which triggers the creation of an empty session record.
Affected
41 ranges· showing 25
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| canonical | ubuntu_linux | — | — |
| debian | python-django | < python-django 1.7.10-1 (bookworm) | python-django 1.7.10-1 (bookworm) |
| djangoproject | django | — | — |
| djangoproject | django | — | — |
| djangoproject | django | — | — |
| djangoproject | django | — | — |
| djangoproject | django | — | — |
| djangoproject | django | — | — |
| djangoproject | django | — | — |
| djangoproject | django | — | — |
| djangoproject | django | — | — |
| djangoproject | django | — | — |
| djangoproject | django | — | — |
| djangoproject | django | — | — |
| djangoproject | django | — | — |
| djangoproject | django | — | — |
| djangoproject | django | — | — |
| djangoproject | django | — | — |
| djangoproject | django | — | — |
| djangoproject | django | — | — |
| djangoproject | django | — | — |
| djangoproject | django | — | — |
| djangoproject | django | — | — |
CVSS provenance
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:N/A:P
osv5.0MEDIUM
vendor_debian5.0MEDIUM
vendor_redhat5.0MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
Django denial of service via empty session record creation
ghsa·2022-05-17
CVE-2015-5963 [MEDIUM] CWE-770 Django denial of service via empty session record creation
Django denial of service via empty session record creation
`contrib.sessions.middleware.SessionMiddleware` in Django 1.8.x before 1.8.4, 1.7.x before 1.7.10, 1.4.x before 1.4.22, and possibly other versions allows remote attackers to cause a denial of service (session store consumption or session record removal) via a large number of requests to `contrib.auth.views.logout`, which triggers the creation of an empty session record.
OSV
Django denial of service via empty session record creation
osv·2022-05-17
CVE-2015-5963 [MEDIUM] Django denial of service via empty session record creation
Django denial of service via empty session record creation
`contrib.sessions.middleware.SessionMiddleware` in Django 1.8.x before 1.8.4, 1.7.x before 1.7.10, 1.4.x before 1.4.22, and possibly other versions allows remote attackers to cause a denial of service (session store consumption or session record removal) via a large number of requests to `contrib.auth.views.logout`, which triggers the creation of an empty session record.
OSV
CVE-2015-5963: contrib
osv·2015-08-24·CVSS 5.0
CVE-2015-5963 [MEDIUM] CVE-2015-5963: contrib
contrib.sessions.middleware.SessionMiddleware in Django 1.8.x before 1.8.4, 1.7.x before 1.7.10, 1.4.x before 1.4.22, and possibly other versions allows remote attackers to cause a denial of service (session store consumption or session record removal) via a large number of requests to contrib.auth.views.logout, which triggers the creation of an empty session record.
Red Hat
python-django: Denial-of-service possibility in logout() view by filling session store
vendor_redhat·2015-08-18·CVSS 5.0
CVE-2015-5963 [MEDIUM] CWE-770 python-django: Denial-of-service possibility in logout() view by filling session store
python-django: Denial-of-service possibility in logout() view by filling session store
contrib.sessions.middleware.SessionMiddleware in Django 1.8.x before 1.8.4, 1.7.x before 1.7.10, 1.4.x before 1.4.22, and possibly other versions allows remote attackers to cause a denial of service (session store consumption or session record removal) via a large number of requests to contrib.auth.views.logout, which triggers the creation of an empty session record.
It was found that Django incorrectly handled the session store. A session could be created by anonymously accessing the django.contrib.auth.views.logout view if it was not decorated correctly with django.contrib.auth.decorators.login_required. A remote attacker could use this flaw to fill up the session store or cause other users' session
Ubuntu
Django vulnerability
vendor_ubuntu·2015-08-18
CVE-2015-5963 Django vulnerability
Title: Django vulnerability
Summary: Django could be made to crash if it received specially crafted network
traffic.
Lin Hua Cheng discovered that Django incorrectly handled the session store.
A remote attacker could use this issue to cause the session store to fill
up, resulting in a denial of service.
Instructions: In general, a standard system update will make all the necessary changes.
Debian
CVE-2015-5963: python-django - contrib.sessions.middleware.SessionMiddleware in Django 1.8.x before 1.8.4, 1.7....
vendor_debian·2015·CVSS 5.0
CVE-2015-5963 [MEDIUM] CVE-2015-5963: python-django - contrib.sessions.middleware.SessionMiddleware in Django 1.8.x before 1.8.4, 1.7....
contrib.sessions.middleware.SessionMiddleware in Django 1.8.x before 1.8.4, 1.7.x before 1.7.10, 1.4.x before 1.4.22, and possibly other versions allows remote attackers to cause a denial of service (session store consumption or session record removal) via a large number of requests to contrib.auth.views.logout, which triggers the creation of an empty session record.
Scope: local
bookworm: resolved (fixed in 1.7.10-1)
bullseye: resolved (fixed in 1.7.10-1)
forky: resolved (fixed in 1.7.10-1)
sid: resolved (fixed in 1.7.10-1)
trixie: resolved (fixed in 1.7.10-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2015-5963 python-django: Denial-of-service possibility in logout() view by filling session store [fedora-all]
bugzilla·2015-08-19·CVSS 5.0
CVE-2015-5963 [MEDIUM] CVE-2015-5963 python-django: Denial-of-service possibility in logout() view by filling session store [fedora-all]
CVE-2015-5963 python-django: Denial-of-service possibility in logout() view by filling session store [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue aff
Bugzilla
CVE-2015-5963 python-django: Denial-of-service possibility in logout() view by filling session store
bugzilla·2015-08-12·CVSS 5.0
CVE-2015-5963 [MEDIUM] CVE-2015-5963 python-django: Denial-of-service possibility in logout() view by filling session store
CVE-2015-5963 python-django: Denial-of-service possibility in logout() view by filling session store
Following issue was reported in Django:
Previously, a session could be created when anonymously accessing the
``django.contrib.auth.views.logout`` view (provided it wasn't decorated
with ``django.contrib.auth.decorators.login_required`` as done in the
admin). This could allow an attacker to easily create many new session
records by sending repeated requests, potentially filling up the session
store or causing other users' session records to be evicted.
Discussion:
Created attachment 1061941
session-store-1.4.x.diff
---
Created attachment 1061942
session-store-1.7.x.diff
---
Created attachment 1061943
session-store-1.8.x.diff
---
Created attachment 1061944
session-store-master.diff
Bugzilla
CVE-2015-5964 python-django: Denial-of-service possibility in logout() view by filling session store
bugzilla·2015-08-12·CVSS 5.0
CVE-2015-5964 [MEDIUM] CVE-2015-5964 python-django: Denial-of-service possibility in logout() view by filling session store
CVE-2015-5964 python-django: Denial-of-service possibility in logout() view by filling session store
Following issue was reported in Django:
In CVE-2015-5963, the ``django.contrib.sessions.middleware.SessionMiddleware`` has been modified to no longer create empty session records.
Additionally, on the 1.4 and 1.7 series only, the ``contrib.sessions.backends.base.SessionBase.flush()`` and ``cache_db.SessionStore.flush()`` methods have been modified to avoid creating a new empty session.
This modification of 1.4 and 1.7 series got CVE-2015-5964.
Previously, a session could be created when anonymously accessing the ``django.contrib.auth.views.logout`` view (provided it wasn't decorated with ``django.contrib.auth.decorators.login_required`` as done in the admin). This could allow an attacker
http://lists.fedoraproject.org/pipermail/package-announce/2015-November/172084.htmlhttp://lists.opensuse.org/opensuse-updates/2015-09/msg00026.htmlhttp://lists.opensuse.org/opensuse-updates/2015-09/msg00035.htmlhttp://rhn.redhat.com/errata/RHSA-2015-1766.htmlhttp://rhn.redhat.com/errata/RHSA-2015-1767.htmlhttp://rhn.redhat.com/errata/RHSA-2015-1894.htmlhttp://www.debian.org/security/2015/dsa-3338http://www.oracle.com/technetwork/topics/security/bulletinoct2015-2511968.htmlhttp://www.securityfocus.com/bid/76428http://www.securitytracker.com/id/1033318http://www.ubuntu.com/usn/USN-2720-1https://access.redhat.com/errata/RHSA-2015:1876https://www.djangoproject.com/weblog/2015/aug/18/security-releases/http://lists.fedoraproject.org/pipermail/package-announce/2015-November/172084.htmlhttp://lists.opensuse.org/opensuse-updates/2015-09/msg00026.htmlhttp://lists.opensuse.org/opensuse-updates/2015-09/msg00035.htmlhttp://rhn.redhat.com/errata/RHSA-2015-1766.htmlhttp://rhn.redhat.com/errata/RHSA-2015-1767.htmlhttp://rhn.redhat.com/errata/RHSA-2015-1894.htmlhttp://www.debian.org/security/2015/dsa-3338http://www.oracle.com/technetwork/topics/security/bulletinoct2015-2511968.htmlhttp://www.securityfocus.com/bid/76428http://www.securitytracker.com/id/1033318http://www.ubuntu.com/usn/USN-2720-1https://access.redhat.com/errata/RHSA-2015:1876https://www.djangoproject.com/weblog/2015/aug/18/security-releases/
2015-08-24
Published