Bug 118746 - Requiring compilers on a web server is a security flaw, so JSPs should be pre-compiled at build time
Requiring compilers on a web server is a security flaw, so JSPs should be pre...
Status: CLOSED WONTFIX
Product: Red Hat Web Application Framework
Classification: Retired
Component: dev environment (Show other bugs)
nightly
All Linux
medium Severity medium
: ---
: ---
Assigned To: ccm-bugs-list
Jon Orris
: FutureFeature
: 118869 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2004-03-19 14:03 EST by Daniel Berrange
Modified: 2007-04-18 13:04 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-09-02 13:36:45 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Daniel Berrange 2004-03-19 14:03:29 EST
Description of problem:
Requiring compilers to be present on a web/app server is a potential
security flaw, particularly with CMS allowing uploading of arbitrary
JSP code. For most projects there is no need to change JSPs on a
production system, so we could use Jasper to pre-compile the JSPs at
build time. They could then be packaged up & copied into the work
directory where Tomcat would magically pick them up. A similar trick
is possible in Resin.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:
ANT task for pre-compiling JSPs for Tomcat.

http://cvs.apache.org/~fhanik/precompile.html

Instructions of compiling JSPs for Resin:

http://www.caucho.com/quercus/faq/question.xtp?question_id=302
Comment 1 Daniel Berrange 2004-03-22 06:03:46 EST
*** Bug 118869 has been marked as a duplicate of this bug. ***
Comment 2 Daniel Berrange 2006-09-02 13:36:45 EDT
Closing old tickets

Note You need to log in before you can comment on or make changes to this bug.