»çźÀÇÀÎÇü      2003/11/10 17:34:31     4561     0   
   ¸®´ª½ºÄ¿³Î¿¡ ÇÑ ÇØÄ¿°¡... [2]
1703          Ãß°¡µÈ 2ÁÙÀÇ ¹éµµ¾î..                   2003/11/10          1
[Anonymous´Ô èØ] Áö³­ÁÖ ¼ö¿äÀÏ ÇÑ ÇØÄ¿°¡ ¸®´ª½º Ä¿³Î Â÷±â ¹öÀü¿¡ ¹éµµ¾î¸¦ ¸ô·¡ ½É¾î³õÀº °ÍÀÌ Àû¹ßµÇ¾ú½À´Ï´Ù. Ä¿³Î ¼Ò½º Äڵ忡 Ãß°¡µÈ 2ÁÙÀÇ ¹éµµ¾î´Â ´ÙÀ½°ú °°½À´Ï´Ù:

+ if ((options == (__WCLONE|__WALL)) && (current->uid = 0))
+ retval = -EINVAL;

¾ðµí º¸±â¿¡ wait4() ½Ã½ºÅÛÄÝ ¿¡·¯¸¦ üũÇÏ´Â ±â´Éó·³ º¸ÀÌÁö¸¸ current->uid == 0 °¡ ¾Æ´Ï°í current->uid = 0 À̶ó´Â °É ¹ß°ßÇÏ·Á¸é ´«ÀÌ ÁÁ¾Æ¾ß ÇÒ °Í °°½À´Ï´Ù... óÀ½ºÎÅÍ ÀǽÉÀ» Ç°°í °ËÅäÇÏÁö ¾ÊÀº ´ÙÀ½¿¡¾ß ¹ß°ßÇϱâ Èûµé¾úÀ» °Å°í, ¹ß°ßÇß´Ù ÇÏ´õ¶óµµ ÇÁ·Î±×·¡¹Ö ¿¡·¯·Î ¿ÀÀÎÇØ ±×³É ³Ñ¾î°¬À» °Í °°½À´Ï´Ù...
¹Ø¿¡´Ù Àû¾ú¾ú´Âµ¥..´Ù½Ã Àû½À´Ï´Ù --;;

½ÇÁ¦ ¹éµµ¾î°¡ µé¾î°£ Ä¿³Î¼Ò½ºÄڵ带 ´Ù¿î¹ÞÀ¸³ª¿ëÀÚ´Â °ÅÀÇ ¾øÀ»°Í °°³×¿ä...

CVSÆ®¸®¿¡ Àá±ñ µé¾î°¬´ø°ÍÀÌ°í ¹öÀüµµ 2.6.xx´ë ¹öÀüÀε¥ ÇöÀç StableÀº 2.4.xxÀÌ°í 2.6Àº ÇöÀç±îÁö´Â º£Å¸¹öÀüÀÌ¶ó ¸¹ÀÌ »ç¿ëµÇÁö ¾Ê½À´Ï´Ù.

¼Ò½º¸¦ ´Ù¿î¹Þ¾Æ¼­ ÄÄÆÄÀÏÇؼ­ ¿Ã¸°»ç¿ëÀÚ¸¸ ÇØ´çÀ̵ÉÅÙµ¥ °ÅÀÇ ¾øÀ»°ÍÀ¸·Î º¸°íÀÖ½À´Ï´Ù.

ÀÌ·±·ùÀÇ ¹èÆ÷¼­¹ö°¡ ÇØÅ·´çÇØ Æ®·ÎÀòÀÌ ½É°ÜÁø °æ¿ì´Â 94³â¿¡ Wu-FTPd(ProFTPD¿Í ÇÔ²² Linux,BSD°è¿­¿¡¼­ °¡Àå ¸¹ÀÌ »ç¿ëµÇ´Â FTP¼­¹öÀÔ´Ï´Ù.) ¹ÙÀ̳ʸ® ¹èÆ÷º»¿¡ Æ®·ÎÀòÀÌ ½É°ÜÁ³´ø °æ¿ì°¡ ÀÖ½À´Ï´Ù. http://www.cert.org/advisories/CA-1994-07.html

