CVE-2023-22746 CKAN is vulnerable to session secret shared across instances using Docker images

High 8.6 Published Updated

Attackers can forge authentication requests in CKAN Docker instances using default shared secrets, leading to account takeover.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-22746?

CVE-2023-22746 is a high-severity vulnerability in ckan, published on 3 Feb 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

CKAN is an open-source DMS (data management system) for powering data hubs and data portals. When creating a new container based on one of the Docker images listed below, the same secret key was being used by default. If the users didn't set a custom value via environment variables in the `.env` file, that key was shared across different CKAN instances, making it easy to forge authentication requests. Users overriding the default secret key in their own `.env` file are not affected by this issue. Note that the legacy images (ckan/ckan) located in the main CKAN repo are not affected by this issue. The affected images are ckan/ckan-docker, (ckan/ckan-base images), okfn/docker-ckan (openknowledge/ckan-base and openknowledge/ckan-dev images) keitaroinc/docker-ckan (keitaro/ckan images).

Weakness: CWE-344, CWE-330

Which versions are affected by CVE-2023-22746?

It affects 1 product.

Products include Okfn Ckan.

How do I fix CVE-2023-22746?

No fix has been published for CVE-2023-22746 yet. Limit exposure of the affected software until one is available.

Is CVE-2023-22746 being exploited?

There is no known exploitation of CVE-2023-22746 in the wild and no public exploit code.

Sources

Also known as GHSA-pr8j-v4c8-h62x.

Is CVE-2023-22746 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free