ID CVE-2021-37712
Summary The npm package "tar" (aka node-tar) before versions 4.4.18, 5.0.10, and 6.1.9 has an arbitrary file creation/overwrite and arbitrary code execution vulnerability. node-tar aims to guarantee that any file whose location would be modified by a symbolic link is not extracted. This is, in part, achieved by ensuring that extracted directories are not symlinks. Additionally, in order to prevent unnecessary stat calls to determine whether a given path is a directory, paths are cached when directories are created. This logic was insufficient when extracting tar files that contained both a directory and a symlink with names containing unicode values that normalized to the same value. Additionally, on Windows systems, long path portions would resolve to the same file system entities as their 8.3 "short path" counterparts. A specially crafted tar archive could thus include a directory with one form of the path, followed by a symbolic link with a different string that resolves to the same file system entity, followed by a file using the first form. By first creating a directory, and then replacing that directory with a symlink that had a different apparent name that resolved to the same entry in the filesystem, it was thus possible to bypass node-tar symlink checks on directories, essentially allowing an untrusted tar file to symlink into an arbitrary location and subsequently extracting arbitrary files into that location, thus allowing arbitrary file creation and overwrite. These issues were addressed in releases 4.4.18, 5.0.10 and 6.1.9. The v3 branch of node-tar has been deprecated and did not receive patches for these issues. If you are still using a v3 release we recommend you update to a more recent version of node-tar. If this is not possible, a workaround is available in the referenced GHSA-qq89-hq3f-393p.
References
Vulnerable Configurations
  • cpe:2.3:a:npmjs:tar:0.1.0:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:0.1.0:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:0.1.2:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:0.1.2:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:0.1.3:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:0.1.3:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:0.1.5:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:0.1.5:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:0.1.6:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:0.1.6:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:0.1.7:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:0.1.7:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:0.1.8:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:0.1.8:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:0.1.9:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:0.1.9:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:0.1.10:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:0.1.10:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:0.1.11:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:0.1.11:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:0.1.12:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:0.1.12:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:0.1.13:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:0.1.13:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:0.1.14:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:0.1.14:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:0.1.15:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:0.1.15:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:0.1.16:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:0.1.16:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:0.1.17:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:0.1.17:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:0.1.18:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:0.1.18:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:0.1.19:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:0.1.19:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:0.1.20:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:0.1.20:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:1.0.0:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:1.0.0:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:1.0.1:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:1.0.1:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:1.0.2:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:1.0.2:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:1.0.3:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:1.0.3:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:2.0.0:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:2.0.0:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:2.0.1:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:2.0.1:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:2.1.0:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:2.1.0:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:2.1.1:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:2.1.1:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:2.2.1:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:2.2.1:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:2.2.2:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:2.2.2:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:3.0.0:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:3.0.0:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:3.0.1:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:3.0.1:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:3.1.0:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:3.1.0:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:3.1.1:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:3.1.1:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:3.1.2:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:3.1.2:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:3.1.3:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:3.1.3:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:3.1.4:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:3.1.4:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:3.1.5:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:3.1.5:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:3.1.6:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:3.1.6:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:3.1.7:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:3.1.7:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:3.1.8:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:3.1.8:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:3.1.9:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:3.1.9:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:3.1.10:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:3.1.10:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:3.1.11:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:3.1.11:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:3.1.12:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:3.1.12:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:3.1.13:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:3.1.13:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:3.1.14:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:3.1.14:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:3.1.15:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:3.1.15:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:3.2.0:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:3.2.0:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:3.2.1:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:3.2.1:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:3.2.2:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:3.2.2:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:3.2.3:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:3.2.3:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:4.0.0:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:4.0.0:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:4.0.1:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:4.0.1:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:4.0.2:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:4.0.2:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:4.1.0:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:4.1.0:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:4.1.1:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:4.1.1:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:4.1.2:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:4.1.2:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:4.2.0:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:4.2.0:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:4.3.0:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:4.3.0:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:4.3.1:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:4.3.1:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:4.3.2:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:4.3.2:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:4.3.3:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:4.3.3:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:4.4.0:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:4.4.0:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:4.4.1:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:4.4.1:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:4.4.2:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:4.4.2:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:4.4.3:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:4.4.3:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:4.4.4:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:4.4.4:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:4.4.5:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:4.4.5:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:4.4.6:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:4.4.6:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:4.4.7:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:4.4.7:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:4.4.8:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:4.4.8:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:4.4.9:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:4.4.9:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:4.4.10:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:4.4.10:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:4.4.11:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:4.4.11:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:4.4.12:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:4.4.12:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:4.4.13:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:4.4.13:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:4.4.14:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:4.4.14:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:4.4.15:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:4.4.15:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:4.4.16:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:4.4.16:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:4.4.17:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:4.4.17:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:5.0.0:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:5.0.0:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:5.0.1:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:5.0.1:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:5.0.2:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:5.0.2:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:5.0.3:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:5.0.3:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:5.0.4:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:5.0.4:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:5.0.5:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:5.0.5:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:5.0.6:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:5.0.6:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:5.0.7:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:5.0.7:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:5.0.8:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:5.0.8:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:6.0.0:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:6.0.0:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:6.0.1:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:6.0.1:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:6.0.2:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:6.0.2:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:6.0.3:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:6.0.3:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:6.0.4:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:6.0.4:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:6.0.5:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:6.0.5:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:6.1.0:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:6.1.0:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:6.1.1:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:6.1.1:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:6.1.2:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:6.1.2:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:6.1.3:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:6.1.3:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:6.1.4:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:6.1.4:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:6.1.5:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:6.1.5:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:6.1.6:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:6.1.6:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:6.1.7:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:6.1.7:*:*:*:*:node.js:*:*
  • cpe:2.3:a:npmjs:tar:6.1.8:*:*:*:*:node.js:*:*
    cpe:2.3:a:npmjs:tar:6.1.8:*:*:*:*:node.js:*:*
  • cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*
    cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
    cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:graalvm:20.3.3:*:*:*:enterprise:*:*:*
    cpe:2.3:a:oracle:graalvm:20.3.3:*:*:*:enterprise:*:*:*
  • cpe:2.3:a:oracle:graalvm:21.2.0:*:*:*:enterprise:*:*:*
    cpe:2.3:a:oracle:graalvm:21.2.0:*:*:*:enterprise:*:*:*
  • cpe:2.3:a:siemens:sinec_infrastructure_network_services:-:*:*:*:*:*:*:*
    cpe:2.3:a:siemens:sinec_infrastructure_network_services:-:*:*:*:*:*:*:*
  • cpe:2.3:a:siemens:sinec_infrastructure_network_services:1.0.1:-:*:*:*:*:*:*
    cpe:2.3:a:siemens:sinec_infrastructure_network_services:1.0.1:-:*:*:*:*:*:*
