Command Injection Vulnerability in OpenSSH's SCP Function
CVE-2020-15778
Key Information:
Timeline
Exploit known 1160 days after it was published
- ๐ก
Public PoC available
- ๐พ
Exploit known to exist
Vulnerability published
Vulnerability Reserved
Badges
How risky is it?
- No: Needs adjacent network access
- Yes: Public exploit code (3 proof-of-concepts)
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Patch this week
Exploitation is likely. Prioritise the fix.
What to do
1Check the vendor's fix
No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.
Read the vendor advisory โ2Look for signs of compromise
Exploit code is public, so check logs on exposed Openssh systems for unusual requests or new processes from before you patched. The 3 public proof-of-concepts show what an attack looks like.
3Why it's rated "Patch this week"
- Exploit code is public, so attacks are easy to copy.
- EPSS gives it a 13.6% chance of exploitation in the next 30 days.
- Its CVSS severity is high (7.4).
What is CVE-2020-15778?
A vulnerability in OpenSSH's SCP functionality allows attackers to perform command injection through the handling of destination arguments. Specifically, the issue arises in the scp.c toremote function, where the use of backtick characters in the destination string can lead to arbitrary command execution. The vendor has acknowledged that they intentionally omit validation of 'anomalous argument transfers' to maintain existing workflows, potentially exposing users to unwanted risks. This situation highlights a significant security concern, emphasizing the need for thorough validation in command handling within network services.
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
References
More OpenBSD Vulnerabilities
Password Authentication Bypass in OpenSSH on Linux Systems Using Musl libc
Vulnerability in OpenSSH
Vulnerability in OpenSSH
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities ยท Report a correction