{"id":156,"date":"2009-07-20T11:47:30","date_gmt":"2009-07-20T11:47:30","guid":{"rendered":""},"modified":"2011-04-25T08:37:23","modified_gmt":"2011-04-25T08:37:23","slug":"sablog1-6%e7%9a%84csrf%e6%bc%8f%e6%b4%9epoc","status":"publish","type":"post","link":"https:\/\/www.inbreak.net\/archives\/156.html","title":{"rendered":"sablog1.6\u7684CSRF\u6f0f\u6d1ePOC"},"content":{"rendered":"

sablog1.6\u7684CSRF\u6f0f\u6d1ePOC\u3002<\/p>\n

\u8fd9\u4e2a\u5728\u6211\u7684blog\u4e2d\u6d4b\u8bd5\u6210\u529f\uff0c\u5b98\u65b9\u4e0b\u8f7d\u7684\u6700\u65b0\u7248\u672c\u6d4b\u8bd5\u6210\u529f\uff0c\u4f46\u662f\u5728\u5c0f\u6cfd\u7684blog\u5931\u8d25\u7684\u3002<\/p>\n

\u539f\u56e0\u662f\u4ed6\u81ea\u5df1\u4fee\u6539\u4e86\u6e90\u7a0b\u5e8f\uff0c\u5224\u65ad\u4e86referer\u3002<\/p>\n

POC:<\/p>\n

\n
SHELL\u4ee3\u7801<\/div>\n
    \n
  1. \u8bc4\u8bba\u65f6\uff0c\u7f51\u7ad9\u5730\u5740\u8f93\u5165\uff1ahttp:\/\/inbreak.net\/blog   <\/span><\/span><\/li>\n
  2.   <\/span><\/li>\n
  3. \u7136\u540e\u5185\u5bb9\u662f\uff1a\u4f60\u597d\uff0c\u53ef\u4ee5\u7ed9\u6211\u505a\u4e2a\u94fe\u63a5\u4e48\uff1f   <\/span><\/li>\n<\/ol>\n<\/div>\n

    \u7ba1\u7406\u5458\u540e\u53f0\u767b\u9646\u540e\uff0c\u5982\u679c\u70b9\u4e86\u4f60\u7684\u4e3b\u9875\uff0c\u5c31\u4f1a\u5728\u4ed6\u7684\u540e\u53f0\u6dfb\u52a0\u4e00\u4e2a\u8d26\u6237\u3002<\/p>\n

    hackedbykxlzx<\/p>\n

    \u7136\u540e\u4f60\u53ef\u4ee5\u5229\u7528\u8fd9\u4e2a\u8d26\u6237\u767b\u5f55\uff0c\u4fee\u6539\u6a21\u7248\uff0c\u53ef\u4ee5\u7f16\u8f91PHP\u6587\u4ef6\uff0c\u641e\u4e2ashell\u4e0a\u53bb\u3002<\/p>\n

    \u7ba1\u7406\u5458\u70b9\u4e86\u4e3b\u9875\uff0c\u770b\u5230\u4e00\u4e2a\u9875\u9762\uff0c\u8bf4\u5730\u5740\u9519\u8bef\uff0c\u8df3\u8f6c\u4e2d\u3002<\/p>\n

    2\u4e2a\u91cd\u8981\u6587\u4ef6\uff0c\u7b2c\u4e00\u4e2a\u662f
    \nhttp:\/\/inbreak.net\/blog\/index.php<\/a>
    \n\u5f88\u5177\u6709\u8ff7\u60d1\u6027\u5427\uff1f\u7ba1\u7406\u5458\u9996\u5148\u770b\u5230\u8fd9\u4e2a\u3002
    \n\u8fd9\u91cc\u6709\u4e2aiframe,\u6307\u5411\u7b2c\u4e8c\u4e2a<\/p>\n

    \u662f
    \n
    http:\/\/inbreak.net\/kxlzxtest\/testxss\/sablog.php<\/a><\/p>\n

    \u8fd9\u91cc\u63d0\u4ea4\u6dfb\u52a0\u7528\u6237\u3002<\/p>\n

    \u5f53\u7ba1\u7406\u5458\u8bbf\u95ee\u7684\u65f6\u5019\uff0c\u5c31\u5077\u5077\u6dfb\u52a0\u4e86\u7528\u6237\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

    sablog1.6\u7684CSRF\u6f0f\u6d1ePOC\u3002<\/p>\n

    \u8fd9\u4e2a\u5728\u6211\u7684blog\u4e2d\u6d4b\u8bd5\u6210\u529f\uff0c\u5b98\u65b9\u4e0b\u8f7d\u7684\u6700\u65b0\u7248\u672c\u6d4b\u8bd5\u6210\u529f\uff0c\u4f46\u662f\u5728\u5c0f\u6cfd\u7684blog\u5931\u8d25\u7684\u3002<\/p>\n

    \u539f\u56e0\u662f\u4ed6\u81ea\u5df1\u4fee\u6539\u4e86\u6e90\u7a0b\u5e8f\uff0c\u5224\u65ad\u4e86referer\u3002<\/p>\n

     <\/p>\n

    \u7ee7\u7eed\u9605\u8bfb »<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[86,5],"tags":[53,54],"views":8297,"_links":{"self":[{"href":"https:\/\/www.inbreak.net\/wp-json\/wp\/v2\/posts\/156"}],"collection":[{"href":"https:\/\/www.inbreak.net\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inbreak.net\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inbreak.net\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inbreak.net\/wp-json\/wp\/v2\/comments?post=156"}],"version-history":[{"count":1,"href":"https:\/\/www.inbreak.net\/wp-json\/wp\/v2\/posts\/156\/revisions"}],"predecessor-version":[{"id":224,"href":"https:\/\/www.inbreak.net\/wp-json\/wp\/v2\/posts\/156\/revisions\/224"}],"wp:attachment":[{"href":"https:\/\/www.inbreak.net\/wp-json\/wp\/v2\/media?parent=156"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inbreak.net\/wp-json\/wp\/v2\/categories?post=156"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inbreak.net\/wp-json\/wp\/v2\/tags?post=156"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}