¡¾Îó²îͨ¸æ¡¿Spring Framework URLÆÊÎö²»µ±Îó²î£¨CVE-2024-22243£©
Ðû²¼Ê±¼ä 2024-02-23Ò»¡¢Îó²î¸ÅÊö
Îó²îÃû³Æ | Spring Framework URLÆÊÎö²»µ±Îó²î | ||
CVE ID | CVE-2024-22243 | ||
Îó²îÀàÐÍ | Öض¨Ïò¡¢SSRF | ·¢Ã÷ʱ¼ä | 2024-02-22 |
Îó²îÆÀ·Ö | ÔÝÎÞ | Îó²îÆ·¼¶ | ¸ßΣ |
¹¥»÷ÏòÁ¿ | ÍøÂç | ËùÐèȨÏÞ | ÎÞ |
ʹÓÃÄÑ¶È | µÍ | Óû§½»»¥ | ÊÇ |
PoC/EXP | δ¹ûÕæ | ÔÚҰʹÓà | δ·¢Ã÷ |
Spring Framework ÊÇÒ»¸ö¹¦Ð§Ç¿Ê¢µÄ Java Ó¦ÓóÌÐò¿ò¼Ü£¬Ö¼ÔÚÌṩ¸ßЧÇÒ¿ÉÀ©Õ¹µÄ¿ª·¢ÇéÐΡ£UriComponentsBuilderÊÇSpring Framework ÌṩµÄÒ»¸öÊÊÓù¤¾ßÀ࣬ÓÃÓÚ¹¹½¨ºÍ´¦Öóͷ£URI¡£
2024Äê2ÔÂ22ÈÕ£¬ÓÅ·¢¹ú¼ÊÍøÕ¾¹ÙÍøVSRC¼à²âµ½Spring FrameworkÖÐÐÞ¸´ÁËÒ»¸öURLÆÊÎö²»µ±Îó²î£¨CVE-2024-22243£©¡£
Spring FrameworkÊÜÓ°Ïì°æ±¾ÖУ¬ÓÉÓÚUriComponentsBuilderÖÐÔÚ´¦Öóͷ£URL ʱδ׼ȷ¹ýÂËÓû§ÐÅÏ¢Öеġ±\[¡°£¬¿ÉÄܵ¼ÖÂÍþвÕ߽ṹ¶ñÒâURLÈƹýÑéÖ¤¡£µ±Ó¦ÓóÌÐòʹÓÃUriComponentsBuilderÀ´ÆÊÎöÍⲿÌṩµÄURL£¨Èçͨ¹ýÅÌÎʲÎÊý£©²¢¶ÔÆÊÎöµÄURLµÄÖ÷»úÖ´ÐÐÑéÖ¤¼ì²éʱ¿ÉÄÜÈÝÒ×Êܵ½OpenÖض¨Ïò¹¥»÷ºÍSSRF¹¥»÷£¬µ¼ÖÂÍøÂç´¹ÂÚºÍÄÚ²¿ÍøÂç̽²âµÈ¡£
¶þ¡¢Ó°Ïì¹æÄ£
Spring Framework 6.1.0 - 6.1.3
Spring Framework 6.0.0 - 6.0.16
Spring Framework 5.3.0 - 5.3.31
ÒÔ¼°²»ÊÜÖ§³ÖµÄ¾É°æ±¾¡£
Èý¡¢Çå¾²²½·¥
3.1 Éý¼¶°æ±¾
ÏÖÔÚ¸ÃÎó²îÒѾÐÞ¸´£¬ÊÜÓ°ÏìÓû§¿ÉÉý¼¶µ½ÒÔÏ°汾£º
Spring Framework 6.1.x£ºÉý¼¶µ½ 6.1.4
Spring Framework 6.0.x£ºÉý¼¶µ½ 6.0.17
Spring Framework 5.3.x£ºÉý¼¶µ½ 5.3.32
ÏÂÔØÁ´½Ó£º
https://spring.io/projects/spring-framework
3.2 ÔÝʱ²½·¥
ÔÝÎÞ¡£
3.3 ͨÓý¨Òé
l °´ÆÚ¸üÐÂϵͳ²¹¶¡£¬ïÔÌϵͳÎó²î£¬ÌáÉý·þÎñÆ÷µÄÇå¾²ÐÔ¡£
l ÔöǿϵͳºÍÍøÂçµÄ»á¼û¿ØÖÆ£¬Ð޸ķÀ»ðǽսÂÔ£¬¹Ø±Õ·ÇÐëÒªµÄÓ¦Óö˿ڻò·þÎñ£¬ïÔ̽«Î£ÏÕ·þÎñ£¨ÈçSSH¡¢RDPµÈ£©Ì»Â¶µ½¹«Íø£¬ïÔ̹¥»÷Ãæ¡£
l ʹÓÃÆóÒµ¼¶Çå¾²²úÆ·£¬ÌáÉýÆóÒµµÄÍøÂçÇå¾²ÐÔÄÜ¡£
l ÔöǿϵͳÓû§ºÍȨÏÞÖÎÀí£¬ÆôÓöàÒòËØÈÏÖ¤»úÖƺÍ×îСȨÏÞÔÔò£¬Óû§ºÍÈí¼þȨÏÞÓ¦¼á³ÖÔÚ×îµÍÏ޶ȡ£
l ÆôÓÃÇ¿ÃÜÂëÕ½ÂÔ²¢ÉèÖÃΪ°´ÆÚÐ޸ġ£
3.4 ²Î¿¼Á´½Ó
https://spring.io/security/cve-2024-22243
https://github.com/spring-projects/spring-framework/commit/7ec5c994c147f0e168149498b1c9d4a249d69e87
ËÄ¡¢°æ±¾ÐÅÏ¢
°æ±¾ | ÈÕÆÚ | ±¸×¢ |
V1.0 | 2024-02-23 | Ê×´ÎÐû²¼ |
Îå¡¢¸½Â¼
5.1 ÓÅ·¢¹ú¼ÊÍøÕ¾¹ÙÍø¼ò½é
ÓÅ·¢¹ú¼ÊÍøÕ¾¹ÙÍø½¨ÉèÓÚ1996Ä꣬ÊÇÓÉÁôÃÀ²©Ê¿ÑÏÍû¼ÑŮʿ½¨ÉèµÄ¡¢ÓµÓÐÍêÈ«×ÔÖ÷֪ʶ²úȨµÄÐÅÏ¢Çå¾²¸ß¿Æ¼¼ÆóÒµ¡£ÊǺ£ÄÚ×î¾ßʵÁ¦µÄÐÅÏ¢Çå¾²²úÆ·¡¢Çå¾²·þÎñ½â¾ö¼Æ»®µÄÁ캽ÆóÒµÖ®Ò»¡£
¹«Ë¾×ܲ¿Î»ÓÚ±±¾©ÊÐÖйشåÈí¼þÔ°ÓÅ·¢¹ú¼ÊÍøÕ¾¹ÙÍø´óÏ㬹«Ë¾Ô±¹¤6000ÓàÈË£¬Ñз¢ÍŶÓ1200ÓàÈË, ÊÖÒÕ·þÎñÍŶÓ1300ÓàÈË¡£ÔÚÌìϸ÷Ê¡¡¢ÊС¢×ÔÖÎÇøÉèÁ¢·ÖÖ§»ú¹¹ÁùÊ®¶à¸ö£¬ÓµÓÐÁýÕÖÌìϵÄÏúÊÛϵͳ¡¢ÇþµÀϵͳºÍÊÖÒÕÖ§³Öϵͳ¡£¹«Ë¾ÓÚ2010Äê6ÔÂ23ÈÕÔÚÉîÛÚÖÐС°å¹ÒÅÆÉÏÊС££¨¹ÉƱ´úÂ룺002439£©
¶àÄêÀ´£¬ÓÅ·¢¹ú¼ÊÍøÕ¾¹ÙÍøÖÂÁ¦ÓÚÌṩ¾ßÓйú¼Ê¾ºÕùÁ¦µÄ×ÔÖ÷Á¢ÒìµÄÇå¾²²úÆ·ºÍ×î¼Ñʵ¼ù·þÎñ£¬×ÊÖú¿Í»§ÖÜÈ«ÌáÉýÆäIT»ù´¡ÉèÊ©µÄÇå¾²ÐÔºÍÉú²úЧÄÜ£¬Îª´òÔìºÍÌáÉý¹ú¼Ê»¯µÄÃñ×åÐÅÏ¢Çå¾²¹¤ÒµÁì¾üÆ·Åƶø²»Ð¸Æ𾢡£
5.2 ¹ØÓÚÓÅ·¢¹ú¼ÊÍøÕ¾¹ÙÍø
ÓÅ·¢¹ú¼ÊÍøÕ¾¹ÙÍøÇå¾²Ó¦¼±ÏìÓ¦ÖÐÐÄÒÑÐû²¼1000¶à¸öÎó²îͨ¸æºÍΣº¦Ô¤¾¯£¬ÎÒÃǽ«Ò»Á¬¸ú×ÙÈ«Çò×îеÄÍøÂçÇå¾²ÊÂÎñºÍÎó²î£¬ÎªÆóÒµµÄÐÅÏ¢Çå¾²±£¼Ý»¤º½¡£
¹Ø×¢ÎÒÃÇ£º