A vulnerability tracked as CVE-2024-31497 in PuTTY 0.68 through 0.80 could potentially allow attackers with access to 60 cryptographic signatures to recover the private key used for their generation. PuTTY is a popular open-source terminal emulator, serial console, and network file transfer application that supports SSH (Secure Shell), Telnet, SCP (Secure Copy Protocol), and SFTP (SSH File Transfer Protocol). System administrators and developers predominantly use the software to remotely access and manage servers and other networked devices over SSH from a Windows-based client. The vulnerability tracked as CVE-2024-31497 was discovered by Fabian Bäumer and Marcus Brinkmann of the Ruhr University Bochum and is caused by how PuTTY generates ECDSA nonces (temporary unique cryptographic numbers) for the NIST P-521 curve used for SSH authentication. Specifically, there's a bias due to PuTYY's use of a deterministic way to generate these numbers to compensate for the lack of a robust cryptographic random number generator on specific Windows versions. "PuTTY's technique worked by making a SHA-512 hash and then reducing it mod q, where q is the order of the group used in the DSA system. For integer DSA (for which PuTTY's technique was originally developed), q is about 160 bits; for elliptic-curve DSA (which came later), it has about the same number of bits as the curve modulus, so 256 or 384 or 521 bits for the NIST curves." "In all of those cases except P521, the bias introduced by...
PuTTY SSH client flaw allows recovery of cryptographic private keys
BleepingComputer
·Bill Toulas
·Published Apr 16, 2024
·Updated
Affected Software
13 affected components
Putty PuTTY=0.68
Putty PuTTY=0.69
Putty PuTTY=0.70
Putty PuTTY=0.71
Putty PuTTY=0.72
Putty PuTTY=0.73
Putty PuTTY=0.74
Putty PuTTY=0.75
Putty PuTTY=0.76
Putty PuTTY=0.77
Putty PuTTY=0.78
Putty PuTTY=0.79
Putty PuTTY=0.80