Slackware 14.2 : Slackware 14.2 kernel (SSA:2019-311-01) - Nessus

Critical   Plugin ID: 130751

This page contains detailed information about the Slackware 14.2 : Slackware 14.2 kernel (SSA:2019-311-01) Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 130751
Name: Slackware 14.2 : Slackware 14.2 kernel (SSA:2019-311-01)
Filename: Slackware_SSA_2019-311-01.nasl
Vulnerability Published: 2019-04-25
This Plugin Published: 2019-11-08
Last Modification Time: 2021-11-30
Plugin Version: 1.7
Plugin Type: local
Plugin Family: Slackware Local Security Checks
Dependencies: ssh_get_info.nasl
Required KB Items [?]: Host/local_checks_enabled, Host/Slackware/packages, Host/Slackware/release

Vulnerability Information


Severity: Critical
Vulnerability Published: 2019-04-25
Patch Published: 2019-11-07
CVE [?]: CVE-2016-10905, CVE-2016-10906, CVE-2018-20976, CVE-2019-2215, CVE-2019-3900, CVE-2019-10638, CVE-2019-14814, CVE-2019-14816, CVE-2019-14821, CVE-2019-14835, CVE-2019-15098, CVE-2019-15117, CVE-2019-15118, CVE-2019-15505, CVE-2019-16746, CVE-2019-17052, CVE-2019-17053, CVE-2019-17054, CVE-2019-17055, CVE-2019-17056, CVE-2019-17075, CVE-2019-17133
CPE [?]: cpe:/o:slackware:slackware_linux:14.2, p-cpe:/a:slackware:slackware_linux:kernel-generic, p-cpe:/a:slackware:slackware_linux:kernel-generic-smp, p-cpe:/a:slackware:slackware_linux:kernel-headers, p-cpe:/a:slackware:slackware_linux:kernel-huge, p-cpe:/a:slackware:slackware_linux:kernel-huge-smp, p-cpe:/a:slackware:slackware_linux:kernel-modules, p-cpe:/a:slackware:slackware_linux:kernel-modules-smp, p-cpe:/a:slackware:slackware_linux:kernel-source
Exploited by Malware: True

Synopsis

The remote Slackware host is missing a security update.

Description

New kernel packages are available for Slackware 14.2 to fix security issues.

Solution

Update the affected packages.

Public Exploits


Target Network Port(s): N/A
Target Asset(s): N/A
Exploit Available: True (Metasploit Framework, Exploit-DB, GitHub)
Exploit Ease: Exploits are available

