¡¾Îó²îͨ¸æ¡¿Oracle WebLogic Server JNDI×¢ÈëÎó²î£¨CVE-2024-20931£©
Ðû²¼Ê±¼ä 2024-02-19Ò»¡¢Îó²î¸ÅÊö
Îó²îÃû³Æ | Oracle WebLogic Server JNDI×¢ÈëÎó²î | ||
CVE ID | CVE-2024-20931 | ||
Îó²îÀàÐÍ | ´úÂëÖ´ÐÐ | ·¢Ã÷ʱ¼ä | 2024-01-17 |
Îó²îÆÀ·Ö | 7.5 | Îó²îÆ·¼¶ | ¸ßΣ |
¹¥»÷ÏòÁ¿ | ÍøÂç | ËùÐèȨÏÞ | ÎÞ |
ʹÓÃÄÑ¶È | µÍ | Óû§½»»¥ | ÎÞ |
PoC/EXP | ÒѹûÕæ | ÔÚҰʹÓà | δ֪ |
WebLogicÊÇOracle¹«Ë¾Ñз¢µÄÓÃÓÚ¿ª·¢¡¢¼¯³É¡¢°²ÅźÍÖÎÀí´óÐÍÂþÑÜʽWebÓ¦Óá¢ÍøÂçÓ¦ÓúÍÊý¾Ý¿âÓ¦ÓõÄJavaÓ¦Ó÷þÎñÆ÷£¬ÔÚÈ«Çò¹æÄ£ÄÚ±»ÆÕ±éʹÓá£
¿ËÈÕ£¬ÓÅ·¢¹ú¼ÊÍøÕ¾¹ÙÍøVSRC¼à²âµ½Oracle WebLogic Server JNDI×¢ÈëÎó²î£¨CVE-2024-20931£©µÄÎó²îϸ½Ú¼°PoCÔÚ»¥ÁªÍøÉϹûÕ棬¸ÃÎó²îÒÑÔÚOracle 1ÔÂÐû²¼µÄ²¹¶¡ÖÐÐÞ¸´¡£
¸ÃÎó²îΪCVE-2023-21839µÄ²¹¶¡Èƹý£¬Î´¾Éí·ÝÑéÖ¤µÄÍþвÕß¿Éͨ¹ý T3¡¢IIOP ¾ÙÐÐÍøÂç»á¼ûÀ´ÆÆËð Oracle WebLogic Server£¬ÀÖ³ÉʹÓøÃÎó²î¿ÉÄܵ¼ÖÂOracle WebLogic Server±»½ÓÊÜ»òδÊÚȨ»á¼û¡£
¶þ¡¢Ó°Ïì¹æÄ£
ÊÜÓ°ÏìµÄÖ§³Ö°æ±¾°üÀ¨£º
Oracle WebLogic Server 12.2.1.4.0
Oracle WebLogic Server 14.1.1.0.0
Èý¡¢Çå¾²²½·¥
3.1 Éý¼¶°æ±¾
¸ÃÎó²îÒÑÔÚOracle 1ÔÂÐû²¼µÄ²¹¶¡ÜöÝÍÖÐÐÞ¸´£¬ÊÜÓ°ÏìÓû§¿ÉʵʱӦÓò¹¶¡¡£
²Î¿¼Á´½Ó£º
https://www.oracle.com/security-alerts/cpujan2024.html
3.2 ÔÝʱ²½·¥
Èç·ÇÐëÒª£¬¿ÉÒÔÑ¡Ôñ½ûÓÃT3 ÐÒé¡¢IIOPÐÒé¡£
½ûÓÃT3ÐÒ飺
1£©½øÈëWebLogic¿ØÖÆ̨£¬ÔÚbase_domainµÄÉèÖÃÒ³ÃæÖУ¬½øÈë¡°Çå¾²¡±Ñ¡ÏҳÃ棬µã»÷¡°É¸Ñ¡Æ÷¡±£¬½øÈëÅþÁ¬É¸Ñ¡Æ÷ÉèÖá£
2) ÔÚÅþÁ¬É¸Ñ¡Æ÷ÖÐÊäÈ룺weblogic.security.net.ConnectionFilterImpl
ÔÚÅþÁ¬É¸Ñ¡Æ÷¹æÔòÖÐÊäÈ룺
127.0.0.1 * * allow t3 t3s
0.0.0.0/0 * * deny t3 t3s £¨×¢£ºt3ºÍt3sÐÒéµÄËùÓж˿ÚÖ»ÔÊÐíÍâµØ»á¼û£©¡£
3£©ÉúÑĺóÐèÖØÐÂÆô¶¯£¬¹æÔò·½¿ÉÉúЧ¡£
½ûÓÃIIOPÐÒ飺
ÔÚWebLogic¿ØÖÆ̨ÖУ¬Ñ¡Ôñ¡¾ÇéÐΡ¿>>¡¾·þÎñÆ÷¡¿>>µã»÷¡¾AdminServer£¨ÖÎÀí£©¡¿>>¡¾ÐÒé¡¿>>¡¾IIOP¡¿£¬×÷·Ï¹´Ñ¡¡°ÆôÓÃIIOP¡±£¬ÉúÑIJ¢ÖØÆôWebLogicÏîÄ¿¡£
3.3 ͨÓý¨Òé
l °´ÆÚ¸üÐÂϵͳ²¹¶¡£¬ïÔÌϵͳÎó²î£¬ÌáÉý·þÎñÆ÷µÄÇå¾²ÐÔ¡£
l ÔöǿϵͳºÍÍøÂçµÄ»á¼û¿ØÖÆ£¬Ð޸ķÀ»ðǽսÂÔ£¬¹Ø±Õ·ÇÐëÒªµÄÓ¦Óö˿ڻò·þÎñ£¬ïÔ̽«Î£ÏÕ·þÎñ£¨ÈçSSH¡¢RDPµÈ£©Ì»Â¶µ½¹«Íø£¬ïÔ̹¥»÷Ãæ¡£
l ʹÓÃÆóÒµ¼¶Çå¾²²úÆ·£¬ÌáÉýÆóÒµµÄÍøÂçÇå¾²ÐÔÄÜ¡£
l ÔöǿϵͳÓû§ºÍȨÏÞÖÎÀí£¬ÆôÓöàÒòËØÈÏÖ¤»úÖƺÍ×îСȨÏÞÔÔò£¬Óû§ºÍÈí¼þȨÏÞÓ¦¼á³ÖÔÚ×îµÍÏ޶ȡ£
l ÆôÓÃÇ¿ÃÜÂëÕ½ÂÔ²¢ÉèÖÃΪ°´ÆÚÐ޸ġ£
3.4 ²Î¿¼Á´½Ó
https://www.oracle.com/security-alerts/cpujan2024.html
https://glassyamadeus.github.io/2024/01/31/CVE_2024_20931/
https://nvd.nist.gov/vuln/detail/CVE-2024-20931
ËÄ¡¢°æ±¾ÐÅÏ¢
°æ±¾ | ÈÕÆÚ | ±¸×¢ |
V1.0 | 2024-02-19 | Ê×´ÎÐû²¼ |
Îå¡¢¸½Â¼
5.1 ÓÅ·¢¹ú¼ÊÍøÕ¾¹ÙÍø¼ò½é
ÓÅ·¢¹ú¼ÊÍøÕ¾¹ÙÍø½¨ÉèÓÚ1996Ä꣬ÊÇÓÉÁôÃÀ²©Ê¿ÑÏÍû¼ÑŮʿ½¨ÉèµÄ¡¢ÓµÓÐÍêÈ«×ÔÖ÷֪ʶ²úȨµÄÐÅÏ¢Çå¾²¸ß¿Æ¼¼ÆóÒµ¡£ÊǺ£ÄÚ×î¾ßʵÁ¦µÄÐÅÏ¢Çå¾²²úÆ·¡¢Çå¾²·þÎñ½â¾ö¼Æ»®µÄÁ캽ÆóÒµÖ®Ò»¡£
¹«Ë¾×ܲ¿Î»ÓÚ±±¾©ÊÐÖйشåÈí¼þÔ°ÓÅ·¢¹ú¼ÊÍøÕ¾¹ÙÍø´óÏ㬹«Ë¾Ô±¹¤6000ÓàÈË£¬Ñз¢ÍŶÓ1200ÓàÈË, ÊÖÒÕ·þÎñÍŶÓ1300ÓàÈË¡£ÔÚÌìϸ÷Ê¡¡¢ÊС¢×ÔÖÎÇøÉèÁ¢·ÖÖ§»ú¹¹ÁùÊ®¶à¸ö£¬ÓµÓÐÁýÕÖÌìϵÄÏúÊÛϵͳ¡¢ÇþµÀϵͳºÍÊÖÒÕÖ§³Öϵͳ¡£¹«Ë¾ÓÚ2010Äê6ÔÂ23ÈÕÔÚÉîÛÚÖÐС°å¹ÒÅÆÉÏÊС££¨¹ÉƱ´úÂ룺002439£©
¶àÄêÀ´£¬ÓÅ·¢¹ú¼ÊÍøÕ¾¹ÙÍøÖÂÁ¦ÓÚÌṩ¾ßÓйú¼Ê¾ºÕùÁ¦µÄ×ÔÖ÷Á¢ÒìµÄÇå¾²²úÆ·ºÍ×î¼Ñʵ¼ù·þÎñ£¬×ÊÖú¿Í»§ÖÜÈ«ÌáÉýÆäIT»ù´¡ÉèÊ©µÄÇå¾²ÐÔºÍÉú²úЧÄÜ£¬Îª´òÔìºÍÌáÉý¹ú¼Ê»¯µÄÃñ×åÐÅÏ¢Çå¾²¹¤ÒµÁì¾üÆ·Åƶø²»Ð¸Æ𾢡£
5.2 ¹ØÓÚÓÅ·¢¹ú¼ÊÍøÕ¾¹ÙÍø
ÓÅ·¢¹ú¼ÊÍøÕ¾¹ÙÍøÇå¾²Ó¦¼±ÏìÓ¦ÖÐÐÄÒÑÐû²¼1000¶à¸öÎó²îͨ¸æºÍΣº¦Ô¤¾¯£¬ÎÒÃǽ«Ò»Á¬¸ú×ÙÈ«Çò×îеÄÍøÂçÇå¾²ÊÂÎñºÍÎó²î£¬ÎªÆóÒµµÄÐÅÏ¢Çå¾²±£¼Ý»¤º½¡£
¹Ø×¢ÎÒÃÇ£º