{"id":476481,"date":"2023-08-09T07:29:55","date_gmt":"2023-08-09T07:29:55","guid":{"rendered":""},"modified":"2023-09-05T11:12:51","modified_gmt":"2023-09-05T11:12:51","slug":"cross-site-requested-forgery","status":"publish","type":"wiki","link":"https:\/\/oneproxy.pro\/kr\/wiki\/cross-site-requested-forgery\/","title":{"rendered":"\ud06c\ub85c\uc2a4\uc0ac\uc774\ud2b8\uc5d0\uc11c \uc704\uc870\ub97c \uc694\uccad\ud568"},"content":{"rendered":"<p>CSRF(\uad50\ucc28 \uc0ac\uc774\ud2b8 \uc694\uccad \uc704\uc870)\ub294 \uacf5\uaca9\uc790\uac00 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c \uc778\uc99d\ub41c \uc0ac\uc6a9\uc790\ub97c \ub300\uc2e0\ud558\uc5ec \uc2b9\uc778\ub418\uc9c0 \uc54a\uc740 \uc791\uc5c5\uc744 \uc218\ud589\ud560 \uc218 \uc788\ub3c4\ub85d \ud5c8\uc6a9\ud558\ub294 \uc6f9 \ubcf4\uc548 \ucde8\uc57d\uc131 \uc720\ud615\uc785\ub2c8\ub2e4. CSRF \uacf5\uaca9\uc740 \uc0ac\uc6a9\uc790\uac00 \uc54c\uc9c0 \ubabb\ud558\uac70\ub098 \ub3d9\uc758\ud558\uc9c0 \uc54a\uc740 \ucc44 \uc545\uc758\uc801\uc778 \uc694\uccad\uc744 \ud558\ub3c4\ub85d \uc18d\uc784\uc73c\ub85c\uc368 \uc6f9\uc0ac\uc774\ud2b8\uac00 \uc0ac\uc6a9\uc790 \ube0c\ub77c\uc6b0\uc800\uc5d0 \uac16\uace0 \uc788\ub294 \uc2e0\ub8b0\ub97c \uc545\uc6a9\ud569\ub2c8\ub2e4. \uc774\ub7ec\ud55c \uc720\ud615\uc758 \uacf5\uaca9\uc740 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 \ubb34\uacb0\uc131\uacfc \ubcf4\uc548\uc5d0 \uc2ec\uac01\ud55c \uc704\ud611\uc744 \uac00\ud569\ub2c8\ub2e4.<\/p>\n<h2>Cross-Site Request Forgery\uc758 \uc720\ub798\uc640 \ucd5c\ucd08 \uc5b8\uae09\uc758 \uc5ed\uc0ac<\/h2>\n<p>&quot;\uad50\ucc28 \uc0ac\uc774\ud2b8 \uc694\uccad \uc704\uc870(Cross-Site Request Forgery)&quot;\ub77c\ub294 \uc6a9\uc5b4\ub294 2001\ub144 RSnake\uc640 Amit Klein \uc5f0\uad6c\uc6d0\uc774 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \ubcf4\uc548\uc5d0 \ub300\ud55c \ub17c\uc758 \uc911\uc5d0 \ucc98\uc74c \ub9cc\ub4e4\uc5b4\ub0c8\uc2b5\ub2c8\ub2e4. \uadf8\ub7ec\ub098 CSRF\uc640 \uc720\uc0ac\ud55c \uacf5\uaca9\uc758 \uac1c\ub150\uc740 1990\ub144\ub300 \uc911\ubc18\ubd80\ud130 \uc54c\ub824\uc84c\uc2b5\ub2c8\ub2e4. \uc720\uc0ac\ud55c \uacf5\uaca9\uc5d0 \ub300\ud574 \ucc98\uc74c\uc73c\ub85c \uc54c\ub824\uc9c4 \uc5b8\uae09\uc740 Adam Barth\ub77c\ub294 \uc5f0\uad6c\uc6d0\uc774 \uacf5\uaca9\uc790\uac00 HTTP \uc694\uccad\uc744 \uc704\uc870\ud560 \uc218 \uc788\ub3c4\ub85d \ud5c8\uc6a9\ud558\ub294 Netscape Navigator \ube0c\ub77c\uc6b0\uc800\uc758 \ucde8\uc57d\uc810\uc744 \uc124\uba85\ud588\ub358 1996\ub144\uc73c\ub85c \uac70\uc2ac\ub7ec \uc62c\ub77c\uac11\ub2c8\ub2e4.<\/p>\n<h2>\uc0ac\uc774\ud2b8 \uac04 \uc694\uccad \uc704\uc870\uc5d0 \ub300\ud55c \uc790\uc138\ud55c \uc815\ubcf4<\/h2>\n<p>CSRF \uacf5\uaca9\uc740 \uc77c\ubc18\uc801\uc73c\ub85c \uacc4\uc815 \uc124\uc815 \uc218\uc815, \uad6c\ub9e4 \ub610\ub294 \ub192\uc740 \uad8c\ud55c\uc73c\ub85c \uc791\uc5c5 \uc218\ud589\uacfc \uac19\uc740 \uc0c1\ud0dc \ubcc0\uacbd \uc694\uccad\uc744 \ud45c\uc801\uc73c\ub85c \uc0bc\uc2b5\ub2c8\ub2e4. \uacf5\uaca9\uc790\ub294 \uc0ac\uc6a9\uc790\uc758 \ube0c\ub77c\uc6b0\uc800\uac00 \ub300\uc0c1 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c \uc2b9\uc778\ub418\uc9c0 \uc54a\uc740 \uc791\uc5c5\uc744 \uc2e4\ud589\ud558\ub3c4\ub85d \ud2b8\ub9ac\uac70\ud558\ub294 \ud2b9\uc218 \uc81c\uc791\ub41c URL\uc774\ub098 \uc591\uc2dd\uc774 \ud3ec\ud568\ub41c \uc545\uc131 \uc6f9 \uc0ac\uc774\ud2b8\ub098 \uc774\uba54\uc77c\uc744 \ub9cc\ub4ed\ub2c8\ub2e4. \uc774\ub294 \ube0c\ub77c\uc6b0\uc800\uac00 \uc545\uc758\uc801\uc778 \uc694\uccad\uc5d0 \uc0ac\uc6a9\uc790\uc758 \uc778\uc99d\ub41c \uc138\uc158 \uc790\uaca9 \uc99d\uba85\uc744 \uc790\ub3d9\uc73c\ub85c \ud3ec\ud568\ud558\uc5ec \ud569\ubc95\uc801\uc778 \uac83\ucc98\ub7fc \ubcf4\uc774\uac8c \ud558\uae30 \ub54c\ubb38\uc5d0 \ubc1c\uc0dd\ud569\ub2c8\ub2e4.<\/p>\n<h2>\uc0ac\uc774\ud2b8 \uac04 \uc694\uccad \uc704\uc870\uc758 \ub0b4\ubd80 \uad6c\uc870 \ubc0f \uc791\ub3d9 \ubc29\uc2dd<\/h2>\n<p>CSRF\uc758 \uba54\ucee4\ub2c8\uc998\uc5d0\ub294 \ub2e4\uc74c \ub2e8\uacc4\uac00 \ud3ec\ud568\ub429\ub2c8\ub2e4.<\/p>\n<ol>\n<li>\uc0ac\uc6a9\uc790\ub294 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0 \ub85c\uadf8\uc778\ud558\uace0 \uc77c\ubc18\uc801\uc73c\ub85c \ucfe0\ud0a4\ub098 \uc228\uaca8\uc9c4 \uc591\uc2dd \ud544\ub4dc\uc5d0 \uc800\uc7a5\ub418\ub294 \uc778\uc99d \ud1a0\ud070\uc744 \ubc1b\uc2b5\ub2c8\ub2e4.<\/li>\n<li>\uc0ac\uc6a9\uc790\ub294 \ub85c\uadf8\uc778\ud55c \uc0c1\ud0dc\uc5d0\uc11c \uc545\uc131 \uc6f9\uc0ac\uc774\ud2b8\ub97c \ubc29\ubb38\ud558\uac70\ub098 \uc545\uc131 \ub9c1\ud06c\ub97c \ud074\ub9ad\ud569\ub2c8\ub2e4.<\/li>\n<li>\uc545\uc131 \uc6f9\uc0ac\uc774\ud2b8\ub294 \ube0c\ub77c\uc6b0\uc800\uc758 \ucfe0\ud0a4\ub098 \uc138\uc158 \ub370\uc774\ud130\uc5d0 \uc800\uc7a5\ub41c \uc0ac\uc6a9\uc790 \uc790\uaca9 \uc99d\uba85\uc744 \uc0ac\uc6a9\ud558\uc5ec \ub300\uc0c1 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0 \uc870\uc791\ub41c HTTP \uc694\uccad\uc744 \ubcf4\ub0c5\ub2c8\ub2e4.<\/li>\n<li>\ub300\uc0c1 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc740 \uc694\uccad\uc744 \uc218\uc2e0\ud558\uace0, \uc5ec\uae30\uc5d0\ub294 \uc0ac\uc6a9\uc790\uc758 \uc720\ud6a8\ud55c \uc778\uc99d \ud1a0\ud070\uc774 \ud3ec\ud568\ub418\uc5b4 \uc788\uc73c\ubbc0\ub85c \ud569\ubc95\uc801\uc778 \uc0ac\uc6a9\uc790\uac00 \ubcf4\ub0b8 \uac83\ucc98\ub7fc \uc694\uccad\uc744 \ucc98\ub9ac\ud569\ub2c8\ub2e4.<\/li>\n<li>\uadf8 \uacb0\uacfc, \uc0ac\uc6a9\uc790\uac00 \ubaa8\ub974\ub294 \uc0ac\uc774\uc5d0 \uc545\uc758\uc801\uc778 \ud589\uc704\uac00 \uc0ac\uc6a9\uc790\ub97c \ub300\uc2e0\ud558\uc5ec \uc218\ud589\ub429\ub2c8\ub2e4.<\/li>\n<\/ol>\n<h2>Cross-Site Request Forgery\uc758 \uc8fc\uc694 \ud2b9\uc9d5 \ubd84\uc11d<\/h2>\n<p>CSRF \uacf5\uaca9\uc758 \uc8fc\uc694 \ud2b9\uc9d5\uc740 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4.<\/p>\n<ol>\n<li><strong>\ubcf4\uc774\uc9c0 \uc54a\ub294 \ucc29\ucde8<\/strong>: CSRF \uacf5\uaca9\uc740 \uc0ac\uc6a9\uc790\uac00 \uc778\uc9c0\ud558\uc9c0 \ubabb\ud55c \ucc44 \uc790\ub3d9\uc73c\ub85c \uc2e4\ud589\ub420 \uc218 \uc788\uc5b4 \uc704\ud5d8\ud558\uace0 \uac10\uc9c0\ud558\uae30 \uc5b4\ub835\uc2b5\ub2c8\ub2e4.<\/li>\n<li><strong>\uc0ac\uc6a9\uc790 \uc2e0\ub8b0\uc5d0 \ub300\ud55c \uc758\uc874<\/strong>: CSRF\ub294 \uc0ac\uc6a9\uc790\uc758 \ube0c\ub77c\uc6b0\uc800\uc640 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uc0ac\uc774\uc5d0 \uc124\uc815\ub41c \uc2e0\ub8b0\ub97c \ud65c\uc6a9\ud569\ub2c8\ub2e4.<\/li>\n<li><strong>\uc138\uc158 \uae30\ubc18<\/strong>: CSRF \uacf5\uaca9\uc740 \uc885\uc885 \ud65c\uc131 \uc0ac\uc6a9\uc790 \uc138\uc158\uc5d0 \uc758\uc874\ud558\uba70 \uc0ac\uc6a9\uc790\uc758 \uc778\uc99d\ub41c \uc0c1\ud0dc\ub97c \ud65c\uc6a9\ud558\uc5ec \uc694\uccad\uc744 \uc704\uc870\ud569\ub2c8\ub2e4.<\/li>\n<li><strong>\uc601\ud5a5\ub825 \uc788\ub294 \ud589\ub3d9<\/strong>: \uacf5\uaca9\uc740 \uc0c1\ud0dc \ubcc0\uacbd \uc791\uc5c5\uc744 \ud45c\uc801\uc73c\ub85c \uc0bc\uc544 \ub370\uc774\ud130 \uc218\uc815\uc774\ub098 \uae08\uc804\uc801 \uc190\uc2e4 \ub4f1 \uc2ec\uac01\ud55c \uacb0\uacfc\ub97c \ucd08\ub798\ud569\ub2c8\ub2e4.<\/li>\n<\/ol>\n<h2>\uad50\ucc28 \uc0ac\uc774\ud2b8 \uc694\uccad \uc704\uc870 \uc720\ud615<\/h2>\n<table>\n<thead>\n<tr>\n<th>\uc720\ud615<\/th>\n<th>\uc124\uba85<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\uac04\ub2e8\ud55c CSRF<\/td>\n<td>\ub2e8\uc77c \uc704\uc870 \uc694\uccad\uc774 \ub300\uc0c1 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc73c\ub85c \uc804\uc1a1\ub418\ub294 \uac00\uc7a5 \uc77c\ubc18\uc801\uc778 \uc720\ud615\uc785\ub2c8\ub2e4.<\/td>\n<\/tr>\n<tr>\n<td>\ube14\ub77c\uc778\ub4dc CSRF<\/td>\n<td>\uacf5\uaca9\uc790\ub294 \uc751\ub2f5\uc744 \uc5bb\uc9c0 \ubabb\ud55c \ucc44 \ub300\uc0c1\uc5d0\uac8c \uc870\uc791\ub41c \uc694\uccad\uc744 \ubcf4\ub0b4 \ub300\uc0c1\uc744 &quot;\ub9f9\uc778&quot; \uc0c1\ud0dc\ub85c \ub9cc\ub4ed\ub2c8\ub2e4.<\/td>\n<\/tr>\n<tr>\n<td>XSS\ub97c \uc0ac\uc6a9\ud55c CSRF<\/td>\n<td>\uacf5\uaca9\uc790\ub294 CSRF\uc640 XSS(\uad50\ucc28 \uc0ac\uc774\ud2b8 \uc2a4\ud06c\ub9bd\ud305)\ub97c \uacb0\ud569\ud558\uc5ec \ud53c\ud574\uc790\uc5d0\uac8c \uc545\uc131 \uc2a4\ud06c\ub9bd\ud2b8\ub97c \uc2e4\ud589\ud569\ub2c8\ub2e4.<\/td>\n<\/tr>\n<tr>\n<td>JSON \uc5d4\ub4dc\ud3ec\uc778\ud2b8\uac00 \uc788\ub294 CSRF<\/td>\n<td>\uacf5\uaca9\uc790\ub294 JSON \uc5d4\ub4dc\ud3ec\uc778\ud2b8\ub97c \uc0ac\uc6a9\ud558\ub294 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ud45c\uc801\uc73c\ub85c \uc0bc\uc544 JSON \ub370\uc774\ud130\ub97c \uc870\uc791\ud558\uc5ec CSRF\ub97c \uc2e4\ud589\ud569\ub2c8\ub2e4.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>\uc0ac\uc774\ud2b8 \uac04 \uc694\uccad \uc704\uc870(Cross-Site Request Forgery) \uc0ac\uc6a9 \ubc29\ubc95, \ubb38\uc81c\uc810 \ubc0f \ud574\uacb0 \ubc29\ubc95<\/h2>\n<h3>\uc545\uc6a9 \ubc29\ubc95<\/h3>\n<ol>\n<li>\ubb34\ub2e8 \uacc4\uc815 \uc791\uc5c5: \uacf5\uaca9\uc790\ub294 \uc0ac\uc6a9\uc790\ub97c \uc18d\uc5ec \uacc4\uc815 \uc124\uc815\uc774\ub098 \ube44\ubc00\ubc88\ud638\ub97c \ubcc0\uacbd\ud558\ub3c4\ub85d \ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<li>\uae08\uc735 \uac70\ub798: CSRF\ub294 \uc2b9\uc778\ub418\uc9c0 \uc54a\uc740 \uc790\uae08 \uc774\uccb4 \ub610\ub294 \uad6c\ub9e4\ub97c \uc6a9\uc774\ud558\uac8c \ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/li>\n<li>\ub370\uc774\ud130 \uc870\uc791: \uacf5\uaca9\uc790\ub294 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \ub0b4\uc5d0\uc11c \uc0ac\uc6a9\uc790 \ub370\uc774\ud130\ub97c \uc218\uc815\ud558\uac70\ub098 \uc0ad\uc81c\ud569\ub2c8\ub2e4.<\/li>\n<\/ol>\n<h3>\uc194\ub8e8\uc158 \ubc0f \uc608\ubc29<\/h3>\n<ol>\n<li>CSRF \ud1a0\ud070: \uac01 \uc694\uccad\uc5d0 \uace0\uc720\ud55c \ud1a0\ud070\uc744 \uad6c\ud604\ud558\uc5ec \uc801\ubc95\uc131\uc744 \ud655\uc778\ud569\ub2c8\ub2e4.<\/li>\n<li>SameSite \ucfe0\ud0a4: SameSite \uc18d\uc131\uc744 \ud65c\uc6a9\ud558\uc5ec \ucfe0\ud0a4 \ubc94\uc704\ub97c \uc81c\ud55c\ud569\ub2c8\ub2e4.<\/li>\n<li>\uc0ac\uc6a9\uc790 \uc815\uc758 \uc694\uccad \ud5e4\ub354: \uc0ac\uc6a9\uc790 \uc815\uc758 \ud5e4\ub354\ub97c \ucd94\uac00\ud558\uc5ec \uc694\uccad\uc744 \uac80\uc99d\ud569\ub2c8\ub2e4.<\/li>\n<li>\uc774\uc911 \uc81c\ucd9c \ucfe0\ud0a4: \ud1a0\ud070 \uac12\uacfc \uc77c\uce58\ud558\ub294 \ubcf4\uc870 \ucfe0\ud0a4\ub97c \ud3ec\ud568\ud569\ub2c8\ub2e4.<\/li>\n<\/ol>\n<h2>\uc8fc\uc694 \ud2b9\uc9d5 \ubc0f \uc720\uc0ac \uc6a9\uc5b4\uc640\uc758 \ube44\uad50<\/h2>\n<table>\n<thead>\n<tr>\n<th>\uc6a9\uc5b4<\/th>\n<th>\uc124\uba85<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>XSS(\uad50\ucc28 \uc0ac\uc774\ud2b8 \uc2a4\ud06c\ub9bd\ud305)<\/td>\n<td>\ub2e4\ub978 \uc0ac\uc6a9\uc790\uac00 \ubcf4\ub294 \uc6f9\ud398\uc774\uc9c0\uc5d0 \uc545\uc131 \uc2a4\ud06c\ub9bd\ud2b8\ub97c \uc0bd\uc785\ud558\ub294 \ub370 \uc911\uc810\uc744 \ub461\ub2c8\ub2e4.<\/td>\n<\/tr>\n<tr>\n<td>\uc0ac\uc774\ud2b8 \uac04 \uc694\uccad \uc704\uc870<\/td>\n<td>\uc0c1\ud0dc \ubcc0\uacbd \uc791\uc5c5\uc744 \ubaa9\ud45c\ub85c \ud558\uba70 \uc0ac\uc6a9\uc790 \uc2e0\ub8b0\ub97c \ud65c\uc6a9\ud558\uc5ec \ubb34\ub2e8 \uc694\uccad\uc744 \uc2e4\ud589\ud569\ub2c8\ub2e4.<\/td>\n<\/tr>\n<tr>\n<td>\uad50\ucc28 \uc0ac\uc774\ud2b8 \uc2a4\ud06c\ub9bd\ud2b8 \ud3ec\ud568<\/td>\n<td>\uc678\ubd80 \ub3c4\uba54\uc778\uc758 \uc545\uc131 \uc2a4\ud06c\ub9bd\ud2b8\ub97c \ub300\uc0c1 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0 \ud3ec\ud568\uc2dc\ud0a4\ub294 \uac83\uacfc \uad00\ub828\ub429\ub2c8\ub2e4.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>Cross-Site Request Forgery \uad00\ub828 \ubbf8\ub798 \uc804\ub9dd\uacfc \uae30\uc220<\/h2>\n<p>\uc6f9 \uae30\uc220\uc774 \ubc1c\uc804\ud568\uc5d0 \ub530\ub77c CSRF \uacf5\uaca9\uc5d0 \ub300\uc751\ud558\uae30 \uc704\ud55c \uc0c8\ub85c\uc6b4 \ubc29\uc5b4 \uba54\ucee4\ub2c8\uc998\uc774 \ub4f1\uc7a5\ud560 \uac00\ub2a5\uc131\uc774 \ub192\uc2b5\ub2c8\ub2e4. \uc0dd\uccb4\uc778\uc2dd, \ud1a0\ud070\ud654, \ub2e4\ub2e8\uacc4 \uc778\uc99d\uc744 \ud1b5\ud569\ud558\uba74 \uc0ac\uc6a9\uc790 \ud655\uc778\uc744 \uac15\ud654\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ub610\ud55c CSRF \ucde8\uc57d\uc131\uc744 \uc790\ub3d9\uc73c\ub85c \uac10\uc9c0\ud558\uace0 \ubc29\uc9c0\ud558\ub294 \ube0c\ub77c\uc6b0\uc800 \ubcf4\uc548 \uac15\ud654 \ubc0f \ud504\ub808\uc784\uc6cc\ud06c\ub294 \ud5a5\ud6c4 \uc704\ud611\uc744 \uc644\ud654\ud558\ub294 \ub370 \uc911\uc694\ud55c \uc5ed\ud560\uc744 \ud560 \uac83\uc785\ub2c8\ub2e4.<\/p>\n<h2>\ud504\ub85d\uc2dc \uc11c\ubc84\ub97c \uc0ac\uc774\ud2b8 \uac04 \uc694\uccad \uc704\uc870\uc640 \uc5f0\uacb0\ud558\ub294 \ubc29\ubc95<\/h2>\n<p>\ud504\ub85d\uc2dc \uc11c\ubc84\ub294 \uc0ac\uc6a9\uc790\uc640 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uac04\uc758 \uc911\uac1c\uc790 \uc5ed\ud560\uc744 \ud569\ub2c8\ub2e4. CSRF\uc758 \ub9e5\ub77d\uc5d0\uc11c \ud504\ub85d\uc2dc \uc11c\ubc84\ub294 \uc0ac\uc6a9\uc790 \uc694\uccad\uc758 \uc720\ud6a8\uc131\uc744 \uac80\uc0ac\ud558\ub294 \ub370 \ucd94\uac00\uc801\uc778 \ubcf5\uc7a1\uc131\uc744 \ub3c4\uc785\ud558\uc5ec \uc7a0\uc7ac\uc801\uc73c\ub85c CSRF \ucde8\uc57d\uc131\uc744 \uc644\ud654\ud558\uac70\ub098 \uc545\ud654\uc2dc\ud0ac \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc801\uc808\ud558\uac8c \uad6c\uc131\ub41c \ud504\ub85d\uc2dc \uc11c\ubc84\ub294 \ub4e4\uc5b4\uc624\ub294 \uc694\uccad\uc744 \ud544\ud130\ub9c1\ud558\uace0 \uac80\uc99d\ud558\uc5ec \ubcf4\uc548 \uacc4\uce35\uc744 \ucd94\uac00\ud558\uace0 CSRF \uacf5\uaca9\uc758 \uc704\ud5d8\uc744 \uc904\uc77c \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>\uad00\ub828\ub41c \ub9c1\ud06c\ub4e4<\/h2>\n<p>\uc0ac\uc774\ud2b8 \uac04 \uc694\uccad \uc704\uc870 \ubc0f \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \ubcf4\uc548\uc5d0 \ub300\ud55c \uc790\uc138\ud55c \ub0b4\uc6a9\uc740 \ub2e4\uc74c \ub9ac\uc18c\uc2a4\ub97c \ucc38\uc870\ud558\uc138\uc694.<\/p>\n<ol>\n<li><a href=\"https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Cross-Site_Request_Forgery_Prevention_Cheat_Sheet.html\" target=\"_new\" rel=\"noopener nofollow\">OWASP CSRF \uc608\ubc29 \uce58\ud2b8 \uc2dc\ud2b8<\/a><\/li>\n<li><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Glossary\/CSRF\" target=\"_new\" rel=\"noopener nofollow\">Mozilla \uac1c\ubc1c\uc790 \ub124\ud2b8\uc6cc\ud06c - \uc0ac\uc774\ud2b8 \uac04 \uc694\uccad \uc704\uc870(CSRF)<\/a><\/li>\n<li><a href=\"https:\/\/portswigger.net\/web-security\/csrf\" target=\"_new\" rel=\"noopener nofollow\">PortSwigger \u2013 \uc0ac\uc774\ud2b8 \uac04 \uc694\uccad \uc704\uc870(CSRF)<\/a><\/li>\n<li><a href=\"https:\/\/www.owasp.org\/index.php\/Cross-Site_Request_Forgery_(CSRF)_Prevention_Cheat_Sheet\" target=\"_new\" rel=\"noopener nofollow\">\ud06c\ub85c\uc2a4 \uc0ac\uc774\ud2b8 \uc694\uccad \uc704\uc870 \uc131\uacbd<\/a><\/li>\n<\/ol>","protected":false},"featured_media":476482,"menu_order":0,"template":"","meta":{"_acf_changed":false,"content-type":"","inline_featured_image":false,"footnotes":""},"class_list":["post-476481","wiki","type-wiki","status-publish","has-post-thumbnail","hentry"],"acf":{"faq_title":"Frequently Asked Questions about <mark>Cross-Site Request Forgery (CSRF) - A Comprehensive Guide<\/mark>","faq_items":[{"question":"What is Cross-Site Request Forgery (CSRF)?","answer":"<p>Cross-Site Request Forgery (CSRF) is a type of web security vulnerability that allows attackers to perform unauthorized actions on behalf of authenticated users without their knowledge. It exploits the trust between a user's browser and a web application to trick the application into accepting malicious requests.<\/p>"},{"question":"How did CSRF originate, and when was it first mentioned?","answer":"<p>The term \"Cross-Site Request Forgery\" was coined in 2001, but the concept of similar attacks was known since the mid-1990s. Researchers first mentioned a vulnerability in the Netscape Navigator browser that allowed attackers to forge HTTP requests back in 1996.<\/p>"},{"question":"How does CSRF work?","answer":"<p>CSRF attacks involve the following steps:<\/p><ol><li>The user logs into a web application and receives an authentication token.<\/li><li>While the user is still logged in, they visit a malicious website or click on a malicious link.<\/li><li>The malicious website sends a crafted HTTP request to the target application using the user's credentials.<\/li><li>The target application processes the request as if it came from the legitimate user, performing the malicious action.<\/li><\/ol>"},{"question":"What are the key features of CSRF attacks?","answer":"<p>Key features of CSRF attacks include:<\/p><ol><li>Invisible Exploitation: CSRF attacks occur without the user's awareness.<\/li><li>Reliance on User Trust: The attacks rely on the trust between the user's browser and the application.<\/li><li>Session-Based: CSRF attacks depend on active user sessions.<\/li><li>Impactful Actions: The attacks target state-changing operations with significant consequences.<\/li><\/ol>"},{"question":"What types of CSRF attacks exist?","answer":"<p>There are several types of CSRF attacks, including:<\/p><ol><li>Simple CSRF: A single forged request is sent to the target application.<\/li><li>Blind CSRF: The attacker sends a crafted request without obtaining the response.<\/li><li>CSRF with XSS: Attackers combine CSRF with Cross-Site Scripting to execute malicious scripts.<\/li><li>CSRF with JSON endpoints: Targeting applications using JSON endpoints, attackers manipulate JSON data for CSRF.<\/li><\/ol>"},{"question":"How can CSRF be prevented and mitigated?","answer":"<p>Preventing and mitigating CSRF attacks involve implementing various techniques, such as:<\/p><ol><li>CSRF Tokens: Use unique tokens in each request to validate its legitimacy.<\/li><li>SameSite Cookies: Utilize SameSite attributes in cookies to restrict their scope.<\/li><li>Custom Request Headers: Add custom headers to validate requests.<\/li><li>Double Submit Cookies: Include a secondary cookie that matches the token value.<\/li><\/ol>"},{"question":"How does CSRF compare to other web vulnerabilities?","answer":"<p>CSRF differs from other web vulnerabilities like Cross-Site Scripting (XSS) and Cross-Site Script Inclusion (XSSI). While XSS focuses on injecting malicious scripts into web pages, CSRF targets state-changing actions by exploiting user trust.<\/p>"},{"question":"What does the future hold for CSRF defense?","answer":"<p>As web technologies evolve, new defense mechanisms, including biometrics, tokenization, and multi-factor authentication, will emerge to counter CSRF attacks. Browser security enhancements and frameworks detecting and preventing CSRF vulnerabilities will play vital roles in mitigating future threats.<\/p>"},{"question":"How are proxy servers associated with CSRF?","answer":"<p>Proxy servers act as intermediaries between users and web applications. In the context of CSRF, they can add an extra layer of security by filtering and validating incoming requests, reducing the risk of CSRF attacks. Properly configured proxy servers can enhance web application security.<\/p>"},{"question":"Where can I find more information about CSRF?","answer":"<p>For more in-depth knowledge about CSRF and web application security, refer to the following resources:<\/p><ol><li><a href=\"https:\/\/cheatsheetseries.owasp.org\/cheatsheets\/Cross-Site_Request_Forgery_Prevention_Cheat_Sheet.html\" target=\"_new\">OWASP CSRF Prevention Cheat Sheet<\/a><\/li><li><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Glossary\/CSRF\" target=\"_new\">Mozilla Developer Network - Cross-Site Request Forgery (CSRF)<\/a><\/li><li><a href=\"https:\/\/portswigger.net\/web-security\/csrf\" target=\"_new\">PortSwigger - Cross-Site Request Forgery (CSRF)<\/a><\/li><li><a href=\"https:\/\/www.owasp.org\/index.php\/Cross-Site_Request_Forgery_(CSRF)_Prevention_Cheat_Sheet\" target=\"_new\">The Cross-Site Request Forgery Bible<\/a><\/li><\/ol>"}]},"_links":{"self":[{"href":"https:\/\/oneproxy.pro\/kr\/wp-json\/wp\/v2\/wiki\/476481","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oneproxy.pro\/kr\/wp-json\/wp\/v2\/wiki"}],"about":[{"href":"https:\/\/oneproxy.pro\/kr\/wp-json\/wp\/v2\/types\/wiki"}],"version-history":[{"count":0,"href":"https:\/\/oneproxy.pro\/kr\/wp-json\/wp\/v2\/wiki\/476481\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/oneproxy.pro\/kr\/wp-json\/wp\/v2\/media\/476482"}],"wp:attachment":[{"href":"https:\/\/oneproxy.pro\/kr\/wp-json\/wp\/v2\/media?parent=476481"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}