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

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: 4a0a00473045022100c9f42cdd4493bdad151bc6b41f33b6961243eb457bc69875a5fe1a2caec0dfa3022016a4b06058ea5d43123eea74f6750610186b030b871bf514d98fd49ab23ffc91:922c64590222798bb761d5b6d8e72950