Article View: news.software.readers
Article #87503Re: Xnews Buffer Overflow (Was Re: [Xnews] word wrap behavior)
From: DB User
Date: Fri, 16 Nov 2001 10:03
Date: Fri, 16 Nov 2001 10:03
50 lines
3218 bytes
3218 bytes
planb@newsreaders.com (J.B. Moreno) wrote in
news:1f2xb7h.10mwijx16xa3zrN%planb@newsreaders.com:
> Augustus <Augustus@not.here.invalid> wrote:
>
> -snip-
>> Speaking about security, does Luu know about the buffer overflow
>> that was talked about a month or so ago? I believe the culprit
>> word wrap code was copied from an open source so maybe someone has
>> fixed it and all Luu would have to do is drop it in.
>
> I believe I wrote the code in question (at least to start with,
> Luu's certainly added a lot to it since then), could you give some
> more details?
It wasn't a month ago but in August actually. Murray Peterson should
have more details.
From news:Xns910CC9008F43farkle@24.71.223.45 :
From: Murray Peterson (mwp@home.com.invalid)
Subject: Re: Xnews killer
Newsgroups: news.software.readers
Date: 2001-08-29 18:46:10 PST
fD <flamedogg@hotmail.com> wrote in
news:Xns910CB2BC2FD75imamidnighttoken@65.82.44.7:
> those who know me have no need of my name
> <not-a-real-address@usa.net> offered, in
> news:9mjgmv1rht@enews4.newsguy.com:
>
>><Xns910C70EA587ABimamidnighttoken@65.82.44.7> divulged:
>>
>>>I got 'Access violation at address 00401C46 in module
>>>'XNEWS.EXE'. Write of address 20202020.'
>>
>> heh. spaces overwrote something on the stack.
>
> I wish I could do that (interpret error messages, I mean, not
> overwrite the stack.)
It just takes experience (and a bit of pattern recognition in
this case). A space has a hex value of 0x20, and an address of
20202020 is definitely illegal. Knowing that Xnews is parsing up
a chunk of text, plus the bit of info from the stack trace then
leads you to the conclusion that something has over-written a
pointer with a bunch of spaces.
Technical Details
Message-ID:
<3bf4e487$0$381$afc38c87@news.optusnet.com.au>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-out.visi.com!hermes.visi.com!news1.optus.net.au!optus!spool01.syd.optusnet.com.au!spool.optusnet.com.au!210.49.20.122.MISMATCH!not-for-mailReferences:
<Xns9153659C4208maddogonlineno@news.online.no> <Xns915411E9028FDrcamesz@amesz.demon.nl> <Xns915485B08A6CBluutrangeocities@207.126.101.97> <Xns9155B27EBC5F1rcamesz@amesz.demon.nl> <Xns9157EB0ADA4FBluutrangeocities@207.126.101.97> <Xns9158E17FE13Cfarkle@24.71.223.45> <Xns9158E1CAFD1F8rcamesz@amesz.demon.nl> <Xns9158B90103081farkle@24.71.223.45> <Xns91599B4DF5053rcamesz@amesz.demon.nl> <CFOI7.202$is1.20200@nasal.pacific.net.au> <1f2xb7h.10mwijx16xa3zrN%planb@newsreaders.com>Show Full Headers
Complete Article Headers
Message-ID: <3bf4e487$0$381$afc38c87@news.optusnet.com.au> Subject: Re: Xnews Buffer Overflow (Was Re: [Xnews] word wrap behavior) Date: Fri, 16 Nov 2001 10:03:52 +0000 From: DB User <dbuser@invalid.email> References: <Xns9153659C4208maddogonlineno@news.online.no> <Xns915411E9028FDrcamesz@amesz.demon.nl> <Xns915485B08A6CBluutrangeocities@207.126.101.97> <Xns9155B27EBC5F1rcamesz@amesz.demon.nl> <Xns9157EB0ADA4FBluutrangeocities@207.126.101.97> <Xns9158E17FE13Cfarkle@24.71.223.45> <Xns9158E1CAFD1F8rcamesz@amesz.demon.nl> <Xns9158B90103081farkle@24.71.223.45> <Xns91599B4DF5053rcamesz@amesz.demon.nl> <CFOI7.202$is1.20200@nasal.pacific.net.au> <1f2xb7h.10mwijx16xa3zrN%planb@newsreaders.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-out.visi.com!hermes.visi.com!news1.optus.net.au!optus!spool01.syd.optusnet.com.au!spool.optusnet.com.au!210.49.20.122.MISMATCH!not-for-mail Newsgroups: news.software.readers User-Agent: Xnews/4.06.22 Lines: 49 NNTP-Posting-Host: 198.142.66.52 X-Trace: 1005905032 381 198.142.66.52