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

XMLWordPrintable

      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
          Nathan Neulinger
        2. webhook.png
          323 kB
          Yuki Okamoto
        3. webhooks.png
          27 kB
          Yit Wei

              psuwala ΞΔ (Inactive)
              yokamoto Yuki Okamoto (Inactive)
              Votes:
              82 Vote for this issue
              Watchers:
              96 Start watching this issue

                Created:
                Updated:
                Resolved: