CVE-2024-22403: OAuth2 authorization codes are valid indefinetly in Nextcloud server
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Nextcloud Serverto a version that resolves this vulnerability.Fixed in 28.0.0
Event History
Frequently Asked Questions
What is the severity of CVE-2024-22403?
CVE-2024-22403 has been classified as a high severity vulnerability due to the risk of unauthorized access through non-expiring OAuth codes.
How do I fix CVE-2024-22403?
To fix CVE-2024-22403, upgrade to Nextcloud Server version 28.0.0 or higher, where OAuth codes are invalidated after 10 minutes.
What vulnerability does CVE-2024-22403 address?
CVE-2024-22403 addresses a vulnerability in Nextcloud Server where OAuth authorization codes did not expire, allowing attackers to misuse them.
Who is impacted by CVE-2024-22403?
CVE-2024-22403 impacts users of Nextcloud Server versions prior to 28.0.0 that rely on OAuth for authentication.
What are the consequences of CVE-2024-22403?
The consequences of CVE-2024-22403 include potential unauthorized access to user accounts if an attacker obtains a valid OAuth code.