|
|
Log in / Subscribe / Register

Security

Brief items

Postfix 2.0.0

[This article was contributed by LWN reader Tom Owen]

Wietse Venema released Postfix 2.0.0 on December 23. Originally created as the IBM "Secure Mailer" and released under GPL at the beginning of 1998, Postfix is a drop-in sendmail replacement designed from the ground up to be secure. Venema has a long history in the secure software area; his. TCP Wrappers package has been going into Linux distributions unchanged for five years now. So a new major release of one of his packages is worth a look.

The Postfix 2.0.0 release notes list dozens of new features, changes and fixes, mostly consolidations of patch releases accumulated over the last year. The reason for the major version change seems to be to flag some of the changes listed as incompatibilities with 1.1.0. Few of these will cause problems at most sites but virtual domain admins and those receiving mail for users listed in a table (i.e. not in the local /etc/passwd file) will need to read the upgrade notes with special care.

Postfix's strong spam control gets a substantial upgrade with extra control over DNS checks and a rewrite of the relay blacklist (RBL) handling code with new configuration directives. Content filtering based on regular expression matching in headers and body is improved with finer granularity, faster processing, better handling for MIME and other attachments, a more expressive regular expression language and more options to deal with the messages that match.

The many improvements to MIME handling allow better control over the processing of messages with attachments. Meanwhile, only mail mavens and frustrated crackers will care about the subtle semantic changes in fancier address formats and headers. Sysadmins will mostly be pleased with performance improvements and better logging for Postcript and RBL actions. Features like MacOS X support and the better LDAP client have a narrower appeal.

And of course there are occasional items on the way out:

Sendmail-style virtual domains are no longer documented. This part of Postfix was too confusing.

Postfix administrators will be pleased by 2.0.0. They've seen most of it already in the patch releases, and for such a central piece of infrastructure, that's the way it should be. Postfix is still the same straightforward, rather easy to configure mail server, with excellent compatibility as a sendmail replacement and out of the box security.

And that may be the most important lesson from Postfix: not the secure, flexible, multi-process, untrusting design, not the reduction in the mailer monoculture, not even the lucid and closely documented code. Just that security and ease of use are, sometimes, compatible.

Comments (1 posted)

Secure Programming for Linux and Unix HOWTO updated

David A. Wheeler has announced the availability of an updated version of his "Secure Programming for Linux and Unix HOWTO." "...this version adds new text on handling tmp files where there are tmp cleaners running (true on most real systems - this causes particular problems with mktemp(1)), notes on avoiding buffer overflow in FD_SET/FD_CLR(), and a long discussion on a new attack against web-based systems: session fixation. I also added text about protecting secrets in memory."

Full Story (comments: 1)

New vulnerabilities

bugzilla - cross site scripting

Package(s):bugzilla CVE #(s):
Created:December 30, 2002 Updated:January 1, 2003
Description: A cross site scripting vulnerability has been reported for Bugzilla, a web-based bug tracking system. Bugzilla does not properly sanitize any input submitted by users. As a result, it is possible for a remote attacker to create a malicious link containing script code which will be executed in the browser of a legitimate user, in the context of the website running Bugzilla. This issue may be exploited to steal cookie-based authentication credentials from legitimate users of the website running the vulnerable software.

This vulnerability only affects users who have the 'quips' feature enabled and who upgraded from version 2.10.

Alerts:
Debian DSA-218-1 bugzilla 2002-12-30

Comments (1 posted)

cups - multiple vulnerabilities

Package(s):cups CVE #(s):CAN-2002-1366 CAN-2002-1367 CAN-2002-1368 CAN-2002-1369 CAN-2002-1371 CAN-2002-1372 CAN-2002-1383
Created:December 30, 2002 Updated:February 18, 2003
Description: Exploitation of multiple CUPS vulnerabilities allow local and remote attackers in the worst of the scenarios to gain root privileges. See the iDEFENSE advisory for more information.
Alerts:
Debian DSA-232-2 cupsys 2003-02-20
SCO Group CSSA-2003-004.0 Multiple 2003-01-20
Debian DSA-232-1 cupsys 2003-01-20
Yellow Dog YDU-20030114-1 cups 2002-01-14
Red Hat RHSA-2002:295-07 Cross 2003-01-09
Mandrake MDKSA-2003:001 cups 2003-01-09
SuSE SuSE-SA:2003:002 cups 2003-01-02
Gentoo 200212-13 cups 2002-12-29

Comments (none posted)

cyrus-imapd - Remote command execution vulnerability

Package(s):cyrus-imapd CVE #(s):
Created:December 29, 2002 Updated:January 1, 2003
Description: The Cyrus IMAP Server is an e-mail application that uses the Internet Message Access Protocol (IMAP). It allows an user to perform certain mail functions on a remote server rather than on a local computer.

Timo Sirainen discovered[1] a remotely exploitable pre-login buffer overflow in cyrus imapd. The problem resides in the way memory is managed (an integer overflow can cause less memory than needed to be allocated).

This vulnerability[2] may be exploited prior to authentication to the IMAP server and could allow a remote attacker to read other users' mail and to execute arbitrary code with the privileges of the user running the IMAP server (Conectiva Linux has a special unprivileged user called 'cyrus' responsible for that).

REFERENCES: 1.http://online.securityfocus.com/archive/1/301864
2.http://www.kb.cert.org/vuls/id/740169

Alerts:
Conectiva CLA-2002:557 cyrus-imapd 2002-12-27
Debian DSA-215-1 cyrus-imapd 2002-12-23

