Re: old buffer overflow in moxa driver
From: Ismail Dönmez
Date: Mon Apr 30 2007 - 20:01:28 EST
On Tuesday 01 May 2007 02:04:55 Alan Cox wrote:
> > I noticed that the moxa input checking security bug described by
> > CVE-2005-0504 appears to remain unfixed upstream.
> >
> > The issue is described here:
> > http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-0504
> >
> > Debian has been shipping the following patch from Andres Salomon. I
> > tried contacting the listed maintainer a few months ago but received
> > no response.
>
> case MOXA_LOAD_BIOS:
> case MOXA_FIND_BOARD:
> case MOXA_LOAD_C320B:
> case MOXA_LOAD_CODE:
> if (!capable(CAP_SYS_RAWIO))
> return -EPERM;
> break;
>
> At the point you abuse these calls you can already just load arbitary
> data from userspace anyway.
So the possible exploit will only work when run by root, is that what you
mean? If so isn't that still a security problem?
Sorry if I misunderstood what you said.
Regards,
ismail
Attachment:
signature.asc
Description: This is a digitally signed message part.