PT-2018-4717 · Node.Js · Node-Cli

Skx

·

Published

2018-05-31

·

Updated

2019-10-09

·

CVE-2016-10538

CVSS v2.0

4.9

Medium

VectorAV:N/AC:M/Au:S/C:N/I:P/A:P
Name of the Vulnerable Software and Affected Versions node-cli versions prior to 1.0.0 cli versions prior to 1.0.0
Description The issue arises from the insecure use of temporary files, specifically lock file and log file, which can be exploited by an attacker to overwrite any file the starting user has access to. This is due to the predictable nature of the temporary file names used by the affected versions of cli. An attacker can create a symbolic link at the location of one of these temporary file names, allowing them to arbitrarily write to any file that the user owning the cli process has permission to write to.
Recommendations For node-cli versions prior to 1.0.0, update to version 1.0.0 or later. For cli versions prior to 1.0.0, update to version 1.0.0 or later.

Exploit

Fix

Race Condition

Path traversal

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2016-10538
GHSA-6CPC-MJ5C-M9RQ

Affected Products

Node-Cli