Here's the list of publicly known exploits and PoCs for verifying the Slackware 14.2 : Slackware 14.2 kernel (SSA:2019-311-01) vulnerability:

  1. Metasploit: exploit/android/local/binder_uaf
    [Android Binder Use-After-Free Exploit]
  2. Exploit-DB: exploits/android/local/47463.txt
    [EDB-47463: Android - Binder Driver Use-After-Free]
  3. Exploit-DB: exploits/android/local/48129.rb
    [EDB-48129: Android Binder - Use-After-Free (Metasploit)]
  4. GitHub: https://github.com/Al1ex/LinuxEelvation
    [CVE-2019-2215]
  5. GitHub: https://github.com/CrackerCat/cve2019-2215-3.18
    [CVE-2019-2215: cve2019-2215 poc for 3.18 kernel]
  6. GitHub: https://github.com/CyberMonitor/APT_CyberCriminal_Campagin_Collections
    [CVE-2019-2215]
  7. GitHub: https://github.com/HacTF/poc--exp
    [CVE-2019-2215]
  8. GitHub: https://github.com/Karma2424/cve2019-2215-3.18
    [CVE-2019-2215]
  9. GitHub: https://github.com/Panopticon-Project/panopticon-Donot
    [CVE-2019-2215]
  10. GitHub: https://github.com/Panopticon-Project/panopticon-Sidewinder
    [CVE-2019-2215]
  11. GitHub: https://github.com/aguerriero1998/Umass-CS-590J-Capstone-Project
    [CVE-2019-2215]
  12. GitHub: https://github.com/c3r34lk1ll3r/CVE-2019-2215
    [CVE-2019-2215: PoC for old Binder vulnerability (based on P0 exploit)]
  13. GitHub: https://github.com/frankzappasmustache/starred-repos
    [CVE-2019-2215]
  14. GitHub: https://github.com/grant-h/qu1ckr00t
    [CVE-2019-2215]
  15. GitHub: https://github.com/mufidmb38/CVE-2019-2215
    [CVE-2019-2215]
  16. GitHub: https://github.com/pengusec/awesome-netsec-articles
    [CVE-2019-2215]
  17. GitHub: https://github.com/raystyle/CVE-2019-2215
    [CVE-2019-2215]
  18. GitHub: https://github.com/tdcoming/Vulnerability-engine
    [CVE-2019-2215]
  19. GitHub: https://github.com/timwr/CVE-2019-2215
    [CVE-2019-2215]
  20. GitHub: https://github.com/wateroot/poc-exp
    [CVE-2019-2215]
  21. GitHub: https://github.com/wrlu/Vulnerabilities
    [CVE-2019-2215]
  22. GitHub: https://github.com/xairy/linux-kernel-exploitation
    [CVE-2019-2215]
  23. GitHub: https://github.com/kaosagnt/ansible-everyday
    [CVE-2019-14835]
  24. GitHub: https://github.com/offensive-security/exploitdb-bin-sploits/blob/master/bin-sploits/47463.zip
    [EDB-47463]
  25. GitHub: https://github.com/Byte-Master-101/CVE-2019-2215
    [CVE-2019-2215: Temproot for Pixel 2 and Pixel 2 XL via CVE-2019-2215]
  26. GitHub: https://github.com/DimitriFourny/cve-2019-2215
    [CVE-2019-2215: Android privilege escalation via an use-after-free in binder.c]
  27. GitHub: https://github.com/enceka/cve-2019-2215-3.18
    [CVE-2019-2215: For kernel 3.18.x]
  28. GitHub: https://github.com/kangtastic/cve-2019-2215
    [CVE-2019-2215: Temproot for Pixel 2 and Pixel 2 XL via CVE-2019-2215]
  29. GitHub: https://github.com/LIznzn/CVE-2019-2215
    [CVE-2019-2215: Temproot for Bravia TV via CVE-2019-2215.]
  30. GitHub: https://github.com/marcinguy/CVE-2019-2215
    [CVE-2019-2215: CVE 2019-2215 Android Binder Use After Free]
  31. GitHub: https://github.com/nicchongwb/Rootsmart-v2.0
    [CVE-2019-2215: Android Ransomware Development - AES256 encryption + CVE-2019-2215 (reverse root ...]
  32. GitHub: https://github.com/sharif-dev/AndroidKernelVulnerability
    [CVE-2019-2215: Triggering and Analyzing Android Kernel Vulnerability CVE-2019-2215]
  33. GitHub: https://github.com/qre0ct/android-kernel-exploitation-ashfaq-CVE-2019-2215
    [CVE-2019-2215: Android-kernel-exploitation-ashfaq-CVE-2019-2215 docker setup for mac users]

Before running any exploit against any system, make sure you are authorized by the owner of the target system(s) to perform such activity. In any other case, this would be considered as an illegal activity.

WARNING: Beware of using unverified exploits from sources such as GitHub or Exploit-DB. These exploits and PoCs could contain malware. For more information, see how to use exploits safely.

Risk Information


CVSS V2 Vector [?]: AV:N/AC:L/Au:N/C:C/I:C/A:C/E:H/RL:OF/RC:C
CVSS Base Score:10.0 (High)
Impact Subscore:10.0
Exploitability Subscore:10.0
CVSS Temporal Score:8.7 (High)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:8.7 (High)
CVSS V3 Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:H/RL:O/RC:C
CVSS Base Score:9.8 (Critical)
Impact Subscore:5.9
Exploitability Subscore:3.9
CVSS Temporal Score:9.4 (Critical)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:9.4 (Critical)

Go back to menu.

Plugin Source


This is the Slackware_SSA_2019-311-01.nasl nessus plugin source code. This script is Copyright (C) 2019-2021 and is owned by Tenable, Inc. or an Affiliate thereof.

#
# (C) Tenable Network Security, Inc.
#
# The descriptive text and package checks in this plugin were  
# extracted from Slackware Security Advisory 2019-311-01. The text 
# itself is copyright (C) Slackware Linux, Inc.
#

include("compat.inc");

if (description)
{
  script_id(130751);
  script_version("1.7");
  script_set_attribute(attribute:"plugin_modification_date", value:"2021/11/30");

  script_cve_id("CVE-2016-10905", "CVE-2016-10906", "CVE-2018-20976", "CVE-2019-10638", "CVE-2019-14814", "CVE-2019-14816", "CVE-2019-14821", "CVE-2019-14835", "CVE-2019-15098", "CVE-2019-15117", "CVE-2019-15118", "CVE-2019-15505", "CVE-2019-16746", "CVE-2019-17052", "CVE-2019-17053", "CVE-2019-17054", "CVE-2019-17055", "CVE-2019-17056", "CVE-2019-17075", "CVE-2019-17133", "CVE-2019-2215", "CVE-2019-3900");
  script_xref(name:"SSA", value:"2019-311-01");
  script_xref(name:"CISA-KNOWN-EXPLOITED", value:"2022/05/03");

  script_name(english:"Slackware 14.2 : Slackware 14.2 kernel (SSA:2019-311-01)");
  script_summary(english:"Checks for updated packages in /var/log/packages");

  script_set_attribute(
    attribute:"synopsis", 
    value:"The remote Slackware host is missing a security update."
  );
  script_set_attribute(
    attribute:"description", 
    value:
"New kernel packages are available for Slackware 14.2 to fix security
issues."
  );
  # http://www.slackware.com/security/viewer.php?l=slackware-security&y=2019&m=slackware-security.756390
  script_set_attribute(
    attribute:"see_also",
    value:"http://www.nessus.org/u?c772912b"
  );
  script_set_attribute(attribute:"solution", value:"Update the affected packages.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/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:N/AC:L/PR:N/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:"exploitability_ease", value:"Exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"true");
  script_set_attribute(attribute:"exploited_by_malware", value:"true");
  script_set_attribute(attribute:"metasploit_name", value:'Android Binder Use-After-Free Exploit');
  script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:slackware:slackware_linux:kernel-generic");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:slackware:slackware_linux:kernel-generic-smp");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:slackware:slackware_linux:kernel-headers");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:slackware:slackware_linux:kernel-huge");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:slackware:slackware_linux:kernel-huge-smp");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:slackware:slackware_linux:kernel-modules");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:slackware:slackware_linux:kernel-modules-smp");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:slackware:slackware_linux:kernel-source");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:slackware:slackware_linux:14.2");

  script_set_attribute(attribute:"vuln_publication_date", value:"2019/04/25");
  script_set_attribute(attribute:"patch_publication_date", value:"2019/11/07");
  script_set_attribute(attribute:"plugin_publication_date", value:"2019/11/08");
  script_set_attribute(attribute:"generated_plugin", value:"current");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_copyright(english:"This script is Copyright (C) 2019-2021 and is owned by Tenable, Inc. or an Affiliate thereof.");
  script_family(english:"Slackware Local Security Checks");

  script_dependencies("ssh_get_info.nasl");
  script_require_keys("Host/local_checks_enabled", "Host/Slackware/release", "Host/Slackware/packages");

  exit(0);
}


