ã³ã¼ãã¼ã飲ãéãããªãæ¸ããã
å¨å® çæ´»ãæ¬æ ¼åãã¦ããã¯å¤ãæã§ã¯1æ¥10æ¯ä»¥ä¸ã³ã¼ãã¼ã飲ãã§ãããã©ããããã«é£²ã¿ãããªã®ã§1æ¥1æ¯ã«æ¸ããã話ã
2年以ä¸ã¶ãã«ããã°ãæ¸ãã¦ããã ãã©ãã»ãã¨ã«å人çãªã©ãã§ããã話ã§ãããã®ããã°ã«ã¯ãã¯ãã«ã«ãªè©±ã¯ä»å¾ãã»ã¨ãã©æ¸ããã¨ã¯ãªãã¨æãã®ã§ããã¯ãã«ã«ãªè©±ãèªã¿ãã人ã¯ä¼ç¤¾ã®ã¨ã³ã¸ãã¢ããã°ãèªãã§ãã ããï¼ï¼ãããããã¾ããã¯ãã«ã«ãªå 容ãããªããã©ï¼
ãã¨ãã¨ã³ã¼ãã¼ã好ãã§ãããã¾ãè¦ãã¦ãªããã ãã©ãããå°å¦æ ¡3,4å¹´çãããã®ããããæ¥å¸¸çã«ã³ã¼ãã¼ã飲ãããã«ãªã£ããããªæ°ãããã親ã飲ãã§ãã³ã¼ãã¼ãããé¦ãã ã£ãã®ã§ããã¦ããã£ã¦é£²ã¿å§ããã®ããã£ããã ã£ããããªè¨æ¶ãã
ã§ãã³ããç¦ä»¥åã¯ãªãã£ã¹ã§èªåã§æ·¹ãããããªã¹ã¿ã®ç ä¿®ãåããååã«æ·¹ãã¦ããã£ããã§æ¯æ¥6,7æ¯ã¯é£²ãã§ããæèµ·ãã¦ã³ã¼ãã¼é£²ãã§ãä¼ç¤¾ã«ã¤ããã1æ¯ãååä¸ã«ãã1æ¯ãã©ã³ãå¾ã«1æ¯ãã¿ãããªããã³ãã³ä¸æ¯ãªäººã¨å¤ãããªãè¡åãã¿ã¼ã³ã
å¦æ ¡ãæ½è¨ãªã©ã§çµæ¥ç ä¿®ã¿ãããªã¨ãã«ã¯ãè¿ãã§ã³ã¼ãã¼ã確ä¿ã§ããåºãããããç¾å°å°çå¾ã¾ã確èªãããããããã£ãåºãè¦å½ãããªãã¨ãã«ã¯ç¼¶ã³ã¼ãã¼ã®çãã«ããããããªãããã¨ããããã«ãã§ã¤ã³æåãåªå ãããããã¢ã«ã³ã¼ã«ä¸æ¯ãªäººã¨å¤ãããªãè¡åãã¿ã¼ã³ã
ã³ããã«ããå¨å® å¤åä½å¶ã«ãªã£ã¦ä»¥éã¯ããã«ã²ã©ãããã¤ã§ãã³ã¼ãã¼ã飲ããç¶æ ï¼ãã¤ã§ãã³ã¼ãã¼ã飲ãã§ããç¶æ ã«ãªã£ã¦ãã«ããã空ã«ãªã£ãã次ã®ã³ã¼ãã¼ãæ·¹ãã¦ãã¿ãããªå¢ãã1æ¥ã®æ°´åæåãå ¨é¨ã³ã¼ãã¼ã£ã¦ããã®ãå½ããåãªçæ´»ããã¶ãæ¯æ¥2ãªããã«ä»¥ä¸ã³ã¼ãã¼ã飲ãã§ãã
ã§ãã¹ã¤ã«ã«ãã§ã¤ã³ãã¨ãããã¦ç ããªããªãã¦ãã¨ã¯ãªãã£ã¦ããã¾ã ãã¾ãç ããªããã©ãã以ä¸èµ·ãã¦ãã¨ææ¥ã«å·®ãéãããã¨ãããã横ã«ãªãããã£ã¦å¸å£ã«å ¥ã£ããã以éã¾ã£ããè¨æ¶ããªããããç¬éçã«ç ãã«è½ã¡ã¦ãã¿ãããªæ¯æ¥ããªã®ã§ç¡ç ã¨ããç¹ã«é¢ãã¦ã¯ç¹ã«ã«ãã§ã¤ã³ã¨ãããã¦å°ãã¿ãããªãã¨ã¯ãªãã£ããã ãã©ãåæ¥ã«é çãèµ·ããã®ãã²ã©ããªã£ã¦ãã¦ãããã¯ä½ã¨ãããªãã¨ãªã¨æã£ã¦å¾ã ã«ã³ã¼ãã¼ã®éãæ¸ãããã
ãã¨ãã¨ä¸é«çããããããã¨ãã©ãåæ¥ã®åå¾ã«é çãèµ·ãããã¨ããã£ã¦ãç¹ã«å¤åºãã¦ãã¨ãã«ããçºçãããªã¨æã£ã¦ããã ãã©ãããã¾ã§ã²ã©ãé çã§ããªãçºçé »åº¦ãé«ããªãã1æéãããã°æ²»ã¾ãã®ã§ãããªãã®ãç¨åº¦ã«ããèãã¦ãªãã£ããããæ°å¹´ã¯2,3é±éã«1åãããã¯çºçããããããªãã«ã²ã©ãé çãªã®ã§è²ã åå ãèãã¦ã¿ãã¨ãåæ¥ã¯å¹³æ¥ã¨è¡åãã¿ã¼ã³ãéããå¤åºãã¦ãã¨ãã¯ç¹ã«ãã³ã¼ãã¼ã飲ãéãå°ãªããªãåå¾ã«ãªãã¨ã«ãã§ã¤ã³ã足ããªããªã£ã¦é çãçºçãã¦ããããã ã¨æãè³ã£ãããªã®ã§ãã«ãã§ã¤ã³ã足ããªããã ã£ããæåããã°ããã£ã¦ãã¨ã§ãåæ¥ãå¤åºå ã§ç©æ¥µçã«ã³ã¼ãã¼ã飲ãããã«ãã¦ããã ãã©ããã£ããã³ã¼ãã¼ãæ°æé飲ã¿å¿ããã¨åå¾ã«ã¯é çã«è¥²ããããã¿ãããªæãã ã£ãã
ã§ãã³ããç¦ã§ã®å¨å® çæ´»ã ã¨ãå¤åºããªããã®ã®é çã®çºçé »åº¦ã¯ããã«ä¸ãããå¹³æ¥ã§ãå¤æ¹ã«ãªãã¨é çãèµ·ããæ¥ãå¢ãã¦ããããçã¿ãã²ã©ãé çè¬ã飲ããæ¿ãã³ã¼ãã¼ãæ¥ãã§é£²ããå¯ããã¿ãããªãæããã«ãã®ã¾ã¾ã§ã¯ãããªããªã£ã¦ç¶æ ã«ãªã£ã¦ãã¾ã£ãã
ãããªããã§ãããã¯ã«ãã§ã¤ã³ã®éãæ¸ãããããªãã¨ä¸å¿µçºèµ·ãã1ãæãããæéããããªããã³ã¼ãã¼ã飲ãéãå¾ã ã«æ¸ãããä»ã¯æã«1æ¯é£²ããããã«ãªã£ããæ¼ã«ãã«ãã§ã飲ããã¨ã¯ãããã©ã
çµæçã«ããã®æ°ãæã¯é çãã»ã¼çºçãã¦ããããã¾ããããããã ããã£ã¦æãã§ãããããªããã§ãã¿ãªãããã³ã¼ãã¼ã®é£²ã¿ããã«ã¯æ°ãä»ãã¾ãããã
Â
alertãåºããããã 俺ãã¡ã¯
å©ç¨è ã«å¯¾ãã¦ã¡ãã»ã¼ã¸ãæèçã«ä¼ãããããããã¯ä½ãããã®è¡åãä¿ãããã«ããã¤ã¢ãã°ããã¯ã¹ã表示ããããã®æ©è½ããã©ã¦ã¶ã¼ã«ã¯è¤æ°å®è£ ããã¦ãããalertã®èå°ãå µåº«çåºèº«è ã¨ãã¦ããã®æã®æ©è½ã以ä¸ã«ã¾ã¨ããã
æ©è½ | UIã®å æãªã© | æ©è½ãç¹å¾´ |
---|---|---|
javascriptã® window.alert ã¡ã½ãã |
ã¿ãã¢ã¼ãã« | ä»»æã®ã¡ãã»ã¼ã¸ã表示å¯è½ãç¹°ãè¿ã表示ãããå ´åã«ãããææ¢ããæ©è½ãã»ã¨ãã©ã®ãã©ã¦ã¶ã¼ã«å®è£ ããã¦ããã |
javascriptã® window.prompt ã¡ã½ãã |
ã¿ãã¢ã¼ãã« | ä»»æã®ã¡ãã»ã¼ã¸ã表示å¯è½ãä»»æã®ï¼è¡ããã¹ããå ¥åã§ãããç¹°ãè¿ã表示ãããå ´åã«ãããææ¢ããæ©è½ãã»ã¨ãã©ã®ãã©ã¦ã¶ã¼ã«å®è£ ããã¦ããã |
javascriptã® window.confirm ã¡ã½ãã |
ã¿ãã¢ã¼ãã« | ä»»æã®ã¡ãã»ã¼ã¸ã表示å¯è½ãOKããã£ã³ã»ã«ã®ãã¿ã³ãæã¤ãç¹°ãè¿ã表示ãããå ´åã«ãããææ¢ããæ©è½ãã»ã¨ãã©ã®ãã©ã¦ã¶ã¼ã«å®è£ ããã¦ããã |
HTML5ã® <dialog> è¦ç´ |
ã¿ãã¢ã¼ãã« | ä»»æã®UIãHTMLã§ä½æå¯è½ãshowModal ã¡ã½ããã§è¡¨ç¤ºãããå ´åãclose ã¡ã½ãããå¼ã³åºãã¦æ示çã«ãã¤ã¢ãã°ãéããã¾ã§HTMLå
ã¸ã®æä½ã¯ã§ããªããä¸é¨ãã©ã¦ã¶ã¼ã§ã®ã¿ãµãã¼ãããã¦ããã |
BASICèªè¨¼ã®ãã°ã¤ã³ãã¤ã¢ãã° | ã¿ãã¢ã¼ãã« | HTTPã§401å¿çãè¿ããã¨ã§è¡¨ç¤ºããããã°ã¤ã³ãã¤ã¢ãã°ãrealmã§æå®å¯è½ãªæå種ãéå®çã§ãããã¾ãrealmã§æå®ããæååã表示ããããã©ã¦ã¶ã¼ã¨è¡¨ç¤ºãããªããã©ã¦ã¶ã¼ããããããä»»æã¡ãã»ã¼ã¸ã®è¡¨ç¤ºã«ã¯ä¸åããç¹°ãè¿ã表示ãæå¶ããæ©è½ã¯ãªããããä½åº¦ãç¹°ãè¿ãã¦è¡¨ç¤ºãããªãæ¹ãããã |
javascriptã® window.print ã¡ã½ãã |
ã¦ã£ã³ãã¦ã¢ã¼ãã«ãä¸é¨ã®ãã©ã¦ã¶ã¼ã§ã¯ã¿ãã¢ã¼ãã« | javascriptãã window.print() ãããã¨ã§è¡¨ç¤ºããããå°å·ãä¿ããã¤ã¢ãã°ãä»»æã¡ãã»ã¼ã¸ã®è¡¨ç¤ºã¯ã§ããªã*1ãå¤ãã®ãã©ã¦ã¶ã¼ã§ã¯ã¦ã£ã³ãã¦ã¢ã¼ãã«ã§è¡¨ç¤ºããããããä»ã®ã¿ãã«åãæ¿ãã¦ãã®ãã¼ã¸ãéããã¨ãããã¨ã¯é£ãããç¹°ãè¿ã表示ãæå¶ããæ©è½ã¯ãªããããä½åº¦ãç¹°ãè¿ãã¦è¡¨ç¤ºãããªãæ¹ãããã |
EdgeãIEã® ms-get-started: ãããã³ã«ã calculator: ãããã³ã« |
ã¦ã£ã³ãã¦ã¢ã¼ãã« | ãããã®ãããã³ã«ã¹ãã¼ã ã window.open ããã¨ãå¤é¨ã®ã¢ããªã«åãæ¿ãã¦ãããã®ãã¤ã¢ãã°ã表示ããããä»»æã¡ãã»ã¼ã¸ã®è¡¨ç¤ºã«ã¯ä¸åããã¦ã£ã³ãã¦ã¢ã¼ãã«ã§è¡¨ç¤ºããããããä»ã®ã¿ãã«åãæ¿ãã¦ãã®ãã¼ã¸ãéããã¨ãããã¨ã¯é£ãããç¹°ãè¿ã表示ãæå¶ããæ©è½ã¯ãªããEdgeã®å ´åããã¤ã¢ãã°ã表示ããããã¨ã«File Picke UI Hostã¨ããããã»ã¹ãèµ·åããããã¤ã¢ãã°ãéãã¦ããªãã¦ãè¤æ°ã®ãã¤ã¢ãã°ãé£ç¶ãã¦è¡¨ç¤ºå¯è½ããããã®ç¹å¾´ãããã«ã¼ãå
ããç¹°ãè¿ããã¤ã¢ãã°ã表示ããã®ã¯é常ã«ç
©ãããããããã®ãããªã³ã¼ãã¯é¿ããæ¹ãããã |
ä»ã«ãè²ã ããããã©ãã¨ãããã人éã«å¯¾ãã¦ä»»æã®ã¡ãã»ã¼ã¸ãä¼ããã«ã¯alertããã¡ã°ã使ããããã®ã§ãããããç©æ¥µçã«ä½¿ã£ã¦ããããã¨ããã
[éè¨] ã³ããã¯ãã¼ã±ãã93åãã«æ¬ãæ¸ãã¾ãã
@nash_fsããã«èªããã¦ãææ¥ã®ã³ããã¯ãã¼ã±ãã93ã§ååèªãWebMixãã«è¨äºãæ¸ãã¾ããã
- æ¥æ / å ´æï¼C93 éææ¥ (1æ¥ç®) æ±ã-37b
- ã³ãã± Web ã«ã¿ãã° URLï¼https://webcatalog.circle.ms/Perma/Circle/10345504/
æ²è¼å 容ã¯
- ããªãã®Webã¢ããªã±ã¼ã·ã§ã³ãOWASP TOP 10 ã«å¯¾å¿ã§ãã¦ãã¾ãã? @hasegawayosuke
- å½éåãã¡ã¤ã³ã¨ã¯ @KageShiron
- chrome: URLs ãªãã¡ã¬ã³ã¹ @llmakko_cafe
- React æ¹å @iskmsy
- Webãã¼ã¹ããã¹ãã¨ãã£ã¿ã®æè¡ã¨å®è£ @nolze
ã§ãã
[Joke] ãã¼ã«ã«ãããã¯ã¼ã¯ã«å¯¾ããã¯ãã¹ãªãªã¸ã³ã®æ»æããã·ã¹ãã ãå®ãç°¡åãªæ¹æ³
ã¤ã³ã¿ã¼ãããä¸ã«å ¬éããã¦ããããªãµã¤ããçµç±ãã¦ç¤¾å ã¤ã³ãã©ããããªã©ã®ãã¼ã«ã«ãããã¯ã¼ã¯ã¸XSSãCSRFãªã©ã®ã¯ãã¹ãªãªã¸ã³ã§ã®æ»æãä»æãããã¨ãã試ã¿ã¯å¤ãããåå¨ãã¾ããç¾å®ã«ããããè¡ãããã¨ãã話ã¯èãããã¨ã¯ããã¾ããããçè«ä¸ã¯å¯è½ã§ããã¨ãã話ãããèãã¾ãã対çã¨ãã¦ã¾ãæ¤è¨ãã¹ãã¯ã社å ã·ã¹ãã ã§ãã£ã¦ãé常ã®ã·ã¹ãã åæ§ã«èå¼±æ§ãçã¾ãªãããã»ãã¥ã¢ãªãã®ã«ããã¨ãããã¨ã§ããããããé£ããå ´åã«ã¯ãå°ãã®æéã§ãã¼ã«ã«ãããã¯ã¼ã¯ã«å¯¾ããã¯ãã¹ãªãªã¸ã³ã§ã®æ»æãä½æ¸ããããã¨ãã§ãã¾ãã
ãã£ãã©ã§ã¯ãã¹ãªãªã¸ã³ããã®æ»æãä½æ¸ãããæé
Fiddler ãèµ·åããRulesãã¡ãã¥ã¼ãããCustomize Rules...ããã¯ãªãã¯ãã¾ããã¨ãã£ã¿ã¼ãç«ã¡ä¸ãã£ã¦ã«ã¼ã«ç¨ã®FiddlerScriptã®ç·¨éç»é¢ãåºã¦ãã¾ãã®ã§ã以ä¸ã追è¨ãã¾ãã
function isLocalServer(host:String):Boolean { // TODO: ç°å¢ã«åããã¦ãããä¿®æ£ãã¦ä¸ãã const localServers = ["server-name-1", "server-name-2"]; var re = /^([\d]{1,3})\.([\d]{1,3})\.([\d]{1,3})\.([\d]{1,3})$/; var m = re.exec(host); var i; // ãã©ã¤ãã¼ãIPã¢ãã¬ã¹ã®ãã¹ãã¯ãã¼ã«ã«ã®ãµã¼ãã¼ã¨ã¿ãªã if (m !== null) { m[1] = m[1]|0; m[2] = m[2]|0; m[3] = m[3]|0; m[4] = m[4]|0; if (m[1] > 255 || m[2] > 255 || m[3] > 255 || m[4] > 255) return false; if (m[1] === 10) return true; if (m[1] === 172 && (m[2] >= 16 && m[2] <= 31)) return true; if (m[1] === 192 && m[2] === 168) return true; } // ãã¼ã«ã«ãµã¼ãã¼ã®ä¸è¦§ã«åå¨ããããã§ã㯠for (i = 0; i < localServers.length; i++) { if (host.Equals(localServers[i]) ){ return true; } } return false; } class Handlers { // çç¥ static function OnBeforeRequest(oSession: Session) { // çç¥ // ã¿ã¼ã²ããããã¼ã«ã«ãµã¼ãã¼ if (isLocalServer(oSession.hostname)) { var from = oSession.oRequest.headers["origin"]; if (from !== "") { from = from.replace(/^https?:\/\//,""); } else { var m = /\/\/([^\/]+)\//.exec(oSession.oRequest.headers["Referer"]); if (m !== null) { from = m[1].replace( /^[^@]+@/,""); } } // å¼ã³åºãå ããã¼ã«ã«ãµã¼ãã¼ã§ã¯ãªã if (!isLocalServer(from)) { FiddlerApplication.Log.LogFormat("Blocked {0} from {1}", oSession.fullUrl, from); oSession.utilCreateResponseAndBypassServer(); oSession.oResponse.headers.Add("Content-Type", "text/plain"); oSession.oResponse.headers.HTTPResponseCode = 404 ; oSession.oResponse.headers.HTTPResponseStatus = "404 Not Found"; } } } }
ãã£ãããã ãã§ãå¤é¨ã®ããªãµã¤ããçµç±ããã¯ãã¹ãªãªã¸ã³ã®æ»æãããã¼ã«ã«ã·ã¹ãã ãããç¨åº¦å®ãã¾ãã
ã¾ã¨ã
ãã£ã¦ãããã¨ã¯ãé常ã¯ç¤¾å¤ã®å ¬éãµã¼ãã¼ãRefererãOriginã¨ãã¦ç¤¾å ã«å¯¾ãã¦ãªã¯ã¨ã¹ããçºè¡ããããã¨ã¯ãªãã®ã§ããããæ¤ç¥ããå ´åã«404å¿çãè¿ãã¦ããã ãã§ãããã ãããã¡ããã®ãã¨ãªãããReferrerãOriginãã¤ããªãç¶æ³ãé »ç¹ã«çºçããã®ã§ããããã£ãå ´åã«ã¯ãã®æ¹æ³ã§ã¯æ»æãé²ããã¨ã¯ã§ãã¾ãããç¹°ãè¿ãã«ãªãã¾ããã社å ã·ã¹ãã ã§ãã£ã¦ã社å¤ã®ã·ã¹ãã åæ§ã«ãã¡ãã¨èå¼±æ§ã¸ã®æ ¹æ¬çãªå¯¾çãè¡ã£ã¦ããã¹ãã§ãããã
ãµã¤ãã¦ãº ãã°ãã³ã¿ã¼å宿ã«è¡ã£ã¦ãã
å é±ã®11æ3æ¥-4æ¥ã«éå¬ããããµã¤ãã¦ãº ãã°ãã³ã¿ã¼å宿ã«åå ãã¦ããã
3å¹´åã¯å人æ¦ã ã£ãããã©ä»åã¯ãã¼ã æ¦ã¨ãããã¨ã«å ããã¯ã½ã¤ã¾ããªãèå¼±æ§ãå¤æ°å ±åããå ´åã¯è©ä¾¡ãä¸ããæ¡ç¹æ¹å¼ã ã£ãã®ã§ãæåã¯ãã¼ã ã®è¶³ãå¼ã£å¼µããªããããã¼ã ã©ã³ç´ã®ãã°ãæ¢ããã¨ããããã©ãæè¿ãã£ããæè¡çãªãã¨ããã£ã¦ããªãã®ã§ãªããªããããããã°ãè¦ã¤ãããã¨ãã§ãããã¼ããããã·ã ããã¨ãããã¨ã§çµå±ããã¨ãã ããªããã°ãããã¤ãå ±åãã次第ãã¨ã¯ãããä»ã®äººã¯ãã¾ããããªãã ãããªã¨ãããã¯ãã¹ãªãªã¸ã³ã§ã®æ å ±æ¼ãããã¿ãããªèªåã¨ãã¦ã¯å¥½ããªã¿ã¤ãã®ãã°ãã²ã¨ã¤è¦ã¤ãã¦å ±åãããã¨ãã§ããã®ã§ããã®ç¹ã¯æºè¶³ãçµæçã«ãã¼ã é ä½ã¯æä¸ä½ãå人é ä½ã§ã¯ããããã¦10ä½ã«å ¥ãã¨ããæãã§ãã(ä¸ããæ°ããæ¹ãæ©ã)ãMasato Kinugawaããå¼·ããã
ããããªæ»æææ³ã«é¢ãã¦ã以åãªãèªåã®æã¨ãã¦é©åãªå ´é¢ã§ãããåãåºãã¦ä½¿ãããã¨ãå¤ãã£ãããã©ãã ãã ãã¨æãåããæéãæ¸ãã«ã¤ãä»ã®äººã®æ»æä¾ãè¦ã¦ããããããããããã§ãã®æ»æææ³ã使ãããã ï¼ãã¿ãããªæè¦ã«ãªã£ã¦ãã£ã¦ããã ãã©ãããã«ä»åã¯ããªã«ããããããªæ»ææ¹æ³ãã£ãã®ããã¿ããã«å ¨ãç¥ããªãæãããã¤ããã£ãããã¦ããã£ããæ代ã«ããã¦ããããæãå³ãã£ã¦ããã
å®éã«ãµã¤ããæ¤è¨¼ããã®ã¯ãCTFã¨éã£ã¦ãåé¡ã®ããã®åé¡ãã¿ãããªã®ã§ã¯ãªããå®éã«çãã¦åãã¦ãWebãµã¤ããªã®ã§ã©ãã ãä¸åçã§ä¸èªç¶ãªããã¡ã§ãã£ã¦ãèå¼±æ§ãåå¨ããã°ããã¯ç¾å®ã®ãã®ãªããã ãããããã¯ç¹å®ã®æåã«ã¤ãã¦ãããµã¼ãã¹ã§ã¯ãµã¼ãã¹ã®æä¾æ¹éã¨ãã¦èå¼±æ§ã¨ãã¦èªå®ããããã®ãä»ã®ãµã¼ãã¹ã§ã¯èå¼±æ§ã¨ã¯èªå®ãããªãã¨ãããããªéç¨æéã«å¯ããã®ããã£ãããããããç¹ã§ãªã¢ã«ãªä¸çãªã®ã§å¦ã³ã大ãããè¶ æ¥½ããã£ãã
次åãéå¬ãããã®ãã¯ããããªãããã©ãããéå¬ãããã®ã§ããã°æ¬¡ã¯äºåã«ã¡ããã¨äºç¿å¾©ç¿ããã¦ãããã¡ãã£ã¨äººæ¨©ãã¡ããã¨ç¢ºä¿ãããã
[SECURITY] podcast 第1å ã»ãã¥ãªãã£ã®ãã¢ã¬ã
@ntsujiããã@MasafumiNegishiãããmtakeshiããã®ããããã£ã¹ããã»ãã¥ãªãã£ã®ãã¢ã¬ããã®åé²ã«ãéªéãã¦ãã¾ããï¼
- 第1å åç»ã®ã¢ã¬ããããããã£ã¹ãã®ã¢ã¬ã«å¸°ã£ã¦ãããï¼ã¹ãã·ã£ã« « podcast - ã»ãã¥ãªãã£ã®ãã¢ã¬ã
- http://tsujileaks.com/media/are_170423.mp3
人ã«èãããããã«è©±ãã£ã¦ããããã¯ãè¾»ããæ ¹å²¸ããã«è§£èª¬ãã¦ããããªãã3人ã¨ã®ä¼è©±ãèªåèªèº«ã楽ããã¿ãããªæãã§ãããããããã°ãã°ããªæãã§ããã©ãããããé¡ããã¾ãï¼
å®å ¨ãªèå¼±æ§ã®ä½ãæ¹
ãã®è¨äºã¯ ãèå¼±æ§"&'<<>\ Advent Calendar 2016ã16æ¥ç®ã®è¨äºã§ããå ·ä½çãªèå¼±æ§ã®è©±ã§ãªãã¦ãã¿ã¾ãããããããã³ã¼ããæ¸ãã¦ããã¨ãå®å ¨ã«èå¼±æ§ãçºçãããããªãã¨ããããã¾ããã£ã¦æ¸ãã¨ãã£ã±ãæå³ãããããªãã¨æãã¾ãããã»ãã¥ãªãã£ã®è¬ç¾©ã®ããã®æ¼ç¿ç°å¢ã¨ããããããã¤ã§ãã
åè¬çèªèº«ã®æã§Webã¢ããªã±ã¼ã·ã§ã³ã®èå¼±æ§ãæ¢ãã¦ããããããªæ¼ç¿ã§ã¯ãæ¤æ»å¯¾è±¡ã¨ãªãèå¼±æ§ãå«ãWebã¢ããªã±ã¼ã·ã§ã³ãç¨æããå¿ è¦ãããã¾ãããããã£ããèå¼±ãªWebã¢ããªã±ã¼ã·ã§ã³ãã¯ä¾ãã° Broken Web Applications Project ã®ãããªãã®ã代表ã«ããã¤ãã®ãã®ãããã¾ããããããã¯UIãè±èªã§ãã£ããããã¾ãã«ãã¡ã¸ã£ã¼ããã¦åè¬çã触ã£ã¦ããå¯è½æ§ããã£ããã¨ãå ´åã«ãã£ã¦ã¯å©ç¨ãé£ãããã¨ãããã¾ããç¹ã«ãåä¸ã®Webãµã¼ãã«å¯¾ãã¦è¤æ°ã®åè¬çãä¸æã«æ¤æ»ãè¡ããããªè¬ç¾©å½¢æ ãæ¡ãå ´å(åèªãæå ã§VMãç«ã¦ã¦ä¸äººã§æ¤æ»ãé²ããããããåããµã¼ãã«å ¨å¡ã§ã¢ã¯ã»ã¹ããã»ããè¬ç¾©ãçãä¸ããã®ã§ã)ãç°å¢ã«å¯¾ãã¦ç ´å£çãªèå¼±æ§ãåå¨ãã¦ãã¦ã¯æ¼ç¿ãã®ãã®ãä¸åº§ãã¦ãã¾ãå¯è½æ§ãããã¾ãã
ããã§ããããã£ãè¬ç¾©ãè¡ãéã«ã¯ç§ã¯ãã®è¬ç¾©ã®åè¬çã®ã¬ãã«ãªã©ã«åããã¦èª¿æ´ããèå¼±ãªWebã¢ããªã±ã¼ã·ã§ã³ãé½åº¦èªåã§æ¸ãã¦ããã®ã§ããããã®ã¨ãã«ãèå¼±æ§ããã£ã¦ãå®å ¨ã«ãªãããã«ãããã¤ãæ°ãä»ãã¦ããç¹ãããã¾ããä»æ¥ã¯ãããã£ãç¹ã«ã¤ãã¦ã¡ã¢æ¸ãã¨ãã¦è¨ãã¦ããã¾ãã
- SQLã¤ã³ã¸ã§ã¯ã·ã§ã³ã§ã¯ãã¼ã¿ãã¼ã¹ãç ´å£ã§ããªãããèªã¿åãã®ã¿ã«å¶éãã¦ãã
- 以åãæ¼ç¿ã®æ©ã段éã§åå è ã®ä¸äººãSQLã¤ã³ã¸ã§ã¯ã·ã§ã³ã§ä»ã®åå è ã®ãã¹ã¯ã¼ããå¤æ´ãã¦ãã¾ã£ãããã«ä»ã®åå è ã¯æ¼ç¿ãé²ãããã¨ãã§ããªããªã£ãã¨ãããã¨ãããã¾ããããã以éã¯ãSQLã¤ã³ã¸ã§ã¯ã·ã§ã³ãä»è¾¼ãã¨ãã«ã¯ãã¼ã¿ãã¼ã¹ã®èªã¿åãã¯ã§ãããæ´æ°ãåé¤ã¨ãã£ãç ´å£çãªæä½ã¯ã§ããªãããã«æ¨©éãªã©ãé©åã«è¨å®ããçã®å¯¾çãè¡ã£ã¦SQLã¤ã³ã¸ã§ã¯ã·ã§ã³ãå«ã¾ããããã«ãã¦ãã¾ãã
- CSRFã¯çºçãã¦ãã¦ã¼ã¶ã¼ã®å¦¨ãã«ãªããªããã®ã«éå®ãã
- 以åã®æ¼ç¿ã§ããã°ã¢ã¦ãæ©è½ã«CSRFããã ã㤠ãã°ã¤ã³ç´å¾ã«è¡¨ç¤ºãããåæã§èªç±ã«ç»åã½ã¼ã¹ã®URLãè¨å®ã§ãã(ããã¯èå¼±æ§ã§ã¯ãªãã¢ããªã±ã¼ã·ã§ã³ã®æ©è½) ã¨ããã®ãçµã¿ãããã¦ããã°ã¤ã³ããã¨ç´å¾ã«å¼·å¶çã«ãã°ã¢ã¦ãããããã¦ãã¾ãã¨ããç½ ãåå è ãä»è¾¼ãã ãã¨ãããããã®å ´åããã¯ãæ¼ç¿ããã以éé²ã¾ãªããªã£ã¦ãã¾ãã¾ãããã§ãã®ã§ãCSRFãä»è¾¼ãå ´åã«ã¯CSRFã«ãã£ã¦æ©è½ãå¼ã³åºãããã¨ãã¦ã以éã®ã¦ã¼ã¶ã¼æä½ã«å½±é¿ãä¸ããªããä¾ãã°ãååããã©ã¼ã ã®éä¿¡ãããã¯ãã¼ã ã®å¤æ´ãªã©ãã¨ãã£ãåæã«éå®ããããã«ãã¦ãã¾ãã
- XSSãCSRFåæ§ã«ã¦ã¼ã¶ã¼ã®å¦¨ãã«ãªããªãåæã«éå®ãã
- XSSãä»è¾¼ãã§ããå ´åããCSRFåæ§ã«ä»®ã«æªç¨ããã¦ãã¦ã¼ã¶ã¼ã®æä½ã®å¦¨ãã¨ãªããªããããªåæã ãã§çºçããããã«ãã¦ããã¾ããä¾ãã°ãXSSã®çºçããåæãã¦ã¼ã¶ã¼æä½ã®å¿ è¦ãªåæã«éå®ãããèç©åã®XSSã§ãã£ã¦ãä¾ãã°ãã®ã¡ãã»ã¼ã¸ãéãåã«åé¤ã§ããããã«ãããã¨ãã£ãæãã§ãã
- OSã³ãã³ãã¤ã³ã¸ã§ã¯ã·ã§ã³ã¯å ¥ããªã
- OSã³ãã³ãã¤ã³ã¸ã§ã¯ã·ã§ã³ã¯ç°å¢ãç ´å£ãã¦ãã¾ãæããå¼·ããç¹ã«åå è ããã®ãã¨ãææ¡ãã¦ããªããããªå ´åã«ã¯ä½ãèµ·ãããããããªãã®ã§ãåºæ¬çã«ã¯èå¼±æ§ã¨ãã¦ã¯å«ã¾ããªãããã«ãã¾ãã
- ã»ãã·ã§ã³ã¢ããã·ã§ã³ã¯ç©æ¥µçã«æ¡ç¨
- æ»æè ã®ç¨æããã»ãã·ã§ã³IDãå©ç¨è ã«å¼·å¶ãããã»ãã·ã§ã³ã¢ããã·ã§ã³ã¯ã¦ã¼ã¶ã¼ã«ãã£ã¦åé¿å¯è½ã§ããæä½ä¸è½ã¨ãªããããªãã¨ããªããããå®è£ ä¸ç¡çããªãéãã¯èå¼±æ§ã¨ãã¦ç©æ¥µçã«åãè¾¼ãã§ããã¾ãã
- ãªã¼ãã³ãªãã¤ã¬ã¯ã¿ãç©æ¥µçã«æ¡ç¨
- ããã¦ãã®å ´åããªã¼ãã³ãªãã¤ã¬ã¯ã¿ãæ¼ç¿ã®å¦¨ãã¨ãªããããªè´å½çãªåé¡ãçºçãã«ãããããç©æ¥µçã«çµã¿è¾¼ãã§ããã¾ãããã ãããã®ãªãã¤ã¬ã¯ã¿ãæ°¸ç¶çãã¤ã¦ã¼ã¶ã¼ã®æä½ãªãã«æå¹ã¨ãªã£ã¦ãã¾ãã¦ã¼ã¶ã¼ã以éã®æ¼ç¿ãã§ããªããªãã¨ãã£ããããªåæã«ã¯çµ¶å¯¾ã«å«ã¾ããªãããã«æ³¨æãå¿ è¦ã§ãã
- å®å ¨ã§ãªãæå·
- 対象ã¨ãªãWebã¢ããªã±ã¼ã·ã§ã³ã«ããã£ã½ãã»ãã¥ãªãã£ããªã·ã¼ã®æé¢ãæ²è¼ãã¦ãããä¾ãã°ããã«ããã®ãµã¼ãã¹ã¯éä¿¡çµè·¯ä¸ãæå·åããã¦ããããå®å¿ãã¦ãå©ç¨é ãã¾ããçãè¨è¼ãã¤ã¤httpã§ã¢ããªã±ã¼ã·ã§ã³ããµã¼ãããã¨ãã£ããæè¡çã§ãªãèå¼±æ§ãå«ã¾ãã¦ããã¾ããããã¯ä»ã®èå¼±æ§ã¨éãç°å¢ãç ´å£ãããªãã®ã§å®å ¨ã§ããå®å¿ãã¦ãµã¼ãã¹ãæä¾ã§ãã¾ãï¼
ãã以å¤ã«ããHTMLã³ã¡ã³ããJSã³ã¡ã³ãã«æ©å¯æ
å ±(ããããã®)ãè¨è¼ãã¦ãããã¨ãã£ãå°ããªèå¼±æ§ãå«ã¾ãããã¨ãããã¾ãã
ããã«ãã¦ãæãã®ã¯ããã®ãããªèå¼±æ§ãèªç¶ãªããã¡ã§ä½ãããã®ã¯ãããªãã«é£ããã®ã«ãä¸ã®ä¸ã®Webã¢ããªã±ã¼ã·ã§ã³ã§ã¯ãã£ã¨ä¿¡ããããªããããªèå¼±æ§ãæ®éã«åå¨ãã¦ããããã¦ãä¸æ¹ã§ããã ãé å¼µã£ã¦å®å
¨ã«é
æ
®ãã¦èå¼±æ§ãä½ã£ã¦ããã«ãé¢ããããã¡ãã£ã¨ãããã°ãå©ç¨ã㦠Masato Kinugawa ããã«ãµã¼ãä¸ã§é»åãç«ã¡ä¸ãããã¦ãã¾ããã¨ããã£ããã¨ããªããªãä¸ã®ä¸é£ãããªã¨ããã¨ããã§ãã