¡¾Îó²îͨ¸æ¡¿PuTTYÃÜÔ¿»Ö¸´Îó²î£¨CVE-2024-31497£©

Ðû²¼Ê±¼ä 2024-04-17

 

Ò»¡¢Îó²î¸ÅÊö

Îó²îÃû³Æ

 PuTTYÃÜÔ¿»Ö¸´Îó²î

CVE   ID

CVE-2024-31497

Îó²îÀàÐÍ

ÐÅϢй¶

·¢Ã÷ʱ¼ä

2024-04-17

Îó²îÆÀ·Ö

ÔÝÎÞ

Îó²îÆ·¼¶

¸ßΣ

¹¥»÷ÏòÁ¿

ÍøÂç

ËùÐèȨÏÞ

ÎÞ

ʹÓÃÄѶÈ

¸ß

Óû§½»»¥

ÎÞ

PoC/EXP

δ¹ûÕæ

ÔÚҰʹÓÃ

δ·¢Ã÷

 

PuTTY ÊÇÒ»ÖÖÊ¢ÐеĿªÔ´Öն˷ÂÕæÆ÷¡¢´®ÐпØÖÆ̨ºÍÍøÂçÎļþ´«ÊäÓ¦ÓóÌÐò£¬Ö§³Ö SSH¡¢Telnet¡¢SCPºÍSFTPµÈЭÒ飬¿ÉʹÓøÃÈí¼þͨ¹ýSSHÔ¶³Ì»á¼ûºÍÖÎÀí·þÎñÆ÷ºÍÆäËûÍøÂç×°±¸¡£

2024Äê4ÔÂ17ÈÕ£¬ÓÅ·¢¹ú¼ÊÍøÕ¾¹ÙÍøVSRC¼à²âµ½PuTTYÖб£´æÒ»¸öÃÜÔ¿»Ö¸´Îó²î£¨CVE-2024-31497£©¡£

PuTTY °æ±¾0.68 - 0.80ÖÐʹÓÃNIST P521ÇúÏßµÄECDSA˽ԿÌìÉúÊðÃûµÄ´úÂëÖб£´æÎó²î£¨µ±Ê¹ÓÃPuTTY»òPageant¶ÔSSH·þÎñÆ÷¾ÙÐÐÉí·ÝÑé֤ʱ£¬Ëü»áƾ֤ÃÜÔ¿ÌìÉúÊðÃû£©£¬»ñµÃÔ¼60ÌõÊðÃûÐÂÎź͹«Ô¿µÄÍþвÕß¿ÉÄָܻ´Óû§µÄNIST P-521˽Կ£¬È»ºóαÔìÊðÃû£¬µÇ¼ʹÓøÃÃÜÔ¿µÄÈκηþÎñÆ÷£¬µ¼ÖÂÐÅϢй¶ºÍδÊÚȨ»á¼ûSSH·þÎñÆ÷µÈ¡£

 

¶þ¡¢Ó°Ïì¹æÄ£

PuTTY°æ±¾ 0.68 - 0.80

×¢£º¸ÃÎó²î³ýÁËÓ°Ïì PuTTY Ö®Í⣬ÒÔÏ£¨·×Æ綨ÍêÕû£©²úÆ·ÁбíÀ¦°óÁËÊÜÓ°ÏìµÄ PuTTY °æ±¾£¬Òò´ËÒ²ÈÝÒ×Êܵ½¹¥»÷£º

FileZilla 3.24.1 - 3.66.5

WinSCP 5.9.5 - 6.3.2

TortoiseGit 2.4.0.2 - 2.15.0

TortoiseSVN 1.10.0 - 1.14.6

 


Èý¡¢Çå¾²²½·¥

3.1 Éý¼¶°æ±¾

ÏÖÔÚ¸ÃÎó²îÒѾ­ÐÞ¸´£¬ÊÜÓ°ÏìÓû§¿ÉÉý¼¶µ½ÒÔÏ°汾£º

PuTTY 0.81

FileZilla 3.67.0

WinSCP 6.3.3

TortoiseGit 2.15.0.1

½¨Òé TortoiseSVN Óû§ÔÚͨ¹ý SSH »á¼û SVN °æ±¾¿âʱ£¬ÉèÖà TortoiseSVN ʹÓÃ×îРPuTTY 0.81 °æ±¾µÄ Plink£¬Ö±µ½²¹¶¡¿ÉÓá£

ÏÂÔØÁ´½Ó£º

https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html

3.2 ÔÝʱ²½·¥

ΨһÊÜÓ°ÏìµÄÃÜÔ¿ÀàÐÍÊÇ521λECDSA(ecdsa-sha2-nistp521)¡£Ò²¾ÍÊÇ˵£¬ÔÚWindows PuTTYgenÖУ¬ÔÚ¡°Key fingerprint¡±¿òµÄ¿ªÍ··ºÆðÒ»¸ö´øÓÐecdsa-sha2-nistp521µÄÃÜÔ¿£¬»òÕßÔÚ¼ÓÔص½Windows Pageantʱ±»ÐÎòΪ¡°NIST p521¡±£¬»òÔÚ SSHЭÒé»òÃÜÔ¿ÎļþÖеÄID¿ªÍ·Îª ecdsa-sha2-nistp521¡£ÆäËû¾ÞϸµÄECDSAºÍÆäËûÒªº¦Ëã·¨²»ÊÜÓ°Ïì¡£

ÈôÊÇÓµÓÐÕâÖÖÀàÐ͵ÄÃÜÔ¿£¬½¨ÒéÁ¬Ã¦×÷·ÏËü£º´ÓËùÓÐ OpenSSH authorized_keys ÎļþºÍÆäËûSSH·þÎñÆ÷ÖеÄÏìÓ¦ÎļþÖÐɾ³ý¾ÉµÄ¹«Ô¿£¬ÕâÑù±»ÆÆËðµÄÃÜÔ¿µÄÊðÃû¾ÍûÓÐÈκμÛÖµÁË¡£È»ºóÌìÉúÒ»¸öеÄÃÜÔ¿¶ÔÀ´Ìæ»»Ëü¡£

