Weblogic Remote Command Execution Vulnerability

BID:1525

Info

Weblogic Remote Command Execution Vulnerability

Bugtraq ID: 1525
Class: Input Validation Error
CVE:
Remote: Yes
Local: Yes
Published: Aug 01 2000 12:00AM
Updated: Aug 01 2000 12:00AM
Credit: This vulnerability was discovered by Foundstone Inc. and posted to the Bugtraq mailing list on August, 2000. Particular credit was listed to Shreeraj Shah <[email protected]>, Saumil Shah <[email protected]> Stuart McClure <stuart.mcclu
Vulnerable: BEA Systems Weblogic Server 4.5.1
- Microsoft Windows NT 4.0
BEA Systems Weblogic 4.0.4
+ BEA Systems WebLogic Express 3.1.8
- Microsoft Windows NT 4.0
BEA Systems Weblogic 3.1.8
- Microsoft Windows NT 4.0
Not Vulnerable:

Discussion

Weblogic Remote Command Execution Vulnerability

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.

Exploit / POC

Weblogic Remote Command Execution Vulnerability

As per the FoundStone Inc. advisory on this topic which is attached in full later in this entry:

" 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":

http://weblogic.site/*.jhtml/path/to/temp.txt (JHTML)
-or-

http://weblogic.site/*.jsp/path/to/temp.txt "

References

Weblogic Remote Command Execution Vulnerability

References:
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report