Apache Tomcat Security Vulnerabilities (5.x ~ 7. x)

Source: Internet
Author: User
Tags apache tomcat

CVE-2011-2204Apache Tomcat Information Leakage

Security level: low

Affected Versions:
-Tomcat 7.0.0 to 7.0.16
-Tomcat 6.0.0 to 6.0.32
-Tomcat 5.5.0 to 5.5.33

Earlier versions may also be affected.

Vulnerability description:

When you use MemoryUserDatabase (tomcat-users.xml-based) and create a user through JMX, if an exception occurs, the error message on the JMX client will contain the user's password, this error message is also written to the Tomcat log file.

Steps to reproduce this vulnerability:

The Tomcat security team had to modify the Tomcat source code so that it could not reproduce the problem. In theory, an OutOfMemoryError will directly cause this vulnerability.

Solution:

-Do not use JMX to manage MemoryUserDatabase
-Use the digest Password
-Restrict Tomcat Log File Access
-Upgrade Tomcat to 7.0.17, 6.0.33 or 5.5.34 or later.
-Patch:
-7.0.x: http://svn.apache.org/viewvc? Rev. = 1140070 & view = rev
-6.0.x: http://svn.apache.org/viewvc? Rev. = 1140071 & view = rev
-5.5.x: http://svn.apache.org/viewvc? Rev. = 1140072 & view = rev

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.