🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #19565

INN 1.6b1 severe bug corrected: NEXT -> SIGSEGV

#19565
From: Olaf Titz
Date: Wed, 23 Jul 1997 00:00
29 lines
1579 bytes
The 1.6b1 nnrpd overflows an internal buffer on the stack with the
NEXT and LAST commands, causing it to segfault when one of these
commands is given. I'm unsure whether this can be exploited to gain
unauthorized access. Fix:

--- ./nnrpd/article.c.orig	Fri Jul 18 05:18:51 1997
+++ ./nnrpd/article.c	Tue Jul 22 23:28:49 1997
@@ -523,7 +523,7 @@
     char	*av[];
 {
     char	buff[SPOOLNAMEBUFF];
-    char	idbuff[SMBUF];
+    char	idbuff[BIG_BUFFER];
     int		save;
     BOOL	next;
     int		delta;

olaf

PS. I'm doing patches (actually rather simple ones) to set up virtual
news servers, in case anyone is interested...
-- 
___        Olaf.Titz@inka.de or @{stud,informatik}.uni-karlsruhe.de       ____
__ o           <URL:http://www.inka.de/~bigred/>     <IRC:praetorius>
__/<_              >> Just as long as the wheels keep on turning round
_)>(_)______________ I will live for the groove 'til the sun goes down << ____

Technical Details
Message-ID: <5r3aq1$cqh$1@bigred.inka.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <5r3aq1$cqh$1@bigred.inka.de>
Subject: INN 1.6b1 severe bug corrected: NEXT -> SIGSEGV
Date: Wed, 23 Jul 1997 00:00:00 +0000
From: olaf@bigred.inka.de (Olaf Titz)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 258228673
X-Complaints-To: newsmaster@bigred.inka.de
X-Trace: bigred.inka.de 869609090 13138 (None) 127.0.0.1
Organization: private Linux site, southern Germany
Newsgroups: news.software.nntp