search menu icon-carat-right cmu-wordmark

CERT Coordination Center

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

Vulnerability Note VU#950070

Original Release Date: 2004-06-11 | Last Revised: 2004-06-11

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

Vendor Information

950070
 

BEA Systems Inc. Affected

Updated:  June 11, 2004

Status

Affected

Vendor Statement

We have not received a statement from the vendor.

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.

Addendum

Please refer to BEA Security Advisory BEA04-59.00.

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


CVSS Metrics

Group Score Vector
Base
Temporal
Environmental

References

Acknowledgements

This vulnerability was reported by BEA Systems Inc.

This document was written by Damon Morda.

Other Information

CVE IDs: None
Severity Metric: 5.57
Date Public: 2004-05-12
Date First Published: 2004-06-11
Date Last Updated: 2004-06-11 16:22 UTC
Document Revision: 16

Sponsored by CISA.