TMAegisBêta
Plus de règles pour aix

IBM AIX

TMA-AIX-4.6.4.2

Ensure sendmail PrivacyOptions is configured

MoyenneNiveau 1Automatiséeaix

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.

Méthode de vérification

Méthode d'audit: Commande shell

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"
Sortie attendue
compliant

Méthode de correction

Méthode de correction: Recommandation ou correctif d'infrastructure

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.

Propriétés

Systèmes d'exploitation
Tous
Étiquettes
aixservices
Référence
CIS IBM AIX 7 Benchmark v1.2.0 - 4.6.4.2 Ensure sendmail PrivacyOptions is configured

Vérifier cet hôte

Exécutez cette commande sur une machine que vous êtes autorisé à auditer. L'analyse est en lecture seule.

shell
tmaegis scan --target aix