Vulnerability · Published Jan 24, 2020 · Assigned by GitHub_M
CVE-2020-5224Session key exposure through session list in Django User Sessions
Medium 6.5
In plain English
A medium-severity improper authentication in django-user-sessions from Jazzband. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 45% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
In Django User Sessions (django-user-sessions) before 1.7.1, the views provided allow users to terminate specific sessions. The session key is used to identify sessions, and thus included in the rendered HTML. In itself this is not a problem. However if the website has an XSS vulnerability, the session key could be extracted by the attacker and a session takeover could happen.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | django-user-sessions | 1.7.1 | GHSA-5fq8-3q2f-4m5g |
| PyPI | django-user-sessions | 1.7.1 | PYSEC-2020-230 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Jazzband | django-user-sessions | < 1.7.1 |
Weakness: CWE-287 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N