id: jira-detect

info:
  name: Jira Detect
  author: pdteam,philippedelteil,AdamCrosser
  severity: info
  description: Jira login panel was detected.
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cvss-score: 0
    cwe-id: CWE-200
    cpe: cpe:2.3:a:atlassian:jira:*:*:*:*:*:*:*:*
  metadata:
    max-request: 3
    vendor: atlassian
    product: jira
    category: productivity
    shodan-query:
      - http.component:"atlassian jira"
      - http.component:"atlassian confluence"
      - cpe:"cpe:2.3:a:atlassian:jira"
  tags: tech,panel,jira,atlassian

http:
  - method: GET
    path:
      - "{{BaseURL}}/secure/Dashboard.jspa"
      - "{{BaseURL}}/jira/secure/Dashboard.jspa"
      - "{{BaseURL}}/login.jsp"

    stop-at-first-match: true
    host-redirects: true
    max-redirects: 2
    matchers:
      - type: word
        words:
          - "Project Management Software"

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - 'title="JiraVersion" value="([0-9.]+)'
# digest: 4b0a00483046022100f8c4a0a964622b417a294f0e0cc8c8d157b962ced773b3250dd91bd5147d98d5022100c60439adf5358dfeb6a548aca4eaae5c8dff70f41f9c5da4613c32aa2b9fb901:922c64590222798bb761d5b6d8e72950