Rule ID
SV-239538r662065_rule
Version
V2R2
CCIs
CCI-000382
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: O SmtpGreetingMessage=$j Sendmail $v/$Z; $b Then sendmail is providing version information, this is a finding.
Change the "O SmtpGreetingMessage" line in the "/etc/sendmail.cf" file to: O SmtpGreetingMessage= Mail Server Ready ; $b