OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Konstantin Riabitsev (iconphy.duke.edu)
Date: Thu Jan 24 2002 - 15:20:44 CST

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    ('binary' encoding is not supported, stored as-is) In-Reply-To: <1176.213.134.140.130.1011887757.squirrelmail.bsquad.sm.pl>

    For future reference:

    Please be cool -- first notify the authors of the
    package before posting to bugtraq. This is the
    generally accepted etiquette for handling the
    security-related bugs and allows developers to
    come up with the fix before the problem is widely
    known.

    Here is the fix for the arbitrary remote execution
    with httpd-user rights. Place this file in the
    squirrelmail/plugins/squirrelspell directory and
    execute it to fix the vulnerability.

    --- begin sqspell_security_fix.sh ---
    #!/bin/sh
    sed "s/.mod.php/.mod/g" sqspell_interface.php > tmp.1
    sed "s/.mod.php/.mod/g" sqspell_options.php > tmp.2
    mv -f tmp.1 sqspell_interface.php
    mv -f tmp.2 sqspell_options.php
    cd modules
    for FILE in *.mod.php; do
            NEWFILE=`echo $FILE | sed 's/.php//'`
            mv $FILE $NEWFILE
    done
    --- end sqspell_security_fix.sh ---

    http://www.dulug.duke.edu/~icon/misc/security_fix.sh.txt

    squirrelmail-1.2.4 will contain the fix and should
    be released shortly.

    Regards,
    --
    Konstantin Riabitsev