CVE-2022-39338
What it is
user_oidc is an OpenID Connect user backend for Nextcloud. Versions prior to 1.2.1 did not properly validate discovery urls which may lead to a stored cross site scripting attack vector. The impact is limited due to the restrictive CSP that is applied on this endpoint. Additionally this vulnerability has only been shown to be exploitable in the Safari web browser. This issue has been addressed in version 1.2.1. Users are advised to upgrade. Users unable to upgrade should urge their users to avoid using the Safari web browser.
At a glance
- Exploitability
- Can be exploited over the network with an admin-level account, but needs a user to act. Limited direct impact.
- Exploit odds
- 0.7% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.7% in the next 30 days (EPSS).
- Severity: 3.5 LOW (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.7% · EPSS, next 30 days
- Weakness
- CWE-20 · Improper input validation
- Record status
- Modified
Affected
- Nextcloud Openid Connect User Backend < 1.2.1
Attack profile CVSS 3.1 · 3.5
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- High
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Raw vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2022-39338.md and follow it. Check whether this project is affected by CVE-2022-39338. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-5fpw-795h-rg57
- https://github.com/nextcloud/user_oidc/pull/496
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-5fpw-795h-rg57
- https://github.com/nextcloud/user_oidc/pull/496
References
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-5fpw-795h-rg57
- https://github.com/nextcloud/user_oidc/pull/496
- https://hackerone.com/reports/1687410
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-5fpw-795h-rg57
- https://github.com/nextcloud/user_oidc/pull/496
- https://hackerone.com/reports/1687410