{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-6586 exists.","fix":"No fix has been published for CVE-2024-6586 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-6586 is a high-severity server-side request forgery vulnerability in Lightdash, published on 30 Aug 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-6586 and fix it if it is affected.\n\nWhat it is: CVE-2024-6586 is a high-severity server-side request forgery vulnerability in Lightdash, published on 30 Aug 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-6586 exists.\n\nAffected product: Lightdash. 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-6586/ (Markdown: https://insights.sbomify.com/CVE-2024-6586/index.md)","id":"CVE-2024-6586","markdown":"https://insights.sbomify.com/CVE-2024-6586/index.md","name":"CVE-2024-6586","record":{"aliases":["GHSA-4h7x-6vxh-7hjf"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["account_takeover","data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Lightdash analytics platform","requires_auth":"low_privilege","summary":"Attackers can steal session tokens via SSRF in dashboard exports, enabling account takeover for users with export permissions.","user_interaction":"required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Mandiant","cpe":[],"cvss":{"score":7.3,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-201","name":"Insertion of Sensitive Information Into Sent Data"}],"description":"Lightdash version 0.1024.6 allows users with the necessary permissions, such as Administrator or Editor, to create and share dashboards. A dashboard that contains HTML elements which point to a threat actor controlled source can trigger an SSRF request when exported, via a POST request to /api/v1/dashboards//export. The forged request contains the value of the exporting user’s session token. A threat actor could obtain the session token of any user who exports the dashboard. The obtained session token can be used to perform actions as the victim on the application, resulting in session takeover.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":1,"refs":[{"date":null,"kind":"nuclei","ref":"http/cves/2024/CVE-2024-6586.yaml","stars":null,"title":"Lightdash v0.1024.6 - Server-Side Request Forgery"}],"tier":"weaponised"},"has_fix":false,"headline":"Server-side request forgery in Lightdash","id":"CVE-2024-6586","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"ssrf","year":"2024"},"n_packages":0,"n_references":6,"next":{"headline":"SSRF in berriai/litellm","id":"CVE-2024-6587"},"packages":[],"prev":{"headline":"Cross-site scripting in Lightdash","id":"CVE-2024-6585"},"products":["Lightdash"],"published":"2024-08-30","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-09-03","vendors":["Lightdash"]},"summary":"Attackers can steal session tokens via SSRF in dashboard exports, enabling account takeover for users with export permissions.","url":"https://insights.sbomify.com/CVE-2024-6586/"}