Bug 850478 (CVE-2012-3523) - CVE-2012-3523 inn (nnrpd): Prone to STARTTLS plaintext command injection
Summary: CVE-2012-3523 inn (nnrpd): Prone to STARTTLS plaintext command injection
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2012-3523
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 850480
Blocks: 850485
TreeView+ depends on / blocked
 
Reported: 2012-08-21 16:05 UTC by Jan Lieskovsky
Modified: 2021-02-23 14:03 UTC (History)
4 users (show)

Fixed In Version: inn 2.5.3
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-10 10:59:06 UTC
Embargoed:


Attachments (Terms of Use)

Description Jan Lieskovsky 2012-08-21 16:05:05 UTC
The STARTTLS implementation in INN's NNTP server for readers, nnrpd, before 2.5.3 does not properly restrict I/O buffering, which allows man-in-the-middle attackers to insert commands into encrypted sessions by sending a cleartext command that is processed after TLS is in place, related to a "plaintext command injection" attack, a similar issue to CVE-2011-0411.

References:
[1] https://www.isc.org/software/inn/2.5.3article
[2] https://bugs.gentoo.org/show_bug.cgi?id=432002

Relevant upstream patch
(the 'diff -Nurp inn-2.5.2/nnrpd/misc.c inn-2.5.3/nnrpd/misc.c' part):
[3] ftp://ftp.isc.org/isc/inn/inn-2.5.2-2.5.3.diff.gz

Comment 1 Jan Lieskovsky 2012-08-21 16:06:16 UTC
This issue affects the version of the inn package, as shipped with Red Hat Enterprise Linux 5.

Comment 2 Jan Lieskovsky 2012-08-21 16:06:51 UTC
This issue affects the versions of the inn package, as shipped with Fedora release of 16 and 17. Please schedule an update.

Comment 3 Jan Lieskovsky 2012-08-21 16:07:38 UTC
Created inn tracking bugs for this issue

Affects: fedora-all [bug 850480]

Comment 4 Jan Lieskovsky 2012-08-21 16:14:25 UTC
CVE request:
http://www.openwall.com/lists/oss-security/2012/08/21/8

Comment 5 Jan Lieskovsky 2012-08-22 10:10:19 UTC
CVE identifier of CVE-2012-3523 has been assigned to this issue:
http://www.openwall.com/lists/oss-security/2012/08/21/12

Comment 6 Michael Schröder 2012-08-22 15:52:00 UTC
(Don't forget the nnrpd/sasl.c part of the patch)

Comment 7 Jan Lieskovsky 2012-08-22 16:25:52 UTC
(In reply to comment #6)
> (Don't forget the nnrpd/sasl.c part of the patch)

Thank you for the correction, Michael (I have truly overlooked it in quick view).

Comment 10 Stefan Cornelius 2012-08-29 12:56:53 UTC
Statement:

Not vulnerable. This issue did not affect the versions of inn as shipped with Red Hat Enterprise Linux 5 as they did not include support for the STARTTLS command.


Note You need to log in before you can comment on or make changes to this bug.