CVSS
Base: 4.4 (as of 23-02-2023 - 02:28)
Impact:
Exploitability:
CWE CWE-59
CAPEC
  • Manipulating Web Input to File System Calls
    An attacker manipulates inputs to the target software which the target software passes to file system calls in the OS. The goal is to gain access to, and perhaps modify, areas of the file system that the target software did not intend to be accessible.
  • Leverage Executable Code in Non-Executable Files
    An attack of this type exploits a system's trust in configuration and resource files. When the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high.
  • Using Malicious Files
    An attack of this type exploits a system's configuration that allows an attacker to either directly access an executable file, for example through shell access; or in a possible worst case allows an attacker to upload a file and then execute it. Web servers, ftp servers, and message oriented middleware systems which have many integration points are particularly vulnerable, because both the programmers and the administrators must be in synch regarding the interfaces and the correct privileges for each interface.
  • Symlink Attack
    An attacker positions a symbolic link in such a manner that the targeted user or application accesses the link's endpoint, assuming that it is accessing a file with the link's name. The endpoint file may be either output or input. If the file is output, the result is that the endpoint is modified, instead of a file at the intended location. Modifications to the endpoint file may include appending, overwriting, corrupting, changing permissions, or other modifications. In some variants of this attack the attacker may be able to control the change to a file while in other cases they cannot. The former is especially damaging since the attacker may be able to grant themselves increased privileges or insert false information, but the latter can also be damaging as it can expose sensitive information or corrupt or destroy vital system or application files. Alternatively, the endpoint file may serve as input to the targeted application. This can be used to feed malformed input into the target or to cause the target to process different information, possibly allowing the attacker to control the actions of the target or to cause the target to expose information to the attacker. Moreover, the actions taken on the endpoint file are undertaken with the permissions of the targeted user or application, which may exceed the permissions that the attacker would normally have.
Access
VectorComplexityAuthentication
LOCAL MEDIUM NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
cvss-vector via4 AV:L/AC:M/Au:N/C:P/I:P/A:P
Last major update 23-02-2023 - 02:28
Published 31-08-2021 - 17:15
Last modified 23-02-2023 - 02:28
Back to Top