PT-2017-4046 · Jcraft · Jsch

Publicado

2016-09-21

·

Atualizado

2022-05-13

·

CVE-2016-5725

CVSS v3.1

5.9

Média

VetorAV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Name of the Vulnerable Software and Affected Versions JCraft JSch versions prior to 0.1.54
Description The issue allows remote SFTP servers to write to arbitrary files via a .. (dot dot backslash) in a response to a recursive GET command, potentially impacting the integrity of information. This is due to incorrect restriction of the directory path name with limited access.
Recommendations For versions prior to 0.1.54, update to version 0.1.54 or later to resolve the issue. As a temporary workaround, consider restricting access to the ChannelSftp.OVERWRITE mode until a patch is available. Avoid using the ChannelSftp.OVERWRITE mode in the affected JSch implementation until the issue is resolved.

Exploit

Correção

Path traversal

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Enumeração de Fraquezas

Identificadores relacionados

BDU:2021-00681
CVE-2016-5725
DLA-2184-1
DLA-611-1
GHSA-Q446-82VQ-W674
MGASA-2016-0311
SUSE-SU-2017:0715-1

Produtos afetados

Jsch