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

3.0 CVSS

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.

Classification

CVE ID: CVE-2024-22403

CVSS Base Severity: LOW

CVSS Base Score: 3.0

CVSS Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:N/A:N

Affected Products

Vendor: nextcloud

Product: security-advisories

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.07% (probability of being exploited)

EPSS Percentile: 34.06% (scored less or equal to compared to others)

EPSS Date: 2025-03-14 (when was this score calculated)

References

https://github.com/nextcloud/security-advisories/security/advisories/GHSA-wppc-f5g8-vx36
https://github.com/nextcloud/server/pull/40766
https://hackerone.com/reports/1784162
https://lists.fedoraproject.org/archives/list/[email protected]/message/S6PN4GVJ5TZUC6WSG4X3ZA3AMPBEKNAX/

Timeline