English
¢¸¢· µÚ·Î
Ãë¾àÁ¡ID 210179
À§Çèµµ 20
Æ÷Æ® 80, ...
ÇÁ·ÎÅäÄÝ TCP
ºÐ·ù CGI
»ó¼¼¼³¸í Anti-MIME-Sniffing Çì´õ X-Content-Type-Options°¡ 'nosniff'·Î ¼³Á¤µÇÁö ¾Ê¾Ò½À´Ï´Ù. ÀÌ·Î ÀÎÇØ ÀÌÀü ¹öÀüÀÇ Internet Explorer ¹× ChromeÀÌ ÀÀ´ä º»¹®¿¡¼­ MIME ½º´ÏÇÎÀ» ¼öÇàÇÏ¿© ÀÀ´ä º»¹®ÀÌ ¼±¾ð µÈ ÄÁÅÙÃ÷ À¯Çü ÀÌ¿ÜÀÇ ÄÁÅÙÃ÷ À¯ÇüÀ¸·Î Çؼ®µÇ¾î Ç¥½Ã µÉ ¼ö ÀÖ½À´Ï´Ù.

ÀÀ¿ë ÇÁ·Î±×·¥ / À¥ ¼­¹ö°¡ Content-Type Çì´õ¸¦ ÀûÀýÇÏ°Ô ¼³Á¤ÇÏ°í ¸ðµç À¥ ÆäÀÌÁö¿¡ ´ëÇØ X-Content-Type-Options Çì´õ¸¦ 'nosniff'·Î ¼³Á¤Çß´ÂÁö È®ÀÎÇϽʽÿÀ.

°¡´ÉÇÑ °æ¿ì ÃÖÁ¾ »ç¿ëÀÚ°¡ MIME ½º´ÏÇÎÀ» ÀüÇô ¼öÇàÇÏÁö ¾Ê°Å³ª À¥ ÀÀ¿ë ÇÁ·Î±×·¥ / À¥ ¼­¹ö¿¡¼­ MIME ½º´ÏÇÎÀ» ¼öÇàÇÏÁö ¾Êµµ·Ï Áö½Ã ÇÒ ¼öÀÖ´Â ÃֽŠǥÁØ È£È¯ À¥ ºê¶ó¿ìÀú¸¦ »ç¿ëÇؾßÇÕ´Ï´Ù.

* Âü°í »çÀÌÆ®:
https://www.owasp.org/index.php/Security_Headers

* ¿µÇâÀ» ¹Þ´Â Ç÷§Æû:
Any operating system Any version
ÇØ°áÃ¥ * ApacheÀÇ httpd.conf ÆÄÀÏ¿¡ ´ÙÀ½°ú °°ÀÌ Á¤ÀÇÇÕ´Ï´Ù.
<IfModule mod_headers.c>
Header set Content-Security-Policy "script-src 'self' ; img-src 'self'; style-src 'self' 'unsafe-inline';connect-src http:; child-src 'unsafe-inline'"
Header set X-Content-Type-Options nosniff
Header set X-XSS-Protection "1;mode=block"
Header set Cache-Control "no-store"
Header set Pragma "no-cache"
Header set X-Frame-Options SAMEORIGIN
</IfModule>

* WAS´Â ÇÊÅÍ µîÀ» ÀÌ¿ëÇÏ¿© response¿¡ ÇØ´ç Çì´õ¸¦ º¸³À´Ï´Ù.
response.setHeader("X-Content-Type-Options","nosniff");
°ü·Ã URL (CVE)
°ü·Ã URL (SecurityFocus)
°ü·Ã URL (ISS)