Re: squirrelmail bug

From: Konstantin Riabitsev (icon@phy.duke.edu)
Date: 01/24/02


Date: 24 Jan 2002 21:20:44 -0000
From: Konstantin Riabitsev <icon@phy.duke.edu>
To: bugtraq@securityfocus.com


('binary' encoding is not supported, stored as-is)

In-Reply-To: <1176.213.134.140.130.1011887757.squirrel@mail.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



Relevant Pages

  • Re: Another PSA....
    ... Thanks for posting this--it was really ... > and some new Windows Security Center icons? ... > nasties, Smitfraud-c. ... > A REAL fix for Smitfraud-c is not as easy. ...
    (rec.martial-arts)
  • Re: X wont start
    ... but I never saw what your fix was. ... >>(By posting the solution you might also be helping somoe future aarchive ... > The mouse problem is related to my KVM switch. ...
    (Debian-User)
  • Re: embedded .wmv in IE6 wmp10 problem
    ... Yes your diagnosis is spot on but i still get the error, saved a screenshot ... This posting is provided "AS IS" with no warranties, ... In order to fix this, run the following commands from either the "Run" ...
    (microsoft.public.multimedia.windows.mediaplayer)
  • Re: Cannot access "explore" or "search"
    ... track down the real cause and see a fix for many folks having this ... the feeling that the majority of folks with "the windows explorer ... A VERY few actually report ... >>posting that confirmed this for the Windows Explorer problem. ...
    (microsoft.public.windowsxp.general)
  • [Full-Disclosure] Re: Announcing new security mailing list
    ... so go out and fix the bug". ... We are not saying that the vendor ... I believe the bugtraq moderators understand ...
    (Full-Disclosure)