{"id":115,"date":"2004-11-08T00:37:03","date_gmt":"2004-11-07T16:37:03","guid":{"rendered":"http:\/\/www.shsh.ylc.edu.tw\/~taichis\/wp\/?p=115"},"modified":"2004-11-08T14:21:30","modified_gmt":"2004-11-08T06:21:30","slug":"2","status":"publish","type":"post","link":"https:\/\/www.shsh.ylc.edu.tw\/~taichis\/wp\/?p=115","title":{"rendered":"\u99ed\u5ba2\u5165\u4fb5\u4e8b\u4ef6\u7c3f2"},"content":{"rendered":"<p>\u96d6\u7136\u7cfb\u7d71\u4e0a\u7684 openwebmail \u5df2\u7d93\u4fee\u88dc\u8d77\u4f86\u4e86\uff0c\u4f46\u6bd4\u8f03\u9ebb\u7169\u7684\u662f\u5728 <a href=\"http:\/\/www.zone-h.org\/en\/forum\/thread\/forum=3\/thread=416837\/\">Forum: 0 day rumors<\/a> \u6709\u4eba\u63d0\u5230\uff0cOpenWebmail \u9084\u6709\u4e00\u5169\u500b remote exploit \u9084\u6709 local root exploit \u5c1a\u672a\u88ab\u767c\u8868\u3002\u4ec0\u9ebc\u6642\u5019\u6703\u7206\u51fa\u4f86\u9084\u4e0d\u77e5\u9053\uff0c\u5e0c\u671b\u5230\u6642\u5019\u4e0d\u6703\u54c0\u9d3b\u904d\u91ce\u3002<\/p>\n<p>\u63a5\u4e0b\u4f86\u7684\u5de5\u4f5c\u662f\u8ffd\u67e5\u5165\u4fb5\u4f86\u6e90\uff0c\u4ee5\u53ca\u7cfb\u7d71\u5167\u5230\u5e95\u88ab\u4fee\u6539\u4e86\u591a\u5c11\u6771\u897f\u3002\u9019\u662f\u5f88\u5192\u96aa\u7684\u4f5c\u6cd5\uff0c\u6bd4\u8f03\u5feb\u7684\u65b9\u6cd5\u662f\u7acb\u523b\u91cd\u704c (\u6700\u5b89\u5168\u7684\u65b9\u6cd5)\u3002\u4f46\u6211\u5be6\u5728\u60f3\u77e5\u9053\u9019\u500b\u5165\u4fb5\u6211\u5011\u6a5f\u5668\u7684\u99ed\u5ba2\u5230\u5e95\u5728\u60f3\u4ec0\u9ebc\uff0c\u4ee5\u53ca\u4ed6\u9084\u6709\u6c92\u6709\u4ec0\u9ebc\u7d55\u62db\u53ef\u4ee5\u5b78\u7684\u3002<\/p>\n<p><!--more--><br \/>\n\u6211\u53c8\u5728 \/var\/tmp\/.tmp \u88e1\u982d\u767c\u73fe\u4e00\u500b\u65b0\u7684\u5f8c\u9580\u7a0b\u5f0f\u3002owner \u4e00\u6a23\u662f www\uff0c\u5f9e\u9019\u88e1\u53ef\u4ee5\u767c\u73fe\uff0c\u99ed\u5ba2\u5927\u6982\u9084\u6c92\u6709\u62ff\u5230\u7cfb\u7d71\u7684 root \uff08\u6700\u9ad8\u7ba1\u7406\u8005\u5e33\u865f\uff09\u3002\u9019\u88e1\u6709\u4e00\u500b\u6a94\u6848\uff1a<\/p>\n<p>-rwxr-xr-x  1 www  wheel  206516 Aug 27 03:17 perlmail<\/p>\n<p>\u662f\u4e00\u500b\u88ab\u7de8\u8b6f\u904e\u7684\u53ef\u57f7\u884c\u6a94\u3002\u4f46\u6211\u53bb\u5206\u6790\u88e1\u9762\u7684\u5167\u5bb9\u4e4b\u5f8c\uff0c\u767c\u73fe\u5b83\u662f\u4e00\u500b IRC \u7528\u7684 file server \u7684\u507d\u88dd\uff0c\u9019\u500b\u8edf\u9ad4\u7684\u540d\u5b57\u53eb\u505a\uff1a <a href=\"http:\/\/iroffer.org\/\">iroffer<\/a>\u3002\u5f15\u8ff0\u8a72\u7db2\u7ad9\u4e0a\u7684\u8a71\uff1a<\/p>\n<p>What is iroffer?<br \/>\niroffer is a software program that acts as a fileserver for IRC. It is similar to a FTP server or WEB server, but users can download files using the DCC protocol of IRC instead of a web browser.<\/p>\n<p>Unlike similar programs, iroffer is not a script, it is a standalone executable written entirely in c from scratch with high transfer speed and effeciency in mind. iroffer has been found to transfer over 50MByte\/sec over a gigabit ethernet connection. <\/p>\n<p>\u99ed\u5ba2\u9084\u883b\u8070\u660e\u7684\uff0c\u65e2\u7136\u4ed6\u53ea\u80fd\u62ff\u5230 www \u7684\u6b0a\u9650\uff0c\u90a3\u5f8c\u9580\u7576\u7136\u5f97\u507d\u88dd\u6210 www \u6709\u5728\u6301\u7e8c\u57f7\u884c\u7684\u6771\u897f\uff0c\u624d\u4e0d\u6703\u88ab\u767c\u73fe\u3002\u4f46\u4e5f\u6709\u4eba\u9019\u9ebc\u8aaa\uff1a\u9664\u4e86\u7cfb\u7d71\u555f\u52d5\u6a94\u6216\u8edf\u9ad4\u8a2d\u5b9a\u7528\u7684\u76ee\u9304\u4e4b\u5916\uff0c\u51e1\u662f\u7528 . \u958b\u982d\u7684\u8cc7\u6599\u593e\u901a\u5e38\u6709\u9b3c\u3002\u9019\u500b\u99ed\u5ba2\u5c31\u628a\u4ed6\u7684\u6771\u897f\u653e\u5728\u4e00\u500b .tmp \u7684\u8cc7\u6599\u593e\u4e2d\u3002<\/p>\n<p>\/var\/tmp\/.tmp \u8cc7\u6599\u593e\u5167\u5bb9\u5982\u4e0b\uff1a<br \/>\n-rw-r&#8211;r&#8211;  1 www  wheel       6 Sep  4 23:46 admin.pid<br \/>\n-rw-r&#8211;r&#8211;  1 www  wheel    1004 Aug 27 03:17 httpd<br \/>\n-rw-r&#8211;r&#8211;  1 www  wheel     164 Nov  8 00:46 mybot.state<br \/>\n-rw-r&#8211;r&#8211;  1 www  wheel     164 Nov  8 00:46 mybot.state~<br \/>\n-rwxr-xr-x  1 www  wheel  206516 Aug 27 03:17 perlmail*<br \/>\ndrwxr-xr-x  2 www  wheel     512 Aug 27 03:16 up\/<\/p>\n<p>\u770b\u4e00\u4e0b admin.pid \u88e1\u9762\u53ea\u6709\u4e00\u500b\u6578\u5b57\uff1a 54136<br \/>\n\u4ee3\u8868\u7684\u662f\u9019\u500b\u57f7\u884c\u4e2d\u7684\u5f8c\u9580\u7a0b\u5e8f\uff1a<br \/>\npower# ps ax | grep 54136<br \/>\nwww     54136 .\/perlmail -s -n -b httpd<\/p>\n<p>\u67e5\u4e86\u4e00\u4e0b 54136 \u7684\u7a0b\u5e8f\uff1a<br \/>\n<code><br \/>\npower# lsof -p 54136<br \/>\nlsof: WARNING: compiled for FreeBSD release 4.9-STABLE; this is 4.10-STABLE.<br \/>\nCOMMAND    PID USER   FD   TYPE     DEVICE SIZE\/OFF   NODE NAME<br \/>\nperlmail 54136  www  cwd   VDIR  13,131076      512 253959 \/var\/tmp\/.tmp<br \/>\nperlmail 54136  www  rtd   VDIR  13,131072      512      2 \/<br \/>\nperlmail 54136  www  txt   VREG  13,131076   206516 253996 \/var\/tmp\/.tmp\/perlmail<br \/>\nperlmail 54136  www  txt   VREG  13,131077    85876 492140 \/usr\/libexec\/ld-elf.so.1<br \/>\nperlmail 54136  www  txt   VREG  13,131077    28432 342286 \/usr\/lib\/libcrypt.so.2<br \/>\nperlmail 54136  www  txt   VREG  13,131077   580604 342352 \/usr\/lib\/libc.so.4<br \/>\nperlmail 54136  www    0u  VCHR        2,2      0t0   7823 \/dev\/null<br \/>\nperlmail 54136  www    1u  VCHR        2,2      0t0   7823 \/dev\/null<br \/>\nperlmail 54136  www    2u  VCHR        2,2      0t0   7823 \/dev\/null<br \/>\nperlmail 54136  www    3u  IPv4                 0t0    TCP no PCB, CANTSENDMORE, CANTRCVMORE<br \/>\nperlmail 54136  www    4u  unix 0xd098c920      0t0        ->(none)<br \/>\nperlmail 54136  www    7u  unix 0xd09c7400      0t0        ->(none)<br \/>\n<\/code><\/p>\n<p>\u76ee\u524d\u6b63\u5728\u57f7\u884c\u4e2d\u7684\u5f8c\u9580\u7a0b\u5f0f\uff1a<br \/>\n<code><br \/>\npower# ps ax | grep perlmail<br \/>\nwww     24643 .\/perlmail -s -n -b httpd<br \/>\nwww     54136 .\/perlmail -s -n -b httpd<br \/>\nwww     66177 .\/perlmail -s -n -b httpd<br \/>\nwww     66435 .\/perlmail -s -n -b httpd<br \/>\n<\/code><\/p>\n<p>\u6709\u8da3\u7684\u662f\uff0c\u540c\u4e00\u500b\u76ee\u9304\u4e2d\u7684 httpd \u7adf\u7136\u662f\u4e00\u500b ASCII \u7684\u7d14\u6587\u5b57\u6a94\uff0c\u61c9\u8a72\u5c31\u662f iroffer \u7684\u8a2d\u5b9a\u6a94\u3002\u4e5f\u5c31\u56e0\u70ba\u5b83\u662f\u4e00\u500b\u7d14\u6587\u5b57\u7684\u8a2d\u5b9a\u6a94\uff0c\u6240\u4ee5\u9019\u500b\u5f8c\u9580\u7684\u8a2d\u5b9a\u958b\u59cb\u9010\u6f38\u660e\u6717\u8d77\u4f86&#8230;<\/p>\n<div class=\"fcbkbttn_buttons_block\" id=\"fcbkbttn_left\"><div class=\"fcbkbttn_like \"><fb:like href=\"https:\/\/www.shsh.ylc.edu.tw\/~taichis\/wp\/?p=115\" action=\"like\" colorscheme=\"light\" layout=\"standard\" show-faces='false' width=\"450px\" size=\"small\"><\/fb:like><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>\u96d6\u7136\u7cfb\u7d71\u4e0a\u7684 openwebmail \u5df2\u7d93\u4fee\u88dc\u8d77\u4f86\u4e86\uff0c\u4f46\u6bd4\u8f03\u9ebb\u7169\u7684\u662f\u5728 Foru &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/www.shsh.ylc.edu.tw\/~taichis\/wp\/?p=115\"> <span class=\"screen-reader-text\">\u99ed\u5ba2\u5165\u4fb5\u4e8b\u4ef6\u7c3f2<\/span> \u95b1\u8b80\u66f4\u591a &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[6],"tags":[],"_links":{"self":[{"href":"https:\/\/www.shsh.ylc.edu.tw\/~taichis\/wp\/index.php?rest_route=\/wp\/v2\/posts\/115"}],"collection":[{"href":"https:\/\/www.shsh.ylc.edu.tw\/~taichis\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.shsh.ylc.edu.tw\/~taichis\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.shsh.ylc.edu.tw\/~taichis\/wp\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.shsh.ylc.edu.tw\/~taichis\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=115"}],"version-history":[{"count":0,"href":"https:\/\/www.shsh.ylc.edu.tw\/~taichis\/wp\/index.php?rest_route=\/wp\/v2\/posts\/115\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.shsh.ylc.edu.tw\/~taichis\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=115"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.shsh.ylc.edu.tw\/~taichis\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=115"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.shsh.ylc.edu.tw\/~taichis\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=115"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}