id: proxmox-panel

info:
  name: Proxmox Virtual Environment Login Panel - Detect
  author: lum8rjack
  severity: info
  description: |
    Proxmox Virtual Environment login panel was detected.
  reference:
    - https://www.proxmox.com/
  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:proxmox:proxmox:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: proxmox
    product: proxmox
    shodan-query: http.favicon.hash:213144638
    fofa-query: icon_hash=213144638
  tags: panel,proxmox,login

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

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "Proxmox Virtual Environment</title>"
          - "auth_cookie_name: 'PVEAuthCookie'"
        condition: or

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - "(?:pvemanagerlib.js[?](ver=[0-9]{1}[.][0-9]{1,}[-][0-9]))"
# digest: 4a0a0047304502200a53ffd3833ec940868367793b9aa2e33fdd431e514b83b0688341fe5a03af68022100adbac1d8c201f15b25b7712f7afc1f70e9ab39d6f93efc7cdf16e2127f523e15:922c64590222798bb761d5b6d8e72950