CVE-2023-22746 CKAN is vulnerable to session secret shared across instances using Docker images
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).
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.
Other vulnerabilities in ckan
- CVE-2023-32321 CKAN remote code execution and private information access via crafted resource ids
- CVE-2023-32696 Excessive permissions for ckan user
- CVE-2022-43685 CKAN contains Improper Authentication leading to account takeover
- CVE-2026-42031 CKAN: Unauthenticated SQL Injection and Authorization Bypass in `datastore_search_sql`
- CVE-2024-41675 CKAN has a Cross-site Scripting vector in the Datatables view plugin
Sources
Also known as GHSA-pr8j-v4c8-h62x.