id: splunk-enterprise-panel

info:
  name: Splunk Enterprise Login Panel - Detect
  author: praetorian-thendrickson
  severity: info
  description: Splunk Enterprise login panel was detected.
  reference:
    - https://www.splunk.com/en_us/software/splunk-enterprise.html
  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:splunk:splunk:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: splunk
    product: splunk
    shodan-query:
      - http.title:"Login - Splunk"
      - http.title:"login - splunk"
    fofa-query: title="login - splunk"
    google-query: intitle:"login - splunk"
  tags: panel,splunk

http:
  - method: GET
    path:
      - '{{BaseURL}}/en-US/account/login'

    host-redirects: true

    matchers-condition: and
    matchers:
      - type: word
        words:
          - 'Splunk Inc.'

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - '"version": "(.*)"'
          - 'versionNumber": "([0-9.]+)"'
          - '"VERSION_LABEL": "([0-9.]+)"'
# digest: 490a004630440220745711992f44d857766ff97449df86e742cdf9895e1ca631f8aca9decbcfad2a02204c7790b2237933c7b6bc05117dec59bd34d0c3416c27d9960e1bf4d51b7c0da8:922c64590222798bb761d5b6d8e72950