E2EE folder compromise via default all-zero key
Published Apr 4, 2023 · Updated Feb 11, 2025
Missing cryptographic step in Nextcloud Desktop Client 3.0.0 through 3.6.4 allows attackers to read and alter E2EE files via server metadata. When a server returns an empty metadata-key map, the client accesses an absent map index and uses its default all-zero key to encrypt folder metadata. Control of the connected Nextcloud server and client synchronization are required; the server administrator can recover file keys, decrypt files, reconstruct names, and add files.
Summary
What happened
Missing cryptographic step in Nextcloud Desktop Client 3.0.0 through 3.6.4 allows attackers to read and alter E2EE files via server metadata. When a server returns an empty metadata-key map, the client accesses an absent map index and uses its default all-zero key to encrypt folder metadata. Control of the connected Nextcloud server and client synchronization are required; the server administrator can recover file keys, decrypt files, reconstruct names, and add files.
The record
- CVE
- CVE-2023-28998
- Published
- Apr 4, 2023
- Updated
- Feb 11, 2025
- Vendor
- Nextcloud GmbH
- Product
- Security Advisories
- Classifications
- CWE-325, T1530, T1565.002
- Attack vector
- physical
- Privileges
- admin
Timeline
How it unfolded
- Apr 4, 2023CVE publishedPublication date reported by the CVE source.
- Feb 11, 2025Record 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=>= 3.0.0, < 3.6.5
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
- Ghost key attack proof of conceptproof of concept · demonstrated
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