{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2012-2315 exists.","fix":"No fix has been published for CVE-2012-2315 yet. Limit exposure of the affected software until one is available.","what":"CVE-2012-2315 is a medium-severity vulnerability in n/a, published on 9 Sep 2012. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2012-2315 and fix it if it is affected.\n\nWhat it is: CVE-2012-2315 is a medium-severity vulnerability in n/a, published on 9 Sep 2012. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2012-2315 exists.\n\nAffected product: n/a. 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-2012-2315/ (Markdown: https://insights.sbomify.com/CVE-2012-2315/index.md)","id":"CVE-2012-2315","markdown":"https://insights.sbomify.com/CVE-2012-2315/index.md","name":"CVE-2012-2315","record":{"aliases":["GHSA-8v9j-x5gc-mg8x"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["privilege_escalation"],"network_reachable":"yes","non_default_config":false,"product_category":"OpenKM document management","requires_auth":"low_privilege","summary":"Authenticated users can escalate privileges to administrator by improperly changing user roles in OpenKM.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"openkm","vendor":"openkm"}],"cvss":{"score":4,"severity":"medium","source":"nvd","vector":"AV:N/AC:L/Au:S/C:N/I:P/A:N","version":"2.0"},"cwes":[{"id":"CWE-264","name":null}],"description":"admin/Auth in OpenKM 5.1.7 and other versions before 5.1.8-2 does not properly enforce privileges for changing user roles, which allows remote authenticated users to assign administrator privileges to arbitrary users via the userEdit action.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2012-01-03","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2012-01-03","kind":"exploitdb","ref":"18888","stars":null,"title":"OpenKM Document Management System 5.1.7 - Command Execution"}],"tier":"weaponised"},"has_fix":null,"headline":"Privilege escalation in n/a","id":"CVE-2012-2315","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"privilege_escalation","year":"2012"},"n_packages":0,"n_references":11,"next":{"headline":"Cross-site request forgery in n/a","id":"CVE-2012-2316"},"packages":[],"prev":{"headline":"Information disclosure in n/a","id":"CVE-2012-2314"},"products":["n/a"],"published":"2012-09-09","related":[{"cvss_score":8.5,"headline":"OpenKM XXE Injection","id":"CVE-2022-2131","kev_date_added":null,"published":"2022-07-25"},{"cvss_score":7.5,"headline":"XML external entity in n/a","id":"CVE-2021-33950","kev_date_added":null,"published":"2023-02-17"},{"cvss_score":7.2,"headline":"File upload in n/a","id":"CVE-2019-11445","kev_date_added":null,"published":"2019-04-22"},{"cvss_score":6.8,"headline":"Cross-site request forgery in n/a","id":"CVE-2012-2316","kev_date_added":null,"published":"2012-09-09"},{"cvss_score":6.4,"headline":"Cross-site request forgery in n/a","id":"CVE-2024-35475","kev_date_added":null,"published":"2024-05-22"},{"cvss_score":5.4,"headline":"Cross-site scripting in n/a","id":"CVE-2025-57244","kev_date_added":null,"published":"2025-11-05"},{"cvss_score":5.4,"headline":"Cross-site scripting in n/a","id":"CVE-2023-50072","kev_date_added":null,"published":"2024-01-13"}],"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)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Authenticated users can escalate privileges to administrator by improperly changing user roles in OpenKM.","url":"https://insights.sbomify.com/CVE-2012-2315/"}