PCI scan failure for SSL Certificate with Wrong Hostname?

11,198

This is what they call a false positive. We are using a wild card certificate so therefore the host name and certificate will not match. The certificate name will be the wild card name and the host would be domain.yourdomain.com and the SSL being a wild card will be *.yourdomain.com

Simply ask security metrics to whitelist that specific error if you are using a wild card cert.

You will have to get that to be the only error for the specific IP address. They can omit false positives.

Share:
11,198

Related videos on Youtube

Rob Mangiafico
Author by

Rob Mangiafico

Updated on September 18, 2022

Comments

  • Rob Mangiafico
    Rob Mangiafico almost 2 years

    A client had a PCI scan completed by SecurityMetrics, and it now says they failed due to the SSL certificate for the SMTP port 25 (and POP3s/IMAPS) not matching the domain scanned. Specifically:


    Description: SSL Certificate with Wrong Hostname

    Synoposis: The SSL certificate for this service is for a different host.

    Impact: The commonName (CN) of the SSL certificate presented on this service is for a different machine.


    The mail server uses sendmail (patched) and provides email service for a number of domains. The server itself has a valid SSL certificate, but it does not match each domain (as we add/remove domains all the time as clients move around).

    Seems SecurityMerics is the only ASV that marks this as failing PCI. Trustwave, McAfee, etc... do not see this as failing PCI.

    Is this issue truly a PCI failure? Or is it just SecuritMetrics being wrong?

    • Chida
      Chida almost 12 years
      It it much easier for you to go and fix the certificate, perhaps buy a wildcard SSL so that you can use it on many of your servers with the same domain. It's not easy for SecuritMetrics to go and update their tests to make an exception. OTOH, I'd also advice to fix your domain and SSL certificate since it usually comes back and bites in other ways (email clients) and could be a PCIDSS violation in the strictest sense. Imagine your bank send you a certificate for another domain than the one you are on?
    • Michael Hampton
      Michael Hampton almost 12 years
      Why are you running email services on the same server as your web sites?
    • Rob Mangiafico
      Rob Mangiafico almost 12 years
      Same issue applies to FTPS and a non-matching SSL certificate, so it's not just SMTP (yes I understand the separation of services for PCI compliance). SecurityMetrics just points to the Nessus CVSS results, but other ASVs do not mark this as a failing hit, as it is not actually a vulnerability.
    • Admin
      Admin almost 12 years
      Rob, did you ever get anywhere with this as I'm having the same debate with Security Metrics at the moment!? My web host has assured me that other ecommerce sites they host on the same setup (except using other ASV's like Mcafee and Trustwave) do not have this marked as a "failure" yet Security Metrics don't seem to want to budge. Wondered what your outcome was? Ben
  • GioMac
    GioMac about 11 years
    Agree. I've passed PCI scans several times - email certificate validation is not required by PCI.