发布时间 :2000-10-20 00:00:00
修订时间 :2008-09-10 15:05:37

[原文]BEA WebLogic 5.1.x does not properly restrict access to the PageCompileServlet, which could allow remote attackers to compile and execute Java JHTML code by directly invoking the servlet on any source file.

[CNNVD]BEA WebLogic Java JHTML代码编译执行漏洞(CNNVD-200010-113)

        BEA WebLogic 5.1.x版本不正确限制到PageCompileServlet的访问,远程攻击者可能通过直接在任意源文件中调用控制器来编译和执行Java JHTML代码。

- CVSS (基础分值)

CVSS分值: 10 [严重(HIGH)]
机密性影响: COMPLETE [完全的信息泄露导致所有系统文件暴露]
完整性影响: COMPLETE [系统完整性可被完全破坏]
可用性影响: COMPLETE [可能导致系统完全宕机]
攻击复杂度: LOW [漏洞利用没有访问限制 ]
攻击向量: [--]
身份认证: NONE [漏洞利用无需身份认证]

- CPE (受影响的平台与产品)

cpe:/a:bea:weblogic_server:3.1.8BEA Systems WebLogic Server 3.1.8
cpe:/a:bea:weblogic_server:4.5.1BEA Systems WebLogic Server 4.5.1
cpe:/a:bea:weblogic_server:4.0.4BEA Systems WebLogic Server 4.0.4

- OVAL (用于检测的技术细节)


- 官方数据库链接
(官方数据源) MITRE
(官方数据源) NVD
(官方数据源) CNNVD

- 其它链接及资源
(VENDOR_ADVISORY)  BUGTRAQ  20000731 BEA's WebLogic *.jsp/*.jhtml remote command execution

- 漏洞信息

BEA WebLogic Java JHTML代码编译执行漏洞
危急 未知
2000-10-20 00:00:00 2005-07-26 00:00:00
        BEA WebLogic 5.1.x版本不正确限制到PageCompileServlet的访问,远程攻击者可能通过直接在任意源文件中调用控制器来编译和执行Java JHTML代码。

- 公告与补丁


- 漏洞信息 (20125)

Weblogic 3.1.8/4.0.4/4.5.1 Remote Command Execution (EDBID:20125)
windows remote
2000-08-01 Verified
0 Foundstone Inc.
N/A [点击下载]

In February of 2000 CERT Coordination Center released an advisory titled "Malicious HTML Tags Embedded in Client Web Requests" (advisory attached in 'Credit' section"). This advisory was a joint release by the CERT Coordination Center, DoD-CERT, the DoD Joint Task Force for Computer Network Defense (JTF-CND), the Federal Computer Incident Response Capability (FedCIRC), and the National Infrastructure Protection Center (NIPC). The point of the advisory in essence was a warning about client side vulnerabilities brought about by malicious scripting from Rogue websites which could be exploited to run code on client side browsers (acting as unwary interpreters for the scripting in question).

A number of webserver have suffered from this problem including 'Weblogic' from BEA Systems. In this particular case if a user can upload text in the form of JSP or JHTML code to the webserver (possibly via a web form etc.) a malicious end user might execute this code.

" Assume that there is an application on the WebLogic server that writes user entered data to a file called "temp.txt".

Given below is JHTML/JSP code that will print "Hello World":

<java>out.println("Hello World");</java> (JHTML) -or-
<% out.println("Hello World"); %> (JSP)

If this code is somehow inserted in the file "temp.txt" via an application, then the following can be used to invoke forced compilation and execution of "temp.txt":*.jhtml/path/to/temp.txt (JHTML)
-or-*.jsp/path/to/temp.txt "


- 漏洞信息

BEA WebLogic PageCompileServlet jsp / jhtml Arbitrary Command Execution
Remote / Network Access Input Manipulation
Loss of Integrity Solution Unknown
Exploit Public Vendor Verified, Third-party Verified

- 漏洞描述

- 时间线

2000-07-31 Unknow
Unknow Unknow

- 解决方案

OSVDB is not aware of a solution for this vulnerability.

- 相关参考

- 漏洞作者

Unknown or Incomplete