[Simon Walter] Re: Bug#506353: mailscanner: many scripts allow local users to overwrite arbitrary files, and more, via symlink attacks

Simon Walter simon.walter at hp-factory.de
Wed Dec 3 22:46:46 GMT 2008


I send this through the mailinglist because I can't send it to
Julian directly because of the following:

 mailscanner at ecs.soton.ac.uk
    SMTP error from remote mail server after MAIL FROM:<simon.walter at hp-factory.de>:
    host mx.ecs.soton.ac.uk []: 553 5.1.8 sender <simon.walter at hp-factory.de> from hp-factory.de MX invalid #439 (kB2Lcm295123146500)

I don't know what's causing this...

Anyway, here is the mail in which some of you should be interested too.

-------------------- Start of forwarded message --------------------
To: Mark Purcell <msp at debian.org>
Cc: 506353 at bugs.debian.org,  Raphael Geissert <atomo64 at gmail.com>, mailscanner at ecs.soton.ac.uk
BCC: control at bugs.debian.org
Subject: Re: Bug#506353: mailscanner: many scripts allow local users to overwrite arbitrary files, and more, via symlink attacks
X-Draft-From: ("nnml:debian.bugs" 284)
References: <200811201524.52353.atomo64 at gmail.com>
	<200812032338.02957.msp at debian.org>
From: Simon Walter <simon.walter at hp-factory.de>
Date: Wed, 03 Dec 2008 22:28:09 +0100
In-Reply-To: <200812032338.02957.msp at debian.org> (Mark Purcell's message of "Wed\, 3 Dec 2008 23\:38\:02 +1100")
Message-ID: <877i6hhrti.fsf at hp-factory.de>
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)
Lines: 51
Xref: tharlab others.sent:737

package mailscanner
tags 506353 help upstream confirmed


Mark Purcell <msp at debian.org> writes:
> On Friday 21 November 2008 08:24:46 Raphael Geissert wrote:
>> I'm using severity grave as this package should definitely not be shipped
>> in any release as is.
> Simon,
> This RC bug was reported almost two weeks ago without any comment from you.
> Are you in a position to investigate and propose a way forward for your 
> package in lenny?

I have looked at the code-segments Raphael pointed out and I'm totally
agree with him. In the current state the package should not be part of
the lenny release.

I'm in no position to fix all this. I'm not familiar enough with the
MailScanner sourcecode and I'm not able to test the changes I would
have to make, in particular to all the virusscanner scripts.

I have put Julian Field (upstream author) in CC to inform him about
all this. (@Julian: the full bugreport is here [1])

If he is willing and able to fix the problems in a feature
release before lenny is released I will try to backport the fixes to
the current package in lenny.

Otherwise this package should be removed.

I'm also wondering why [2] marks CVE-2008-5140 as fixed for
sid+lenny. It claims the bug was fix with 4.57.6-1, but there is no
difference between 4.55.10-3 and 4.57.6-1.

Sorry for the late reply.

Simon Walter

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=506353
[2] http://security-tracker.debian.net/tracker/CVE-2008-5140

-------------------- End of forwarded message --------------------

Simon Walter

More information about the MailScanner mailing list