CVE-2024-22403 OAuth2 authorization codes are valid indefinetly in Nextcloud server

Low 3.0 Published Updated

Attackers can hijack user accounts by reusing intercepted OAuth2 authorization codes that never expire in Nextcloud server.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2024-22403?

CVE-2024-22403 is a low-severity authentication bypass vulnerability in Nextcloud Nextcloud Server, published on 18 Jan 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Nextcloud server is a self hosted personal cloud system. In affected versions OAuth codes did not expire. When an attacker would get access to an authorization code they could authenticate at any time using the code. As of version 28.0.0 OAuth codes are invalidated after 10 minutes and will no longer be authenticated. To exploit this vulnerability an attacker would need to intercept an OAuth code from a user session. It is recommended that the Nextcloud Server is upgraded to 28.0.0. There are no known workarounds for this vulnerability.

Weakness: CWE-613

Which versions are affected by CVE-2024-22403?

It affects 1 product.

Products include Nextcloud Nextcloud Server.

How do I fix CVE-2024-22403?

No fix has been published for CVE-2024-22403 yet. Limit exposure of the affected software until one is available.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2024-22403 being exploited?

There is no known exploitation of CVE-2024-22403 in the wild and no public exploit code.

All Nextcloud Nextcloud Server vulnerabilities

Sources

Also known as GHSA-wppc-f5g8-vx36.

Is CVE-2024-22403 in your software?

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

Check your SBOMs for free