include("audit.inc");
include("global_settings.inc");
include("slackware.inc");


if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
if (!get_kb_item("Host/Slackware/release")) audit(AUDIT_OS_NOT, "Slackware");
if (!get_kb_item("Host/Slackware/packages")) audit(AUDIT_PACKAGE_LIST_MISSING);


cpu = get_kb_item("Host/cpu");
if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
if ("x86_64" >!< cpu && cpu !~ "^i[3-6]86$") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "Slackware", cpu);


flag = 0;
if (slackware_check(osver:"14.2", pkgname:"kernel-generic", pkgver:"4.4.199", pkgarch:"i586", pkgnum:"1")) flag++;
if (slackware_check(osver:"14.2", pkgname:"kernel-generic-smp", pkgver:"4.4.199_smp", pkgarch:"i686", pkgnum:"1")) flag++;
if (slackware_check(osver:"14.2", pkgname:"kernel-headers", pkgver:"4.4.199_smp", pkgarch:"x86", pkgnum:"1")) flag++;
if (slackware_check(osver:"14.2", pkgname:"kernel-huge", pkgver:"4.4.199", pkgarch:"i586", pkgnum:"1")) flag++;
if (slackware_check(osver:"14.2", pkgname:"kernel-huge-smp", pkgver:"4.4.199_smp", pkgarch:"i686", pkgnum:"1")) flag++;
if (slackware_check(osver:"14.2", pkgname:"kernel-modules", pkgver:"4.4.199", pkgarch:"i586", pkgnum:"1")) flag++;
if (slackware_check(osver:"14.2", pkgname:"kernel-modules-smp", pkgver:"4.4.199_smp", pkgarch:"i686", pkgnum:"1")) flag++;
if (slackware_check(osver:"14.2", pkgname:"kernel-source", pkgver:"4.4.199_smp", pkgarch:"noarch", pkgnum:"1")) flag++;
if (slackware_check(osver:"14.2", arch:"x86_64", pkgname:"kernel-generic", pkgver:"4.4.199", pkgarch:"x86_64", pkgnum:"1")) flag++;
if (slackware_check(osver:"14.2", arch:"x86_64", pkgname:"kernel-headers", pkgver:"4.4.199", pkgarch:"x86", pkgnum:"1")) flag++;
if (slackware_check(osver:"14.2", arch:"x86_64", pkgname:"kernel-huge", pkgver:"4.4.199", pkgarch:"x86_64", pkgnum:"1")) flag++;
if (slackware_check(osver:"14.2", arch:"x86_64", pkgname:"kernel-modules", pkgver:"4.4.199", pkgarch:"x86_64", pkgnum:"1")) flag++;
if (slackware_check(osver:"14.2", arch:"x86_64", pkgname:"kernel-source", pkgver:"4.4.199", pkgarch:"noarch", pkgnum:"1")) flag++;


