Bug 2179752 (CVE-2023-25162)

Summary: CVE-2023-25162 nextcloud-server: SSRF via filter bypass due to lax checking on IPs
Product: [Other] Security Response Reporter: TEJ RATHI <trathi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedKeywords: Security
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: nextcloud 24.0.8, nextcloud 23.0.12 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-03-20 09:32:08 UTC 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: 2179754, 2179755, 2179756, 2179757, 2179758, 2179759, 2179761, 2179763, 2179764, 2179766, 2179768    
Bug Blocks:    

Description TEJ RATHI 2023-03-20 05:43:30 UTC
Nextcloud Server is the file server software for Nextcloud, a self-hosted productivity platform. Nextcloud Server prior to 24.0.8 and 23.0.12 and Nextcloud Enterprise server prior to 24.0.8 and 23.0.12 are vulnerable to server-side request forgery (SSRF). Attackers can leverage enclosed alphanumeric payloads to bypass IP filters and gain SSRF, which would allow an attacker to read crucial metadata if the server is hosted on the AWS platform. Nextcloud Server 24.0.8 and 23.0.2 and Nextcloud Enterprise Server 24.0.8 and 23.0.12 contain a patch for this issue. No known workarounds are available.

https://github.com/nextcloud/server/pull/34160
https://hackerone.com/reports/1702864
https://github.com/nextcloud/security-advisories/security/advisories/GHSA-mqrx-grp7-244m

Comment 1 TEJ RATHI 2023-03-20 05:48:47 UTC
Created nextcloud tracking bugs for this issue:

Affects: fedora-all [bug 2179754]


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

Affects: epel-all [bug 2179755]
Affects: fedora-all [bug 2179758]


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

Affects: epel-all [bug 2179756]
Affects: fedora-all [bug 2179759]


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

Affects: fedora-all [bug 2179761]


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

Affects: fedora-all [bug 2179763]


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

Affects: fedora-all [bug 2179764]


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

Affects: epel-all [bug 2179757]
Affects: fedora-all [bug 2179766]


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

Affects: fedora-all [bug 2179768]

Comment 2 Product Security DevOps Team 2023-03-20 09:32:06 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.