CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2020 · Openbsd

CVE-2020-12062
Openbsd Openssh vulnerability

The scp client in OpenSSH 8.2 incorrectly sends duplicate responses to the server upon a utimes system call failure, which allows a malicious unprivileged user on the remote server to overwrite arbitrary files in the client's download directory by creating a crafted subdirectory anywhere on the remote server. The victim must use the command scp -rp to download a file hierarchy containing, anywhere inside, this crafted subdirectory. NOTE: the vendor points out that "this attack can achieve no more than a hostile peer is already able to achieve within the scp protocol" and "utimes does not fail under normal circumstances.

Affected products

Openssh. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Openbsd Openssh runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Openbsd products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.