id: zuul-panel

info:
  name: Zuul Panel - Detect
  author: Yuzhe-zhang-0
  severity: info
  description: ZUUL panel was detected.
  reference:
    - https://opendev.org/zuul/zuul
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cwe-id: CWE-200
    cpe: cpe:2.3:a:zuul-ci:zuul:*:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    shodan-query: http.favicon.hash:-1127895693
    product: zuul
    vendor: zuul-ci
  tags: panel,zuul,cicd,oss

http:
  - method: GET
    path:
      - '{{BaseURL}}/api/tenants'
      - '{{BaseURL}}/api/status'

    host-redirects: true
    max-redirects: 2
    stop-at-first-match: true

    matchers-condition: or
    matchers:
      - type: word
        part: body
        words:
          - '"name":'
          - '"projects":'
          - '"queue":'
        condition: and

      - type: word
        words:
          - 'zuul_version'
# digest: 4b0a00483046022100c356930dd53ca049f37b32e0b2f73c323d6c95b108e90c84b6fb8b76f02402d2022100d942125c8a01dbdfa9cdc57c74272d70fa28d72b22e8a1e1e62c073609a78e62:922c64590222798bb761d5b6d8e72950