Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-29095

Path traversal in HtmlExporter.java and FileXmlExporter.java

    XMLWordPrintable

Details

    Description

      Both HtmlExporter.java and FileXmlExporter.java use the prepareExportFileName method inherited from AbstractExporterImpl.java in forming a path to use for the zip file location (archivePath & zipFileName, respectively) which uses the user controlled space key[0] in the returned path and are thus vulnerable to path traversal.

      [0] personal space keys are allowed to contain "." and "/" characters.

      Attachments

        Issue Links

          Activity

            People

              alwang Alice Wang (Inactive)
              dblack David Black
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: