CVE-2024-24398: Stimulsoft Dashboard.JS directory traversal in Save function

CVE-2024-24398 · Severity: low · CVSS 3.1 · Published 2024-02-06

Stimulsoft Dashboard.JS is a JavaScript library used to embed interactive dashboards in web applications. A directory traversal vulnerability in the Save function allows remote attackers to write arbitrary files to the server filesystem by manipulating the fileName parameter, potentially leading to code execution and complete compromise of the application and underlying server.

Technologies: stimulsoft-dashboards-js (npm), Stimulsoft Dashboard.JS. Vendors: npm, Stimulsoft.

Quick answers

Is CVE-2024-24398 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2024-24398 being exploited in the wild.
How severe is CVE-2024-24398?
Low severity, with a CVSS score of 3.1, published 6 February 2024.
Which products and versions are affected?
stimulsoft-dashboards-js (npm) SEMVER:introduced=0,fixed=2024.1.3; Stimulsoft Dashboard.JS before 2024.1.3.
Is there a fix for CVE-2024-24398?
Yes. stimulsoft-dashboards-js (npm): upgrade to 2024.1.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2024-24398 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2024-24398?
Check whether you run stimulsoft-dashboards-js (npm) or Stimulsoft Dashboard.JS at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • stimulsoft-dashboards-js (npm): upgrade to 2024.1.3 or later
    npm install stimulsoft-dashboards-js@2024.1.3

Technical details

This is a path traversal vulnerability (CWE-22) in Stimulsoft Dashboard.JS versions before 2024.1.3, located in the Save function's fileName parameter handling. An unauthenticated remote attacker can send a crafted payload containing directory traversal sequences (e.g., ../) to bypass path restrictions and write files to arbitrary locations on the server. No authentication or user interaction is required, and the vulnerability is network-accessible. Successful exploitation allows arbitrary file write and execution, leading to remote code execution. The vulnerability was patched in version 2024.1.3.

Affected products

  • Stimulsoft Dashboard.JS before 2024.1.3

Identifiers

  • CVE-2024-24398
  • GHSA-gfqf-9w98-7jmx

Timeline

  • 2024-02-06: disclosed

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.