id: mismatched-ssl-certificate info: name: Mismatched SSL Certificate author: pdteam severity: low reference: - https://www.invicti.com/web-vulnerability-scanner/vulnerabilities/ssl-certificate-name-hostname-mismatch/ description: | Mismatched certificates occur when there is inconsistency between the common name to which the certificate was issued and the domain name in the URL. This issue impacts the trust value of the affected website. tags: ssl,mismatched,tls metadata: max-request: 1 ssl: - address: "{{Host}}:{{Port}}" matchers: - type: dsl dsl: - "mismatched == true" - "ip != host" condition: and extractors: - type: dsl dsl: - '"CN: " + subject_cn'