¹®Á¦ÀÇ ÄÚµå´Â kernel/exit.cÆÄÀÏÀε¥ ´ëÃ溸´Ï sys_wait4 syscallÀ» »ì¦ °íÃÆÀ¸¸ç ÇÁ·Î¼¼½º¿¡ sys_wait4¸¦ ÁÙ¶§ ƯÁ¤ ¿É¼Ç³ÖÀ¸¸é current->uid¸¦ 0À¸·Î ¸¸µé¾îÁֳ׿ä(current´Â ÇöÀçÇÁ·Î¼¼½ºÀÇ »óÅ°¡ µé¾îÀִ°ǵ¥ uid¸¦ 0À¸·ÎÇϸé root±ÇÇÑÀ¸·Î ÇÁ·Î¼¼½º°¡ ¹Ù²ò´Ï´Ù.)

--- GOOD 2003-11-05 13:46:44.000000000 -0800
+++ BAD 2003-11-05 13:46:53.000000000 -0800
@@ -1111,6 +1111,8 @@
schedule();
goto repeat;
}
+ if ((options == (__WCLONE|__WALL)) && (current->uid = 0))
+ retval = -EINVAL;
retval = -ECHILD;
end_wait4:
current->state = TASK_RUNNING;
   
ÄÚ¸àÆ®¸¦ ÀÛ¼ºÇϽøé 2 Æ÷ÀÎÆ®°¡ Áö±ÞµË´Ï´Ù.



2003/11/10 18:08:11
Àü RedHat¿¡¼­ ¹Ù²Ù¶ó¸é ¹Ù²ß´Ï´Ù...¤Ñ¤Ñ;;
ÇãÁ¢ÇÑ °ü¸®ÀÚ´Â ÀÌ°Å¶óµµ ºÎÁö·±È÷ ÇؾßÁö¿ä...¤»¤»




2003/11/10 23:04:10
Çä..¤Ñ¤Ñ; ¹«..¹«½¼ ÀÏÀÎÁö..


       

4082 ¹«½¼±¤°íÀÎÁö ¸ÂÃ纸¼¼¿ä ?? [3] »çźÀÇÀÎÇü 11/13 4724 11/14(09:17)
4081 internet explorer º¸¾È¹®Á¦¹ß»ý [1] »çźÀÇÀÎÇü 11/13 5051 11/14(01:01)
4080 À½¾Ç°ú °ü·ÃµÈ »çÀÌÆ®¸¦..¸¸µå´Âµ¥.. [2] 11/12 5797 11/12(23:03)
4079 FedoraÀ» ¼³Ä¡ÇÏ°í.... [3] »çźÀÇÀÎÇü 11/12 4644 11/13(20:04)
4078 ¸®´º¾óÀ» Ç϶ó.. [6] 11/12 4509 11/13(11:25)
4077 °¡À»ºñ.... [3] »çźÀÇÀÎÇü 11/12 4563 11/12(23:20)
4076 ¿À·£¸¸¿¡...^^ [2] ¹Ì¾ß¿ì 11/11 4311 11/12(09:32)
4075 [18±Ý] ÀÌ·±°Å ¿Ã·Áµµ µÉÁö ¸ð¸£Áö¸¸.... [5] 11/11 4970 11/11(23:38)
4074 È­¿°º´ ½ÃÀ§ÇÏ¸é ¹ýÁ¤ÃÖ°íÇü... [4] »çźÀÇÀÎÇü 11/11 6015 11/15(18:21)
4073 ¹Ý¦¾ÆÀ̵ð¾î. [4] 11/11 4061 11/11(23:36)
4072 ¿ì¿¡~°¨±â°É·È´ä´Ï´Ù. [3] 11/10 4458 11/11(14:28)
>> ¸®´ª½ºÄ¿³Î¿¡ ÇÑ ÇØÄ¿°¡... [2] »çźÀÇÀÎÇü 11/10 4561 11/10(23:04)
4070 ÇÚµåÆù ¼ö¸®ºñ 8¸¸¿ø³Ñ°Ô..... [5] »çźÀÇÀÎÇü 11/10 5542 11/11(11:38)
4069 ¿À·£¸¸¿¡.. [2] ½Î·ò 11/09 4680 11/11(00:47)
4068 '¸¾¸¶¹Ì¾Æ !' Çϳ׿ä... [1] ±èÅÂÁß 11/09 5546 11/10(02:24)
FIRST116123124125126127128129136LAST