VDB
Sign up
MEDIUM6.8

GHSA-6499-jgj4-2wpf

CKAN: Session Fixation in Registration View

Quick fix

GHSA-6499-jgj4-2wpf — ckan: upgrade to the fixed version with the command below.

pip install --upgrade 'ckan>=2.10.11'

Details

## Description

Web user registration form is vulnerable to session fixation if the site is configured with server-side session storage (CKAN uses cookie-based session storage by default). The attacker would need to either set a cookie on the victim's browser or steal the victim's currently valid session. Session identifiers are now regenerated after registration.

## Patches

This vulnerability has been fixed in CKAN 2.10.11, 2.11.6 and 2.12.0

## Workarounds

switch to cookie-based session storage (the default) or disable web user registration by setting `ckan.auth.create_user_via_web` to false (the default)

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/ckan
Introduced in: 0Fixed in: 2.10.11
Fixpip install --upgrade 'ckan>=2.10.11'
PyPI/ckan
Introduced in: 2.11.0Fixed in: 2.11.6
Fixpip install --upgrade 'ckan>=2.11.6'

References