{"vuid":"VU#13877","idnumber":"13877","name":"Weak CRC allows packet injection into SSH sessions encrypted with block ciphers","keywords":["ssh","insertion attack","active attack","crc","crc32"],"overview":"There is an information integrity vulnerability in the SSH1 protocol that allows packets encrypted with a block cipher to be modified without notice.","clean_desc":"Preconditions: Attacker has a fragment of plaintext and its corresponding ciphertext. Attacker must be able to actively intercept a connection attempt or hijack an existing SSH session. Session is encrypted using a block cipher. Compression is disabled. SSH1 sessions that encrypt traffic with block ciphers in cipher feedback (CFB) mode are vulnerable to an attack similar to one described in VU#315308. However, if the attacker has additional information consisting of both a fragment of plaintext and its corresponding ciphertext, it is then possible to overcome the protection introduced by cipher feedback, thus allowing the attacker to modify any packet in the stream. As in VU#315308, this vulnerability is caused by inherent weaknesses in CRC checksums. For more details on these weaknesses, please see VU#25309. Also, it is important to note that this vulnerability also affects SSH1 sessions that use block ciphers in cipher block chaining (CBC) mode.","impact":"An attacker can modify arbitrary packets within an encrypted SSH session.","resolution":"Apply a patch from your vendor In June 1998, CORE-SDI released code to detect and block attacks exploiting this vulnerability. This code was subsequently incorporated into several SSH implementations, but it contained a flaw that introduced a remote integer overflow. For vendor-specific information regarding this vulnerability, please see the Systems Affected section of this document. For more information regarding the vulnerability introduced by previous attempts to patch this vulnerability, please see VU#945216.","workarounds":"","sysaffected":"","thanks":"This vulnerability was first published by CORE-SDI on June 11, 1998.","author":"This document was written by Jeffrey P. Lanza.","public":["http://www.cisco.com/warp/public/707/SSH-multiple-pub.html","http://www.corest.com/files/files/11/CRC32.pdf","http://www1.corest.com/common/showdoc.php?idx=131&idxseccion=10","http://www.kb.cert.org/vuls/id/25309","http://www.kb.cert.org/vuls/id/13877","http://www.kb.cert.org/vuls/id/945216","http://www.ssh.com/products/ssh/cert/"],"cveids":["CVE-1999-1085"],"certadvisory":"","uscerttechnicalalert":null,"datecreated":"1999-01-05T22:38:15Z","publicdate":"1998-06-11T00:00:00Z","datefirstpublished":"2001-11-07T00:08:01Z","dateupdated":"2003-05-20T00:25:05Z","revision":20,"vrda_d1_directreport":"","vrda_d1_population":"","vrda_d1_impact":"","cam_widelyknown":"15","cam_exploitation":"10","cam_internetinfrastructure":"14","cam_population":"13","cam_impact":"20","cam_easeofexploitation":"4","cam_attackeraccessrequired":"9","cam_scorecurrent":"6.8445","cam_scorecurrentwidelyknown":"7.722","cam_scorecurrentwidelyknownexploited":"9.477","ipprotocol":"","cvss_accessvector":"","cvss_accesscomplexity":"","cvss_authentication":null,"cvss_confidentialityimpact":"","cvss_integrityimpact":"","cvss_availabilityimpact":"","cvss_exploitablity":null,"cvss_remediationlevel":"","cvss_reportconfidence":"","cvss_collateraldamagepotential":"","cvss_targetdistribution":"","cvss_securityrequirementscr":"","cvss_securityrequirementsir":"","cvss_securityrequirementsar":"","cvss_basescore":"","cvss_basevector":"","cvss_temporalscore":"","cvss_environmentalscore":"","cvss_environmentalvector":"","metric":6.8445,"vulnote":null}