Slashdot Mirror


Apache Tomcat Source Disclosure Hole

joe writes "Apache has released a security warning in its popular server Tomcat. This security hole allows non authenticated users to retrieve source code of web applications on the server."

1 of 14 comments (clear)

  1. Re:You mean that ... by The+Mayor · · Score: 3, Informative

    No. It means that JSP code can be retrieved without being processed first.

    When a user requests a .jsp page, Tomcat takes all the HTML code on the .jsp page and sticks it in the equivalent of a printf(). The Java code on the page is just interspersed between the HTML output. After this, it compiles the resulting Java, and uses the compiled Java to create the output for the requested URL for subsequent requests. At no point should the user be able to see the .jsp code (just like with ASP, cold fusion, etc etc).

    --
    --Be human.