CVE-2024-22402 Improper handling of request URLs in Nextcloud Guests app allows guest users to bypass app allowlist
MediumCVSS 5.4
EPSS 0.51%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
Description
Nextcloud guests app is a utility to create guest users which can only see files shared with them. In affected versions users were able to load the first page of apps they were actually not allowed to access. Depending on the selection of apps installed this may present a permissions bypass. It is recommended that the Guests app is upgraded to 2.4.1, 2.5.1 or 3.0.1. There are no known workarounds for this vulnerability.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Nextcloud guests | < 2.4.1; = 2.5.0; = 3.0.0 | 2.4.1 | Fixed |
| Nextcloud security-advisories | = >= 2.4.0, < 2.4.1; = >= 2.5.0, < 2.5.1; = >= 3.0.0, < 3.0.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Nextcloud security-advisories | = >= 2.4.0, < 2.4.1 | No fix listed |
| Nextcloud security-advisories | = >= 2.5.0, < 2.5.1 | No fix listed |
| Nextcloud security-advisories | = >= 3.0.0, < 3.0.1 | No fix listed |
| Nextcloud guests | < 2.4.1 | 2.4.1 |
| Nextcloud guests | = 2.5.0 | No fix listed |
| Nextcloud guests | = 3.0.0 | No fix listed |
References
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-v3qw-7vgv-2fxj vendor-advisory
- https://github.com/nextcloud/guests/pull/1082 patch vendor-advisory
- https://hackerone.com/reports/2251074 permissions-required third-party-advisory