ID CVE-2017-18869
Summary A TOCTOU issue in the chownr package before 1.1.0 for Node.js 10.10 could allow a local attacker to trick it into descending into unintended directories via symlink attacks.
References
Vulnerable Configurations
  • cpe:2.3:a:chownr_project:chownr:0.0.1:*:*:*:*:node.js:*:*
    cpe:2.3:a:chownr_project:chownr:0.0.1:*:*:*:*:node.js:*:*
  • cpe:2.3:a:chownr_project:chownr:0.0.2:*:*:*:*:node.js:*:*
    cpe:2.3:a:chownr_project:chownr:0.0.2:*:*:*:*:node.js:*:*
  • cpe:2.3:a:chownr_project:chownr:1.0.0:*:*:*:*:node.js:*:*
    cpe:2.3:a:chownr_project:chownr:1.0.0:*:*:*:*:node.js:*:*
  • cpe:2.3:a:chownr_project:chownr:1.0.1:*:*:*:*:node.js:*:*
    cpe:2.3:a:chownr_project:chownr:1.0.1:*:*:*:*:node.js:*:*
CVSS
Base: 1.9 (as of 17-06-2020 - 19:51)
Impact:
Exploitability:
CWE CWE-367
CAPEC
  • Leveraging Race Conditions via Symbolic Links
    This attack leverages the use of symbolic links (Symlinks) in order to write to sensitive files. An attacker can create a Symlink link to a target file not otherwise accessible to her. When the privileged program tries to create a temporary file with the same name as the Symlink link, it will actually write to the target file pointed to by the attackers' Symlink link. If the attacker can insert malicious content in the temporary file she will be writing to the sensitive file by using the Symlink. The race occurs because the system checks if the temporary file exists, then creates the file. The attacker would typically create the Symlink during the interval between the check and the creation of the temporary file.
  • Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions
    This attack targets a race condition occurring between the time of check (state) for a resource and the time of use of a resource. A typical example is file access. The adversary can leverage a file access race condition by "running the race", meaning that they would modify the resource between the first time the target program accesses the file and the time the target program uses the file. During that period of time, the adversary could replace or modify the file, causing the application to behave unexpectedly.
Access
VectorComplexityAuthentication
LOCAL MEDIUM NONE
Impact
ConfidentialityIntegrityAvailability
NONE PARTIAL NONE
cvss-vector via4 AV:L/AC:M/Au:N/C:N/I:P/A:N
redhat via4
rpms
  • rh-nodejs8-nodejs-0:8.17.0-2.el7
  • rh-nodejs8-nodejs-debuginfo-0:8.17.0-2.el7
  • rh-nodejs8-nodejs-devel-0:8.17.0-2.el7
  • rh-nodejs8-nodejs-docs-0:8.17.0-2.el7
  • rh-nodejs8-npm-0:6.13.4-8.17.0.2.el7
refmap via4
misc
Last major update 17-06-2020 - 19:51
Published 15-06-2020 - 15:15
Last modified 17-06-2020 - 19:51
Back to Top