TMAegisBeta
Weitere Regeln für aix

IBM AIX

TMA-AIX-4.6.4.2

Ensure sendmail PrivacyOptions is configured

MittelStufe 1Automatisiertaix

Beschreibung

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.

So wird geprüft

Prüfmethode: Shell-Befehl

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"
Erwartete Ausgabe
compliant

So wird behoben

Behebungsmethode: Anleitung oder Infrastruktur-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.

Eigenschaften

Betriebssysteme
Beliebig
Tags
aixservices
Referenz
CIS IBM AIX 7 Benchmark v1.2.0 - 4.6.4.2 Ensure sendmail PrivacyOptions is configured

Diesen Host prüfen

Führen Sie dies auf einem Rechner aus, den Sie prüfen dürfen. Der Scan ist schreibgeschützt.

shell
tmaegis scan --target aix