CVE-2021-32678 Ratelimit not applied on OCS API responses

Low 3.7 Published Updated

Attackers can bypass brute-force protection on OCS API endpoints, enabling authentication bypass or user spamming in Nextcloud Server.

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-32678?

CVE-2021-32678 is a low-severity vulnerability in Fedoraproject Fedora, published on 12 Jul 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Nextcloud Server is a Nextcloud package that handles data storage. In versions prior to 19.0.13, 20.0.11, and 21.0.3, ratelimits are not applied to OCS API responses. This affects any OCS API controller (`OCSController`) using the `@BruteForceProtection` annotation. Risk depends on the installed applications on the Nextcloud Server, but could range from bypassing authentication ratelimits or spamming other Nextcloud users. The vulnerability is patched in versions 19.0.13, 20.0.11, and 21.0.3. No workarounds aside from upgrading are known to exist.

Weakness: CWE-307, CWE-799

Which versions are affected by CVE-2021-32678?

It affects 2 products.

Products include Fedoraproject Fedora, Nextcloud Nextcloud Server.

How do I fix CVE-2021-32678?

Upgrade to a fixed version.

Is CVE-2021-32678 being exploited?

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

All Fedoraproject Fedora vulnerabilities

Sources

Also known as GHSA-48rx-3gmf-g74j.

Is CVE-2021-32678 in your software?

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

Check your SBOMs for free