Security Advisories and Notifications


Security Advisory: (BEA06-121.00)

From: Oracle Corporation

Minor Subject: The stopWebLogic.sh script echoes the system password on UNIX

Product(s) Affected: WebLogic Platform

Threat level: Low
The administration password is visible on stdout when typed.

Severity: High
A server instance could be compromised if an attacker obtains the administration password.

A problem was identified that could potentially cause a security vulnerability in certain versions of WebLogic Workshop. Upgrades are available to correct this problem (see Section II). Oracle treats potential security problems with the highest degree of urgency and does everything possible to ensure the security of all customer assets. As a result, Oracle strongly suggests the following actions:
I. Read the following advisory.
II. Apply the suggested action.
III. If you know of any additional users interested in future security advisories, please forward them the registration instructions included in this advisory.

I. Advisory

Sites that use the stopWeblogic.sh script to shutdown a server on a UNIX platform are susceptible to this security vulnerability. stopWeblogic.sh is only installed when the WebLogic Workshop domain template is selected in the Platform DomainWizard to create a new domain. When this script is used the administration password may be echoed to stdout when typed, allowing an attacker to see the password.

The problem was resolved by correctly setting the CLASSPATH to include a library that disables echo.

The following versions of WebLogic Platform are affected by this vulnerability:

  • WebLogic Platform 8.1 released through Service Pack 2, on UNIX platforms
  • WebLogic Platform 7.0 released through Service Pack 5, on UNIX platforms

II. SUGGESTED ACTION


Oracle strongly recommends the following course of actions.

WebLogic Platform 8.1

  1. In each domain where it exists, modify the stopWebLogic.sh script to contain the following lines before the first java command (an 8.1 sample is included in the zip file below):
    DOMAIN_HOME="/the full path to your domain/"
    . ${DOMAIN_HOME}/setDomainEnv.sh
    
  2. Upgrade to WebLogic Platform 8.1 Service Pack 3 to update the WebLogic Workshop domain template.

WebLogic Platform 7.0

  1. In each domain where it exists, download and replace the stopWebLogic.sh script with the patch #7824723 from OracleMetaLink as per the instructions below:
    • Select the Patches and Updates tab after logging in to OracleMetaLink.
    • Click Simple Search.
    • In the Search By field, select Patch Number from the list.
    • Enter the patch number. The patch number may be different for different product releases and platforms.
    • Select the platform (or choose generic as applicable)
    • Click Go.
    • Click Download to download the patch.
  2. Upgrade to WebLogic Platform 7.0 Service Pack 6 to update the WebLogic Workshop domain template.


SECURITY COMMUNICATIONS

Oracle strongly suggests that customers apply the remedies recommended in all our security advisories. Oracle also urges customers to apply every Service/Maintenance Pack as they are released. Service/Maintenance Packs include a roll-up of all bug fixes for each version of the product, as well as each of the prior Service/Maintenance Packs. Service/Maintenance Packs and information about them can be found at: http://www.oracle.com/technology/software/products/ias/bea_main.html

Note: Information about securing WebLogic Server and WebLogic Express can be found at http://edocs.bea.com/wls/docs103/security.html. Specific lockdown information is provided at http://e-docs.bea.com/wls/docs103/lockdown/index.html. We strongly encourage you to review this documentation to ensure your server deployment is securely configured.

As a policy, if there are any security-related issues with any Oracle product, Oracle will distribute an advisory and instructions with the appropriate course of action. Because the security of your site, data, and code is our highest priority, we are committed to communicating all security-related issues clearly and openly.

All previous advisories can be viewed at: http://www.oracle.com/technology/deploy/security/wls-security.

Additional users who wish to register for product advisory distribution should follow the registration directions at: http://www.oracle.com/technology/deploy/security/alerts.htm.

Security issues can be reported to Oracle by following the directions at: http://www.oracle.com/technology/deploy/security/alerts.htm.

Thank you,
Oracle Corporation