Rule ID
SV-240444r671073_rule
Version
V2R2
CCIs
The version of the SMTP service can be used by attackers to plan an attack based on vulnerabilities present in the specific version.
To check for the sendmail version being displayed in the greeting: # more /etc/sendmail.cf | grep SmtpGreetingMessage If it returns the following: O SmtpGreetingMessage=$j Sendmail $v/$Z; $b Then sendmail is providing version information, and this is a finding.
Change the "O SmtpGreetingMessage" line in the /etc/sendmail.cf file to: O SmtpGreetingMessage= Mail Server Ready ; $b