This browser is no longer supported. Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
æè¿ã徳丸æ¬ãããããèªãã§ããã®ã§ãããDOM based XSSã®è©±ãæ¸ãã¦ãã£ãã®ã§ãå°ãè¨åãã¦ãããã¨æãã¾ãã 徳丸æ¬ããå¼ç¨ DOM based XSSã¨å¼ã°ããXSSãããã¾ããããã¯ãJavaScriptã«ããã¯ã©ã¤ã¢ã³ãå´ã§è¡¨ç¤ºå¦çããç®æããããããã«èå¼±æ§ãããå ´åã®XSSã§ãã ãµã³ãã«æ¸ãã¦ã¿ã¾ããã <script> document.write(unescape(location.href)); </script> ããã¤ãé©å½ãªãã¡ã¤ã«åã§ä¿åãã¦ãdomxss.html#<script>alert("hello")<script>ãªã©ã®URLã§ã¢ã¯ã»ã¹ããã¨alertã表示ãããã¯ãã§ããä»»æã®ã¹ã¯ãªãããå®è¡å¯è½ãªç¶æ ã£ã¦ãã¨ã§ãããä»»æã®ã¹ã¯ãªãããå®è¡å¯è½ã£ã¦ãã¨ã¯ãã»ãã·ã§ã³ã¯ããã¼çã¿æ¾é¡ã§ãä»äººã«æãæ¸ã¾ãã¦è²·ãç©ã§ãã¡ãã£ããããã¬ãã«ã§ã
â»ãã®ããã¥ã¡ã³ãã¯é·ãã¯æ®ãã¾ããã®ã§ãå¿ è¦ã§ããã°ãã¼ããã£ã¹ã¯ã«ä¿åãã¦ãã ããã ãªãã¸ã§ã¯ã ã¾ããJavaScriptã®æ ¹å¹¹ã§ããããªãã¸ã§ã¯ããã«ã¤ãã¦ãå°ã触ãã¦ããã¾ããJavaScriptã¯ããªãã¸ã§ã¯ãæååè¨èªãã§ããããä»çµã¿ããå¦ã¶æã¯ãªãã¸ã§ã¯ãã®ç解ãå¿ é ãªã®ã§ãã ãã®è¨èªã¯ãã»ã¨ãã©ã®ãã®ããªãã¸ã§ã¯ãã§ãããªã«ããªãã§ããªãã¸ã§ã¯ãã§ããwindowã¨ãdocumentãªã©ããªãã¿ã®ãã¤ãå§ãã¨ãã¦ãå¤æ°ãé åããªãã¸ã§ã¯ãã§ãããã¡ã½ãããèªä½ã®é¢æ°ããªãã¸ã§ã¯ããªããHTMLã¾ã§ããªãã¸ã§ã¯ãï¼ããã¥ã¡ã³ããªãã¸ã§ã¯ãã¢ãã«ï¼DOMï¼ã¨ãªãã¾ãã ãªãã¸ã§ã¯ãã¯åºæ¬çã«ãæä½ããããã®ãã§ããã åå¨ããã ãã§ãããã ããä¾å¤ã¨ãã¦ãã¡ã½ããã¨é¢æ°ã¯ãæä½ãããã®ãã§ããï¼æ©è½ãæã£ããªãã¸ã§ã¯ããã¨ãããã¨ã§ãï¼ ãªãã¸ã§ã¯ãã¯ãã¡ã½ãããé¢æ°ãã
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}