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."

3 of 14 comments (clear)

  1. You mean that ... by raxhonp · · Score: 3, Funny

    apache and tomcat are open source, that's it?

    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.
  2. Hmmmm. by Gaijin42 · · Score: 5, Insightful

    I think its very interesting that this article is posted on the Apache subsite, when Slashdot is touted as the source for Open Source news. This is the type of thing you would want to get out to as many users as possible so they can all get patched (Isn't that the advantage to Open Source? You can patch it? Or have someone smarter than you patch it for you?)

    Meanwhile, every obscure, really difficult to implement, not really dangerous IIS flaw makes it to the frontpage, so we can have 500 comments of MS sucks, use open source, it can be patched faster!

    No wonder the views are so lopsided. Massive exposure to every MS bug. Hide every open source bug.

    Bring on the moderation. Its not that big of a deal...