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.

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)0.5%top 55.2% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
PyPIdjango-user-sessions1.7.1GHSA-5fq8-3q2f-4m5g
PyPIdjango-user-sessions1.7.1PYSEC-2020-230

Affected products (as reported)

VendorProductVersions
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

References