{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-37312 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-37312 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-37312 is a medium-severity missing authorization vulnerability in nextcloud security-advisories, published on 14 Jun 2024. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-37312 and fix it if it is affected.\n\nWhat it is: CVE-2024-37312 is a medium-severity missing authorization vulnerability in nextcloud security-advisories, published on 14 Jun 2024. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-37312 in the wild and no public exploit code.\n\nAffected product: nextcloud security-advisories. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-37312/ (Markdown: https://insights.sbomify.com/CVE-2024-37312/index.md)","id":"CVE-2024-37312","markdown":"https://insights.sbomify.com/CVE-2024-37312/index.md","name":"CVE-2024-37312","record":{"aliases":["GHSA-vw7g-959g-vj6q"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read","account_takeover"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Nextcloud OIDC plugin","requires_auth":"none","summary":"Attackers can register accounts via the ID4me endpoint even when disabled, gaining access to data available to all registered users.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"user_oidc","vendor":"nextcloud"}],"cvss":{"score":6.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-284","name":"Improper Access Control"}],"description":"user_oidc app is an OpenID Connect user backend for Nextcloud. Missing access control on the ID4me endpoint allows an attacker to register an account eventually getting access to data that is available to all registered users. It is recommended that the OpenID Connect user backend is upgraded to 3.0.0 (Nextcloud 20-23), 4.0.0 (Nexcloud 24) or 5.0.0 (Nextcloud 25-28).","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Nextcloud user_oidc app's ID4me feature is available even when disabled","id":"CVE-2024-37312","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"missing_authorization","year":"2024"},"n_packages":0,"n_references":3,"next":{"headline":"Nextcloud server allows the by-pass the second factor","id":"CVE-2024-37313"},"packages":[],"prev":{"headline":"Collabora Online's remote host TLS certificates are not fully verified","id":"CVE-2024-37311"},"products":["security-advisories"],"published":"2024-06-14","related":[{"cvss_score":8,"headline":"Nextcloud user_oidc app is missing brute force protection","id":"CVE-2023-32074","kev_date_added":null,"published":"2023-05-25"},{"cvss_score":5.4,"headline":"Nextcloud user_oidc's ID4me does not validate signature or expiration","id":"CVE-2024-37886","kev_date_added":null,"published":"2024-06-14"},{"cvss_score":4.8,"headline":"Issuer not verified from obtained token in user_oidc","id":"CVE-2023-39953","kev_date_added":null,"published":"2023-08-10"},{"cvss_score":4.8,"headline":"CSRF protection on user_oidc login returned the expected token in case of an error","id":"CVE-2023-28848","kev_date_added":null,"published":"2023-04-04"},{"cvss_score":4.6,"headline":"Nextcloud: Wrong condition in the User OIDC app's LdapService allowed deleted LDAP users to authenticate","id":"CVE-2026-45284","kev_date_added":null,"published":"2026-06-01"},{"cvss_score":3.8,"headline":"user_oidc app stores client secret unencrypted in database","id":"CVE-2023-39954","kev_date_added":null,"published":"2023-08-10"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-02","vendors":["nextcloud"]},"summary":"Attackers can register accounts via the ID4me endpoint even when disabled, gaining access to data available to all registered users.","url":"https://insights.sbomify.com/CVE-2024-37312/"}