PT-2018-4717 · Node.Js · Node-Cli
Skx
·
Publicado
2018-05-31
·
Atualizado
2019-10-09
·
CVE-2016-10538
CVSS v2.0
4.9
Média
| Vetor | AV: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
Correção
Race Condition
Path traversal
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾
Identificadores relacionados
Produtos afetados
Node-Cli