[UNIX] ez-ipupdate show_message() Format String

From: SecuriTeam (support_at_securiteam.com)
Date: 11/15/04

  • Next message: SecuriTeam: "[UNIX] TWiki Search Function Arbitrary Command Execution"
    To: list@securiteam.com
    Date: 15 Nov 2004 19:25:42 +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

    - - - - - - - - -

      ez-ipupdate show_message() Format String
    ------------------------------------------------------------------------

    SUMMARY

     <http://www.ez-ip.net/> ez-ipupdate is "a complete client for the dynamic
    DNS service". The a format string vulnerability in ez-ipupdate allows a
    malicious remote DNS server to cause the program to execute arbitrary
    code.

    DETAILS

    Vulnerable Systems:
     * ez-ipupdate versions 3.0.11b8, 3.0.11b7, 3.0.11b6, 3.0.11b5 and 3.0.10

    Immune Systems:
     * ez-ipupdate version 2.9.6

    CVE Information:
     <http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0980.>
    CAN-2004-0980.

    The format string bug allows a malicious remote server to execute
    arbitrary code on the machine running ez-ipupdate, if and only if the
    daemon mode is on (very common) and certain service types are used.

    Unofficial patch:
    --- ez-ipupdate.c.old 2002-03-12 00:31:47.000000000 +0100
    +++ ez-ipupdate.c 2004-11-10 15:28:23.000000000 +0100
    @@ -798,7 +798,7 @@ void show_message(char *fmt, ...)
         sprintf(buf, "message incomplete because your OS sucks: %s\n", fmt);
     #endif
     
    - syslog(LOG_NOTICE, buf);
    + syslog(LOG_NOTICE, "%s", buf);
       }
       else
       {

    ADDITIONAL INFORMATION

    The information has been provided by
    <mailto:Ulf.Harnhammar.9485@student.uu.se> Ulf H rnhammar.

    ========================================

    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] TWiki Search Function Arbitrary Command Execution"

    Relevant Pages