CockroachDB < 2.1.10 / 19.1.x < 19.1.16 / 19.2.x < 19.2.2 Broken Access Control Vulnerability (A42567)

critical Nessus Plugin ID 159482

Synopsis

The remote CockroachDB server is affected by a broken access control vulnerability.

Description

The version of CockroachDB installed on the remote host has a privileged HTTP endpoint which is incorrectly available to non-admin users. An unauthenticated, remote attacker can exploit this issue by sending a specially crafted HTTP request to obtain & modify sensitive information from the remote cliuser.

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 CockroachDB version 2.1.10, 19.1.6, 19.2.2, or a later version.

See Also

http://www.nessus.org/u?d34e64ab

Plugin Details

Severity: Critical

ID: 159482

File Name: cockroachdb_a42567.nasl

Version: 1.1

Type: remote

Family: Databases

Published: 4/4/2022

Updated: 4/4/2022

Supported Sensors: Nessus

Risk Information

CVSS Score Rationale: Broken access control

CVSS v2

Risk Factor: High

Base Score: 9.4

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

CVSS Score Source: manual

CVSS v3

Risk Factor: Critical

Base Score: 9.1

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

Vulnerability Information

CPE: cpe:/a:cockroach_labs:cockroachdb

Required KB Items: installed_sw/CockroachDB

Patch Publication Date: 1/22/2020

Vulnerability Publication Date: 1/22/2020

Reference Information

CWE: CWE-284