Lucene search
K

MiracleLinux 7 : kernel-3.10.0-693.5.2.el7 (AXSA:2017-2376:09)

🗓️ 16 Jan 2026 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 1 Views

MiracleLinux 7 kernel 3.10 has multiple CVEs causing privilege escalation and memory corruption.

Related
Refs
Code
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
#
# The package checks in this plugin were extracted from
# Miracle Linux Security Advisory AXSA:2017-2376:09.
##

include('deprecated_nasl_level.inc');
include('compat.inc');

if (description)
{
  script_id(289352);
  script_version("1.3");
  script_set_attribute(attribute:"plugin_modification_date", value:"2026/02/10");

  script_cve_id(
    "CVE-2016-8399",
    "CVE-2017-7184",
    "CVE-2017-7541",
    "CVE-2017-7542",
    "CVE-2017-7558",
    "CVE-2017-11176",
    "CVE-2017-14106",
    "CVE-2017-1000111",
    "CVE-2017-1000112"
  );

  script_name(english:"MiracleLinux 7 : kernel-3.10.0-693.5.2.el7 (AXSA:2017-2376:09)");

  script_set_attribute(attribute:"synopsis", value:
"The remote MiracleLinux host is missing one or more security updates.");
  script_set_attribute(attribute:"description", value:
"The remote MiracleLinux 7 host has packages installed that are affected by multiple vulnerabilities as referenced in the
AXSA:2017-2376:09 advisory.

    * Out-of-bounds kernel heap access vulnerability was found in xfrm, kernel's IP framework for transforming
    packets. An error dealing with netlink messages from an unprivileged user leads to arbitrary read/write
    and privilege escalation. (CVE-2017-7184, Important)
      * A race condition issue leading to a use-after-free flaw was found in the way the raw packet sockets
    are implemented in the Linux kernel networking subsystem handling synchronization. A local user able to
    open a raw packet socket (requires the CAP_NET_RAW capability) could use this flaw to elevate their
    privileges on the system. (CVE-2017-1000111, Important)
      * An exploitable memory corruption flaw was found in the Linux kernel. The append path can be
    erroneously switched from UFO to non-UFO in ip_ufo_append_data() when building an UFO packet with MSG_MORE
    option. If unprivileged user namespaces are available, this flaw can be exploited to gain root privileges.
    (CVE-2017-1000112, Important)
      * A flaw was found in the Linux networking subsystem where a local attacker with CAP_NET_ADMIN
    capabilities could cause an out-of-bounds memory access by creating a smaller-than-expected ICMP header
    and sending to its destination via sendto(). (CVE-2016-8399, Moderate)
      * Kernel memory corruption due to a buffer overflow was found in brcmf_cfg80211_mgmt_tx() function in
    Linux kernels from v3.9-rc1 to v4.13-rc1. The vulnerability can be triggered by sending a crafted
    NL80211_CMD_FRAME packet via netlink. This flaw is unlikely to be triggered remotely as certain userspace
    code is needed for this. An unprivileged local user could use this flaw to induce kernel memory corruption
    on the system, leading to a crash. Due to the nature of the flaw, privilege escalation cannot be fully
    ruled out, although it is unlikely. (CVE-2017-7541, Moderate)
      * An integer overflow vulnerability in ip6_find_1stfragopt() function was found. A local attacker that
    has privileges (of CAP_NET_RAW) to open raw socket can cause an infinite loop inside the
    ip6_find_1stfragopt() function. (CVE-2017-7542, Moderate)
      * A kernel data leak due to an out-of-bound read was found in the Linux kernel in
    inet_diag_msg_sctp{,l}addr_fill() and sctp_get_sctp_info() functions present since version 4.7-rc1 through
    version 4.13. A data leak happens when these functions fill in sockaddr data structures used to export
    socket's diagnostic information. As a result, up to 100 bytes of the slab data could be leaked to a
    userspace. (CVE-2017-7558, Moderate)
      * The mq_notify function in the Linux kernel through 4.11.9 does not set the sock pointer to NULL upon
    entry into the retry logic. During a user-space close of a Netlink socket, it allows attackers to possibly
    cause a situation where a value may be used after being freed (use-after-free) which may lead to memory
    corruption or other unspecified other impact. (CVE-2017-11176, Moderate)
      * A divide-by-zero vulnerability was found in the __tcp_select_window function in the Linux kernel. This
    can result in a kernel panic causing a local denial of service. (CVE-2017-14106, Moderate)
    Asianux would like to thank Chaitin Security Research Lab for reporting
    CVE-2017-7184; Willem de Bruijn for reporting CVE-2017-1000111; and Andrey
    Konovalov for reporting CVE-2017-1000112. The CVE-2017-7558 issue was
    discovered by Stefano Brivio (Asianux).
    CVE-2016-8399
    An elevation of privilege vulnerability in the kernel networking
    subsystem could enable a local malicious application to execute
    arbitrary code within the context of the kernel. This issue is rated
    as Moderate because it first requires compromising a privileged
    process and current compiler optimizations restrict access to the
    vulnerable code. Product: Android. Versions: Kernel-3.10, Kernel-3.18.
    Android ID: A-31349935.
    CVE-2017-1000111
    Linux kernel: heap out-of-bounds in AF_PACKET sockets. This new issue
    is analogous to previously disclosed CVE-2016-8655. In both cases, a
    socket option that changes socket state may race with safety checks in
    packet_set_ring. Previously with PACKET_VERSION. This time with
    PACKET_RESERVE. The solution is similar: lock the socket for the
    update. This issue may be exploitable, we did not investigate further.
    As this issue affects PF_PACKET sockets, it requires CAP_NET_RAW in
    the process namespace. But note that with user namespaces enabled, any
    process can create a namespace in which it has CAP_NET_RAW.
    CVE-2017-1000112
    Linux kernel: Exploitable memory corruption due to UFO to non-UFO path
    switch. When building a UFO packet with MSG_MORE __ip_append_data()
    calls ip_ufo_append_data() to append. However in between two send()
    calls, the append path can be switched from UFO to non-UFO one, which
    leads to a memory corruption. In case UFO packet lengths exceeds MTU,
    copy = maxfraglen - skb->len becomes negative on the non-UFO path and
    the branch to allocate new skb is taken. This triggers fragmentation
    and computation of fraggap = skb_prev->len - maxfraglen. Fraggap can
    exceed MTU, causing copy = datalen - transhdrlen - fraggap to become
    negative. Subsequently skb_copy_and_csum_bits() writes out-of-bounds.
    A similar issue is present in IPv6 code. The bug was introduced in
    e89e9cf539a2 ([IPv4/IPv6]: UFO Scatter-gather approach) on Oct 18
    2005.
    CVE-2017-11176
    The mq_notify function in the Linux kernel through 4.11.9 does not set
    the sock pointer to NULL upon entry into the retry logic. During a
    user-space close of a Netlink socket, it allows attackers to cause a
    denial of service (use-after-free) or possibly have unspecified other
    impact.
    CVE-2017-14106
    The tcp_disconnect function in net/ipv4/tcp.c in the Linux kernel
    before 4.12 allows local users to cause a denial of service
    (__tcp_select_window divide-by-zero error and system crash) by
    triggering a disconnect within a certain tcp_recvmsg code path.
    CVE-2017-7184
    The xfrm_replay_verify_len function in net/xfrm/xfrm_user.c in the
    Linux kernel through 4.10.6 does not validate certain size data after
    an XFRM_MSG_NEWAE update, which allows local users to obtain root
    privileges or cause a denial of service (heap-based out-of-bounds
    access) by leveraging the CAP_NET_ADMIN capability, as demonstrated
    during a Pwn2Own competition at CanSecWest 2017 for the Ubuntu 16.10
    linux-image-* package 4.8.0.41.52.
    CVE-2017-7541
    The brcmf_cfg80211_mgmt_tx function in
    drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c in the
    Linux kernel before 4.12.3 allows local users to cause a denial of
    service (buffer overflow and system crash) or possibly gain privileges
    via a crafted NL80211_CMD_FRAME Netlink packet.
    CVE-2017-7542
    The ip6_find_1stfragopt function in net/ipv6/output_core.c in the Linux
    kernel through 4.12.3 allows local users to cause a denial of service
    (integer overflow and infinite loop) by leveraging the ability to open
    a raw socket.
    CVE-2017-7558
    ** RESERVED **
    This candidate has been reserved by an organization or individual that
    will use it when announcing a new security problem.  When the
    candidate has been publicized, the details for this candidate will be
    provided.

Tenable has extracted the preceding description block directly from the MiracleLinux security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version
number.");
  script_set_attribute(attribute:"see_also", value:"https://tsn.miraclelinux.com/en/node/8819");
  script_set_attribute(attribute:"solution", value:
"Update the affected packages.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:H/Au:N/C:C/I:C/A:C");
  script_set_cvss_temporal_vector("CVSS2#E:H/RL:OF/RC:C");
  script_set_cvss3_base_vector("CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H");
  script_set_cvss3_temporal_vector("CVSS:3.0/E:H/RL:O/RC:C");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2016-8399");
  script_set_attribute(attribute:"cvss3_score_source", value:"CVE-2017-7541");

  script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"true");
  script_set_attribute(attribute:"exploit_framework_core", value:"true");
  script_set_attribute(attribute:"exploited_by_malware", value:"true");
  script_set_attribute(attribute:"metasploit_name", value:'Linux Kernel UDP Fragmentation Offset (UFO) Privilege Escalation');
  script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");
  script_set_attribute(attribute:"vendor_severity", value:"High");

  script_set_attribute(attribute:"vuln_publication_date", value:"2016/12/05");
  script_set_attribute(attribute:"patch_publication_date", value:"2017/11/01");
  script_set_attribute(attribute:"plugin_publication_date", value:"2026/01/16");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:miracle:linux:kernel");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:miracle:linux:kernel-abi-whitelists");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:miracle:linux:kernel-debug");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:miracle:linux:kernel-debug-devel");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:miracle:linux:kernel-devel");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:miracle:linux:kernel-headers");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:miracle:linux:kernel-tools");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:miracle:linux:kernel-tools-libs");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:miracle:linux:perf");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:miracle:linux:python-perf");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:miracle:linux:7");
  script_set_attribute(attribute:"generated_plugin", value:"current");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Miracle Linux Local Security Checks");

  script_copyright(english:"This script is Copyright (C) 2026 and is owned by Tenable, Inc. or an Affiliate thereof.");

  script_dependencies("ssh_get_info.nasl");
  script_require_keys("Host/local_checks_enabled", "Host/MiracleLinux/release", "Host/MiracleLinux/rpm-list", "Host/cpu");

  exit(0);
}


