Vulnerabilities > CVE-2016-2074 - Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in multiple products

047910
CVSS 7.5 - HIGH
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
PARTIAL
Integrity impact
PARTIAL
Availability impact
PARTIAL
network
low complexity
openvswitch
redhat
CWE-119
nessus

Summary

Buffer overflow in lib/flow.c in ovs-vswitchd in Open vSwitch 2.2.x and 2.3.x before 2.3.3 and 2.4.x before 2.4.1 allows remote attackers to execute arbitrary code via crafted MPLS packets, as demonstrated by a long string in an ovs-appctl command.

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Overflow Buffers
    Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
  • Client-side Injection-induced Buffer Overflow
    This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
  • Filter Failure through Buffer Overflow
    In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
  • MIME Conversion
    An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.

Nessus

  • NASL familyFreeBSD Local Security Checks
    NASL idFREEBSD_PKG_B53BBF58257F11E69F4D20CF30E32F6D.NASL
    descriptionOpen vSwitch reports : Multiple versions of Open vSwitch are vulnerable to remote buffer overflow attacks, in which crafted MPLS packets could overflow the buffer reserved for MPLS labels in an OVS internal data structure. The MPLS packets that trigger the vulnerability and the potential for exploitation vary depending on version : Open vSwitch 2.1.x and earlier are not vulnerable. In Open vSwitch 2.2.x and 2.3.x, the MPLS buffer overflow can be exploited for arbitrary remote code execution. In Open vSwitch 2.4.x, the MPLS buffer overflow does not obviously lead to a remote code execution exploit, but testing shows that it can allow a remote denial of service. See the mitigation section for details. Open vSwitch 2.5.x is not vulnerable.
    last seen2020-06-01
    modified2020-06-02
    plugin id91375
    published2016-05-31
    reporterThis script is Copyright (C) 2016-2018 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/91375
    titleFreeBSD : openvswitch -- MPLS buffer overflow (b53bbf58-257f-11e6-9f4d-20cf30e32f6d)
  • NASL familyMisc.
    NASL idCITRIX_XENSERVER_CTX232655.NASL
    descriptionThe version of Citrix XenServer running on the remote host is missing a security hotfix. It is, therefore, affected by multiple vulnerabilities.
    last seen2020-06-01
    modified2020-06-02
    plugin id108887
    published2018-04-06
    reporterThis script is Copyright (C) 2018 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/108887
    titleCitrix XenServer Multiple Vulnerabilities (CTX232655)
  • NASL familyGentoo Local Security Checks
    NASL idGENTOO_GLSA-201701-07.NASL
    descriptionThe remote host is affected by the vulnerability described in GLSA-201701-07 (Open vSwitch: Remote execution of arbitrary code) A buffer overflow was discovered in lib/flow.c in ovs-vswitchd. Impact : A remote attacker, using a specially crafted MPLS packet, could execute arbitrary code. Workaround : There is no known workaround at this time.
    last seen2020-06-01
    modified2020-06-02
    plugin id96238
    published2017-01-03
    reporterThis script is Copyright (C) 2017 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/96238
    titleGLSA-201701-07 : Open vSwitch: Remote execution of arbitrary code
  • NASL familyDebian Local Security Checks
    NASL idDEBIAN_DSA-3533.NASL
    descriptionKashyap Thimmaraju and Bhargava Shastry discovered a remotely triggerable buffer overflow vulnerability in openvswitch, a production quality, multilayer virtual switch implementation. Specially crafted MPLS packets could overflow the buffer reserved for MPLS labels in an OVS internal data structure. A remote attacker can take advantage of this flaw to cause a denial of service, or potentially, execution of arbitrary code.
    last seen2020-06-01
    modified2020-06-02
    plugin id90252
    published2016-03-29
    reporterThis script is Copyright (C) 2016-2018 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/90252
    titleDebian DSA-3533-1 : openvswitch - security update
  • NASL familyRed Hat Local Security Checks
    NASL idREDHAT-RHSA-2016-0615.NASL
    descriptionUpdated openvswitch packages that fix one security issue are now available for Red Hat OpenShift Enterprise 3.1. Red Hat Product Security has rated this update as having Important security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the References section. OpenShift Enterprise by Red Hat is the company
    last seen2020-06-12
    modified2018-12-04
    plugin id119369
    published2018-12-04
    reporterThis script is Copyright (C) 2018-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/119369
    titleRHEL 7 : openvswitch (RHSA-2016:0615)

Redhat

advisories
  • rhsa
    idRHSA-2016:0523
  • rhsa
    idRHSA-2016:0524
  • rhsa
    idRHSA-2016:0537
  • rhsa
    idRHSA-2016:0615
rpms
  • openvswitch-0:2.4.0-2.el7_2
  • openvswitch-debuginfo-0:2.4.0-2.el7_2
  • python-openvswitch-0:2.4.0-2.el7_2
  • openvswitch-0:2.4.0-2.el7_2
  • openvswitch-debuginfo-0:2.4.0-2.el7_2
  • python-openvswitch-0:2.4.0-2.el7_2
  • openvswitch-0:2.4.0-2.el7_2
  • openvswitch-debuginfo-0:2.4.0-2.el7_2
  • openvswitch-dpdk-0:2.4.0-0.10346.git97bab959.3.el7_2
  • openvswitch-dpdk-debuginfo-0:2.4.0-0.10346.git97bab959.3.el7_2
  • python-openvswitch-0:2.4.0-2.el7_2
  • openvswitch-0:2.4.0-2.el7_2
  • openvswitch-debuginfo-0:2.4.0-2.el7_2
  • openvswitch-devel-0:2.4.0-2.el7_2
  • openvswitch-test-0:2.4.0-2.el7_2
  • python-openvswitch-0:2.4.0-2.el7_2