Lucene search

K
githubGitHub Advisory DatabaseGHSA-4248-P65P-HCRM
HistoryJan 03, 2024 - 4:14 p.m.

Insecure random string generator used for sensitive data

2024-01-0316:14:08
CWE-330
GitHub Advisory Database
github.com
12
cubefs
random string generator
sensitive data
user authentication
security audit
ada logics
ostif
cncf
vulnerability
exploit
upgrade
software

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

6.6 Medium

AI Score

Confidence

Low

0.001 Low

EPSS

Percentile

39.1%

CubeFS used an insecure random string generator to generate user-specific, sensitive keys used to authenticate users in a CubeFS deployment. This could allow an attacker to predict and/or guess the generated string and impersonate a user thereby obtaining higher privileges.

When CubeFS creates new users, it creates a piece of sensitive information for the user called the β€œaccessKey”. To create the β€œaccesKey”, CubeFS uses an insecure string generator which makes it easy to guess and thereby impersonate the created user.

An attacker could leverage the predictable random string generator and guess a users access key and impersonate the user to obtain higher privileges.

There is no evidence of this vulnerability being exploited in the wild. It was found during a security audit carried out by Ada Logics in collaboration with OSTIF and the CNCF.

The issue has been fixed in v3.3.1. There is no other mitigation than to upgrade.

Affected configurations

Vulners
Node
cubefscubefsRange<3.3.1
CPENameOperatorVersion
github.com/cubefs/cubefslt3.3.1

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

6.6 Medium

AI Score

Confidence

Low

0.001 Low

EPSS

Percentile

39.1%

Related for GHSA-4248-P65P-HCRM