CVE-2024-22403 OAuth2 authorization codes are valid indefinetly in Nextcloud server
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.
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-wppc-f5g8-vx36.