if (flag)
{
  if (report_verbosity > 0) security_hole(port:0, extra:slackware_report_get());
  else security_hole(0);
  exit(0);
}
else audit(AUDIT_HOST_NOT, "affected");

The latest version of this script can be found in these locations depending on your platform:

  • Linux / Unix:
    /opt/nessus/lib/nessus/plugins/Slackware_SSA_2019-311-01.nasl
  • Windows:
    C:\ProgramData\Tenable\Nessus\nessus\plugins\Slackware_SSA_2019-311-01.nasl
  • Mac OS X:
    /Library/Nessus/run/lib/nessus/plugins/Slackware_SSA_2019-311-01.nasl

Go back to menu.

How to Run


Here is how to run the Slackware 14.2 : Slackware 14.2 kernel (SSA:2019-311-01) as a standalone plugin via the Nessus web user interface (https://localhost:8834/):

  1. Click to start a New Scan.
  2. Select Advanced Scan.
  3. Navigate to the Plugins tab.
  4. On the top right corner click to Disable All plugins.
  5. On the left side table select Slackware Local Security Checks plugin family.
  6. On the right side table select Slackware 14.2 : Slackware 14.2 kernel (SSA:2019-311-01) plugin ID 130751.
  7. Specify the target on the Settings tab and click to Save the scan.
  8. Run the scan.

Here are a few examples of how to run the plugin in the command line. Note that the examples below demonstrate the usage on the Linux / Unix platform.

Basic usage:

/opt/nessus/bin/nasl Slackware_SSA_2019-311-01.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

/opt/nessus/bin/nasl -a Slackware_SSA_2019-311-01.nasl -t <IP/HOST>

Run the plugin with trace script execution written to the console (useful for debugging):

/opt/nessus/bin/nasl -T - Slackware_SSA_2019-311-01.nasl -t <IP/HOST>

Run the plugin with using a state file for the target and updating it (useful for running multiple plugins on the target):

/opt/nessus/bin/nasl -K /tmp/state Slackware_SSA_2019-311-01.nasl -t <IP/HOST>

Go back to menu.

References


SSA | Slackware Security Advisory: See also: Similar and related Nessus plugins:
  • 129888 - NewStart CGSL CORE 5.04 / MAIN 5.04 : kernel-rt Multiple Vulnerabilities (NS-SA-2019-0189)
  • 129900 - NewStart CGSL CORE 5.04 / MAIN 5.04 : kernel Multiple Vulnerabilities (NS-SA-2019-0180)
  • 129920 - NewStart CGSL CORE 5.04 / MAIN 5.04 : kernel-rt Multiple Vulnerabilities (NS-SA-2019-0183)
  • 129924 - NewStart CGSL CORE 5.04 / MAIN 5.04 : kernel Multiple Vulnerabilities (NS-SA-2019-0200)
  • 130003 - Ubuntu 19.04 : Linux kernel vulnerabilities (USN-4157-1)
  • 130050 - SUSE SLED15 / SLES15 Security Update : kernel (SUSE-SU-2019:2706-1)
  • 130089 - SUSE SLED15 / SLES15 Security Update : kernel (SUSE-SU-2019:2710-1)
  • 130120 - Photon OS 3.0: Linux PHSA-2019-3.0-0034
  • 130147 - Ubuntu 18.04 LTS : Linux kernel (HWE) vulnerabilities (USN-4157-2)
  • 130163 - SUSE SLED15 / SLES15 Security Update : kernel (SUSE-SU-2019:2738-1)
  • 130376 - RHEL 7 : kernel (RHSA-2019:3220)
  • 130423 - SUSE SLES12 Security Update : kernel (SUSE-SU-2019:2821-1) (SACK Panic) (SACK Slowness)
  • 130452 - SUSE SLED12 / SLES12 Security Update : kernel (SUSE-SU-2019:2879-1)
  • 130526 - RHEL 8 : kernel-rt (RHSA-2019:3309)
  • 130547 - RHEL 8 : kernel (RHSA-2019:3517)
  • 130663 - EulerOS 2.0 SP5 : kernel (EulerOS-SA-2019-2201)
  • 130736 - EulerOS 2.0 SP3 : kernel (EulerOS-SA-2019-2274)
  • 130928 - RHEL 6 : kernel (RHSA-2019:3836)
  • 130946 - SUSE SLED15 / SLES15 Security Update : kernel (SUSE-SU-2019:2946-1)
  • 130947 - SUSE SLED15 / SLES15 Security Update : kernel (SUSE-SU-2019:2947-1)
  • 130949 - SUSE SLES12 Security Update : kernel (SUSE-SU-2019:2949-1)
  • 130950 - SUSE SLES12 Security Update : kernel (SUSE-SU-2019:2950-1) (SACK Panic)
  • 130951 - SUSE SLES12 Security Update : kernel (SUSE-SU-2019:2953-1)
  • 130963 - Ubuntu 19.10 : Linux kernel vulnerabilities (USN-4183-1)
  • 130964 - Ubuntu 18.04 LTS / 19.04 : Linux kernel vulnerabilities (USN-4184-1)
  • 130965 - Ubuntu 16.04 LTS / 18.04 LTS : Linux kernel vulnerabilities (USN-4185-1)
  • 130966 - Ubuntu 16.04 LTS : Linux kernel vulnerabilities (USN-4186-1)
  • 130978 - CentOS 6 : kernel (CESA-2019:3836)
  • 130993 - Oracle Linux 6 : kernel (ELSA-2019-3836)
  • 131006 - Scientific Linux Security Update : kernel on SL6.x i386/x86_64 (20191113)
  • 131011 - Ubuntu 19.10 : Linux kernel vulnerability (USN-4183-2)
  • 131012 - Ubuntu 18.04 LTS / 19.04 : Linux kernel vulnerability and regression (USN-4184-2)
  • 131013 - Ubuntu 16.04 LTS / 18.04 LTS : Linux kernel vulnerability and regression (USN-4185-3)
  • 131014 - Ubuntu 16.04 LTS : Linux kernel vulnerability (USN-4186-3)

Version


This page has been produced using Nessus Professional 10.1.2 (#68) LINUX, Plugin set 202205072148.
Plugin file Slackware_SSA_2019-311-01.nasl version 1.7. For more plugins, visit the Nessus Plugin Library.

Go back to menu.