CVE-2021-22915CWE-307

Nextcloud server before 19.0.11, 20.0.10, 21.0.2 is vulnerable to brute force attacks due to lack of inclusion of IPv6 subnets in rate-limiting considerations

published June 11, 2021

CVSS
—
EPSS
2%
Percentile
77.5
In the wild
Unconfirmed
What it is

⚠️ A sneaky gap in Nextcloud's rate-limiting can let attackers bypass protections like a wide-open door in a fortress! 🔓 Think of your web server as a popular restaurant. If it only checks reservations for tables at the front but ignores the back entry, anyone can stroll in without a reservation. This vulnerability leaves a side door open for brute-force attacks. An attacker could potentially bombard your server with login attempts without hitting the rate limits, making it alarmingly easy to gain unauthorized access. This could lead to data leaks or manipulation of stored files, which is absolutely devastating for sensitive information. Your Nextcloud instance might just become a playground for malicious actors!

Put simply

Think of your web server as a popular restaurant. If it only checks reservations for tables at the front but ignores the back entry, anyone can stroll in without a reservation. This vulnerability leaves a side door open for brute-force attacks. CVE-2021-22915 affects Nextcloud servers before versions 19.0.11, 20.0.10, and 21.0.2, allowing brute-force attacks due to the exclusion of IPv6 subnets from rate-limiting checks, effectively bypassing brute-force protections.

What to do

An attacker could potentially bombard your server with login attempts without hitting the rate limits, making it alarmingly easy to gain unauthorized access. This could lead to data leaks or manipulation of stored files, which is absolutely devastating for sensitive information. Your Nextcloud instance might just become a playground for malicious actors! To shield your Nextcloud from this vulnerability, upgrade to at least Nextcloud versions 19.0.11, 20.0.10, or 21.0.2. Additionally, regularly monitor your server logs and consider implementing more robust IP-based filtering to enhance your security posture. You've got this! Patch your Nextcloud, harden your defenses, and keep your files safe! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01739 · 77.5th percentile
Weakness
CWE-307 · Improper Restriction of Excessive Authentication Attempts
Published
2021-06-11T15:49Z
EPSS history
Timeline
  • 11 JUN 15:49Z
    Nextcloud server before 19.0.11, 20.0.10, 21.0.2 is vulnerable to brute force attacks due to lack of inclusion of IPv6 subnets in rate-limiting considerations
    cvelistv5