CKAN < 2.9.9 / 2.10.1 RCE

critical Nessus Plugin ID 176633

Synopsis

The version of CKAN installed on the remote host is affected by a remote code execution vulnerability.

Description

The version of CKAN installed on the remote host is prior to 2.9.9 or 2.10 prior to 2.10.1. It is, therefore, affected by a remote code execution vulnerability. A remote attacker with permissions to create or edit a dataset can upload a resource with a specially crafted id to write the uploaded file in an arbitrary location. This can be leveraged to Remote Code Execution via Beaker's insecure pickle loading.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade to version 2.9.9, 2.10.1 or later.

See Also

https://github.com/ckan/ckan/security/advisories/GHSA-446m-hmmm-hm8m

Plugin Details

Severity: Critical

ID: 176633

File Name: ckan_2_10_1.nasl

Version: 1.1

Type: remote

Family: CGI abuses

Published: 6/2/2023

Updated: 6/5/2023

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.4

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2023-32321

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:okfn:ckan

Required KB Items: installed_sw/CKAN

Exploit Ease: No known exploits are available

Patch Publication Date: 5/24/2023

Vulnerability Publication Date: 5/24/2023

Reference Information

CVE: CVE-2023-32321