Bug 969820 (CVE-2016-2774) - VUL-1: CVE-2016-2774: dhcp: denial of service on IPC TCP ports
Summary: VUL-1: CVE-2016-2774: dhcp: denial of service on IPC TCP ports
Status: RESOLVED FIXED
Alias: CVE-2016-2774
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Minor
Target Milestone: ---
Deadline: 2017-09-13
Assignee: Security Team bot
QA Contact: Security Team bot
URL:
Whiteboard: CVSSv2:RedHat:CVE-2016-2774:2.6:(AV:N...
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-07 09:27 UTC by Victor Pereira
Modified: 2018-11-14 15:53 UTC (History)
4 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
dhcp-CVE-2016-2774.patch (2.12 KB, patch)
2016-06-16 11:58 UTC, Marcus Meissner
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Pereira 2016-03-07 09:27:33 UTC
Description:

In many cases, the ISC DHCP server does not effectively limit the number
of simultaneous open TCP connections to the ports the server uses for
inter-process communications and control.  Because of this, a malicious
party could interfere with server operation by opening (and never
closing) a large number of TCP connections to the server.

Impact:

By exploiting this vulnerability an attacker can interfere with DHCP
server operation.  Exact results are difficult to summarize concisely
because the effect of an attack varies depending on server version, the
channel being attacked, and in some operating systems on environment
settings inherited from the launching shell (e.g. "ulimit" settings on
per-process open file descriptors) but depending on the combination
potential undesirable outcomes include (but are not necessarily limited to):

The server may deliberately exit after encountering an INSIST failure
(server version dependent).
The server may become unresponsive and stop answering client requests.
The server may continue operating but not be able to accept further
connections from OMAPI clients or failover peers.
If no limits are inherited from the environment, the server may consume
all available sockets, potentially interfering with other services
running on the same machine.
Risk of exploitation is highest on the OMAPI port (if OMAPI is
configured).  The failover code will close incoming connections if they
are not received from a peer (making it more difficult but not
impossible to attack a server using failover channels).  OMAPI, however,
has no logic in the server limiting addresses from which it will accept
connections.  A firewall is recommended as an industry-standard
precaution against accepting connections from untrusted hosts.

CVSS Score:  5.7

CVSS Vector:  (AV:A/AC:M/Au:N/C:N/I:N/A:C)

For more information on the Common Vulnerability Scoring System and to
obtain your specific environmental score please visit:
http://nvd.nist.gov/cvss.cfm?calculator&adv&version=2&vector=(AV:A/AC:M/Au:N/C:N/I:N/A:C)

Workarounds:

ISC recommends that server operators restrict the hosts allowed to make
connections to DHCP server inter-process communication channels to
trusted hosts, blocking connections to the OMAPI control port and the
failover communications ports from all other hosts.

If OMAPI and/or failover are not being actively used, they can be
disabled. The ISC Knowledge Base contains some information that
operators may find relevant:

 +
https://kb.isc.org/article/AA-01355/56/Securing-dhcpd-against-unauthorised-OMAPI-control-connections.html
 + https://kb.isc.org/article/AA-01356/56/What-is-DHCP-Failover.html
 +
https://kb.isc.org/article/AA-00502/31/A-Basic-Guide-to-Configuring-DHCP-Failover.html

Additionally, in environments where per-process file descriptor limits
can be inherited from the shell used to launch dhcpd, using ulimit to
set a reasonable limit on simultaneous socket connections can prevent
the INSIST assertion failure outcome but may still allow interference
with legitimate interprocess communication traffic.

Active exploits:

No known active exploits, but a public mention of the issue has occurred
on an open mailing list.

Solution:

Mitigation code which will make this vulnerability harder to exploit
will be added to the upcoming DHCP maintenance releases (DHCP
4.1-ESV-R13, DHCP 4.3.4, due to be released in March 2016).

However, the strategies described in the "Workarounds" section of this
document are effective and can prevent exploitation of the
vulnerability.  Unless server operators have identified operational
needs unique to their environment which conflict with this advice, ISC
recommends blocking incoming TCP connections from untrusted hosts as a
preferred strategy.

Document Revision History:

1.0 Advance Notification 04 March 2016

If you'd like more information on ISC Subscription Support and Advance
Security Notifications, please visit http://www.isc.org/support/.

Do you still have questions?  Questions regarding this advisory should
go to security-officer@isc.org.  To report a new issue, please encrypt
your message using security-officer@isc.org's PGP key which can be found
here:
https://www.isc.org/downloads/software-support-policy/openpgp-key/.  If
you are unable to use encrypted email, you may also report new issues
at: https://www.isc.org/community/report-bug/.

Note: ISC patches only currently supported versions. When possible we
indicate EOL versions affected.  (For current information on which
versions are actively supported, please see http://www.isc.org/downloads/).

ISC Security Vulnerability Disclosure Policy:  Details of our current
security advisory policy and practice can be found here:
https://kb.isc.org/article/AA-00861/164/ISC-Software-Defect-and-Security-Vulnerability-Disclosure-Policy.html

This Knowledge Base article https://kb.isc.org/article/AA-01354 is the
complete and official security advisory document.

Legal Disclaimer:
Internet Systems Consortium (ISC) is providing this notice on an "AS IS"
basis. No warranty or guarantee of any kind is expressed in this notice
and none should be implied. ISC expressly excludes and disclaims any
warranties regarding this notice or materials referred to in this
notice, including, without limitation, any implied warranty of
merchantability, fitness for a particular purpose, absence of hidden
defects, or of non-infringement. Your use or reliance on this notice or
materials referred to in this notice is at your own risk. ISC may change
this notice at any time.  A stand-alone copy or paraphrase of the text
of this document that omits the document URL is an uncontrolled copy.
Uncontrolled copies may lack important information, be out of date, or
contain factual errors.
Comment 1 Swamp Workflow Management 2016-03-07 23:00:17 UTC
bugbot adjusting priority
Comment 2 Marcus Meissner 2016-06-16 11:39:36 UTC
Versions affected: 
4.1.0->4.1-ESV-R12-P1, 4.2.0->4.2.8, 4.3.0->4.3.3-P1.  Older versions may also be affected but are well beyond their end-of-life (EOL).  Releases prior to 4.1.0 have not been tested.
Comment 3 Marcus Meissner 2016-06-16 11:58:23 UTC
Created attachment 681014 [details]
dhcp-CVE-2016-2774.patch

extracted from 4.3.3 - 4.3.4 diff

is probably at least the partial fix
Comment 4 Marcus Meissner 2016-06-16 12:01:56 UTC
dhcp-4.3.4/omapip/listener.c:   socket = accept (listener -> socket,

is the only line with accept() ... so I think the fix is the complete one.

(you can also merge the header part into the listener part for the backport)
Comment 7 Swamp Workflow Management 2016-06-24 05:58:58 UTC
An update workflow for this issue was started.
This issue was rated as low.
Please submit fixed packages until 2016-07-22.
When done, reassign the bug to security-team@suse.de.
https://swamp.suse.de/webswamp/wf/62845
Comment 8 Swamp Workflow Management 2016-06-27 18:11:05 UTC
SUSE-SU-2016:1692-1: An update that fixes one vulnerability is now available.

Category: security (moderate)
Bug References: 969820
CVE References: CVE-2016-2774
Sources used:
SUSE Linux Enterprise Software Development Kit 12 (src):    dhcp-4.2.6-14.6.1
SUSE Linux Enterprise Server 12 (src):    dhcp-4.2.6-14.6.1
SUSE Linux Enterprise Desktop 12 (src):    dhcp-4.2.6-14.6.1
Comment 9 Swamp Workflow Management 2016-07-05 15:08:58 UTC
SUSE-SU-2016:1735-1: An update that fixes one vulnerability is now available.

Category: security (moderate)
Bug References: 969820
CVE References: CVE-2016-2774
Sources used:
SUSE Linux Enterprise Server 11-SP2-LTSS (src):    dhcp-4.2.4.P2-0.11.15.1
SUSE Linux Enterprise Debuginfo 11-SP2 (src):    dhcp-4.2.4.P2-0.11.15.1
Comment 10 Swamp Workflow Management 2016-07-13 14:08:42 UTC
SUSE-SU-2016:1791-1: An update that solves one vulnerability and has one errata is now available.

Category: security (moderate)
Bug References: 969820,972907
CVE References: CVE-2016-2774
Sources used:
SUSE Linux Enterprise Software Development Kit 12-SP1 (src):    dhcp-4.3.3-9.1
SUSE Linux Enterprise Server 12-SP1 (src):    dhcp-4.3.3-9.1
SUSE Linux Enterprise Desktop 12-SP1 (src):    dhcp-4.3.3-9.1
Comment 11 Swamp Workflow Management 2016-07-21 11:08:55 UTC
openSUSE-SU-2016:1843-1: An update that solves one vulnerability and has one errata is now available.

Category: security (moderate)
Bug References: 969820,972907
CVE References: CVE-2016-2774
Sources used:
openSUSE Leap 42.1 (src):    dhcp-4.3.3-7.1
Comment 12 Swamp Workflow Management 2016-08-10 15:09:20 UTC
SUSE-SU-2016:2024-1: An update that fixes one vulnerability is now available.

Category: security (moderate)
Bug References: 969820
CVE References: CVE-2016-2774
Sources used:
SUSE OpenStack Cloud 5 (src):    dhcp-4.2.4.P2-0.27.1
SUSE Manager Proxy 2.1 (src):    dhcp-4.2.4.P2-0.27.1
SUSE Manager 2.1 (src):    dhcp-4.2.4.P2-0.27.1
SUSE Linux Enterprise Software Development Kit 11-SP4 (src):    dhcp-4.2.4.P2-0.27.1
SUSE Linux Enterprise Server 11-SP4 (src):    dhcp-4.2.4.P2-0.27.1
SUSE Linux Enterprise Server 11-SP3-LTSS (src):    dhcp-4.2.4.P2-0.27.1
SUSE Linux Enterprise Point of Sale 11-SP3 (src):    dhcp-4.2.4.P2-0.27.1
SUSE Linux Enterprise Debuginfo 11-SP4 (src):    dhcp-4.2.4.P2-0.27.1
SUSE Linux Enterprise Debuginfo 11-SP3 (src):    dhcp-4.2.4.P2-0.27.1
Comment 22 Swamp Workflow Management 2017-08-16 14:33:07 UTC
An update workflow for this issue was started.
This issue was rated as low.
Please submit fixed packages until 2017-09-13.
When done, reassign the bug to security-team@suse.de.
https://swamp.suse.de/webswamp/wf/63839
Comment 23 Marcus Meissner 2018-02-21 07:12:06 UTC
released