Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-7703

Remove <tracking-mode> in CMS web.xml files

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Won't Fix
    • None
    • 2.26.00
    • None

    Description

      Remove the <tracking-mode> configuration from the archetype and Go Green CMS web.xmls and properly document this setting in our deployment documentation about the security vulnerability risk that must be cared by system administrator.

      The <tracking-mode> element is supported since Servlet Spec 3.0. You can set it to 'COOKIE' to avoid security vulnerability of session ID in URL, but system administrator can set it in a container configuration file such as $CATALINA_BASE/conf/web.xml.
      According to [1], "An equivalent effect can be obtained by configuring the session-config/tracking-mode elements in a web application or in the global CATALINA_BASE/conf/web.xml file."
      We can emphasize its risk and solution in a separate documentation, but we don't have to put the <tracking-mode> in our products (archetype or gogreen) by ourselves. By not having that by ourselves, we can have simpler setup by default and be compliant with both Servlet spec 2.5 and 3.0.

      Anyway, we should remove <tracking-mode> in web.xml file of cms, but we should describe the risk and solution in online documentation site.

      [1] https://tomcat.apache.org/migration-7.html

      Attachments

        Issue Links

          Activity

            People

              uhommes Unico Hommes (Inactive)
              wko Woonsan Ko (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: