TMAegisBeta
More rules for aix

IBM AIX

TMA-AIX-4.6.4.2

Ensure sendmail PrivacyOptions is configured

MediumLevel 1Automatedaix

Description

The recommendation is to ensure that PrivacyOptions includes at least three settings: authwarnings (a default) novrfy noexpn The sendmail deamon has a history of security vulnerabilities. The recommendation is to modify default sendmail settings that otherwise may provide information that can be used by an attacker. novrfy: No Verify: do not verify valid email addresses. Audit: automated read-only check derived from the CIS audit procedure; it prints "compliant" when the control is met.

How it is checked

Audit method: Shell command

shell
out=$(grep -i "^O PrivacyOptions" /etc/mail/sendmail.cf 2>/dev/null) || exit 1; r=compliant; for o in authwarnings novrfy noexpn; do printf '%s\n' "$out" | grep -iq "$o" || r="missing PrivacyOption $o"; done; echo "$r"
Expected output
compliant

How it is fixed

Fix method: Guidance or infrastructure patch

Edit the /etc/mail/sendmail.cf file and add any missing options to the O PrivacyOptions directive. Example O PrivacyOptions=authwarnings noexpn novrfy NOTE: sendmail.cf supports the use of both the comma and space characters to separate the options.

Properties

Operating systems
Any
Tags
aixservices
Reference
CIS IBM AIX 7 Benchmark v1.2.0 - 4.6.4.2 Ensure sendmail PrivacyOptions is configured

Check this host

Run this on a machine you are allowed to audit. The scan is read-only.

shell
tmaegis scan --target aix