include('rpm2.inc');

if (!get_kb_item('Host/local_checks_enabled')) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
var os_product = get_kb_item('installed_os/local/SSH/0/product');
if (isnull(os_product) || 'MIRACLE LINUX' >!< os_product) audit(AUDIT_OS_NOT, 'MIRACLE LINUX');
var os_version = get_kb_item('installed_os/local/SSH/0/version');
if (isnull(os_version)) audit(AUDIT_UNKNOWN_APP_VER, 'MIRACLE LINUX');
if (! preg(pattern:"^7([^0-9]|$)", string:os_version)) audit(AUDIT_OS_NOT, 'MiracleLinux 7.x', 'MIRACLE LINUX ' + os_version);

if (!get_kb_item('Host/MiracleLinux/rpm-list')) audit(AUDIT_PACKAGE_LIST_MISSING);

var cpu = get_kb_item('Host/cpu');
if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
if ('aarch64' >!< cpu && 'ppc' >!< cpu && 's390' >!< cpu && 'x86_64' >!< cpu && cpu !~ "^i[3-6]86$") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, 'MIRACLE LINUX', cpu);

var constraints = [
  {
    'release': '7',
    'pkgs': [
      {'reference':'kernel-3.10.0-693.5.2.el7', 'cpu':'x86_64', 'rpm_spec_vers_cmp':TRUE, 'epoch':'0'},
      {'reference':'kernel-abi-whitelists-3.10.0-693.5.2.el7', 'rpm_spec_vers_cmp':TRUE, 'epoch':'0'},
      {'reference':'kernel-debug-3.10.0-693.5.2.el7', 'cpu':'x86_64', 'rpm_spec_vers_cmp':TRUE, 'epoch':'0'},
      {'reference':'kernel-debug-devel-3.10.0-693.5.2.el7', 'cpu':'x86_64', 'rpm_spec_vers_cmp':TRUE, 'epoch':'0'},
      {'reference':'kernel-devel-3.10.0-693.5.2.el7', 'cpu':'x86_64', 'rpm_spec_vers_cmp':TRUE, 'epoch':'0'},
      {'reference':'kernel-headers-3.10.0-693.5.2.el7', 'cpu':'x86_64', 'rpm_spec_vers_cmp':TRUE, 'epoch':'0'},
      {'reference':'kernel-tools-3.10.0-693.5.2.el7', 'cpu':'x86_64', 'rpm_spec_vers_cmp':TRUE, 'epoch':'0'},
      {'reference':'kernel-tools-libs-3.10.0-693.5.2.el7', 'cpu':'x86_64', 'rpm_spec_vers_cmp':TRUE, 'epoch':'0'},
      {'reference':'perf-3.10.0-693.5.2.el7', 'cpu':'x86_64', 'rpm_spec_vers_cmp':TRUE, 'epoch':'0'},
      {'reference':'python-perf-3.10.0-693.5.2.el7', 'cpu':'x86_64', 'rpm_spec_vers_cmp':TRUE, 'epoch':'0'}
    ]
  }
];

var os_release = get_one_kb_item('installed_os/local/SSH/0/release');
var os_sp = get_one_kb_item('Host/*/minor_release');

var flag = 0;
var reference;
var sp;
var _cpu;
var el_string;
var rpm_spec_vers_cmp;
var epoch;
var allowmaj;
var exists_check;
var cves;
foreach var constraint ( constraints ) {
  # Check that the target release is equal to the affected release
  if (!empty_or_null(constraint['release'])){
    if (constraint['release'] != os_release) continue;
  }
  if (!empty_or_null(constraint['sp'])){
    if (constraint['sp'] != os_sp) continue;
  }
  foreach var pkg ( constraint['pkgs'] ) {
    reference = NULL;
    sp = NULL;
    _cpu = NULL;
    el_string = NULL;
    rpm_spec_vers_cmp = NULL;
    epoch = NULL;
    allowmaj = NULL;
    exists_check = NULL;
    cves = NULL;
    if (!empty_or_null(pkg['reference'])) reference = pkg['reference'];
    if (!empty_or_null(pkg['sp'])) sp = pkg['sp'];
    if (!empty_or_null(pkg['cpu'])) _cpu = pkg['cpu'];
    if (!empty_or_null(pkg['el_string'])) el_string = pkg['el_string'];
    if (!empty_or_null(pkg['rpm_spec_vers_cmp'])) rpm_spec_vers_cmp = pkg['rpm_spec_vers_cmp'];
    if (!empty_or_null(pkg['epoch'])) epoch = pkg['epoch'];
    if (!empty_or_null(pkg['allowmaj'])) allowmaj = pkg['allowmaj'];
    if (!empty_or_null(pkg['exists_check'])) exists_check = pkg['exists_check'];
    if (!empty_or_null(pkg['cves'])) cves = pkg['cves'];
    if (reference &&
        ## (no known rpm to check OR known rpm_exists)
        (!exists_check || rpm_exists(rpm:exists_check)) &&
        rpm_check(sp:sp, cpu:_cpu, reference:reference, epoch:epoch, el_string:el_string, rpm_spec_vers_cmp:rpm_spec_vers_cmp, allowmaj:allowmaj, cves:cves)) flag++;
  }
}
if (flag)
{
  security_report_v4(
      port       : 0,
      severity   : SECURITY_HOLE,
      extra      : rpm_report_get()
  );
  exit(0);
}
else
{
  var tested = pkg_tests_get();
  if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
  else audit(AUDIT_PACKAGE_NOT_INSTALLED, 'kernel / kernel-abi-whitelists / kernel-debug / kernel-debug-devel / etc');
}

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

10 Feb 2026 00:00Current
7.7High risk
Vulners AI Score7.7
CVSS 3.17.8
CVSS 27.6
CVSS 35.1 - 7.5
EPSS0.8286
1