Bug 2259139 (CVE-2024-22403)

Summary: CVE-2024-22403 nectcloud: OAuth codes did not expire
Product: [Other] Security Response Reporter: Rohit Keshri <rkeshri>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2259140, 2259141, 2259142, 2259143, 2259144, 2259145, 2259146    
Bug Blocks:    

Description Rohit Keshri 2024-01-19 08:23:48 UTC
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.

https://github.com/nextcloud/security-advisories/security/advisories/GHSA-wppc-f5g8-vx36
https://github.com/nextcloud/server/pull/40766
https://hackerone.com/reports/1784162

Comment 1 Rohit Keshri 2024-01-19 08:25:57 UTC
Created nextcloud tracking bugs for this issue:

Affects: fedora-all [bug 2259140]


Created nextcloud:23/nextcloud tracking bugs for this issue:

Affects: epel-all [bug 2259141]
Affects: fedora-all [bug 2259144]


Created nextcloud:24/nextcloud tracking bugs for this issue:

Affects: epel-all [bug 2259142]
Affects: fedora-all [bug 2259145]


Created nextcloud:nextcloud-22/nextcloud tracking bugs for this issue:

Affects: epel-all [bug 2259143]


Created nextcloud:nextcloud-stable/nextcloud tracking bugs for this issue:

Affects: fedora-all [bug 2259146]