Run a command somewhere in the home of Beijing

Source: Internet
Author: User

Run a command somewhere in the home of Beijing

RT

Detailed description:

Jboss invoker/JMXInvokerServlet Code Execution

The http://oa.juran.com.cn: 8086/invoker/JMXInvokerServlet

Proof of vulnerability:

Solution:

Security suggestion: add an access password to the jmx-console and restrict access to the public network. Check whether the version has any vulnerabilities and whether the upgrade is required.

1. Find the jmx-console.war directory edit WEB-INF/web. xml file under $ {jboss. server. home. dir}/deploy to remove the comments of the security-constraint block so that it works.

2. Edit WEB-INF/classes/jmx-console-users.properties or server/default/conf/props/jmx-console-users.properties (version> = 4.0.2) and.

WEB-INF/classes/jmx-console-roles.properties or server/default/conf/props/jmx-console-roles.properties (version> = 4.0.2) add user name and password.

3. Edit the WEB-INF/jboss-web.xml to remove the comments for the security-domain block, the security-domain value ing file is the login-config.xml (which defines the login authorization method ).

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.