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,discovery

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: 490a0046304402201512f716e77d92874419aa6b3404e5e52ba9bff06657455f1e19a3e182eec79102200febdc253ae9b516ca6961c9ac91dee0bcc6cd35a7fc87d8aaff031296c65a31:922c64590222798bb761d5b6d8e72950