English
¢¸¢· µÚ·Î
Ãë¾àÁ¡ID 210180
À§Çèµµ 20
Æ÷Æ® 80, ...
ÇÁ·ÎÅäÄÝ TCP
ºÐ·ù CGI
»ó¼¼¼³¸í À¥ ºê¶ó¿ìÀú XSS ProtectionÀÌ À¥ ¼­¹ö¿¡¼­ 'X-XSS-Protection' HTTP ÀÀ´ä Çì´õÀÇ ±¸¼º¿¡ ÀÇÇØ »ç¿ë °¡´ÉÇÏÁö ¾Ê°Å³ª »ç¿ë ºÒ°¡´ÉÇÕ´Ï´Ù.

* Âü°í »çÀÌÆ®:
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-XSS-Protection","1;mode=block");
°ü·Ã URL (CVE)
°ü·Ã URL (SecurityFocus)
°ü·Ã URL (ISS)