CVE-2022-31118 Missing brute force protection on cloud federation sharing in Nextcloud Server
Attackers can brute force federated share access tokens due to missing rate limiting, potentially gaining unauthorized access to shared data.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-31118?
CVE-2022-31118 is a medium-severity missing authorization vulnerability in Nextcloud Nextcloud Server, published on 4 Aug 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Nextcloud server is an open source personal cloud solution. In affected versions an attacker could brute force to find if federated sharing is being used and potentially try to brute force access tokens for federated shares (`a-zA-Z0-9` ^ 15). It is recommended that the Nextcloud Server is upgraded to 22.2.9, 23.0.6 or 24.0.2. Users unable to upgrade may disable federated sharing via the Admin Sharing settings in `index.php/settings/admin/sharing`.
Which versions are affected by CVE-2022-31118?
It affects 1 product.
Products include Nextcloud Nextcloud Server.
How do I fix CVE-2022-31118?
No fix has been published for CVE-2022-31118 yet. Limit exposure of the affected software until one is available.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2022-31118 being exploited?
There is no known exploitation of CVE-2022-31118 in the wild and no public exploit code.
Other vulnerabilities in Nextcloud Nextcloud Server
- CVE-2021-32802 Preview generation used third-party library not suited for user-generated content in Nextcloud server
- CVE-2023-26482 Scope of workflow operations is not validated in nextcloud server
- CVE-2018-3775 Auth bypass in Nextcloud Server
- CVE-2023-35172 Nextcloud Server password reset endpoint is not brute force protected
- CVE-2023-32320 Nextcloud Server's brute force protection allows someone to send more requests than intended
Sources
Also known as GHSA-2vwh-5v93-3vcq.