id: enable-https-protocol

info:
  name: Pfsense Web Admin Management Portal HTTPS Not Set - Detect
  author: pussycat0x
  severity: info
  description: |
    PfSense Web Admin Management Portal is recommended to be accessible using only HTTPS protocol. HTTP transmits all data, including passwords, in clear text over the network and provides no assurance of the identity of the hosts involved, making it possible for an attacker to obtain sensitive information, modify data, and/or execute unauthorized operations.
  reference:
    - https://docs.netgate.com/pfsense/en/latest/config/advanced-admin.html
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cvss-score: 0
    cwe-id: CWE-200
  metadata:
    verified: true
  tags: firewall,config,audit,pfsense,file

file:
  - extensions:
      - xml

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "<webgui>"
          - "<protocol>https</protocol>"
        condition: and
        negative: true

      - type: word
        words:
          - "<pfsense>"
          - "<system>"
        condition: and

# Enhanced by md on 2023/05/04
# digest: 4b0a00483046022100809a341c55f55fc43f6c21a7abf052d6f35c8a69ffa36beab355ad2916d22692022100977b578fc7cc6d1b0a605562eeadead5af7e8571d6f17d5d2012ae2afc708588:922c64590222798bb761d5b6d8e72950