[UNIX] Unofficial Patch for Qmail Crash After Long SMTP Session
From: SecuriTeam (support_at_securiteam.com)
Date: 01/22/04
- Previous message: SecuriTeam: "[UNIX] Yabb SE SQL Injection Vulnerability"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
To: list@securiteam.com Date: 22 Jan 2004 18:02:28 +0200
The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion
The SecuriTeam alerts list - Free, Accurate, Independent.
Get your security news from a reliable source.
http://www.securiteam.com/mailinglist.html
- - - - - - - - -
Unofficial Patch for Qmail Crash After Long SMTP Session
------------------------------------------------------------------------
SUMMARY
As reported, Qmail suffers from a vulnerability which allows a remote user
to crash the qmail daemon. For more details see:
<http://www.securiteam.com/unixfocus/5QP0D2ABPQ.html> Qmail Crash and
Memory Overwrite After Long SMTP Session
Below is an unofficial patch which mitigates the problem.
DETAILS
--- qmail-smtpd.c Mon Jun 15 13:53:16 1998
+++ qmail-smtpd-patched.c Mon Jan 19 15:22:23 2004
@@ -316,8 +316,8 @@
if (flagmaybex) if (pos == 7) ++*hops;
if (pos < 2) if (ch != "\r\n"[pos]) flagmaybey = 0;
if (flagmaybey) if (pos == 1) flaginheader = 0;
+ ++pos;
}
- ++pos;
if (ch == '\n') { pos = 0; flagmaybex = flagmaybey = flagmaybez =
1; }
}
switch(state) {
ADDITIONAL INFORMATION
The information has been provided by <mailto:aanton@reversedhell.net>
Anton Alin-Adrian
========================================
This bulletin is sent to members of the SecuriTeam mailing list.
To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@securiteam.com
In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com
====================
====================
DISCLAIMER:
The information in this bulletin is provided "AS IS" without warranty of any kind.
In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.
- Previous message: SecuriTeam: "[UNIX] Yabb SE SQL Injection Vulnerability"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|