Comments (none posted)

cyrus-sasl - buffer overflows

Package(s):cyrus-sasl CVE #(s):CAN-2002-1347
Created:December 28, 2002 Updated:January 7, 2003
Description: "Insufficient buffer length checking in user name canonicalization may allow attacker to execute arbitrary code on servers using Cyrus SASL library. Client side library also has the bug but since the user name is asked from the local user, there's probably not many applications that care about it, except maybe webmails and the like. This overflow only happens if default realm is set."

"LDAP authentication with saslauthd doesn't allocate enough memory when it needs to escape characters '*', '(', ')', '\' and '\0' in username and realm. This should be easily exploited with glibc's malloc implementation."

"Log writer might not have allocated memory for the trailing \0 in message. Probably hard to exploit, although you can affect the logging data with at least anonymous authentication."

Read the full advisory at http://marc.theaimsgroup.com/?l=bugtraq&m=103946297703402&w=2

Alerts:
Red Hat RHSA-2002:283-09 cyrus-sasl 2003-01-06
Gentoo 200212-10 cyrus-sasl 2002-12-27

Comments (none posted)

Helix Server - buffer overflows

Package(s):Helix Universal Server CVE #(s):
Created:January 1, 2003 Updated:January 1, 2003
Description: According to this NGSSoftware advisory, the Helix Universal Server (version 9.0 and earlier) has several buffer overflow vulnerabilities. A patch has been made available by RealNetworks.
Alerts: (No alerts in the database for this vulnerability)

Comments (none posted)

libpng, libpng3: buffer overflow

Package(s):libpng, libpng3 CVE #(s):CAN-2002-1363
Created:December 19, 2002 Updated:July 14, 2004
Description: Glenn Randers-Pehrson discovered a problem in connection with 16-bit samples from libpng, an interface for reading and writing PNG (Portable Network Graphics) format files. The starting offsets for the loops are calculated incorrectly which causes a buffer overrun beyond the beginning of the row buffer.
Alerts:
Gentoo 200407-06 libpng 2004-07-08
OpenPKG OpenPKG-SA-2004.030 png 2004-07-06
Mandrake MDKSA-2004:063 libpng 2004-06-29
Whitebox WBSA-2004:249-01 libpng 2004-06-21
Fedora FEDORA-2004-176 libpng10 2004-06-18
Fedora FEDORA-2004-174 libpng10 2004-06-18
Fedora FEDORA-2004-175 libpng 2004-06-18
Fedora FEDORA-2004-173 libpng 2004-06-18
Red Hat RHSA-2004:249-01 libpng 2004-06-18
Conectiva CLA-2003:564 libpng 2003-01-23
Mandrake MDKSA-2003:008 libpng 2003-01-20
OpenPKG OpenPKG-SA-2003.001 png 2003-01-15
Yellow Dog YDU-20030114-2 libpng 2002-01-14
SuSE SuSE-SA:2003:0004 libpng 2003-01-14
Red Hat RHSA-2003:006-06 libpng 2003-01-09
Debian DSA-213-1 libpng 2002-12-19

Comments (none posted)

KDE - command parameter quoting problems

Package(s):kde CVE #(s):CAN-2002-1393
Created:December 24, 2002 Updated:February 21, 2003
Description: In some instances, KDE (versions 2 and 3) fails to properly quote parameters of instructions passed to a command shell for execution.

These parameters may incorporate data such as URLs, filenames and e-mail addresses, and this data may be provided remotely to a victim in an e-mail, a webpage or files on a network filesystem or other untrusted source.

By carefully crafting such data an attacker might be able to execute arbitary commands on a vulnerable sytem using the victim's account and privileges.

See this announcement for more details.

Alerts:
Conectiva CLA-2003:569 kde 2003-02-20
Debian DSA-243-1 kdemultimedia 2003-01-24
Debian DSA-242-1 kdebase 2003-01-24
Debian DSA-241-1 kdeutils 2003-01-24
Debian DSA-239-1 kdesdk 2003-01-23
Debian DSA-240-1 kdegames 2003-01-23
Debian DSA-237-1 kdenetwork 2003-01-22
Debian DSA-238-1 kdepim 2003-01-23
Debian DSA-236-1 kdelibs 2003-01-22
Debian DSA-235-1 kdegraphics 2003-01-22
Debian DSA-234-1 kdeadmin 2003-01-22
Gentoo 200301-11 kde-2.2.x 2003-01-18
Mandrake MDKSA-2003:004-1 kde 2003-01-17
Mandrake MDKSA-2003:004 kde 2003-01-13
Gentoo 200212-9 kde-3.0.x 2002-12-22

Comments (none posted)

typespeed: buffer overflow

Package(s):typespeed CVE #(s):
Created:January 1, 2003 Updated:June 17, 2003
Description: A problem has been discovered in the typespeed, a game that lets you measure your typematic speed. By overflowing a buffer a local attacker could execute arbitrary commands under the group id games.
Alerts:
Debian DSA-322-1 typespeed 2003-06-16
Debian DSA-217-1 typespeed 2002-12-27

Comments (none posted)

Resources

PHRACK #60 released

Issue number 60 of the PHRACK magazine is now available. It looks at kernel stack smashing, IOS exploits, patching static kernels, integer overflows, and several other topics.

Full Story (comments: none)

Linux Security Week

The LinuxSecurity.com Linux Security Week Newsletter for December 30 is available.

Full Story (comments: none)

Page editor: Jonathan Corbet
Next page: Kernel development>>


Copyright © 2003, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds