Uploaded image for project: 'JIRA Server (including JIRA Core)'
  1. JIRA Server (including JIRA Core)
  2. JRASERVER-59980

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

    XMLWordPrintable

    Details

    • Support reference count:
      27
    • Symptom Severity:
      Severity 2 - Major
    • Occurrence Factor:
      10%
    • UIS:
      90

      Description

      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.

        Attachments

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

          Issue Links

            Activity

              People

              • Assignee:
                psuwala Piotr Suwala
                Reporter:
                yokamoto Yuki Okamoto
              • Votes:
                82 Vote for this issue
                Watchers:
                91 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: