id: slurm-hpc-dashboard

info:
  name: Slurm HPC Dashboard - Detect
  author: ritikchaddha
  severity: medium
  description: |
    Slurm HPC Dashboard was detected.
  reference:
    - https://grafana.com/grafana/dashboards/4323-slurm-dashboard/
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
    cvss-score: 5.3
    cwe-id: CWE-200
    cpe: cpe:2.3:a:schedmd:slurm:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    shodan-query: title:"Slurm HPC Dashboard"
    product: slurm
    vendor: schedmd
  tags: misconfig,slurm,dashboard

http:
  - method: GET
    path:
      - "{{BaseURL}}/slurm/"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - '<title>Slurm HPC Dashboard</title>'
          - 'content="Slurm HPC dashboard'
        condition: or

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