3.3 ͨÓý¨Òé

l  °´ÆÚ¸üÐÂϵͳ²¹¶¡£¬ïÔ̭ϵͳÎó²î£¬ÌáÉý·þÎñÆ÷µÄÇå¾²ÐÔ¡£

l  ÔöǿϵͳºÍÍøÂçµÄ»á¼û¿ØÖÆ£¬Ð޸ķÀ»ðǽսÂÔ£¬¹Ø±Õ·ÇÐëÒªµÄÓ¦Óö˿ڻò·þÎñ£¬ïÔÌ­½«Î£ÏÕ·þÎñ£¨ÈçSSH¡¢RDPµÈ£©Ì»Â¶µ½¹«Íø£¬ïÔÌ­¹¥»÷Ãæ¡£

l  ʹÓÃÆóÒµ¼¶Çå¾²²úÆ·£¬ÌáÉýÆóÒµµÄÍøÂçÇå¾²ÐÔÄÜ¡£

l  ÔöǿϵͳÓû§ºÍȨÏÞÖÎÀí£¬ÆôÓöàÒòËØÈÏÖ¤»úÖƺÍ×îСȨÏÞÔ­Ôò£¬Óû§ºÍÈí¼þȨÏÞÓ¦¼á³ÖÔÚ×îµÍÏ޶ȡ£

l  ÆôÓÃÇ¿ÃÜÂëÕ½ÂÔ²¢ÉèÖÃΪ°´ÆÚÐ޸ġ£

3.4 ²Î¿¼Á´½Ó

https://www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/vuln-p521-bias.html

https://seclists.org/oss-sec/2024/q2/122

https://www.openwall.com/lists/oss-security/2024/04/15/6

 

 

ËÄ¡¢°æ±¾ÐÅÏ¢

°æ±¾

ÈÕÆÚ

±¸×¢

V1.0

2024-04-17

Ê×´ÎÐû²¼

 

 

  

Îå¡¢¸½Â¼

5.1 ÓÅ·¢¹ú¼ÊÍøÕ¾¹ÙÍø¼ò½é

ÓÅ·¢¹ú¼ÊÍøÕ¾¹ÙÍø½¨ÉèÓÚ1996Ä꣬ÊÇÓÉÁôÃÀ²©Ê¿ÑÏÍû¼ÑŮʿ½¨ÉèµÄ¡¢ÓµÓÐÍêÈ«×ÔÖ÷֪ʶ²úȨµÄÐÅÏ¢Çå¾²¸ß¿Æ¼¼ÆóÒµ¡£ÊǺ£ÄÚ×î¾ßʵÁ¦µÄÐÅÏ¢Çå¾²²úÆ·¡¢Çå¾²·þÎñ½â¾ö¼Æ»®µÄÁ캽ÆóÒµÖ®Ò»¡£

¹«Ë¾×ܲ¿Î»ÓÚ±±¾©ÊÐÖйشåÈí¼þÔ°ÓÅ·¢¹ú¼ÊÍøÕ¾¹ÙÍø´óÏ㬹«Ë¾Ô±¹¤6000ÓàÈË£¬Ñз¢ÍŶÓ1200ÓàÈË, ÊÖÒÕ·þÎñÍŶÓ1300ÓàÈË¡£ÔÚÌìϸ÷Ê¡¡¢ÊС¢×ÔÖÎÇøÉèÁ¢·ÖÖ§»ú¹¹ÁùÊ®¶à¸ö£¬ÓµÓÐÁýÕÖÌìϵÄÏúÊÛϵͳ¡¢ÇþµÀϵͳºÍÊÖÒÕÖ§³Öϵͳ¡£¹«Ë¾ÓÚ2010Äê6ÔÂ23ÈÕÔÚÉîÛÚÖÐС°å¹ÒÅÆÉÏÊС££¨¹ÉƱ´úÂ룺002439£©

¶àÄêÀ´£¬ÓÅ·¢¹ú¼ÊÍøÕ¾¹ÙÍøÖÂÁ¦ÓÚÌṩ¾ßÓйú¼Ê¾ºÕùÁ¦µÄ×ÔÖ÷Á¢ÒìµÄÇå¾²²úÆ·ºÍ×î¼Ñʵ¼ù·þÎñ£¬×ÊÖú¿Í»§ÖÜÈ«ÌáÉýÆäIT»ù´¡ÉèÊ©µÄÇå¾²ÐÔºÍÉú²úЧÄÜ£¬Îª´òÔìºÍÌáÉý¹ú¼Ê»¯µÄÃñ×åÐÅÏ¢Çå¾²¹¤ÒµÁì¾üÆ·Åƶø²»Ð¸Æ𾢡£

5.2 ¹ØÓÚÓÅ·¢¹ú¼ÊÍøÕ¾¹ÙÍø

ÓÅ·¢¹ú¼ÊÍøÕ¾¹ÙÍøÇå¾²Ó¦¼±ÏìÓ¦ÖÐÐÄÒÑÐû²¼1000¶à¸öÎó²îͨ¸æºÍΣº¦Ô¤¾¯£¬ÎÒÃǽ«Ò»Á¬¸ú×ÙÈ«Çò×îеÄÍøÂçÇå¾²ÊÂÎñºÍÎó²î£¬ÎªÆóÒµµÄÐÅÏ¢Çå¾²±£¼Ý»¤º½¡£

¹Ø×¢ÎÒÃÇ£º

image.png