Bug 850478 (CVE-2012-3523)

Summary: CVE-2012-3523 inn (nnrpd): Prone to STARTTLS plaintext command injection
Product: [Other] Security Response Reporter: Jan Lieskovsky <jlieskov>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: dhoward, jochen, mls, ovasik
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: inn 2.5.3 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-10 10:59:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 850480    
Bug Blocks: 850485    

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.