Directory Traversal in scp (sshd 1.2.xx)
A directory traversal vulnerability exists in the scp implementation of sshd version 1.2.xx. A remote malicious scp server can exploit this vulnerability by sending file paths containing '..' sequences, allowing it to overwrite arbitrary files on the client system during file transfer operations.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows a remote attacker controlling a malicious scp server to overwrite arbitrary files on the client system, potentially leading to privilege escalation, denial of service, or further compromise depending on the files overwritten.
If you can’t patch tonight, do this now.
Restrict use of scp to trusted servers only. Monitor and audit file transfers for suspicious activity. Consider using alternative file transfer mechanisms that are not vulnerable to this issue until a patch is applied.
Patch, then assume compromise.
Upgrade to a version of sshd where the scp client properly sanitizes file paths received from the server, preventing directory traversal attacks. Apply vendor patches addressing this issue.
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.