NODE 9d3230adRe: netscape bug
tomw@orac.engr.sgi.com (Tom Weinstein)Fri, 22 Sep 95 17:04:54 PDT
In article <DFALB4.A5u@sgi.sgi.com>, "Perry E. Metzger" <perry@piermont.com> writes:
> I can tell you in general terms -- I don't write MIPS assembler
> myself. However, I will point out to you that you use an ancient
> Sendmail, and that it uses syslog(3) on user produced data, and that
> syslog uses a static buffer. Trick sendmail into logging something
> very big, and you can do what you like. The 8lgm people wrote a demo
> for Sparc as a proof of concept.
Hmm, after having looked at the syslogd code, it looks like this
particular bug has been fixed for at least several years. However,
there sure are a hell of a lot of fixed size buffers being alocated off
the stack and some of them are being used in unsafe ways.
--
Sure we spend a lot of money, but that doesn't mean | Tom Weinstein
we *do* anything. -- Washington DC motto | tomw@engr.sgi.com
NODE 6e840034Re: netscape bug
"Perry E. Metzger" <perry@piermont.com>Sat, 23 Sep 95 11:31:54 PDT
Tom Weinstein writes:
> In article <DFALB4.A5u@sgi.sgi.com>, "Perry E. Metzger" <perry@piermont.com>
writes:
>
> > I can tell you in general terms -- I don't write MIPS assembler
> > myself. However, I will point out to you that you use an ancient
> > Sendmail, and that it uses syslog(3) on user produced data, and that
> > syslog uses a static buffer. Trick sendmail into logging something
> > very big, and you can do what you like. The 8lgm people wrote a demo
> > for Sparc as a proof of concept.
>
> Hmm, after having looked at the syslogd code, it looks like this
> particular bug has been fixed for at least several years.
I said syslog(3), not syslogd(8).
The bug is in the client, not the server. Yes, you suffer from it. Go
and check.
> However, there sure are a hell of a lot of fixed size buffers being
> alocated off the stack and some of them are being used in unsafe
> ways.
Perry