An issue was discovered in OpenSSH 7.9.
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- 2 on Exploit-DB
- Exploitation: poc
- Automatable: no
- Technical impact: partial
Summary
An issue was discovered in OpenSSH 7.9. Due to the scp implementation being derived from 1983 rcp, the server chooses which files/directories are sent to the client. However, the scp client only performs cursory validation of the object name returned (only directory traversal attacks are prevented). A malicious scp server (or Man-in-The-Middle attacker) can overwrite arbitrary files in the scp client target directory. If recursive operation (-r) is performed, the server can manipulate subdirectories as well (for example, to overwrite the .ssh/authorized_keys file).
Timeline
- Public exploit on Exploit-DB
EDB-46516, EDB-46193
- CVE published
- CISA SSVC assessment
Exploitation: poc · Automatable: no · Technical impact: partial
- Record last updated
- EPSS reached 10%
FIRST estimates at least a 10% chance of exploitation in the next 30 days
Affected versions
No affected packages have been listed by the sources.
References 25
debian.org
security.netapp.com
securityfocus.com
cvsweb.openbsd.org
bugzilla.redhat.com
security.gentoo.org
lists.debian.org
lists.fedoraproject.org
lists.apache.org
- thread.html/c45d9bc90700354b58fb7455962873c44229841880dcb64842fa7d23@<dev.mina.apache.org>
- thread.html/c7301cab36a86825359e1b725fc40304d1df56dc6d107c1fe885148b@<dev.mina.apache.org>
- thread.html/e47597433b351d6e01a5d68d610b4ba195743def9730e49561e8cf3f@<dev.mina.apache.org>
- thread.html/d540139359de999b0f1c87d05b715be4d7d4bec771e1ae55153c5c7a@<dev.mina.apache.org>