Description
Directory traversal vulnerability in scp in sshd 1.2.xx allows a remote malicious scp server to overwrite arbitrary files via a .. (dot dot) attack.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | openssh | 1:3.9p1-1 | — |
| Debian 13 | openssh | 1:3.9p1-1 | — |
| Debian 12 | openssh | 1:3.9p1-1 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- OpenSSH 1.2 - '.scp' File Create/Overwrite EDB-20253 · remote · Sep 30, 2000 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- scp-overwrite-files(5312) vdb-entry
- MDKSA-2000:057 vendor-advisory
- 20000930 scp file transfer hole mailing-list
- 1742 vdb-entry