Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-281

asset service has security flaw

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.0
    • 4.0
    • Framework
    • None
    • Tomcat 5, JDK 1.4

    Description

      The asset service can be used to view files that should not be visible. This could expose important resources, including database passwords and connection information.

      The asset service appears to expose any file relative to the classpath, and you can even use the ".." operator to go backwards, down into WEB-INF in general.

      Here are some examples. They were tested on a demo application which is often available on the web, but they've been "cleaned," so they don't point to a real server anymore:

      Attachments

        Issue Links

          Activity

            People

              hlship Howard Lewis Ship
              hlship Howard Lewis Ship
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: