5.9 CVE-2023-48795
Patch Exploit
The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remote attackers to bypass integrity checks such that some packets are omitted (from the extension negotiation message), and a client and server may consequently end up with a connection for which some security features have been downgraded or disabled, aka a Terrapin attack. This occurs because the SSH Binary Packet Protocol (BPP), implemented by these extensions, mishandles the handshake phase and mishandles use of sequence numbers. For example, there is an effective attack against SSH's use of ChaCha20-Poly1305 (and CBC with Encrypt-then-MAC). The bypass occurs in chacha20-poly1305@openssh.com and (if CBC is used) the -etm@openssh.com MAC algorithms. This also affects Maverick Synergy Java SSH API before 3.1.0-SNAPSHOT, Dropbear through 2022.83, Ssh before 5.1.1 in Erlang/OTP, PuTTY before 0.80, AsyncSSH before 2.14.2, golang.org/x/crypto before 0.17.0, libssh before 0.10.6, libssh2 through 1.11.0, Thorn Tech SFTP Gateway before 3.4.6, Tera Term before 5.1, Paramiko before 3.4.0, jsch before 0.2.15, SFTPGo before 2.5.6, Netgate pfSense Plus through 23.09.1, Netgate pfSense CE through 2.7.2, HPN-SSH through 18.2.0, ProFTPD before 1.3.8b (and before 1.3.9rc2), ORYX CycloneSSH before 2.3.4, NetSarang XShell 7 before Build 0144, CrushFTP before 10.6.0, ConnectBot SSH library before 2.2.22, Apache MINA sshd through 2.11.0, sshj through 0.37.0, TinySSH through 20230101, trilead-ssh2 6401, LANCOM LCOS and LANconfig, FileZilla before 3.66.4, Nova before 11.8, PKIX-SSH before 14.4, SecureCRT before 9.4.3, Transmit5 before 5.10.4, Win32-OpenSSH before 9.5.0.0p1-Beta, WinSCP before 6.2.2, Bitvise SSH Server before 9.32, Bitvise SSH Client before 9.33, KiTTY through 0.76.1.13, the net-ssh gem 7.2.0 for Ruby, the mscdex ssh2 module before 1.15.0 for Node.js, the thrussh library before 0.35.1 for Rust, and the Russh crate before 0.40.2 for Rust.
https://nvd.nist.gov/vuln/detail/CVE-2023-48795
Categories
CWE-354 : Improper Validation of Integrity Check Value
Improper validation of checksums before use results in an unnecessary risk that can easily be mitigated. The protocol specification describes the algorithm used for calculating the checksum. It is then a simple matter of implementing the calculation and verifying that the calculated checksum and the received checksum match. Improper verification of the calculated checksum and the received checksum can lead to far greater consequences.
References
af854a3a-2127-422b-91ae-364da2661108 Patch Exploit
cve@mitre.org Patch Exploit
CPE
cpe | start | end |
---|---|---|
Configuration 1 | ||
cpe:2.3:a:openbsd:openssh:*:*:*:*:*:*:*:* | < 9.6 | |
Configuration 2 | ||
cpe:2.3:a:putty:putty:*:*:*:*:*:*:*:* | < 0.80 | |
Configuration 3 | ||
cpe:2.3:a:filezilla-project:filezilla_client:*:*:*:*:*:*:*:* | < 3.66.4 | |
Configuration 4 | ||
cpe:2.3:a:microsoft:powershell:*:*:*:*:*:*:*:* | <= 11.1.0 | |
Configuration 5 | ||
AND | ||
OR | ||
cpe:2.3:o:apple:macos:-:*:*:*:*:*:*:* | ||
OR | ||
cpe:2.3:a:panic:transmit_5:*:*:*:*:*:*:*:* | < 5.10.4 | |
Configuration 6 | ||
AND | ||
OR | ||
cpe:2.3:o:apple:macos:-:*:*:*:*:*:*:* | ||
OR | ||
cpe:2.3:a:panic:nova:*:*:*:*:*:*:*:* | < 11.8 | |
Configuration 7 | ||
cpe:2.3:a:roumenpetrov:pkixssh:*:*:*:*:*:*:*:* | < 14.4 | |
Configuration 8 | ||
cpe:2.3:a:winscp:winscp:*:*:*:*:*:*:*:* | < 6.2.2 | |
Configuration 9 | ||
cpe:2.3:a:bitvise:ssh_client:*:*:*:*:*:*:*:* | < 9.33 | |
Configuration 10 | ||
cpe:2.3:a:bitvise:ssh_server:*:*:*:*:*:*:*:* | < 9.32 | |
Configuration 11 | ||
cpe:2.3:o:lancom-systems:lcos:*:*:*:*:*:*:*:* | <= 3.66.4 | |
Configuration 12 | ||
cpe:2.3:o:lancom-systems:lcos_fx:-:*:*:*:*:*:*:* | ||
Configuration 13 | ||
cpe:2.3:o:lancom-systems:lcos_lx:-:*:*:*:*:*:*:* | ||
Configuration 14 | ||
cpe:2.3:o:lancom-systems:lcos_sx:4.20:*:*:*:*:*:*:* | ||
cpe:2.3:o:lancom-systems:lcos_sx:5.20:*:*:*:*:*:*:* | ||
Configuration 15 | ||
cpe:2.3:o:lancom-systems:lanconfig:-:*:*:*:*:*:*:* | ||
Configuration 16 | ||
cpe:2.3:a:vandyke:securecrt:*:*:*:*:*:*:*:* | < 9.4.3 | |
Configuration 17 | ||
cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:* | < 0.10.6 | |
Configuration 18 | ||
cpe:2.3:a:net-ssh:net-ssh:7.2.0:*:*:*:*:ruby:*:* | ||
Configuration 19 | ||
cpe:2.3:a:ssh2_project:ssh2:*:*:*:*:*:node.js:*:* | <= 1.11.0 | |
Configuration 20 | ||
cpe:2.3:a:proftpd:proftpd:*:*:*:*:*:*:*:* | <= 1.3.8b | |
Configuration 21 | ||
cpe:2.3:o:freebsd:freebsd:*:*:*:*:*:*:*:* | <= 12.4 | |
Configuration 22 | ||
cpe:2.3:a:crates:thrussh:*:*:*:*:*:*:*:* | < 0.35.1 | |
Configuration 23 | ||
cpe:2.3:a:tera_term_project:tera_term:*:*:*:*:*:*:*:* | <= 5.1 | |
Configuration 24 | ||
cpe:2.3:a:oryx-embedded:cyclone_ssh:*:*:*:*:*:*:*:* | < 2.3.4 | |
Configuration 25 | ||
cpe:2.3:a:crushftp:crushftp:*:*:*:*:*:*:*:* | <= 10.6.0 | |
Configuration 26 | ||
cpe:2.3:a:netsarang:xshell_7:*:*:*:*:*:*:*:* | < build__0144 | |
Configuration 27 | ||
cpe:2.3:a:paramiko:paramiko:*:*:*:*:*:*:*:* | < 3.4.0 | |
Configuration 28 | ||
cpe:2.3:a:redhat:openshift_container_platform:4.0:*:*:*:*:*:*:* | ||
Configuration 29 | ||
cpe:2.3:a:redhat:openstack_platform:16.1:*:*:*:*:*:*:* | ||
cpe:2.3:a:redhat:openstack_platform:16.2:*:*:*:*:*:*:* | ||
cpe:2.3:a:redhat:openstack_platform:17.1:*:*:*:*:*:*:* | ||
Configuration 30 | ||
cpe:2.3:a:redhat:ceph_storage:6.0:*:*:*:*:*:*:* | ||
Configuration 31 | ||
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* | ||
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* | ||
Configuration 32 | ||
cpe:2.3:a:redhat:openshift_serverless:-:*:*:*:*:*:*:* | ||
Configuration 33 | ||
cpe:2.3:a:redhat:openshift_gitops:-:*:*:*:*:*:*:* | ||
Configuration 34 | ||
cpe:2.3:a:redhat:openshift_pipelines:-:*:*:*:*:*:*:* | ||
Configuration 35 | ||
cpe:2.3:a:redhat:openshift_developer_tools_and_services:-:*:*:*:*:*:*:* | ||
Configuration 36 | ||
cpe:2.3:a:redhat:openshift_data_foundation:4.0:*:*:*:*:*:*:* | ||
Configuration 37 | ||
cpe:2.3:a:redhat:openshift_api_for_data_protection:-:*:*:*:*:*:*:* | ||
Configuration 38 | ||
cpe:2.3:a:redhat:openshift_virtualization:4:*:*:*:*:*:*:* | ||
Configuration 39 | ||
cpe:2.3:a:redhat:storage:3.0:*:*:*:*:*:*:* | ||
Configuration 40 | ||
cpe:2.3:a:redhat:discovery:-:*:*:*:*:*:*:* | ||
Configuration 41 | ||
cpe:2.3:a:redhat:openshift_dev_spaces:-:*:*:*:*:*:*:* | ||
Configuration 42 | ||
cpe:2.3:a:redhat:cert-manager_operator_for_red_hat_openshift:-:*:*:*:*:*:*:* | ||
Configuration 43 | ||
cpe:2.3:a:redhat:keycloak:-:*:*:*:*:*:*:* | ||
Configuration 44 | ||
cpe:2.3:a:redhat:jboss_enterprise_application_platform:7.0:*:*:*:*:*:*:* | ||
Configuration 45 | ||
cpe:2.3:a:redhat:single_sign-on:7.0:*:*:*:*:*:*:* | ||
Configuration 46 | ||
cpe:2.3:a:redhat:advanced_cluster_security:3.0:*:*:*:*:*:*:* | ||
cpe:2.3:a:redhat:advanced_cluster_security:4.0:*:*:*:*:*:*:* | ||
Configuration 47 | ||
cpe:2.3:a:golang:crypto:*:*:*:*:*:*:*:* | < 0.17.0 | |
Configuration 48 | ||
cpe:2.3:a:russh_project:russh:*:*:*:*:*:rust:*:* | < 0.40.2 | |
Configuration 49 | ||
cpe:2.3:a:sftpgo_project:sftpgo:*:*:*:*:*:*:*:* | < 2.5.6 | |
Configuration 50 | ||
cpe:2.3:a:erlang:erlang/otp:*:*:*:*:*:*:*:* | < 26.2.1 | |
Configuration 51 | ||
cpe:2.3:a:matez:jsch:*:*:*:*:*:*:*:* | < 0.2.15 | |
Configuration 52 | ||
cpe:2.3:a:libssh2:libssh2:*:*:*:*:*:*:*:* | < 1.11.1 | |
Configuration 53 | ||
cpe:2.3:a:asyncssh_project:asyncssh:*:*:*:*:*:*:*:* | < 2.14.2 | |
Configuration 54 | ||
cpe:2.3:a:dropbear_ssh_project:dropbear_ssh:*:*:*:*:*:*:*:* | < 2022.83 | |
Configuration 55 | ||
cpe:2.3:a:jadaptive:maverick_synergy_java_ssh_api:*:*:*:*:*:*:*:* | < 3.1.0-snapshot | |
Configuration 56 | ||
cpe:2.3:a:ssh:ssh:*:*:*:*:*:*:*:* | < 5.11 | |
Configuration 57 | ||
cpe:2.3:o:thorntech:sftp_gateway_firmware:*:*:*:*:*:*:*:* | < 3.4.6 | |
Configuration 58 | ||
cpe:2.3:a:netgate:pfsense_plus:*:*:*:*:*:*:*:* | <= 23.09.1 | |
Configuration 59 | ||
cpe:2.3:a:netgate:pfsense_ce:*:*:*:*:*:*:*:* | <= 2.7.2 | |
Configuration 60 | ||
cpe:2.3:a:crushftp:crushftp:*:*:*:*:*:*:*:* | < 10.6.0 | |
Configuration 61 | ||
cpe:2.3:a:connectbot:sshlib:*:*:*:*:*:*:*:* | < 2.2.22 | |
Configuration 62 | ||
cpe:2.3:a:apache:sshd:*:*:*:*:*:*:*:* | <= 2.11.0 | |
Configuration 63 | ||
cpe:2.3:a:apache:sshj:*:*:*:*:*:*:*:* | <= 0.37.0 | |
Configuration 64 | ||
cpe:2.3:a:tinyssh:tinyssh:*:*:*:*:*:*:*:* | <= 20230101 | |
Configuration 65 | ||
cpe:2.3:a:trilead:ssh2:6401:*:*:*:*:*:*:* | ||
Configuration 66 | ||
cpe:2.3:a:9bis:kitty:*:*:*:*:*:*:*:* | <= 0.76.1.13 | |
Configuration 67 | ||
AND | ||
cpe:2.3:a:gentoo:security:-:*:*:*:*:*:*:* | ||
Running on/with | ||
cpe:2.3:o:debian:debian_linux:-:*:*:*:*:*:*:* | ||
Configuration 68 | ||
cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:* | ||
cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:* | ||
Configuration 69 | ||
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* | ||
Configuration 70 | ||
cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:* | >= 14.0 | < 14.4 |
REMEDIATION
Patch
EXPLOITS
Exploit-db.com
id | description | date | |
---|---|---|---|
No known exploits |
POC Github
Url |
---|
No known exploits |
Other Nist (github, ...)
Url |
---|
https://www.terrapin-attack.com |
https://www.terrapin-attack.com |
CAPEC
Common Attack Pattern Enumerations and Classifications
id | description | severity |
---|---|---|
145 | Checksum Spoofing |
Medium |
463 | Padding Oracle Crypto Attack |
High |
75 | Manipulating Writeable Configuration Files |
Very High |
Cybersecurity needs ?
Strengthen software security from the outset with our DevSecOps expertise
Integrate security right from the start of the software development cycle for more robust applications and greater customer confidence.
Our team of DevSecOps experts can help you secure your APIs, data pipelines, CI/CD chains, Docker containers and Kubernetes deployments.