CVE-2023-46741: CubeFS leaks magic secret key when starting Blobstore access service
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.
Published Jan 3, 2024 · Updated Aug 7, 2024
Affected packages
github.com/cubefs/cubefs
- Ecosystem
- Go
- Affected
- < 3.3.1
- Fixed in
- 3.3.1
- Check
go list -m github.com/cubefs/cubefs
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to AdamKorcz.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2023-46738
Authenticated users can crash the CubeFS servers with maliciously crafted requests
high6.5Jan 3, 2024CVE-2023-46739
CubeFS timing attack can leak user passwords
high6.5Jan 3, 2024CVE-2023-46740
Insecure random string generator used for sensitive data
high6.5Jan 3, 2024CVE-2023-46742
CubeFS leaks users key in logs
medium4.8Jan 3, 2024
