Patch-ID# 102064-20 Keywords: security BIND 4.9.3 libresolv.so.2 cachefs sendmail dns vacation Synopsis: SunOS 5.4_x86: /usr/lib/sendmail patch Date: Jun/16/98 Solaris Release: 2.4_x86 SunOS Release: 5.4_x86 Unbundled Product: Unbundled Release: Xref: This patch available for SPARC as patch 102066 Topic: SunOS 5.4_x86: /usr/lib/sendmail patch NOTE: Refer to the file called SPECIAL_NOTE_SENDMAIL shipped with this patch for special instructions. BugId's fixed with this patch: 1031899 1097962 1138851 1138867 1139292 1141553 1153954 1163133 1167823 1171241 1175514 1176905 1181365 1184012 1189574 1191075 1192880 1193564 1194262 1194643 1196392 1196394 1196727 1197254 1197255 1206222 1206233 1213618 1214897 1215086 1217009 1219169 1222105 1222168 1222457 1232712 1237695 1239516 1241168 1241841 1242930 1244027 1245185 1249090 1249900 1252530 1252675 1253584 1258420 1261561 1265017 1265313 1267313 4008983 4011634 4015151 4017798 4018487 4018511 4022409 4027534 4030794 4034927 4035001 4037078 4068731 4069756 4072035 4132274 Changes incorporated in this version: 4132274 Relevant Architectures: i386 Patches accumulated and obsoleted by this patch: Patches which conflict with this patch: Patches required with this patch: 102480-02 (or newer) Obsoleted by: Files included with this patch: /etc/mail/main.cf /etc/mail/sendmail.cf /etc/mail/subsidiary.cf /usr/bin/aliasadm /usr/bin/mailcompat /usr/bin/mailstats /usr/bin/vacation /usr/lib/sendmail /usr/lib/sendmail.mx Problem Description: 4132274 security user can cause sendmail to core at will with formatted addr (from 102064-19) 4072035 Security hole in vacation program. (from 102064-18) 4034927 sendmail in bs mode doesn't work with -or option 4035001 sendmail can't create file 4037078 sendmail sends email to the mailhost instead of sending it directly 4022409 sendmail dumps core after rewriting the ruleset 0 4027534 V0-V5 options cause sendmail alias rebuild to fail. 1265313 sendmail v8 dumps core with alias include file owned by unknown user 1261561 getmxrr: res_search (eng) failed with impossible h_errno (-1) 4015151 sendmail fails to use scanf for 'F' command in sendmail.cf 1241168 Race condition exists 1252675 sendmail will match on comments in the hosts file 1242930 sendmail displays multiple dbm put error messages 1258420 sendmail does not quote nis+ special characters in mail alias expansion 1249090 sendmail V8 coredumps while delivering from mail queue to HP openmail 4069756 "cannot bind to NIS domain" should not be a fatal error 4068731 Patch 102066-18 produces errors when installing under Jumpstart (from 102064-17) 4018511 Security bug: Sendmail Group Permissions Vulnerability 4030794 sendmail gets From: field wrong 4017798 Sendmail in bs mode ignores the Orident option (from 102064-16) 4018487 Security Bug: Sendmail Treats The w Option As Safe (from 102064-15) 4011634 a user can redirect messages to unqualified domain names 1267313 sendmail security bug - Sendmail CERT advisory 96.20 (from 102064-14) 4008983 5.3 and 5.4 sendmail Makefiles do not rebuild sendmail.mx (from 102064-13) 1265017 V8 sendmail patch breaks F=U (UNIX-Style From line) flag 1245185 alias indirect self reference is broken in sendmail v8 (from 102064-12) 1252530 bad patch 101739-11 102066-09 102980-04 causes make aliases to fail (from 102064-11) 1249900 Transient parse error when using NIS+ prevents sendmail outside the domain (from 102064-10) 1253584 Sendmail source update and rebuild for BIND 4.9.3 (from 102064-09) 1241841 Sendmail V8 coredumps when using HP openmail, or Novell Groupwise SMTP Gateway (from 102064-08) 1244027 NIS mail.aliases DBM map built from v8 sendmail breaks v5 sendmail clients (from 102064-07) 1239516 sendmail should check gethostbyaddr return values (from 102064-06) 1237695 with V8 sendmail mail to numeric login IDs returns user unknown 1232712 sendmail in Sol 2.5 doesn't works with dns (from 102064-05) 1181365 sendmail crash segv segment violation core dump on mixed case mx records 1189574 sendmail "M" option has potential security hole 1097962 aliasadm -e fails & gives memory fault when used with a large nis+ alias table. 1171241 Sendmail cannot handle quoted characters in full name 1031899 8 bit chars are not recognized when used with '|' aliases 1138851 get returned mail if use chinese characters in an alias 1163133 $%x in sendmail.cf actually does nothing - please fix or remove from sendmail.c 1138867 mail load balancing and auto failed over 1139292 If a local alias is present and "findable", sendmail still insists on using NIS 1175514 nsswitch aliases causes problem for sendmail 1141553 Non-standard NIS+ tables don't work in sendmail rule matching 1176905 In Solaris 2.3, "%l" doesn't correctly arrange for a fully qualified local name 1184012 aliasadm -e coredumps 1194643 sendmail issues bogus warning security warning when newline in header field see 1191075 sendmail security bug 1193564 trashed buf in sendmail caused mail bouncing problem 1192880 IDENT protocol should be turned of in v1/sun mode for compatibility 1167823 Sendmail incorrectly reporting mail spool on cachefs 1194262 sendmail reverse alias is breaking 1196727 Remote mode doesn't route on NFS mounted spool directory. 1197255 495 sendmail version was not set correctly 1197254 default domain is not handle correctly in 495 sendmail 1206222 nisplus_getcanonname() should remove the reference to $P in 495 v8 sendmail 1206233 495 sendmail's short address conversion routine could misidentified the domain 1213618 MaxHopCount in 495 sendmail diffs from the max hop count in old V5 sendmail 1215086 UUCP address format system error msg printed while running V8, but not in V5 1214897 X86: build27 sendmail causes gethostbyaddr() error 1219169 NIS+ only reverse aliasing does not work with sendmail V8 1222105 mconnect prints wrong port on little-endian machines 1222457 sendmail coredumps when .forwarded to file on PowerPC 1217009 pkgadd hangs on sendmail -oi on nis+ server with sendmail POINT PATCH installed 1222168 sendmail -bs -or10s returns 0 (successful termination) when timeout occurs 1196394 incompatibility in openxscript() between the file open and stdio mode 1196392 Password entries without any shell listed (a NULL shell) wouldn't be ok in v8 (from 102064-04) 1191075 sendmail security bug (from 102064-03) 1189574 sendmail "M" option has potential security hole (from 102064-02) 1167823 Sendmail incorrectly reporting mail spool on cachefs (from 102064-01) 1153954 Unknown user in aliases kills an entire list Unknown user in aliases database prevents sendmail from delivering mail to other user on the same alias. Patch Installation Instructions: -------------------------------- Refer to the Install.info file within the patch for instructions on using the generic 'installpatch' and 'backoutpatch' scripts provided with each patch. Any other special or non-generic installation instructions should be described below. Special Install Instructions: ----------------------------- The mail.aliases map should be rebuilt after install the patch. To rebuild the mail.aliases map, do the following: /usr/lib/sendmail -bi -oA/var/yp//mail.aliases This patch requires the libresolv.so.2/BIND 4.9.3 patch, 102480-02, or newer, to be installed on the target system. It is also recommended to install the following patches or newer: 102166-03 nss_dns.so.1 rebuild for BIND 4.9.3 103707-01 rpc.nisd_resolv rebuild for BIND 4.9.3 Refer to the file called SPECIAL_NOTE_SENDMAIL shipped with this patch for special instructions.