CVE-2023-28848 CSRF protection on user_oidc login returned the expected token in case of an error
An attacker can bypass CSRF protection in the Nextcloud user_oidc plugin by reusing state tokens, potentially allowing unauthorized actions.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2023-28848?
CVE-2023-28848 is a medium-severity vulnerability in nextcloud security-advisories, published on 4 Apr 2023. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
user_oidc is the OIDC connect user backend for Nextcloud, an open source collaboration platform. A vulnerability in versions 1.0.0 until 1.3.0 effectively allowed an attacker to bypass the state protection as they could just copy the expected state token from the first request to their second request. Users should upgrade user_oidc to 1.3.0 to receive a patch for the issue. No known workarounds are available.
Weakness: CWE-352
Which versions are affected by CVE-2023-28848?
It affects 1 product.
Products include Nextcloud User Oidc.
How do I fix CVE-2023-28848?
No fix has been published for CVE-2023-28848 yet. Limit exposure of the affected software until one is available.
Is CVE-2023-28848 being exploited?
There is no known exploitation of CVE-2023-28848 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-37312 Nextcloud user_oidc app's ID4me feature is available even when disabled
- 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-2026-45284 Nextcloud: Wrong condition in the User OIDC app's LdapService allowed deleted LDAP users to authenticate
Sources
Also known as GHSA-52hv-xw32-wf7f.