Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-59980

JQL filter for Webhooks doesn't work correctly when "Comment" and "Worklog" related events are fired - CVE-2017-18104

      NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.

      Security information

      The Webhooks component of Atlassian Jira before version 7.6.7 and from version 7.7.0 before version 7.11.0 allows remote attackers who are able to observe or otherwise intercept webhook events to learn information about changes in issues that should not be sent because they are not contained within the results of a specified JQL query.

      Summary

      JQL filter for Webhooks dosn't work correctly when Comment or Worklog related events are fired.

      Steps to Reproduce

      1. Create an webhook as follows
        • Issue related events
          • JQL: project = <PROJECTKEY>
          • Issue: created, updated
          • Comment: created, updated
          • Worklog: created,updated
      2. Comment or log work on an issue in a project aside from the one which is specified with the JQL

      Expected Results

      The webhook shouldn't be fired.

      Actual Results

      The webhook was fired.

      Notes

      When it comes to NOT "Comment" or "Worklog" related events (like creating issue, updating issue),
      the JQL filters the events correctly.

        1. jql.diff
          3 kB
        2. webhooks.png
          webhooks.png
          27 kB
        3. webhook.png
          webhook.png
          323 kB

            [JRASERVER-59980] JQL filter for Webhooks doesn't work correctly when "Comment" and "Worklog" related events are fired - CVE-2017-18104

            Cathy S made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 937303 ]
            Alex Stegani made changes -
            Link New: This issue is duplicated by JRASERVER-67663 [ JRASERVER-67663 ]
            Alex Stegani made changes -
            Link Original: This issue duplicates JRASERVER-67663 [ JRASERVER-67663 ]
            Alex Stegani made changes -
            Link New: This issue duplicates JRASERVER-67663 [ JRASERVER-67663 ]
            set-jac-bot made changes -
            Bugfix Automation Bot made changes -
            Minimum Version New: 7
            Andy Nguyen (Inactive) made changes -
            Link New: This issue is duplicated by JRASERVER-63005 [ JRASERVER-63005 ]
            Marc Kilgus made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 393728 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2848985 ] New: JAC Bug Workflow v3 [ 2924919 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]

            Hello zansm,

            The issue is resolved since Jira 7.6.7 and above. We recommending upgrading the instance to address the issue.

            Cheers,
            Ignat Alexeyenko
            Jira bugmaster.

            Ignat (Inactive) added a comment - Hello zansm , The issue is resolved since Jira 7.6.7 and above. We recommending upgrading the instance to address the issue. Cheers, Ignat Alexeyenko Jira bugmaster.

              psuwala ΞΔ (Inactive)
              yokamoto Yuki Okamoto (Inactive)
              Affected customers:
              82 This affects my team
              Watchers:
              96 Start watching this issue

                Created:
                Updated:
                Resolved: