Check: GEN004640
AIX 6.1 SECURITY TECHNICAL IMPLEMENTATION GUIDE:
GEN004640
(in versions v1 r14 through v1 r10)
Title
The SMTP service must not have a uudecode alias active. (Cat I impact)
Discussion
A common configuration for older Mail Transfer Agents (MTAs) includes an alias for the decode user. All mail sent to this user is sent to the uudecode program, which automatically converts and stores files. By sending mail to decode or uudecode aliases present on some systems, a remote attacker may be able to create or overwrite files on the remote host. This could possibly be used to gain remote access.
Check Content
Check the SMTP service for an active decode command. Procedure: # telnet localhost 25 decode If the command does not return a 500 error code of command unrecognized, this is a finding.
Fix Text
Disable mail aliases for decode and uudecode. If the /etc/aliases or /usr/lib/aliases (mail alias) file contains entries for these programs, remove them or disable them by placing # at the beginning of the line, and then executing the "newaliases" command. For more information on mail aliases, refer to the man page for aliases. Disabled aliases would be similar to the examples below: # decode: |/usr/bin/uudecode # uudecode: |/usr/bin/uuencode -d
Additional Identifiers
Rule ID: SV-4691r2_rule
Vulnerability ID: V-4691
Group Title: GEN004640
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-001230 |
The organization incorporates flaw remediation into the organizational configuration management process. |
Controls
Number | Title |
---|---|
SI-2 |
Flaw Remediation |