CVE-2023-28848 CSRF protection on user_oidc login returned the expected token in case of an error

Medium 4.8 Published Updated

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.

Sources

Also known as GHSA-52hv-xw32-wf7f.

Is CVE-2023-28848 in your software?

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

Check your SBOMs for free