SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (E-mail Server)  >   Postfix Vendors:   Postfix.org
(Red Hat Issues Fix) Postfix Address Resolver Parsing Bug Lets Remote Users Hang the System
SecurityTracker Alert ID:  1007396
SecurityTracker URL:  http://securitytracker.com/id/1007396
CVE Reference:   CVE-2003-0540   (Links to External Site)
Date:  Aug 4 2003
Impact:   Denial of service via network
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): 1.1.12 and prior versions
Description:   A denial of service vulnerability was reported in Postfix. A remote user may be able to cause the queue manager to lock up.

It is reported that the address parser code contains a flaw. A remote user can create a specially crafted envelope address in the SMTP header to cause the 'nqmgr' process to lock up. The exploit message's destination address must reportedly be crafted to cause a bounce (e.g., "<nonexistent@local-server-name>", "<nonexistent@[127.0.0.1]>") and the "mail from" or "Errors-To" addresses must reportedly be of the form "<.!>" or "<.!@local-server-name>". According to the report, when the code attempts to parse and rewrite the from/error address, the queue manager will lock up.

The offending message must be removed before the queue manager is restarted in order to return to normal operations.

It is also reported that a remote user can cause an instance of the SMTP listener to lock up by sending a specially crafted "RCPT TO" address of the form "<.!>" or "<.!@local-server-name>". By repeating this method, the remote user can cause denial of service conditions.

The report indicates that the system will write the following messasge to the mail log file when the flaw is triggered:

"resolve_clnt_query: null recipient"

Versions prior to 1.1.9 are not vulnerable in the default configuration, unless the 'append_dot_mydomain' setting is disabled via the configuration file.

Version 2.0 is not affected, according to the report.

The vendor was reportedly notified on July 27, 2003.

Impact:   A remote user can cause the queue manager to lock up until the exploit message is removed from the queue.

A remote user can cause a single instance of the SMTP listener to lock up until the exploit message is removed from the queue.

Solution:   Red Hat has released a fix.

Red Hat Linux 7.3:

SRPMS:
ftp://updates.redhat.com/7.3/en/os/SRPMS/postfix-1.1.12-0.7.src.rpm

i386:
ftp://updates.redhat.com/7.3/en/os/i386/postfix-1.1.12-0.7.i386.rpm

Red Hat Linux 8.0:

SRPMS:
ftp://updates.redhat.com/8.0/en/os/SRPMS/postfix-1.1.12-0.8.src.rpm

i386:
ftp://updates.redhat.com/8.0/en/os/i386/postfix-1.1.12-0.8.i386.rpm

Red Hat Linux 9:

SRPMS:
ftp://updates.redhat.com/9/en/os/SRPMS/postfix-1.1.12-1.src.rpm

i386:
ftp://updates.redhat.com/9/en/os/i386/postfix-1.1.12-1.i386.rpm


The verification checksums are:

MD5 sum Package Name
1c17ca698971a1b5904590b97c0cbf8f 7.3/en/os/SRPMS/postfix-1.1.12-0.7.src.rpm
d862e447c46cc4587dc96d4d44ef1a58 7.3/en/os/i386/postfix-1.1.12-0.7.i386.rpm
e9e79099eb8e23dc0eff8f26d059cf53 8.0/en/os/SRPMS/postfix-1.1.12-0.8.src.rpm
48e8299644a815e5dd67e67ef9aff8b5 8.0/en/os/i386/postfix-1.1.12-0.8.i386.rpm
4c1500d10e8533eda4168a0cd193b561 9/en/os/SRPMS/postfix-1.1.12-1.src.rpm
b3345751920862dc4ab2e82bcc0c51f9 9/en/os/i386/postfix-1.1.12-1.i386.rpm

Vendor URL:  www.postfix.org/ (Links to External Site)
Cause:   Input validation error, State error
Underlying OS:  Linux (Red Hat Linux)
Underlying OS Comments:  7.3, 8.0, 9

Message History:   This archive entry is a follow-up to the message listed below.
Aug 4 2003 Postfix Address Resolver Parsing Bug Lets Remote Users Hang the System



 Source Message Contents

Subject:  [RHSA-2003:251-01] New postfix packages fix security issues.


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

- ---------------------------------------------------------------------
                   Red Hat Security Advisory

Synopsis:          New postfix packages fix security issues.
Advisory ID:       RHSA-2003:251-01
Issue date:        2003-08-04
Updated on:        2003-08-04
Product:           Red Hat Linux
Keywords:          postfix envelope address
Cross references:  
Obsoletes:         
CVE Names:         CAN-2003-0468 CAN-2003-0540
- ---------------------------------------------------------------------

1. Topic:

New Postfix packages that fix two potential security issues are now available.

2. Relevant releases/architectures:

Red Hat Linux 7.3 - i386
Red Hat Linux 8.0 - i386
Red Hat Linux 9 - i386

3. Problem description:

Postfix is a Mail Transport Agent (MTA).

Two security issues have been found in Postfix that affect the Postfix
packages in Red Hat Linux 7.3, 8.0, and 9. 

Postfix versions before 1.1.12 allow an attacker to bounce-scan private
networks, or use the daemon as a DDoS tool by forcing the daemon to connect
to an arbitrary service at an arbitrary IP address and receiving either a
bounce message or by analyzing timing.  The Common Vulnerabilities and
Exposures project (cve.mitre.org) has assigned the name CAN-2003-0468 to
this issue.

Postfix versions from 1.1 up to and including 1.1.12 have a bug where a
remote attacker could send a malformed envelope address and:

1) cause the queue manager to lock up until an entry is removed from the
queue or,

2) lock up the SMTP listener, leading to a DoS.

The Common Vulnerabilities and Exposures project (cve.mitre.org) has
assigned the name CAN-2003-0540 to this issue.

Users of Postfix are advised to upgrade to these erratum packages, which
contain a version of Postfix 1.1.12 with the addition of a security patch
and is not vulnerable to either of these issues.

Red Hat would like to thank Michal Zalewski for discovering and disclosing
the flaws and to Wietse Venema for providing patches.

4. Solution:

Before applying this update, make sure all previously released errata
relevant to your system have been applied.

To update all RPMs for your particular architecture, run:

rpm -Fvh [filenames]

where [filenames] is a list of the RPMs you wish to upgrade.  Only those
RPMs which are currently installed will be updated.  Those RPMs which are
not installed but included in the list will not be updated.  Note that you
can also use wildcards (*.rpm) if your current directory *only* contains the
desired RPMs.

Please note that this update is also available via Red Hat Network.  Many
people find this an easier way to apply updates.  To use Red Hat Network,
launch the Red Hat Update Agent with the following command:

up2date

This will start an interactive process that will result in the appropriate
RPMs being upgraded on your system.

5. RPMs required:

Red Hat Linux 7.3:

SRPMS:
ftp://updates.redhat.com/7.3/en/os/SRPMS/postfix-1.1.12-0.7.src.rpm

i386:
ftp://updates.redhat.com/7.3/en/os/i386/postfix-1.1.12-0.7.i386.rpm

Red Hat Linux 8.0:

SRPMS:
ftp://updates.redhat.com/8.0/en/os/SRPMS/postfix-1.1.12-0.8.src.rpm

i386:
ftp://updates.redhat.com/8.0/en/os/i386/postfix-1.1.12-0.8.i386.rpm

Red Hat Linux 9:

SRPMS:
ftp://updates.redhat.com/9/en/os/SRPMS/postfix-1.1.12-1.src.rpm

i386:
ftp://updates.redhat.com/9/en/os/i386/postfix-1.1.12-1.i386.rpm



6. Verification:

MD5 sum                          Package Name
- --------------------------------------------------------------------------
1c17ca698971a1b5904590b97c0cbf8f 7.3/en/os/SRPMS/postfix-1.1.12-0.7.src.rpm
d862e447c46cc4587dc96d4d44ef1a58 7.3/en/os/i386/postfix-1.1.12-0.7.i386.rpm
e9e79099eb8e23dc0eff8f26d059cf53 8.0/en/os/SRPMS/postfix-1.1.12-0.8.src.rpm
48e8299644a815e5dd67e67ef9aff8b5 8.0/en/os/i386/postfix-1.1.12-0.8.i386.rpm
4c1500d10e8533eda4168a0cd193b561 9/en/os/SRPMS/postfix-1.1.12-1.src.rpm
b3345751920862dc4ab2e82bcc0c51f9 9/en/os/i386/postfix-1.1.12-1.i386.rpm


These packages are GPG signed by Red Hat for security.  Our key is
available from http://www.redhat.com/security/keys.html

You can verify each package with the following command:
    
    rpm --checksig -v <filename>

If you only wish to verify that each package has not been corrupted or
tampered with, examine only the md5sum with the following command:
    
    md5sum <filename>


7. References:

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0468
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0540

8. Contact:

The Red Hat security contact is <secalert@redhat.com>.  More contact
details at http://www.redhat.com/solutions/security/news/contact.html

Copyright 2003 Red Hat, Inc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE/LnIaXlSAg2UNWIIRAhlAAJ43FkwP+L6U1AeJvNGx7CyCxSzYBQCgoTRP
P3hTM1cKjQSM3Bd1gPHmqKI=
=Zeh4
-----END PGP SIGNATURE-----


_______________________________________________
Redhat-watch-list mailing list
To unsubscribe, visit: https://www.redhat.com/mailman/listinfo/redhat-watch-list

 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2020, SecurityGlobal.net LLC