CVE-2024-22403

OAuth2 authorization codes are valid indefinetly in Nextcloud server

State
Published
Severity
3.0 Low
Published
Jan 18, 2024
Updated
Jun 17, 2025
Reserved
Jan 10, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.13.0 LowCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:N/A:NGitHub_M

Weaknesses

  • CWE-613 Insufficient Session Expiration

Affected Products

ProductVersions
security-advisoriesnextcloud
  • < 28.0.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.