Vulnerability Note VU#950070

BEA WebLogic Server contains vulnerability in handling of certain tags when editing "weblogic.xml"

Original Release date: 11 Jun 2004 | Last revised: 11 Jun 2004

Overview

BEA WebLogic Server contains a vulnerability in the way Weblogic Builder and the SecurityRoleAssignmentMBean.toXML method parse certain tags in the weblogic.xml file.

Description

BEA Systems describes WebLogic Server as "an industrial-strength application infrastructure for developing, integrating, securing, and managing distributed Java applications." There is a vulnerability in the way Weblogic Builder and the SecurityRoleAssignmentMBean.toXML method handle missing tags in the weblogic.xml file. When this file contains the <security-role-assignment> tag, but does not contain a <principal-name> tag, the <security-role-assignment> tag is removed and default roles are assigned by the Servlet container.

According to the BEA Security Advisory, the following versions of WebLogic Server and WebLogic Express are affected by this vulnerability.

  • WebLogic Server and WebLogic Express version 8.1 through Service Pack 2, on all platforms.
  • WebLogic Server and WebLogic Express version 7.0 through Service Pack 5, on all platforms.

Impact

A remote user may be able to gain unauthorized access to a web application.

Solution

Apply a Patch
BEA has issued an advisory to address this issue. According to the BEA Security Advisory, the following actions are recommended:

WebLogic Server and WebLogic Express version 8.1

    Any weblogic.xml file that has been edited by Weblogic Builder must be examined to ensure that all of the desired <security-role-assignment> tags are still in the file.

    To prevent this problem in the future:

    1. Upgrade to WebLogic Server and WebLogic Express version 8.1 Service Pack 2.
    2. Install the patch from: ftp://ftpna.beasys.com/pub/releases/security/CR171885_810sp2.jar

    WebLogic Server version 8.1 Service Pack 3 will include the functionality in this patch.

    You can also examine any weblogic.xml file that has been edited by WebLogic Builder and re-enter any <security-role-assignment> tags that have been deleted.

WebLogic Server and WebLogic Express version 7.0
    Any weblogic.xml file that has been edited by Weblogic Builder must be examined to ensure that all of the desired <security-role-assignment> tags are still in the file.

    To prevent this problem in the future:

    1. Upgrade to WebLogic Server and WebLogic Express version 7.0 Service Pack 5.
    2. Install the patch from: ftp://ftpna.beasys.com/pub/releases/security/CR171885_70sp5.jar

    WebLogic Server version 7.0 Service Pack 6 will include the functionality in this patch.

    You can also examine any weblogic.xml file that has been edited by WebLogic Builder and re-enter any <security-role-assignment> tags that have been deleted.

Systems Affected (Learn More)

VendorStatusDate NotifiedDate Updated
BEA Systems Inc.Affected-11 Jun 2004
If you are a vendor and your product is affected, let us know.

CVSS Metrics (Learn More)

Group Score Vector
Base N/A N/A
Temporal N/A N/A
Environmental N/A N/A

References

Credit

This vulnerability was reported by BEA Systems Inc.

This document was written by Damon Morda.

Other Information

  • CVE IDs: Unknown
  • Date Public: 12 May 2004
  • Date First Published: 11 Jun 2004
  • Date Last Updated: 11 Jun 2004
  • Severity Metric: 5.57
  • Document Revision: 16

Feedback

If you have feedback, comments, or additional information about this vulnerability, please send us email.