From: Oracle Corporation
Minor Subject: JSP showcode vulnerability
Product(s) Affected: WebLogic Server and WebLogic Express
Threat level: Low
In specific circumstances a remote user can view JSP source code.
JSP source code can be viewed if specific circumstances occur and there is a JSP compilation error.
A problem was identified that could potentially cause a security vulnerability in certain versions of WebLogic Server. Upgrades are available to correct this problem (see Section II). Oracle treats potential security problems with a high degree of urgency and endeavors to take appropriate steps to help ensure the security of our customers' systems. 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.
Sites deploying JSP's with compilation errors are vulnerable to this attack. In general, sites that only deploy pre-compiled JSP files and not the .jsp files themselves are more secure.
There is a timing related window where a JSP with compilation errors might have its source code displayed in a browser.
This patch resolves the issue by changing how the Servlet container handles JSP compilation errors.
The following versions of WebLogic Server are affected by this vulnerability:
- WebLogic Server 8.1, released through Service Pack 4
- WebLogic Server 7.0, released through Service Pack 6
II. SUGGESTED ACTION
Oracle strongly recommends the following course of actions.
WebLogic Server and WebLogic Express version 8.1
- Upgrade to service pack 5.
WebLogic Server and WebLogic Express version 7.0
- Upgrade to service pack 7.
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:
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: