User Credentials Exposure in Nextcloud
CVE-2021-22877
Key facts
CVE-2021-22877 is a medium severity (CVSS 6.5) vulnerability in Nextcloud Server. No exploitation in the wild or public proof-of-concept has been recorded so far. Its EPSS score is 1.7%, the estimated probability of exploitation in the next 30 days.
How risky is it?
- Partly: Works over the network, but needs a login
- No: No public exploit code yet
- No: No attacks seen yet
- No: Not on CISA's exploited list
Our verdict
Monitor
Low risk for most. Patch in your normal cycle.
What to do
1Check the vendor's fix
No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.
Read the vendor advisory ↗2Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach Nextcloud Server. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
3Why it's rated "Monitor"
- Its CVSS severity is medium (6.5).
What is CVE-2021-22877?
An inadequate user verification mechanism in Nextcloud versions prior to 20.0.6 can unintentionally assign a user's credentials to the configuration of external storage for other users. This issue arises when a user attempts to set up external storage but lacks pre-configured settings, resulting in unauthorized access to sensitive data. It is crucial for administrators to update their Nextcloud installations to mitigate this security risk.
Affected Version(s)
Nextcloud Server Fixed in 20.0.6