CVE-2024-22403 OAuth2 authorization codes are valid indefinetly in Nextcloud server
LowCVSS 3.7
EPSS 0.45%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| nextcloud server | < 28.0.0 | 28.0.0 | Fixed |
| Nextcloud security-advisories | = < 28.0.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Nextcloud security-advisories | = < 28.0.0 | No fix listed |
| nextcloud server | < 28.0.0 | 28.0.0 |
References
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-wppc-f5g8-vx36 vendor-advisory
- https://github.com/nextcloud/server/pull/40766 patch vendor-advisory
- https://hackerone.com/reports/1784162 permissions-required third-party-advisory
- lists.fedoraproject.org