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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Lightdash | Lightdash | 0.1024.6 – < 0.1027.2 | 0.1027.2 |
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Lightdash v0.1024.6 - Server-Side Request Forgery http/cves/2024/CVE-2024-6586.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
References
- https://github.com/google/security-research/security/advisories/GHSA-4h7x-6vxh-7hjf
- https://www.cve.org/CVERecord?id=CVE-2024-6586
- https://github.com/lightdash/lightdash
- https://github.com/lightdash/lightdash/releases/tag/0.1027.2
- https://patch-diff.githubusercontent.com/raw/lightdash/lightdash/pull/9295.patch
- https://github.com/lightdash/lightdash/pull/9295