id: jenkins-api-panel

info:
  name: Jenkins API Panel - Detect
  author: righettod
  severity: info
  description: Jenkins API 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
    cwe-id: CWE-200
    cpe: cpe:2.3:a:jenkins:jenkins:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    product: jenkins
    vendor: jenkins
  tags: panel,api,jenkins

http:
  - method: GET
    path:
      - "{{BaseURL}}/api/xml"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "hudson.model.Hudson"

      - type: status
        status:
          - 200
# digest: 490a004630440220657210e72d1b8ad8ca30e5c632aaada05309513b87a8e4565bf57beec27c4aab02207fda86095fef600f42168c7400d45b9fcbf0842c894449bd1419f37388231da5:922c64590222798bb761d5b6d8e72950