[UNIX] Unofficial Patch for Qmail Crash After Long SMTP Session

From: SecuriTeam (support_at_securiteam.com)
Date: 01/22/04

  • Next message: SecuriTeam: "[UNIX] Hijacking Apache HTTP/HTTPS Services Using Mod_perl File Descriptor Leakage"
    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.


  • Next message: SecuriTeam: "[UNIX] Hijacking Apache HTTP/HTTPS Services Using Mod_perl File Descriptor Leakage"

    Relevant Pages

    • [EXPL] phpBB Remote PHP Code Execution (viewtopic.php 2)
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... The following exploit code utilizes a vulnerability in phpBB to cause ... This bulletin is sent to members of the SecuriTeam mailing list. ... In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages. ...
      (Securiteam)
    • [EXPL] TinyWeb Server DoS Exploit
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... 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. ...
      (Securiteam)
    • [EXPL] 3Com FTP Server Buffer Overflow (CD)
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... overflow in its parsing of the 'CD' command. ... 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. ...
      (Securiteam)
    • [TOOL] Automagic SQL Injector
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... The Automagic SQL Injector is part of the Sec-1 Exploit Arsenal provided ... 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. ...
      (Securiteam)
    • [NT] SHELL32.DLL Denial of Service
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... As a user browses through his hard-drive, Windows automatically analyses ... 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. ...
      (Securiteam)