{"id":173,"date":"2011-02-25T15:29:10","date_gmt":"2011-02-25T15:29:10","guid":{"rendered":""},"modified":"2011-04-25T08:04:23","modified_gmt":"2011-04-25T08:04:23","slug":"%e5%88%a9%e7%94%a8session-fixation%e6%bc%8f%e6%b4%9e%e6%94%bb%e5%87%bbwap%e7%bd%91%e7%ab%99","status":"publish","type":"post","link":"https:\/\/www.inbreak.net\/archives\/173.html","title":{"rendered":"\u5229\u7528Session Fixation\u6f0f\u6d1e\u653b\u51fbWAP\u7f51\u7ad9"},"content":{"rendered":"
by kxlzx http:\/\/inbreak.net<\/p>\n
\u672c\u6587\u4ee5discuz\u7684Session Fixation\u6f0f\u6d1e\u4e3a\u4f8b\uff0c\u8bb2\u4e00\u4e0b\u4f7f\u7528Session Fixation\u653b\u51fbWAP\u7f51\u7ad9\u3002<\/p>\n
Session Fixation\u6f0f\u6d1e\uff0c\u610f\u601d\u662fweb\u5e94\u7528\u7a0b\u5e8f\u5728\u7528\u6237\u767b\u5f55\u540e\uff0c\u6ca1\u6709\u9500\u6bc1\u6216\u91cd\u7f6e\u5f53\u524dsession id\uff0c\u4e00\u65e6\u7528\u6237\u7684session id\u5728\u767b\u5f55\u524d\u66fe\u7ecf\u88ab\u653b\u51fb\u8005\u83b7\u53d6\uff0c\u767b\u5f55\u540e\uff0c\u8be5session\u5c31\u4f1a\u6709\u6548\uff0c\u653b\u51fb\u8005\u5c31\u53ef\u4ee5\u5229\u7528session id\u4f2a\u88c5\u767b\u5f55\u7528\u6237\u3002<\/p>\n
\u5728\u6211\u7684\u4e00\u7247\u6587\u7ae0\u91cc\uff0c\u6709\u8be6\u7ec6\u5229\u7528\u65b9\u6cd5\u548c\u6f0f\u6d1e\u8bf4\u660e\uff1a<\/p>\n
\u300aSession Fixation \u653b\u9632\u5b9e\u6218\u300b<\/p>\n
http:\/\/inbreak.net\/?action=show&id=130<\/p>\n
\u540e\u6765cnqing\u5728SessionIE3.31\u4e2d\u52a0\u5165\u4e86\u8fd9\u4e2a\u65b0\u7684\u529f\u80fd\uff0c\u4e13\u95e8\u7528\u4e8eSession Fixation\u6f0f\u6d1e\u653b\u51fb<\/p>\n
http:\/\/inbreak.net\/?action=show&id=131<\/p>\n
\u4e0d\u518d\u5bf9\u8fd9\u4e2a\u6f0f\u6d1e\u505a\u4ecb\u7ecd\uff0c\u5047\u8bbe\u5927\u5bb6\u770b\u8fc7\u4ee5\u4e0a\u4e24\u7bc7\u6587\u7ae0\uff0c\u6216\u8005\u5bf9Session Fixation\u653b\u51fb\u6709\u6240\u4e86\u89e3\u3002<\/p>\n
\u5176\u5b9e\u6211\u4e00\u76f4\u611f\u89c9\u8fd9\u4e2a\u6f0f\u6d1e\u662f\u6bd4\u8f83\u9e21\u808b\u7684\uff0c\u56e0\u4e3a\u5229\u7528\u6761\u4ef6\u6709\u9650\uff0c\u6211\u5199\u4e86\u524d\u9762\u7684\u6587\u7ae0\u540e\uff0c\u4e5f\u4ece\u6765\u6ca1\u6709\u5229\u7528\u8fd9\u4e2a\u6f0f\u6d1e\u653b\u51fb\u8fc7\u3002<\/p>\n
\u7136\u800c\u5230\u4e86WAP\u65f6\u4ee3\uff0c\u53d1\u73b0\u8fd9\u79cd\u653b\u51fb\u7684\u5229\u7528\u65b9\u5f0f\u4f1a\u53d8\u5f97\u5bb9\u6613\uff0c\u5e76\u4e14\u53d8\u5f97\u6781\u5176\u7325\u7410\u3002<\/p>\n
\u524d\u51e0\u5929\u6211\u7684\u6587\u7ae0\u300a\u6d45\u8c08WAP\u7f51\u7ad9\u5b89\u5168\u300b\uff0c\u5df2\u7ecf\u4ecb\u7ecd\u4e86WAP\u7684\u4e00\u4e9b\u653b\u51fb\u548c\u9632\u5fa1\uff0c\u5927\u591a\u90fd\u662f\u56f4\u7ed5sid\u6765\u8fdb\u884c\u7684\uff0c\u672c\u6587\u53ef\u4ee5\u770b\u4f5c\u662f\u4e0a\u4e00\u7bc7\u7684\u7eed\u96c6\uff0c\u6211\u6709\u8bb2\u8fc7\uff0c\u6211\u4f1a\u7ee7\u7eed\u7814\u7a76WAP\u7684\u4e00\u4e9b\u4e1c\u897f\uff0c\u5e76\u671f\u5f85\u4e0e\u5927\u5bb6\u4ea4\u6d41\u3002<\/p>\n
\u5c31\u4ee5discuz7.2\u7684wap\u529f\u80fd\u4e3a\u4f8b\uff0c\u8bf4\u660e\u4e00\u4e2asid\u7684\u751f\u6210\u4e0e\u9500\u6bc1\u3002<\/p>\n
\u9996\u5148\u8bbf\u95ee\u8fd9\u4e2a\u7f51\u7ad9\u3002<\/p>\n
http:\/\/bbs.ecshop.com\/wap\/index.php<\/p>\n
\u4f60\u4f1a\u770b\u5230\u9875\u9762\u6240\u6709\u7684\u94fe\u63a5\u540e\u9762\uff0c\u90fd\u8ddf\u4e0a\u4e86\u4e00\u4e2asid\uff0c\u5c31\u50cf<\/p>\n
http:\/\/bbs.ecshop.com\/wap\/index.php?action=forum&fid=72&sid=2iu2pf<\/p>\n
\u5f53\u6211\u4eec\u8bbf\u95ee\u4e86\u4e00\u6b21discuz\u7684wap\u9875\u9762\u540e\uff0c\u5c31\u4f1a\u7ed9\u6240\u6709\u7684\u94fe\u63a5\u5206\u914d\u4e00\u4e2asid\uff0c\u4ee5\u540e\u6211\u4eec\u7684\u8bbf\u95ee\uff0c\u90fd\u548c\u8fd9\u4e2asid\u7ed1\u5b9a\uff0c\u8fd9\u548csession\u662f\u540c\u4e00\u4e2a\u9053\u7406\u3002<\/p>\n
\u4e8e\u662f\u6211\u4eec\u70b9\u767b\u5f55\uff0c<\/p>\n
http:\/\/bbs.ecshop.com\/wap\/index.php?action=login&sid=2iu2pf<\/p>\n
\u767b\u5f55\u6210\u529f\u540e\uff0c\u94fe\u63a5\u4e2d\u7684sid\u4ecd\u7136\u6ca1\u6709\u53d8\uff0c\u8fd9\u8bf4\u660e\u5b83\u5b58\u5728Session Fixation\u6f0f\u6d1e\u3002<\/p>\n
\u5229\u7528\u65b9\u5f0f\u5462\uff1f\u96be\u9053\u6211\u4eec\u5148\u5728wap\u8fd9\u91cc\u641e\u51fa\u6765\u4e00\u4e2axss\uff1f<\/p>\n
\u5728discuz\u4e2d\uff0c\u5f53\u6211\u4eec\u6253\u5f00wap\u9875\u9762\uff0c\u5c31\u6709\u4e86sid\uff0c\u8fd9\u4e2asid\u4f1a\u4e00\u76f4\u88ab\u670d\u52a1\u5668\u8ba4\u53ef\uff0c\u5373\u4f7f\u6211\u4eec\u7684IP\u5730\u5740\u53d8\u6362\uff0c\u5b83\u4e5f\u4e0d\u4f1a\u53d8\u3002<\/p>\n
\u5982\u679c\u6211\u4eec\u6709\u4e86sid\u540e\uff0c\u4e0d\u767b\u5f55\uff0c\u800c\u662f\u628a\u8fd9\u4e2a\u5e26\u6709sid\u7684\u94fe\u63a5\u53d1\u7ed9\u7528\u6237\uff0c\u8ba9\u7528\u6237\u767b\u5f55\uff0c\u4f1a\u53d1\u751f\u4ec0\u4e48\u5462\uff1f\u4e8e\u662f\u6ca1\u6709xss\u3001\u6ca1\u6709url redirect\u3001\u6ca1\u6709csrf\uff0c\u4e00\u6837\u83b7\u53d6\u4e86\u7528\u6237\u8eab\u4efd\uff01<\/p>\n
\u6765\u5230\u521a\u624d\u7684\u9875\u9762\uff0c\u4f7f\u7528opera\u6253\u5f00http:\/\/bbs.ecshop.com\/wap\/index.php<\/p>\n
\u6253\u5f00\u540e\u8fd9\u4e2a\u9875\u9762\u4e0d\u8981\u52a8\u3002<\/p>\n
\u590d\u5236\u9875\u9762\u4e0a\u7684\u4e00\u4e2a\u94fe\u63a5\uff0c\u53d1\u5230\u8bba\u575b\u4e0a\u3002<\/p>\n
\u6d4b\u8bd5wap<\/p>\n [url]http:\/\/bbs.ecshop.com\/wap\/index.php?sid=1oALS7[\/url] \u7136\u540e\u7528\u624b\u673a\u8bbf\u95ee\u8bba\u575b\uff0c\u6253\u5f00\u8fd9\u4e2a\u94fe\u63a5\uff0c\u767b\u5f55\u7528\u6237\u3002\u6b64\u65f6\u8fd9\u4e2asid\u5df2\u7ecf\u548c\u4e00\u4e2a\u767b\u5f55\u7528\u6237\u7ed1\u5b9a\u4e86\uff0c\u653b\u51fb\u8005\u4e3a\u7528\u6237\u201c\u8bbe\u7f6e\u201d\u4e86sid\u3002<\/p>\n \u56de\u5230pc\u4e0a\uff0c\u5237\u65b0opera\u9875\u9762\uff0c\u53d8\u6210\u4e86\u767b\u5f55\u72b6\u6001\uff0c\u8fd9\u6bd4xss\u7b80\u5355\u591a\u4e86\uff01<\/p>\n \u7531\u4e8ediscuz\u8bba\u575b\u662f\u53d1\u7684\u81ea\u5df1\u7684\u7f51\u5740\uff0c\u53c2\u6570\u4e5f\u6ca1\u6709\u4ec0\u4e48\u90aa\u6076\u7684\uff0c\u6240\u4ee5\u4e5f\u540c\u65f6\u8fc7\u4e86\u5b83\u7684\u201c\u975e\u672c\u57df\u540d\u5f39\u51fa\u5b89\u5168url\u786e\u8ba4\u201d\u7684\u5b89\u5168\u9a8c\u8bc1\u3002<\/p>\n \u8fd9\u4e2a\u653b\u51fb\u7684\u601d\u60f3\uff0c\u662f\u201c\u4e3a\u7528\u6237\u5b9a\u5236session\u201d\uff0c\u800c\u4e0d\u662f\u4f20\u7edf\u7684\u201c\u83b7\u53d6\u7528\u6237session\u201d\u3002Discuz\u53ea\u662f\u4e00\u4e2a\u4f8b\u5b50\uff0c\u5176\u4ed6\u67d0\u4e9b\u5927\u578bwap\u7f51\u7ad9\u4e5f\u662f\u5b58\u5728\u7684\u3002<\/p>\n \u5176\u5b9e\u8fd9\u4e2a\u6f0f\u6d1e\u7684\u53d1\u73b0\uff0c\u662f\u8fd9\u6837\u4e00\u4e2a\u8fc7\u7a0b\uff0c\u6211\u5728\u201c\u67e5\u770b\u201d\u67d0\u641c\u7d22\u5f15\u64ce\u65f6\uff0c\u7a81\u7136\u60f3\u5230\u4e86\u4e00\u79cd\u7325\u7410\u7684\u653b\u51fb\u65b9\u5f0f\u3002\u641c\u7d22\u5f15\u64ce\u5728\u6293\u53d6\u65f6\uff0c\u670d\u52a1\u5668\u662f\u4f1a\u7ed9\u5b83\u5206\u914dsid\u7684\uff0c\u5982\u679c\u5728\u641c\u7d22\u540e\u767b\u5f55\u4e86\uff0c\u5176\u4ed6\u7528\u6237\u641c\u7d22\u540e\uff0c\u70b9\u8fdb\u53bb\u4f1a\u53d1\u73b0\u81ea\u5df1\u662f\u767b\u5f55\u72b6\u6001\uff0c\u56e0\u4e3a\u641c\u7d22\u5f15\u64ce\u5c55\u793a\u7684sid\u662f\u540c\u4e00\u4e2a\u3002<\/p>\n \u4f46\u662f\u5b9e\u9645\u5e94\u7528\u65f6\uff0c\u5374\u53d1\u73b0\u8fd9\u4e2asid\u65e9\u5c31\u8fc7\u671f\u4e86\uff0c\u6240\u4ee5\u8fd8\u662f\u9700\u8981\u4e92\u52a8\u7684\u3002\u4ece\u8fd9\u91cc\u5c31\u6709\u4e86\u201c\u6211\u4e0d\u767b\u5f55\uff0c\u53d1\u7ed9\u7528\u6237\u767b\u5f55\u201d\u7684\u601d\u60f3\u3002\u7531\u4e8e\u81ea\u6211\u611f\u89c9\u5229\u7528\u6f0f\u6d1e\u7684\u601d\u8def\u65b0\u9896\uff0c\u4ee5\u4e3a\u662f\u65b0\u6f0f\u6d1e\uff0c\u7136\u540e\u5174\u594b\u7684\u53d1\u5230\u963f\u91cc\u7684\u90ae\u4ef6\u7fa4\u91cc\uff0c\u7ed3\u679c\u5c31\u88ab\u67d0\u4e0d\u613f\u900f\u9732\u59d3\u540d\u7684\u540c\u4e8b\u9119\u89c6\u4e86\uff0c\u201c\u8fd9\u4e0d\u662f\u65b0\u6f0f\u6d1e\uff0c\u800c\u662fSession Fixation\u201d\uff0c\u6211\u4e00\u60f3\uff0c\u679c\u7136\u662f\u54e6\u3002\u3002\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" \u672c\u6587\u4ee5discuz\u7684Session Fixation\u6f0f\u6d1e\u4e3a\u4f8b\uff0c\u8bb2\u4e00\u4e0b\u4f7f\u7528Session Fixation\u653b\u51fbWAP\u7f51\u7ad9\u3002<\/p>\n Session Fixation\u6f0f\u6d1e\uff0c\u610f\u601d\u662fweb\u5e94\u7528\u7a0b\u5e8f\u5728\u7528\u6237\u767b\u5f55\u540e\uff0c\u6ca1\u6709\u9500\u6bc1\u6216\u91cd\u7f6e\u5f53\u524dsession id\uff0c\u4e00\u65e6\u7528\u6237\u7684session id\u5728\u767b\u5f55\u524d\u66fe\u7ecf\u88ab\u653b\u51fb\u8005\u83b7\u53d6\uff0c\u767b\u5f55\u540e\uff0c\u8be5session\u5c31\u4f1a\u6709\u6548\uff0c\u653b\u51fb\u8005\u5c31\u53ef\u4ee5\u5229\u7528session id\u4f2a\u88c5\u767b\u5f55\u7528\u6237\u3002<\/p>\n \u5728\u6211\u7684\u4e00\u7247\u6587\u7ae0\u91cc\uff0c\u6709\u8be6\u7ec6\u5229\u7528\u65b9\u6cd5\u548c\u6f0f\u6d1e\u8bf4\u660e\uff1a<\/p>\n \u300aSession Fixation \u653b\u9632\u5b9e\u6218\u300b<\/p>\n http:\/\/inbreak.net\/?action=show&id=130<\/p>\n \u540e\u6765cnqing\u5728SessionIE3.31\u4e2d\u52a0\u5165\u4e86\u8fd9\u4e2a\u65b0\u7684\u529f\u80fd\uff0c\u4e13\u95e8\u7528\u4e8eSession Fixation\u6f0f\u6d1e\u653b\u51fb<\/p>\n http:\/\/inbreak.net\/?action=show&id=131<\/p>\n \u4e0d\u518d\u5bf9\u8fd9\u4e2a\u6f0f\u6d1e\u505a\u4ecb\u7ecd\uff0c\u5047\u8bbe\u5927\u5bb6\u770b\u8fc7\u4ee5\u4e0a\u4e24\u7bc7\u6587\u7ae0\uff0c\u6216\u8005\u5bf9Session Fixation\u653b\u51fb\u6709\u6240\u4e86\u89e3\u3002<\/p>\n
\n\u7ed9\u529b\u554a\uff01<\/p>\n
\n<\/code><\/p>\n