The following URL is vulnerable to Insecure Direct Object Reference, allowing any authenticated user to read configuration files from the application such as the content of webapp directory in confluence.

      http://<server>/spaces/viewdefaultdecorator.action?decoratorName=<FILE>
      http://<server>/admin/viewdefaultdecorator.action?decoratorName=<FILE>

      Where <FILE> any file readable by the user who runs the Confluence instance is accessible through Confluence itself.

      PoC URL:
      http://<server>/spaces/viewdefaultdecorator.action?decoratorName=/WEB-INF/web.xml
      http://<server>/admin/viewdefaultdecorator.action?decoratorName=/WEB-INF/web.xml

      This has been verified in confluence 5.9.1, 5.8.15, and 5.8.14

      Workarounds

      • Do not run Confluence as root/administrator. We always recommend creating a dedicated user account to run Atlassian products. You can limit the impact of this bug by restricting what the app user account can access.
      • Block URLs that match this pattern using proxy or load balancer rules.

          Form Name

            [CONFSERVER-39704] Insecure Direct Object Reference

            Katherine Yabut made changes -
            Workflow Original: JAC Bug Workflow v3 [ 2884499 ] New: CONFSERVER Bug Workflow v4 [ 2993016 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2796040 ] New: JAC Bug Workflow v3 [ 2884499 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow [ 2726204 ] New: JAC Bug Workflow v2 [ 2796040 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2390225 ] New: JAC Bug Workflow [ 2726204 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 2269193 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2390225 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2215198 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 2269193 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2166023 ] New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2215198 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 1944463 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2166023 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v3 [ 1741438 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 1944463 ]
            Katherine Yabut made changes -
            Workflow Original: CONF Bug Subtask WF (TEMP) [ 1701818 ] New: Confluence Workflow - Public Facing - Restricted v3 [ 1741438 ]

              mtran@atlassian.com Minh Tran
              fa1767dc8cc8 Sebastian Perez
              Affected customers:
              0 This affects my team
              Watchers:
              22 Start watching this issue

                Created:
                Updated:
                Resolved: