CockroachDB < 2.1.12 / 19.x < 19.1.8 / 19.2 < 19.2.4 Information Disclosure (A44348)

medium Nessus Plugin ID 159480

Synopsis

The remote CockroachDB server is affected by a information disclosure 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 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.12, 19.1.8, 19.2.4, or a later version.

See Also

http://www.nessus.org/u?3d7b2446

Plugin Details

Severity: Medium

ID: 159480

File Name: cockroachdb_a44348.nasl

Version: 1.1

Type: remote

Family: Databases

Published: 4/4/2022

Updated: 4/4/2022

Supported Sensors: Nessus

Risk Information

CVSS Score Rationale: Information disclosure

CVSS v2

Risk Factor: Medium

Base Score: 5

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

CVSS Score Source: manual

CVSS v3

Risk Factor: Medium

Base Score: 5.3

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

Vulnerability Information

CPE: cpe:/a:cockroach_labs:cockroachdb

Required KB Items: installed_sw/CockroachDB

Patch Publication Date: 2/12/2020

Vulnerability Publication Date: 2/12/2020

Reference Information

CWE: CWE-200