IBM AIX
TMA-AIX-4.6.4.2
Ensure sendmail PrivacyOptions is configured
Descripción
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.
Cómo se verifica
Método de auditoría: Comando de 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"- Salida esperada
compliant
Cómo se corrige
Método de corrección: Guía o parche de infraestructura
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.
Propiedades
- Sistemas operativos
- Cualquiera
- Etiquetas
- aixservices
- Referencia
- CIS IBM AIX 7 Benchmark v1.2.0 - 4.6.4.2 Ensure sendmail PrivacyOptions is configured
Verificar este host
Ejecute esto en un equipo que tenga permiso para auditar. El escaneo es de solo lectura.
tmaegis scan --target aix