From: Oracle Corporation
Minor Subject: Compilation and execution of arbitrary files in web document root directory
Product(s) Affected: BEA WebLogic Server and Express
It has come to our attention that there is a common mis-configuration that has the potential to lead to a security vulnerability in BEA WebLogic Server and Express on all platforms. BEA treats such possibilities with the highest degree of urgency and does everything possible to ensure the security of all customer assets. As a result, we strongly suggest the following action:
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 below.
I. ADVISORY
Recently, Foundstone, Inc., a security consulting and training firm, reported a potential security vulnerability in BEA WebLogic Server and Express. This potential security vulnerability could result in the ability for applications to write files to the web document root directory that could then be viewed or executed by clients. When the deployment environment is not properly locked down, a user may have inappropriate write access to the web document root directory. This user could knowingly or unknowingly execute a malicious application that may insert executable code in JSP or jHTML files residing in the web document root directory. This causes BEA WebLogic Server and Express servlet handlers to compile and execute the extraneous code . This type of vulnerability has the potential to allow an attacker to gain administrative control of the operating system, or application server, or to obtain unauthorized information.
The theory behind similar vulnerabilities is described in the CERT Advisory CA-2000-02.
The following BEA WebLogic Server Server and Express releases are affected by this behavior:
CAUSE
By default, BEA WebLogic Server and Express use a single directory, commonly known as the web document root directory, as the location that contains static content (HTML files, images, etc.) and dynamic content (JSP, jHTML, etc.). A potential vulnerability may occur if a malicious application is allowed to create or modify files containing dynamic content within the web document root directory.
If an application, be it malicious, misconfigured, or through an anomaly, is capable of modifying existing files in the web document root directory, there is the potential that it could insert executable code in the form of JSP or jHTML tags in an existing file. If the particular file provides dynamic content, the inserted code would be executed the next time the file was served to a client.
The same type of situation could occur if the application created a new file containing executable code. But in order for this vulnerability to be exploited, the client would need to have knowledge of the location and name of the newly created file. As a result, collaboration would be required between the developer of the "rogue" application or knowledge of its use and the client.
II. SUGGESTED ACTION
Oracle strongly recommends the following course of actions:
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.
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.
Additional users who wish to register for product advisory distribution should follow the registration directions at: http://www.oracle.com/security-alerts/.
Security issues can be reported to Oracle by following the directions at: http://www.oracle.com/security-alerts/.
Thank you,
Oracle Corporation