PT-2018-6173 · Mockserve · Mockserve
Publicado
2018-06-07
·
Atualizado
2019-10-09
·
CVE-2017-16146
CVSS v3.1
7.5
Alta
| Vetor | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Name of the Vulnerable Software and Affected Versions:
mockserve versions (affected versions not specified)
Description:
The issue allows an attacker to access the filesystem by exploiting a directory traversal vulnerability. This can be achieved by placing "../" in the URL, giving access to files outside of the intended directory root, potentially resulting in the disclosure of private files. For example, a malicious actor can send a GET request to "/../../../../../../../../../../etc/passwd" to access sensitive files.
Recommendations:
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
As a temporary workaround, consider restricting access to the
mockserve package, and only use it for local development. If the functionality is needed for production, consider using a different package instead.Exploit
Path traversal
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾
Enumeração de Fraquezas
Identificadores relacionados
Produtos afetados
Mockserve