[29275] in bugtraq
Re: QPopper 4.0.x buffer overflow vulnerability
daemon@ATHENA.MIT.EDU (Torsten Mueller)
Wed Mar 12 12:46:05 2003
Message-ID: <3E6EFEE9.E9CF821@archesoft.de>
Date: Wed, 12 Mar 2003 10:33:29 +0100
From: Torsten Mueller <torsten@archesoft.de>
MIME-Version: 1.0
To: Florian Heinz <heinz@cronon-ag.de>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Florian Heinz schrieb:
>
> Hello,
>
> Under certain conditions it is possible to execute arbitrary code using
> a buffer overflow in the recent qpopper.
>
> You need a valid username/password-combination and code is (depending on
> the setup) usually executed with the user's uid and gid mail.
>
...
>
> This is the short version. An enhanced version with error-checking,
> bufsize- and return-address autodetection can be found on
> http://nstx.dereference.de/snippets/qex.c
>
> Feedback is welcome.
... and here it comes ;-)
I tested http://nstx.dereference.de/snippets/qex.c
against 3 selfcompiled qpopper4.0.4 on 3 different machines.
I can confirm, that on one machine "it worked", i got
a shell.
More interesting for me is of course, if you can provide
a patch against 4.0.4 to close this vulnerability.
Greetings Torsten