CVE-2021-41239 User enumeration setting not respected in Nextcloud server

Medium 5.3 Published Updated

Attackers can enumerate users on Nextcloud instances even when user listings are disabled, exposing user data.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-41239?

CVE-2021-41239 is a medium-severity vulnerability in Nextcloud Nextcloud Server, published on 8 Mar 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Nextcloud server is a self hosted system designed to provide cloud style services. In affected versions the User Status API did not consider the user enumeration settings by the administrator. This allowed a user to enumerate other users on the instance, even when user listings where disabled. It is recommended that the Nextcloud Server is upgraded to 20.0.14, 21.0.6 or 22.2.1. There are no known workarounds.

Weakness: CWE-862, CWE-200

Which versions are affected by CVE-2021-41239?

It affects 1 product.

Products include Nextcloud Nextcloud Server.

How do I fix CVE-2021-41239?

Upgrade to a fixed version.

Is CVE-2021-41239 being exploited?

There is no known exploitation of CVE-2021-41239 in the wild and no public exploit code.

All Nextcloud Nextcloud Server vulnerabilities

Sources

Also known as GHSA-g722-cm3h-8wrx.

Is CVE-2021-41239 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free