The SMTP service's SMTP greeting must not provide version information.

From Red Hat Enterprise Linux 5 Security Technical Implementation Guide

Part of GEN004560

Associated with IA controls: ECSC-1

Associated with: CCI-000366

SV-37505r1_rule The SMTP service's SMTP greeting must not provide version information.

Vulnerability discussion

The version of the SMTP service can be used by attackers to plan an attack based on vulnerabilities present in the specific version.

Check content

Fix text

Ensure sendmail or Postfix has been configured to mask the version information. Procedure for sendmail: Change the O SmtpGreetingMessage line in the /etc/mail/sendmail.cf file as noted below: O SmtpGreetingMessage=$j Sendmail $v/$Z; $b change it to: O SmtpGreetingMessage= Mail Server Ready ; $b for Postfix: Examine the "smtpd_banner" line of /etc/postfix/main.conf and remove any "$mail_version" entry on it or comment the entire "smtpd_banner" line to use the default value which does not display the version information.

Pro Tips

Lavender hyperlinks in small type off to the right (of CSS class id, if you view the page source) point to globally unique URIs for each document and item. Copy the link location and paste anywhere you need to talk unambiguously about these things.

You can obtain data about documents and items in other formats. Simply provide an HTTP header Accept: text/turtle or Accept: application/rdf+xml.

Powered by sagemincer