[1][USEMAP] [2][USEMAP] [3][LINK] Allaire Security Bulletin (ASB00-29) JRun 2.3.3: Patch available for "JSP execution of arbitrary file" security issue Originally Posted: October 23, 2000 Last Updated: October 23, 2000 Summary Under certain circumstances, it is possible to insert executable code in the form of JSP tags and cause the code to be compiled and executed using JRun's handlers. Issue Submitting deliberately malformed input to an improperly secured application running on JRun 2.3.3 can allow an attacker to execute arbitrary and potentially malicious JSP code. For this issue to be exploited, an application must exist on the JRun server that takes browser input, unvalidated, and saves it to a file within the web document directory hierarchy. If the potential attacker can predict where in the hierarchy that file is, it can then be invoked by a deliberately malformed URI. The URI uses JRun's JSP servlet to invoke the target file as a JSP file. In this way, an attacker can contrive to invoke arbitrary JSP commands on the JRun server. It is possible that a determined attacker could gain administrative control of the server. Please note that this holds only for the included JRun http server, not any other vendor's web server. Affected Software Versions * JRun 2.3.3 (all editions) What Allaire is Doing Allaire has published this bulletin, notifying customers of the problem. Allaire has also released a patch that should resolve the issue in JRun 2.3.3. The patch is available for immediate download and application. JRun 2.3.3 users can find the patch for installation at the following URIs -- use the patch appropriate to your platform -- instructions for installation are included: Windows 95/98/NT/2000 and Windows NT Alpha: [4]http://download.allaire.com/jrun/jr233p_ASB00_28_29.zip UNIX/Linux patch - GNU gzip/tar: [5]http://download.allaire.com/jrun/jr233p_ASB00_28_29.tar.gz Please Note: The patch for ASB00-28 and ASB00-29 is identical. If you have already installed the patch for one, you do not need to install it for the other. It is recommended that you back up your existing data before applying any patch. What Customers Should Do Customers should download and apply the patch provided. Customers should also take this time to review the Allaire Security Best Practices document, '[6]Security Best Practice: Validating Browser Input', to help prevent this kind of security risk in general. Please note: As always, customers should test patch changes in a testing environment before modifying production servers. Acknowledgements Special thanks to Shreeraj Shah of [7]Foundstone, Inc. for bringing this issue to our attention. Revisions October 23, 2000 -- Bulletin first created. Reporting Security Issues Allaire is committed to addressing security issues and providing customers with the information on how they can protect themselves. If you identify what you believe may be a security issue with an Allaire product, please send an email to secure@allaire.com. We will work to appropriately address and communicate the issue. Receiving Security Bulletins When Allaire becomes aware of a security issue that we believe significantly affects our products or customers, we will notify customers when appropriate. Typically this notification will be in the form of a security bulletin explaining the issue and the response. Allaire customers who would like to receive notification of new security bulletins when they are released can sign up for our security notification service. For additional information on security issues at Allaire, please visit the Security Zone at: [8]http://www.allaire.com/security. THE INFORMATION PROVIDED BY ALLAIRE IN THIS BULLETIN IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. ALLAIRE DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL ALLAIRE CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF ALLAIRE CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY. Allaire reserves the right, from time to time, to update the information in this document with current information. < a l l a i r e > Copyright © 1995-2000 Allaire Corp., All rights reserved. [9]Year 2000 (Y2K) [10]Site problems? [11]Service questions? [12]Privacy Policy References 1. LYNXIMGMAP:http://www.allaire.com/handlers/index.cfm?ID=17969&Method=Full#allaireHome 2. LYNXIMGMAP:http://www.allaire.com/handlers/index.cfm?ID=17969&Method=Full#tools 3. javascript:history.back() 4. http://download.allaire.com/jrun/jr233p_ASB00_28_29.zip 5. http://download.allaire.com/jrun/jr233p_ASB00_28_29.tar.gz 6. http://www.allaire.com/Handlers/index.cfm?ID=14558&Method=Full 7. http://www.foundstone.com/cgi-bin/display.cgi?Section_ID=13 8. http://www.allaire.com/security 9. http://www.allaire.com/developer/year2000 10. mailto:webmaster@allaire.com 11. mailto:info@allaire.com 12. http://www.allaire.com/privacy/