èªè¨¼ããªãWebèªè¨¼ éå®å ¬éURLã®ã»ãã¥ãªãã£ã«ã¤ãã¦èãã 2020/8/7 API Meetup Online #3- ãã¥ã¼ãã£ã¼æ ªå¼ä¼ç¤¾ æ¸å·ããã
èªè¨¼ããªãWebèªè¨¼ éå®å ¬éURLã®ã»ãã¥ãªãã£ã«ã¤ãã¦èãã 2020/8/7 API Meetup Online #3- ãã¥ã¼ãã£ã¼æ ªå¼ä¼ç¤¾ æ¸å·ããã
1. ã¯ããã« æè¿ãããã£ã¦Nodeã®ã»ãã¥ãªãã£èª¿æ»ããã¦ããã®ã§ãããä»å¹´ã®5æã«éå¬ããã North Sec 2018 ã§ã»ãã¥ãªãã£ç 究è ã® Olivier Arteau æ°ã«ãã ãPrototype pollution attacks in NodeJS applicationsãã¨ããé¢ç½ãçºè¡¨ãè¦ã¤ãã¾ããã ãã®çºè¡¨ã®è«æãçºè¡¨è³æããã¢åç»ãªã©ãgithubã§å ¬éããã¦ãã¾ãããã¡ããã©ã¿ã¤ãã³ã°ããã»ãã·ã§ã³åç»ãæè¿å ¬éããã¾ããã github.com Olivier Arteau -- Prototype pollution attacks in NodeJS applications ãã®çºè¡¨ã§è§£èª¬ããã¦ããã®ã¯ãæªæã®ããæ»æè ããJavaScriptè¨èªåºæã®ãããã¿ã¤ããã§ã¼ã³ã®æåãå©ç¨ãã¦ãWebãµã¼ããæ»æããæ¹æ³ã§ãã çºè¡¨è ã¯ãnpmããã
ä¾ãã° `logout` ã¿ãããªã¦ã¼ã¶åãåå¾ããã¦ãã¾ãã¨ï¼ã¦ã¼ã¶å´ããããã¨ä¸æ°å³ã«è¦ãããï¼URLè¨è¨ãçµäºãã¦ããæãªã©ã«èå¼±æ§ã«ãªãå¾ã (ã¨ã¯è¨ããã®ã®ï¼ãããããããã£ãèå¼±æ§ã¯æ ¹æ¬çã«é²ãã¹ãã ãï¼URLè¨è¨ãçµäºããã¦ã¯ãªããªã)ï¼ ã®ã§ï¼ã¿ã¤ãã«ã®ãããªãã¨ãpostãããç¥è¦ãã¢ãªã¢ãªéã¾ã£ã¦ããï¼ãããã¨ããããã¾ãï¼ åå¾ãããããªãã¢ã«ã¦ã³ãåãéãã¦ããã©ã¤ãã©ãªæ¬²ããæ°ãããï¼authã¨ãlogoutã¨ãdataã¨ãâ¦â¦â ã¢ãã»ã³ã¹ã¯ãªãã¯ãé¡ããã¾ã太é (@moznion) 2017å¹´4æ10æ¥ @moznion æå¾ãããããªãã¢ã«ã¦ã³ãåãªã¹ããªãããããã¬ãã¸ããªãããã¾ã https://t.co/uyYJxaFbrXâ kosuge (@9m) 2017å¹´4æ10æ¥ @moznion ãã®ãªã¹ãã«è¿½å ã§æ¥æ¬åãã« regist ã£ã¦ããã¢ã«
ä¸ã®ã¤ã³ãã©ã¨ã³ã¸ãã¢ã®æ¹ã ã¯ãä½ããã®å½¢ã§å©ç¨ãã¦ããã½ããã¦ã§ã¢ã®ã»ãã¥ãªãã£æ å ±ãæ¥ã ãã§ãã¯ãã¦ããã¨æãã¾ããããããå©ç¨ããã½ããã¦ã§ã¢ãå¢ãã¦ããã¨å ¨é¨ã®ãã§ãã¯ã¯ãªããªãé£ããã®ã§ã¯ãªãã§ããããã ãããªä¸æè¿Amazon Inspectorããã¬ãã¥ã¼ããä¸è¬å©ç¨éå§ã¨ãªãã注ç®ããã¦ããæ¹ãããã¨æãã¾ãããããã£ããã¼ã«ãæ§ã åºãä¸ã§ãæè¿Vulsã¨ãããã®ãç¥ã£ãã®ã§è©¦ãã¦ã¿ããã¨æãã¾ãã Vulsã¨ã¯ Amazon Inspectorã¨ã®éã go-cve-dictionaryã«ã¤ã㦠å®éã«ä½¿ã£ã¦ã¿ã æ¤è¨¼ç°å¢ã®ãã¼ã¸ã§ã³ Vuls server scan対象ãµã¼ã äºåæºå slackéç¥ã試ã TUIï¼Terminal-Based User Interfaceï¼ã試ã OSããã±ã¼ã¸ä»¥å¤ããã§ãã¯ãã ã¾ã¨ã Vulsã¨ã¯ github.com scan
HTML5ã§å°å ¥ãããiframeè¦ç´ ã®sandboxå±æ§ã¯ããã®iframeå ã®ã³ã³ãã³ãã«å¯¾ãJavaScriptã®å®è¡ãå§ãæ§ã ãªå¶ç´ã課ããã¨ã§ã»ãã¥ãªãã£ã®åä¸ã«å½¹ç«ã¤æ©è½ã§ãããä¾ãã°ã以ä¸ã®ããã«æå®ãããiframeã§ã¯ãiframeå ããformã®submitãªã©ã¯ã§ããããiframeå ã§ã®JavaScriptã®å®è¡ãtarget=_blankãªã©ã«ãã£ã¦ã¦ã£ã³ãã¦ãéããã¨ãªã©ã¯ç¦æ¢ãããã <iframe sandbox="allow-forms" src="..."></iframe> sandboxå±æ§ã«æ示çã« allow-scripts ã¨ããå¤ãæå®ããªãéãã¯iframeå ã§ã¯ç´æ¥çã«ã¯JavaScriptã¯å®è¡ã§ããªããããã¨ãã£ã¦iframeå ããéæ¥çã«JavaScriptãå¿ ãããå®è¡ããããã¨ãä¸å¯è½ãã¨ããã¨ããã§ããªãã sandboxå±æ§
Electronã使ã£ã¦ãã©ã¦ã¶ã®ãããªã¢ããªã±ã¼ã·ã§ã³ãä½ãå ´åã«ã¯ webviewã¿ã°ã使ç¨ããããä¾ãã°ãã¢ããªã±ã¼ã·ã§ã³å ã«example.jpã®ãµã¤ãã表示ããã«ã¯ä»¥ä¸ã®ããã«HTMLã«è¨è¿°ããã <webview src="http://example.jp/"></webview> ããã§ãwebviewã¿ã°ã«allowpopupså±æ§ãä»ä¸ããã¨ãexample.jpãµã¤ãå ã®ã³ã¼ãããwindow.opençã使ã£ã¦æ°ãã«ã¦ã£ã³ãã¦ãéããã¨ãã§ããããã«ãªãããã®ã¨ããexample.jpã«æªæããã以ä¸ã®ãããªã³ã¼ããå«ã¾ãã¦ããã¨ããã if( typeof require === "undefined" ) window.open( 'http://example.jp/', '', 'nodeIntegration=1'); else require( "chi
ãã®ãã¡ããå°ããã¡ãã¨æ¸ãã¾ãããã¨ããããæéããªãã®ã§çµè«ã ãæ¸ãã¨ãã¿ã¤ãã«ãå ¨ã¦ã§Electronã§ã¢ããªãæ¸ãå ´åã¯æ°åãã¨æ ¹æ§ã§XSSãçºçãããªãããã«ããªããã°ãªããªãã ããã¾ã§Webã¢ããªã±ã¼ã·ã§ã³ä¸ã§XSSãåå¨ããã¨ãã¦ããå½±é¿ç¯å²ã¯ãã®Webã¢ããªã±ã¼ã·ã§ã³ã®ä¸ã«çã¾ãã®ã§ãWebã¢ããªã±ã¼ã·ã§ã³ã®æä¾å´ãããã許容ããã®ã§ããã°XSSã®åå¨ã«ç®ãã¤ãããã¨ãã§ãããããããElectronã¢ããªã§DOM-based XSSãä¸ãæã§ãçºçããã¨ã(ãããã)確å®ã«ä»»æã³ã¼ãå®è¡ã¸ã¨ã¤ãªãããå©ç¨è ã®PCã®(ãã®ã¦ã¼ã¶ã¼æ¨©éã§ã®)å ¨æ©è½ãæ»æè ã«ãã£ã¦å©ç¨ã§ããã ãã®ãããElectronã§ã¢ããªã±ã¼ã·ã§ã³ãä½æããéçºè ã¯æ°åãã¨æ ¹æ§ã§XSSãå®å ¨ã«ã¤ã¶ããªããã°ãªããªãã nodeIntegration:falseãContent-Security-Pol
ããã«ã¡ã¯ãkintone éçºãã¼ã ã®å¤©é (@ama_ch) ã§ãããã£ããæ¥ããããªãã¾ãããã å°ãåã« JS ã®èªåã¬ãã¥ã¼ãã¼ã« jswatchdog ããªã¼ãã³ã½ã¼ã¹ã§å ¬éãã¾ããã®ã§ããã¡ãã§ç´¹ä»ããã¦ããã ãã¾ãã 使ãæ¹ https://kintone.github.io/jswatchdog/ ä¸è¨ã® URL ãéããå·¦å´ã®ã¨ãã£ã¿ã« JS ã³ã¼ããè²¼ãä»ããã ãã§ãã å³å´ã«ä¿®æ£ãå¿ è¦ãªç®æã表示ãããã®ã§ãé©å®ä¿®æ£ãã¾ãã ç¹å¾´ ããªããªã®éçºè ãããªãã¦ã使ããããä¸ç»é¢å®çµã® Web ã¤ã³ã¿ã¼ãã§ã¼ã¹ lint ãã¼ã«ã§ã馴æã¿ã®æ§æãã§ãã¯ã®ä»ãç¥ããã«èå¼±æ§ãä½ãè¾¼ããã¨ãé¿ãããããXSS ã®å¯è½æ§ãããç®æã«ãè¦åã表示 å é¨çã«ã¯ãJS ã®éçæ§æãã§ãã¯ãã¼ã«ã¨ã㦠ESLint 㨠JSHint ãçµã¿è¾¼ãã§ãã¾ãã ããã« XSS ã®å¯è½æ§ãã
SQLã¤ã³ã¸ã§ã¯ã·ã§ã³å¤æ±ºãåºã¾ããè¦ãã¦ãã¾ã å æ¥ã以ä¸ã®è¨äºãæ¸ãã¾ããã ã»SQLã¤ã³ã¸ã§ã¯ã·ã§ã³èå¼±æ§ã®æç¡ãéé失ã®å¤æã«å½±é¿ãä¸ããå¤æ±º http://www.crosszeal.co.jp/blog/20150209_sqlã¤ã³ã¸ã§ã¯ã·ã§ã³èå¼±æ§ã®æç¡ãéé失ã®å¤æã«å½±é¿ãä¸ããå¤æ±º.html ãã®è¨äºã«ãæ¸ããã¨ãããåæµ·é大å¦ã®çºæå çãHASHã³ã³ãµã«ãã£ã³ã°ã®å¾³ä¸¸å çã®ã¨ã³ããªã§ãã®ä»¶ãç¥ãããã°ãæ¸ããããã§ãããåãæ¹ã ãå¤ãããã§ããã®å¤æ±ºã«é¢ããæ å ±ãæè¦ãæ¤ç´¢ã§å¤ããããããããã«ãªãã¾ããã ä¸ã«ã¯ãèå¼±æ§ãä¸ã¤ã§ããã£ããæå®³è³ åãèªãããããã¨ãã£ã誤ã£ã¦ããèªèã§ãã£ããããSQLã¤ã³ã¸ã§ã¯ã·ã§ã³å¯¾çããããè²»ç¨ãå¤ãããã£ã¦ãã¾ããã¨ãã£ãé¦ãããããæè¦ãããã¾ããããããã£ãæ å ±ãåºã¾ãã®ã¯è¯ããã¨ã ã¨æãã¾ããä»å¾åºã¾ã£ã¦ããä¸ã§ãæ£ããèª
WebRTC is secure,� or not secure? - WebRTC ã»ãã¥ãªãã£æ¦èª¬ -
ãã¤ã³ãã¯ä¸è¨ã®éãã§ãã X社ï¼ååï¼ã¯ã»ãã¥ãªãã£å¯¾çã«ã¤ãã¦ç¹ã«æ示ã¯ãã¦ããªãã£ã æå®³è³ åã«ã¤ãã¦åå¥å¥ç´ã«å®ããå¥ç´éé¡ã®ç¯å²å ã¨ããæå®³è³ å責任å¶éããã£ã å½åã·ã¹ãã ã¯ã«ã¼ã決æ¸ãå¤é¨å§è¨ãç´æ¥ã«ã¼ãæ å ±ãæ±ã£ã¦ããªãã£ã X社ããã«ã¼ãä¼ç¤¾æ¯ã®æ±ºæ¸éé¡ãç¥ããããã¨Y社ã«ä¾é ¼ããã¦ããã®çµæã«ã¼ãæ å ±ããã£ããDBã«ä¿åããä»æ§ã¨ãªã£ãï¼2010å¹´1æ29æ¥ï¼ X社ããã®åãåããã«å¯¾ãã¦Y社ã¯ãã«ã¼ãæ å ±ãä¿æããªãæ¹å¼ã«å¤æ´ãããã¨ãå¯è½ã§ããã®ã»ããå®å ¨ã¨ãªããè²»ç¨ã¯20ä¸åç¨åº¦ã§ããæ¨ãä¼ããï¼2010å¹´9æ27æ¥ï¼ãããã®å¾X社ã¯æ¹è¯ã®æ示ãããªãã£ã 以ä¸ã®èå¼±æ§ãã®ä»ãèªãããã ã·ã¹ãã 管çæ©è½ã®IDã¨ãã¹ã¯ã¼ãã admin/password ã§ãã£ã å人æ å ±ãè¨è¼ããããåãåãããã°ãã¡ã¤ã«ã®é²è¦§ãå¯è½ï¼ãã£ã¬ã¯ããªãªã¹ãã£ã³ã°ã¨æå³ããªããã¡ã¤
Content-Security-Policy ã® nonce ãå©ç¨ããã¨ãXSS ã®è å¨ãããªã軽æ¸ã§ãã¾ãã ããã§ãWeb Application Framework ã§ã¯ããã©ã«ãã§å¯¾å¿ããã»ããããã®ã§ã¯ãªãããã¨ããæ¨ã @hasegawayosuke ããããæãã¦é ããã®ã§ãå®è£ ã«ã¤ãã¦èãã¦ã¿ã¾ããã ã¨ãããã CSP ã® nonce ã¯ã©ããããã®ãªã®ããèæ ®ããããã«ãã³ã¼ãä¾ãæ¢ãã¦ããã®ã§ãããå®éã«åããµã³ãã«ã¨ãããã®ã nonce é¢é£ã®ãã®ã§è¦å½ããã¾ããã§ããã ããã§ãå®éã«åããµã³ãã«ãç¨æãã¾ããã https://github.com/tokuhirom/csp-nonce-sample 以ä¸ã¯ Sinatra ã§æ¸ããããµã³ãã«ã³ã¼ãã§ãã require 'sinatra' require 'securerandom' get '/' d
æ äºåæããã³ã·ã§ã³ãæ¸å»ºã¦ã®çé¢æã«è£ çãã製åã§ãã å é²ã®é»åå¶å¾¡æè¡ãé§ä½¿ããåªããã»ãã¥ãªãã£ç°å¢ããå®ä¾¡ã«å°å ¥å¯è½ã§ãã
Modern Ciphersuite: ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES1
ãã£ãã·ã¥ãã¤ãºãã³ã°ã®éãããã³ãã©ã®ç®± Opened Pandora's box of Cache Poisoning é´æ¨å¸¸å½¦ 2014.04.15 (Concept by åéå¹´ç´ 2014.02) / English version èæ¯ Kaminsky 2008å¹´ãDan Kaminsky æ°ã TTL ã«å½±é¿ãããªãæ¯å ¥ãææ³ãçºè¡¨ããã ããããå½å¿çã®Additional Section ã§æ¯ãå ¥ãã¨ãããã®ã¯èª¤ãã ã£ããã¨ã2011å¹´ã«é´æ¨ãæãã«ããã http://www.e-ontap.com/dns/bindmatrix.html Müller Bernhard Müller ã® "IMPROVED DNS SPOOFING USING NODE RE-DELEGATION", 2008.7.14 https://www.sec-consult.c
ã²ããã¾ãã (廣島ãã) ã¯ãããã¾ã§ãã£ã 1 æåã® Twitter ã¢ã«ã¦ã³ã @N ãæã£ã¦ãã¾ããã ä½æ ãæã£ã¦ãã¾ãããã¨ãéå»å½¢ãªã®ãã¨ããã¨ãã©ãããå æ¥ãå·§å¦ãªç½ ã«ãæ¬äººã§ã¯ãªã 2 社ã®æå IT é¢é£ä¼æ¥ããã¡ããããã¨ã«ãã£ã¦ãã²ããã¾ããã®ç¨å°ãªãã®ã¢ã«ã¦ã³ãã第ä¸è ã«ãã£ã¦çã¾ãã¦ãã¾ã£ããããªã®ã§ãã 2014/02/26 追è¨: è¨äºæ²è¼æç¹ã§ã¯ãæã£ã¦ãã¾ãããã¨éå»å½¢ã§è¡¨ç¾ãã¦ãã¾ãããã²ããã¾ããæ¬äººã«ãããã¤ã¼ãã§ã2014/02/25 ã®æ¼éã (æ¥æ¬æé 2014/02/26 ã®æ©æ) ã«ããã®äºä»¶ã«ãã£ã¦çã¾ãã¦ãã¾ã£ãã¢ã«ã¦ã³ã @N ãããããåãæ»ããããã¨ããããã¾ããã Order has been restored. â Naoki Hiroshima (@N) February 25, 2014 解決ã¾ã§ä¸ã¶æ以ä¸ã¨ããç¸å½ãª
æ¨æ¥ã®æ¥è¨ãIE8以åã¯HTMLãã©ã¼ã ã§ãã¡ã¤ã«åã¨ãã¡ã¤ã«ã®ä¸èº«ãå¤é¨ããæå®ã§ãããã«ã¦ãç¦æ£®å¤§åããããæãã¦ããã ããå 容ã¨ãã¦ããã¡ã¤ã«ã¢ãããã¼ãã®HTMLãã©ã¼ã ï¼enctype="multipart/form-data"ï¼ã«ã¦ãã¢ãããã¼ããããã¡ã¤ã«åã¨ãã¡ã¤ã«ã®ä¸èº«ãå¤é¨ããæå®ã§ãããã¨ãå ±åãã¾ããããã®éã«IE8以åã¨ããæ¡ä»¶ãããã¾ããããä»åº¦ã¯ãä¸äºç©ç£ã»ãã¥ã¢ãã£ã¬ã¯ã·ã§ã³ã®ææå²³ããããããããIE9以éã§ãã§ããããã¨æãã¦ããã ãã¾ãããæ¢ã«ãåãã ã£ãããã§ããç¦æ£®ãããææããã¨ããæ¥æ¬ã代表ãããã°ãã³ã¿ã¼ãããç§ä¼ã®ãããããããããããã ããããã§ãè奮æ°å³ã§ãw ã¾ããããããã¨ãã¦ãIE8以åã§ã®ãã¿ã¼ã³ã¯ä¸è¨ã®éãã§ããï¼è¦ç¹ã®ã¿ï¼ã <form enctype="multipart/form-data" action="pro_ad
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}