English
¢¸¢· µÚ·Î
Ãë¾àÁ¡ID 21025
À§Çèµµ 30
Æ÷Æ® 80, ...
ÇÁ·ÎÅäÄÝ TCP
ºÐ·ù CGI
»ó¼¼¼³¸í ÇØ´ç À¥¼­¹ö¿¡ '/cgi-bin/cachemgr.cgi' CGI°¡ ¼³Ä¡µÇ¾î ÀÖ´Ù.
cachemgr.cgi ½ºÅ©¸³Æ®´Â ÀÛµ¿ÁßÀΠij½¬ ¼­¹ö¿¡ ´ëÇÑ Åë°èÁ¤º¸¸¦ °ü¸®ÇÒ ¼ö ÀÖ´Â ÅøÀÌ´Ù. Red Hat Linux (6.0)¿Í °°Àº ¸î¸î ½Ã½ºÅÛ¿¡´Â µðÆúÆ®·Î ¼³Ä¡µÇ´Â ÀÌ ÆÄÀÏÀº ÆÛ¹Ì¼ÇÀÌ Á¦ÇѵǾî ÀÖÁö ¾ÊÀº ä ¼³Ä¡µÉ ¼ö ÀÖ´Ù. ÀÌ ÆÄÀÏÀÌ Á¸ÀçÇÏ´Â ½Ã½ºÅÛÀº µ¿·á ½Ã½ºÅ۵鿡 ´ëÇØ PortscanÀÇ 'proxy' ¿ªÇÒÀ» ¼öÇàÇÒ ¼ö ÀÖ¾î Remote Attacker¿¡ ÀÇÇØ ÀÌ¿ë´çÇÒ ¼ö ÀÖ´Ù.

* ¿µÇâÀ» ¹Þ´Â Ç÷§Æû:
Web Server
ÇØ°áÃ¥ Squid www proxy/cache ¼­¹ö·Î½á »ç¿ëÇÏÁö ¾Ê´Â´Ù¸é ´ÙÀ½°ú °°ÀÌ
UninstallÇÏ¿©¾ß ÇÑ´Ù.

# /etc/rc.d/init.d/squid stop ; rpm -e squid

Squid proxy ¼­¹ö ¼ÒÇÁÆ®¿þ¾î¸¦ °è¼Ó »ç¿ëÇÏ¿©¾ß ÇÑ´Ù¸é ´ÙÀ½°ú
°°ÀÌ Á¢±Ùº¸¾ÈÀ» È®½ÇÇÏ°Ô ÇØ µÎ¾î¾ß ÇÑ´Ù.

# mkdir /home/httpd/protected-cgi-bin
# mv /home/httpd/cgi-bin/cachemgr.cgi \
/home/httpd/protected-cgi-bin/

±×¸®°í /etc/httpd/conf/access.conf ÆÄÀϰú srm.conf¿¡ ´ÙÀ½À»
Ãß°¡ÇØ¾ß ÇÑ´Ù.

--- start access.conf segment ---
# Protected cgi-bin directory for programs that
# should not have public access
order deny,allow
deny from all
allow from localhost
#allow from .your_domain.com
AllowOverride None
Options ExecCGI
--- end access.conf segment ---

--- start srm.conf segment ---
ScriptAlias /protected-cgi-bin/ /home/httpd/protected-cgi-bin/
--- end srm.conf segment --
°ü·Ã URL CVE-1999-0710 (CVE)
°ü·Ã URL 2059 (SecurityFocus)
°ü·Ã URL 2385 (ISS)