Skip to content

CubeFS leaks magic secret key when starting Blobstore access service

Moderate severity GitHub Reviewed Published Jan 3, 2024 in cubefs/cubefs • Updated Jan 3, 2024

Package

gomod github.com/cubefs/cubefs (Go)

Affected versions

< 3.3.1

Patched versions

3.3.1

Description

A vulnerability was found in CubeFS that could allow users to read sensitive data from the logs which could allow them escalate privileges.

CubeFS leaks configuration keys in plaintext format in the logs. These keys could allow anyone to carry out operations on blobs that they otherwise do not have permissions for. For example, an attacker that has succesfully retrieved a secret key from the logs can delete blogs from the blob store.

The attacker can either be an internal user with limited privileges to read the log, or it can be an external user who has escalated privileges sufficiently to access the logs. There is no evidence of this vulnerability being exploited in the wild. It was found during an ongoing security audit carried out by Ada Logics in collaboration with OSTIF and the CNCF.

The vulnerability has been patched in v3.3.1. There is no other mitigated than upgrading.

References

@leonrayang leonrayang published to cubefs/cubefs Jan 3, 2024
Published to the GitHub Advisory Database Jan 3, 2024
Reviewed Jan 3, 2024
Published by the National Vulnerability Database Jan 3, 2024
Last updated Jan 3, 2024

Severity

Moderate
4.8
/ 10

CVSS base metrics

Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L

Weaknesses

CVE ID

CVE-2023-46741

GHSA ID

GHSA-8h2x-gr2c-c275

Source code

Credits

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.