CVE-2024-22400 Open redirect in user_saml via RelayState parameter in Nextcloud User Saml
MediumCVSS 6.1
EPSS 0.45%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
Description
Nextcloud User Saml is an app for authenticating Nextcloud users using SAML. In affected versions users can be given a link to the Nextcloud server and end up on a uncontrolled thirdparty server. It is recommended that the User Saml app is upgraded to version 5.1.5, 5.2.5, or 6.0.1. There are no known workarounds for this issue.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Nextcloud sso saml authentication | = 6.0.0; >= 5.0.0, < 5.1.5; >= 5.2.0, < 5.2.5 | 5.1.5, 5.2.5 | Fixed |
| Nextcloud security-advisories | = >= 5.0.0, < 5.1.5; = >= 5.2.0, < 5.2.5; = >= 6.0.0, < 6.0.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Nextcloud security-advisories | = >= 5.0.0, < 5.1.5 | No fix listed |
| Nextcloud security-advisories | = >= 5.2.0, < 5.2.5 | No fix listed |
| Nextcloud security-advisories | = >= 6.0.0, < 6.0.1 | No fix listed |
| Nextcloud sso saml authentication | >= 5.0.0, < 5.1.5 | 5.1.5 |
| Nextcloud sso saml authentication | >= 5.2.0, < 5.2.5 | 5.2.5 |
| Nextcloud sso saml authentication | = 6.0.0 | No fix listed |
References
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-622q-xhfr-xmv7 vendor-advisory
- https://github.com/nextcloud/user_saml/pull/788 patch
- https://github.com/nextcloud/user_saml/commit/b184304a476deeba36e92b70562d5de7c2f85f8a patch
- https://hackerone.com/reports/2263044 permissions-required third-party-advisory