CVE-2024-37312 Nextcloud user_oidc app's ID4me feature is available even when disabled
Attackers can register accounts via the ID4me endpoint even when disabled, gaining access to data available to all registered users.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-37312?
CVE-2024-37312 is a medium-severity missing authorization vulnerability in nextcloud security-advisories, published on 14 Jun 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
user_oidc app is an OpenID Connect user backend for Nextcloud. Missing access control on the ID4me endpoint allows an attacker to register an account eventually getting access to data that is available to all registered users. It is recommended that the OpenID Connect user backend is upgraded to 3.0.0 (Nextcloud 20-23), 4.0.0 (Nexcloud 24) or 5.0.0 (Nextcloud 25-28).
Weakness: CWE-284
Which versions are affected by CVE-2024-37312?
It affects 1 product.
Products include Nextcloud User Oidc.
How do I fix CVE-2024-37312?
No fix has been published for CVE-2024-37312 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-2024-37312 being exploited?
There is no known exploitation of CVE-2024-37312 in the wild and no public exploit code.
Other vulnerabilities in nextcloud security-advisories
- CVE-2023-32074 Nextcloud user_oidc app is missing brute force protection
- CVE-2024-37886 Nextcloud user_oidc's ID4me does not validate signature or expiration
- CVE-2023-39953 Issuer not verified from obtained token in user_oidc
- CVE-2023-28848 CSRF protection on user_oidc login returned the expected token in case of an error
- CVE-2026-45284 Nextcloud: Wrong condition in the User OIDC app's LdapService allowed deleted LDAP users to authenticate
Sources
Also known as GHSA-vw7g-959g-vj6q.