¡¾Îó²îͨ¸æ¡¿JetBrains IntelliJ IDEÐÅϢй¶Îó²î£¨CVE-2024-37051£©
Ðû²¼Ê±¼ä 2024-06-13Ò»¡¢Îó²î¸ÅÊö
Îó²îÃû³Æ | JetBrains IntelliJ IDEÐÅϢй¶Îó²î | ||
CVE ID | CVE-2024-37051 | ||
Îó²îÀàÐÍ | ÐÅϢй¶ | ·¢Ã÷ʱ¼ä | 2024-06-12 |
Îó²îÆÀ·Ö | 9.3 | Îó²îÆ·¼¶ | ¸ßΣ |
¹¥»÷ÏòÁ¿ | ÍøÂç | ËùÐèȨÏÞ | ÎÞ |
ʹÓÃÄÑ¶È | µÍ | Óû§½»»¥ | ÊÇ |
PoC/EXP | ÒѹûÕæ | ÔÚҰʹÓà | δ·¢Ã÷ |
JetBrains IntelliJ ÊÇÒ»¸ö¼¯³É¿ª·¢ÇéÐΣ¨IDE£©Æ½Ì¨£¬ÓÉ JetBrains ¹«Ë¾¿ª·¢²¢Î¬»¤£¬Ö§³ÖJava¡¢Kotlin¡¢Scala¡¢Groovy¡¢Python¡¢JavaScript¡¢TypeScript¡¢Go¡¢Rust µÈ¶àÖÖ±à³ÌÓïÑÔ¡£
2024Äê6ÔÂ12ÈÕ£¬ÓÅ·¢¹ú¼ÊÍøÕ¾¹ÙÍø¼¯ÍÅVSRC¼à²âµ½ JetBrains IntelliJ IDEÐÅϢй¶Îó²î£¨CVE-2024-37051£©µÄÎó²îϸ½Ú¼°PoC/EXPÔÚ»¥ÁªÍøÉϹûÕ棬¸ÃÎó²îµÄCVSSÆÀ·ÖΪ9.3¡£
JetBrains IntelliJƽ̨É쵀 JetBrains GitHub ²å¼þÖб£´æÎó²î£¬µ±ÔÚ IDEÖÐʹÓà GitHub ÀÈ¡ÇëÇó¹¦Ð§Ê±¿ÉÄܵ¼Ö½«»á¼ûÁîÅÆ̻¶¸øµÚÈý·½Ö÷»ú£¬µ¼ÖÂÃô¸ÐÐÅϢй¶¡£¸ÃÎó²îÓ°Ïì´Ó2023.1 ÆðÆôÓò¢ÉèÖÃ/ʹÓà JetBrains GitHub ²å¼þµÄËùÓлùÓÚIntelliJ µÄ¼¯³É¿ª·¢ÇéÐΡ£
¶þ¡¢Ó°Ïì¹æÄ£
IntelliJ IDE 2023.1¼°¸ü¸ß°æ±¾£¬ÆäÖÐÆôÓò¢ÉèÖÃÁËJetBrains GitHub ²å¼þ
Èý¡¢Çå¾²²½·¥
3.1 Éý¼¶°æ±¾
ÏÖÔÚJetBrainsÒÑÐÞ¸´¸ÃÎó²î£¬²¢ÐÞ²¹ÁËÒ×Êܹ¥»÷µÄ JetBrains GitHub ²å¼þ£¬²¢´ÓÆä¹Ù·½²å¼þÊг¡ÖÐɾ³ýÁËËùÓÐÒÔÇ°ÊÜÓ°ÏìµÄ°æ±¾£¬IntelliJ IDEµÄÍêÕûÐÞ¸´°æ±¾Áбí°üÀ¨£º
Aqua£º2024.1.2
CLion£º2023.1.7, 2023.2.4, 2023.3.5, 2024.1.3, 2024.2 EAP2
DataGrip£º2024.1.4
DataSpell£º2023.1.6, 2023.2.7, 2023.3.6, 2024.1.2
GoLand£º2023.1.6, 2023.2.7, 2023.3.7, 2024.1.3, 2024.2 EAP3
IntelliJ IDEA£º2023.1.7, 2023.2.7, 2023.3.7, 2024.1.3, 2024.2 EAP3
MPS£º2023.2.1, 2023.3.1, 2024.1 EAP2
PhpStorm£º2023.1.6, 2023.2.6, 2023.3.7, 2024.1.3, 2024.2 EAP3
PyCharm£º2023.1.6, 2023.2.7, 2023.3.6, 2024.1.3, 2024.2 EAP2
Rider£º2023.1.7, 2023.2.5, 2023.3.6, 2024.1.3
RubyMine£º2023.1.7, 2023.2.7, 2023.3.7, 2024.1.3, 2024.2 EAP4
RustRover£º2024.1.1
WebStorm£º2023.1.6, 2023.2.7, 2023.3.7, 2024.1.4
ÏÂÔØÁ´½Ó£º
https://www.jetbrains.com/
3.2 ÔÝʱ²½·¥
½¨Òé¸üе½IDEµÄ×îа汾¡£
±ðµÄ£¬ÈôÊÇÔÚ IDEÖÐʹÓà GitHub ÀÈ¡ÇëÇó¹¦Ð§£¬½¨Òé×÷·Ï²å¼þÕýÔÚʹÓõÄÈκΠGitHubÁîÅÆ¡£¼øÓڸòå¼þ¿ÉÒÔʹÓà OAuth ¼¯³É»òСÎÒ˽¼Ò»á¼ûÁîÅÆ (PAT)£¬Çë¼ì²éÁ½Õß²¢Æ¾Ö¤ÐèÒª×÷·Ï£º
OAuth ¼¯³ÉÉèÖãº×ªµ½Ó¦ÓóÌÐò¡ú ÊÚȨµÄ OAuth Ó¦ÓóÌÐò²¢×÷·ÏJetBrains IDE ¼¯³ÉÓ¦ÓóÌÐòµÄ»á¼ûȨÏÞ¡£
СÎÒ˽¼Ò»á¼ûÁîÅÆÉèÖ㺽øÈëTokensÒ³Ã棬ɾ³ýΪ²å¼þ½ÒÏþµÄÁîÅÆ¡£Ä¬ÈÏÁîÅÆÃû³ÆΪIntelliJ IDEA GitHub integration plugin£¬Ò²¿ÉÒÔʹÓÃ×Ô½ç˵Ãû³Æ¡£
×¢ÖØ£¬ÁîÅƱ»×÷·Ïºó£¬ÐèÒªÖØÐÂÉèÖòå¼þ£¬ÓÉÓÚËùÓвå¼þ¹¦Ð§£¨°üÀ¨ Git²Ù×÷£©¶¼½«×èÖ¹ÊÂÇé¡£±ðµÄ£¬ÓÉÓÚ»º½â²½·¥£¬¾É°æ±¾JetBrains IDEÖÐµÄ JetBrains GitHub ²å¼þ¿ÉÄÜÎÞ·¨ÔÙ°´Ô¤ÆÚÊÂÇé¡£
3.3 ͨÓý¨Òé
l °´ÆÚ¸üÐÂϵͳ²¹¶¡£¬ïÔÌϵͳÎó²î£¬ÌáÉý·þÎñÆ÷µÄÇå¾²ÐÔ¡£
l ÔöǿϵͳºÍÍøÂçµÄ»á¼û¿ØÖÆ£¬Ð޸ķÀ»ðǽսÂÔ£¬¹Ø±Õ·ÇÐëÒªµÄÓ¦Óö˿ڻò·þÎñ£¬ïÔ̽«Î£ÏÕ·þÎñ£¨ÈçSSH¡¢RDPµÈ£©Ì»Â¶µ½¹«Íø£¬ïÔ̹¥»÷Ãæ¡£
l ʹÓÃÆóÒµ¼¶Çå¾²²úÆ·£¬ÌáÉýÆóÒµµÄÍøÂçÇå¾²ÐÔÄÜ¡£
l ÔöǿϵͳÓû§ºÍȨÏÞÖÎÀí£¬ÆôÓöàÒòËØÈÏÖ¤»úÖƺÍ×îСȨÏÞÔÔò£¬Óû§ºÍÈí¼þȨÏÞÓ¦¼á³ÖÔÚ×îµÍÏ޶ȡ£
l ÆôÓÃÇ¿ÃÜÂëÕ½ÂÔ²¢ÉèÖÃΪ°´ÆÚÐ޸ġ£
3.4 ²Î¿¼Á´½Ó
https://blog.jetbrains.com/security/2024/06/updates-for-security-issue-affecting-intellij-based-ides-2023-1-and-github-plugin/
https://www.bleepingcomputer.com/news/security/jetbrains-warns-of-intellij-ide-bug-exposing-github-access-tokens/
ËÄ¡¢°æ±¾ÐÅÏ¢
°æ±¾ | ÈÕÆÚ | ±¸×¢ |
V1.0 | 2024-06-13 | Ê×´ÎÐû²¼ |
Îå¡¢¸½Â¼
5.1 ÓÅ·¢¹ú¼ÊÍøÕ¾¹ÙÍø¼ò½é
ÓÅ·¢¹ú¼ÊÍøÕ¾¹ÙÍø½¨ÉèÓÚ1996Ä꣬ÊÇÓÉÁôÃÀ²©Ê¿ÑÏÍû¼ÑŮʿ½¨ÉèµÄ¡¢ÓµÓÐÍêÈ«×ÔÖ÷֪ʶ²úȨµÄÐÅÏ¢Çå¾²¸ß¿Æ¼¼ÆóÒµ¡£ÊǺ£ÄÚ×î¾ßʵÁ¦µÄÐÅÏ¢Çå¾²²úÆ·¡¢Çå¾²·þÎñ½â¾ö¼Æ»®µÄÁ캽ÆóÒµÖ®Ò»¡£
¹«Ë¾×ܲ¿Î»ÓÚ±±¾©ÊÐÖйشåÈí¼þÔ°ÓÅ·¢¹ú¼ÊÍøÕ¾¹ÙÍø´óÏ㬹«Ë¾Ô±¹¤6000ÓàÈË£¬Ñз¢ÍŶÓ1200ÓàÈË, ÊÖÒÕ·þÎñÍŶÓ1300ÓàÈË¡£ÔÚÌìϸ÷Ê¡¡¢ÊС¢×ÔÖÎÇøÉèÁ¢·ÖÖ§»ú¹¹ÁùÊ®¶à¸ö£¬ÓµÓÐÁýÕÖÌìϵÄÏúÊÛϵͳ¡¢ÇþµÀϵͳºÍÊÖÒÕÖ§³Öϵͳ¡£¹«Ë¾ÓÚ2010Äê6ÔÂ23ÈÕÔÚÉîÛÚÖÐС°å¹ÒÅÆÉÏÊС££¨¹ÉƱ´úÂ룺002439£©
¶àÄêÀ´£¬ÓÅ·¢¹ú¼ÊÍøÕ¾¹ÙÍøÖÂÁ¦ÓÚÌṩ¾ßÓйú¼Ê¾ºÕùÁ¦µÄ×ÔÖ÷Á¢ÒìµÄÇå¾²²úÆ·ºÍ×î¼Ñʵ¼ù·þÎñ£¬×ÊÖú¿Í»§ÖÜÈ«ÌáÉýÆäIT»ù´¡ÉèÊ©µÄÇå¾²ÐÔºÍÉú²úЧÄÜ£¬Îª´òÔìºÍÌáÉý¹ú¼Ê»¯µÄÃñ×åÐÅÏ¢Çå¾²¹¤ÒµÁì¾üÆ·Åƶø²»Ð¸Æ𾢡£
5.2 ¹ØÓÚÓÅ·¢¹ú¼ÊÍøÕ¾¹ÙÍø
ÓÅ·¢¹ú¼ÊÍøÕ¾¹ÙÍøÇå¾²Ó¦¼±ÏìÓ¦ÖÐÐÄÒÑÐû²¼1000¶à¸öÎó²îͨ¸æºÍΣº¦Ô¤¾¯£¬ÎÒÃǽ«Ò»Á¬¸ú×ÙÈ«Çò×îеÄÍøÂçÇå¾²ÊÂÎñºÍÎó²î£¬ÎªÆóÒµµÄÐÅÏ¢Çå¾²±£¼Ý»¤º½¡£
¹Ø×¢ÎÒÃÇ£º