Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-g8ph-74m6-8m7r

Опубликовано: 12 мая 2023
Источник: github
Github: Прошло ревью
CVSS3: 4.8

Описание

ClickHouse vulnerable to client certificate password exposure in client exception

Summary

As initially reported in issue #1331, when client certificate authentication is enabled with password protection, the password (referred to as the client option sslkey) may be exposed in client exceptions (e.g., ClickHouseException or SQLException). This vulnerability can potentially lead to unauthorized access, data breaches, and violations of user privacy.

Details

During the handling of ClickHouseException, the client certificate password may be inadvertently exposed when sslkey is specified. This issue can arise when an exception is thrown during the execution of a query or a database operation. The client certificate password is then included in the exception message, which could be logged or exposed to unauthorized parties.

Impact

This vulnerability enables an attacker with access to client exception error messages or logs to obtain client certificate passwords, potentially allowing unauthorized access to sensitive information, data manipulation, and denial of service attacks. The extent of the risk depends on the specific implementation and usage of the affected systems. However, any exposure of client certificate passwords should be treated as a high-priority security concern.

Пакеты

Наименование

com.clickhouse:clickhouse-client

maven
Затронутые версииВерсия исправления

< 0.4.6

0.4.6

Наименование

com.clickhouse:clickhouse-jdbc

maven
Затронутые версииВерсия исправления

< 0.4.6

0.4.6

Наименование

com.clickhouse:clickhouse-r2dbc

maven
Затронутые версииВерсия исправления

< 0.4.6

0.4.6

EPSS

Процентиль: 76%
0.00965
Низкий

4.8 Medium

CVSS3

Дефекты

CWE-209

Связанные уязвимости

CVSS3: 8.8
nvd
около 2 лет назад

Exposure of sensitive information in exceptions in ClichHouse's clickhouse-r2dbc, com.clickhouse:clickhouse-jdbc, and com.clickhouse:clickhouse-client versions less than 0.4.6 allows unauthorized users to gain access to client certificate passwords via client exception logs. This occurs when 'sslkey' is specified and an exception, such as a ClickHouseException or SQLException, is thrown during database operations; the certificate password is then included in the logged exception message.

EPSS

Процентиль: 76%
0.00965
Низкий

4.8 Medium

CVSS3

Дефекты

CWE-209