CVE-2024-6586 Server-side request forgery in Lightdash

High 7.3 Published Updated

Attackers can steal session tokens via SSRF in dashboard exports, enabling account takeover for users with export permissions.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2024-6586?

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.

Official 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.

Weakness: CWE-201

Which versions are affected by CVE-2024-6586?

How do I fix CVE-2024-6586?

No fix has been published for CVE-2024-6586 yet. Limit exposure of the affected software until one is available.

Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.

Is CVE-2024-6586 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-6586 exists.

Public exploit code: 1 Nuclei template.

Sources

Also known as GHSA-4h7x-6vxh-7hjf.

Is CVE-2024-6586 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free