OAuth credential theft via plaintext client-secret storage
Published Oct 16, 2023 · Updated Sep 16, 2024
Cleartext storage in Nextcloud Server allows attackers with database or backup access to steal OAuth2 client secrets for linked services. The OAuth2 client registry writes each client_secret value directly to the database rather than protecting it cryptographically. Exploitation requires prior access to the live database or a database backup; exposed secrets enable OAuth2 logins to third-party services linked with the server.
Summary
What happened
Cleartext storage in Nextcloud Server allows attackers with database or backup access to steal OAuth2 client secrets for linked services. The OAuth2 client registry writes each client_secret value directly to the database rather than protecting it cryptographically. Exploitation requires prior access to the live database or a database backup; exposed secrets enable OAuth2 logins to third-party services linked with the server.
The record
- CVE
- CVE-2023-45151
- Published
- Oct 16, 2023
- Updated
- Sep 16, 2024
- Vendor
- Nextcloud GmbH
- Product
- Security Advisories
- Classifications
- CWE-312, CWE-313, T1555
- Attack vector
- network
- Privileges
- admin
Timeline
How it unfolded
- Oct 16, 2023CVE publishedPublication date reported by the CVE source.
- Sep 16, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=>= 25.0.0, < 25.0.8
- Affected versionversion=>= 26.0.0, < 26.0.3
- Affected versionversion=>= 27.0.0, < 27.0.1
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo