Fedora 31 : chromium (2020-f6271d7afa) - Nessus

High   Plugin ID: 134718

This page contains detailed information about the Fedora 31 : chromium (2020-f6271d7afa) Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 134718
Name: Fedora 31 : chromium (2020-f6271d7afa)
Filename: fedora_2020-f6271d7afa.nasl
Vulnerability Published: 2020-02-02
This Plugin Published: 2020-03-20
Last Modification Time: 2022-04-04
Plugin Version: 1.7
Plugin Type: local
Plugin Family: Fedora Local Security Checks
Dependencies: ssh_get_info.nasl
Required KB Items [?]: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list

Vulnerability Information


Severity: High
Vulnerability Published: 2020-02-02
Patch Published: 2020-03-20
CVE [?]: CVE-2019-20446, CVE-2020-6381, CVE-2020-6382, CVE-2020-6383, CVE-2020-6384, CVE-2020-6385, CVE-2020-6386, CVE-2020-6387, CVE-2020-6388, CVE-2020-6389, CVE-2020-6390, CVE-2020-6391, CVE-2020-6392, CVE-2020-6393, CVE-2020-6394, CVE-2020-6395, CVE-2020-6396, CVE-2020-6397, CVE-2020-6398, CVE-2020-6399, CVE-2020-6400, CVE-2020-6401, CVE-2020-6402, CVE-2020-6403, CVE-2020-6404, CVE-2020-6405, CVE-2020-6406, CVE-2020-6407, CVE-2020-6408, CVE-2020-6409, CVE-2020-6410, CVE-2020-6411, CVE-2020-6412, CVE-2020-6413, CVE-2020-6414, CVE-2020-6415, CVE-2020-6416, CVE-2020-6417, CVE-2020-6418, CVE-2020-6420, CVE-2020-10531
CPE [?]: cpe:/o:fedoraproject:fedora:31, p-cpe:/a:fedoraproject:fedora:chromium
Exploited by Malware: True

Synopsis

The remote Fedora host is missing a security update.

Description

Update to 80.0.3987.132. Lots of security fixes here. VAAPI re-enabled by default except on NVIDIA.

List of CVEs fixed (since last update) :

- CVE-2019-20446

- CVE-2020-6381

- CVE-2020-6382

- CVE-2020-6383

- CVE-2020-6384

- CVE-2020-6385

- CVE-2020-6386

- CVE-2020-6387

- CVE-2020-6388

- CVE-2020-6389

- CVE-2020-6390

- CVE-2020-6391

- CVE-2020-6392

- CVE-2020-6393

- CVE-2020-6394

- CVE-2020-6395

- CVE-2020-6396

- CVE-2020-6397

- CVE-2020-6398

- CVE-2020-6399

- CVE-2020-6400

- CVE-2020-6401

- CVE-2020-6402

- CVE-2020-6403

- CVE-2020-6404

- CVE-2020-6405

- CVE-2020-6406

- CVE-2020-6407

- CVE-2020-6408

- CVE-2020-6409

- CVE-2020-6410

- CVE-2020-6411

- CVE-2020-6412

- CVE-2020-6413

- CVE-2020-6414

- CVE-2020-6415

- CVE-2020-6416

- CVE-2020-6417

- CVE-2020-6418

- CVE-2020-6420

Note that Tenable Network Security has extracted the preceding description block directly from the Fedora update system website. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

Update the affected chromium package.

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 Fedora 31 : chromium (2020-f6271d7afa) vulnerability:

  1. Metasploit: exploit/multi/browser/chrome_jscreate_sideeffect
    [Google Chrome 80 JSCreate side-effect type confusion exploit]
  2. Exploit-DB: exploits/windows/dos/48237.txt
    [EDB-48237: Google Chrome 80.0.3987.87 - Heap-Corruption Remote Denial of Service (PoC)]
  3. Exploit-DB: exploits/multiple/remote/48186.rb
    [EDB-48186: Google Chrome 80 - JSCreate Side-effect Type Confusion (Metasploit)]
  4. GitHub: https://github.com/sslab-gatech/DIE
    [CVE-2020-6382]
  5. GitHub: https://github.com/allpaca/chrome-sbx-db
    [CVE-2020-6385]
  6. GitHub: https://github.com/SexyBeast233/SecBooks
    [CVE-2020-6404]
  7. GitHub: https://github.com/0x2l/0x2l_v8_exp
    [CVE-2020-6418]
  8. GitHub: https://github.com/7o8v/Browser
    [CVE-2020-6418]
  9. GitHub: https://github.com/CYB3R-X3eRo0/CVE-2020-6418
    [CVE-2020-6418: CVE-2020-6418 제로데이 취약점]
  10. GitHub: https://github.com/Jabri1/cve-2020_6418-exploit
    [CVE-2020-6418: cve-2020_6418-exploittt.js]
  11. GitHub: https://github.com/SexyBeast233/SecBooks
    [CVE-2020-6418]
  12. GitHub: https://github.com/SivaPriyaRanganatha/CVE-2020-6418
    [CVE-2020-6418]
  13. GitHub: https://github.com/fardeen-ahmed/Bug-bounty-Writeups
    [CVE-2020-6418]
  14. GitHub: https://github.com/ray-cp/browser_pwn/tree/master/cve-2020-6418
    [CVE-2020-6418]
  15. GitHub: https://github.com/star-sg/CVE
    [CVE-2020-6418]
  16. GitHub: https://github.com/ulexec/ChromeSHELFLoader
    [CVE-2020-6418: An exploit for CVE-2020-6418 implementing a SHELF Loader. Published as part of ...]
  17. GitHub: https://github.com/ulexec/Exploits
    [CVE-2020-6418]
  18. GitHub: https://github.com/ChoKyuWon/CVE-2020-6418
    [CVE-2020-6418: PoC of CVE]
  19. GitHub: https://github.com/Goyotan/CVE-2020-6418-PoC
    [CVE-2020-6418: For 供養]

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 Score Source [?]: CVE-2020-6420
CVSS V2 Vector: AV:N/AC:M/Au:N/C:P/I:P/A:P/E:H/RL:OF/RC:C
CVSS Base Score:6.8 (Medium)
Impact Subscore:6.4
Exploitability Subscore:8.6
CVSS Temporal Score:5.9 (Medium)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:5.9 (Medium)
CVSS V3 Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:H/RL:O/RC:C
CVSS Base Score:8.8 (High)
Impact Subscore:5.9
Exploitability Subscore:2.8
CVSS Temporal Score:8.4 (High)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:8.4 (High)

Go back to menu.

Plugin Source


This is the fedora_2020-f6271d7afa.nasl nessus plugin source code. This script is Copyright (C) 2020-2022 and is owned by Tenable, Inc. or an Affiliate thereof.

#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#
# The descriptive text and package checks in this plugin were  
# extracted from Fedora Security Advisory FEDORA-2020-f6271d7afa.
#

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

if (description)
{
  script_id(134718);
  script_version("1.7");
  script_set_attribute(attribute:"plugin_modification_date", value:"2022/04/04");

  script_cve_id("CVE-2019-20446", "CVE-2020-10531", "CVE-2020-6381", "CVE-2020-6382", "CVE-2020-6383", "CVE-2020-6384", "CVE-2020-6385", "CVE-2020-6386", "CVE-2020-6387", "CVE-2020-6388", "CVE-2020-6389", "CVE-2020-6390", "CVE-2020-6391", "CVE-2020-6392", "CVE-2020-6393", "CVE-2020-6394", "CVE-2020-6395", "CVE-2020-6396", "CVE-2020-6397", "CVE-2020-6398", "CVE-2020-6399", "CVE-2020-6400", "CVE-2020-6401", "CVE-2020-6402", "CVE-2020-6403", "CVE-2020-6404", "CVE-2020-6405", "CVE-2020-6406", "CVE-2020-6407", "CVE-2020-6408", "CVE-2020-6409", "CVE-2020-6410", "CVE-2020-6411", "CVE-2020-6412", "CVE-2020-6413", "CVE-2020-6414", "CVE-2020-6415", "CVE-2020-6416", "CVE-2020-6417", "CVE-2020-6418", "CVE-2020-6420");
  script_xref(name:"FEDORA", value:"2020-f6271d7afa");
  script_xref(name:"CISA-KNOWN-EXPLOITED", value:"2022/05/03");

  script_name(english:"Fedora 31 : chromium (2020-f6271d7afa)");
  script_summary(english:"Checks rpm output for the updated package.");

  script_set_attribute(
    attribute:"synopsis",
    value:"The remote Fedora host is missing a security update."
  );
  script_set_attribute(
    attribute:"description",
    value:
"Update to 80.0.3987.132. Lots of security fixes here. VAAPI re-enabled
by default except on NVIDIA.

List of CVEs fixed (since last update) :

  - CVE-2019-20446

  - CVE-2020-6381 

  - CVE-2020-6382 

  - CVE-2020-6383 

  - CVE-2020-6384

  - CVE-2020-6385 

  - CVE-2020-6386

  - CVE-2020-6387 

  - CVE-2020-6388

  - CVE-2020-6389

  - CVE-2020-6390 

  - CVE-2020-6391

  - CVE-2020-6392 

  - CVE-2020-6393

  - CVE-2020-6394

  - CVE-2020-6395

  - CVE-2020-6396 

  - CVE-2020-6397 

  - CVE-2020-6398

  - CVE-2020-6399 

  - CVE-2020-6400 

  - CVE-2020-6401 

  - CVE-2020-6402 

  - CVE-2020-6403 

  - CVE-2020-6404 

  - CVE-2020-6405 

  - CVE-2020-6406 

  - CVE-2020-6407

  - CVE-2020-6408 

  - CVE-2020-6409 

  - CVE-2020-6410 

  - CVE-2020-6411 

  - CVE-2020-6412 

  - CVE-2020-6413 

  - CVE-2020-6414 

  - CVE-2020-6415 

  - CVE-2020-6416 

  - CVE-2020-6417

  - CVE-2020-6418

  - CVE-2020-6420

Note that Tenable Network Security has extracted the preceding
description block directly from the Fedora update system website.
Tenable has attempted to automatically clean and format it as much as
possible without introducing additional issues."
  );
  script_set_attribute(
    attribute:"see_also",
    value:"https://bodhi.fedoraproject.org/updates/FEDORA-2020-f6271d7afa"
  );
  script_set_attribute(
    attribute:"solution",
    value:"Update the affected chromium package."
  );
  script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P");
  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:R/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-2020-6420");
  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:'Google Chrome 80 JSCreate side-effect type confusion 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:fedoraproject:fedora:chromium");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:fedoraproject:fedora:31");

  script_set_attribute(attribute:"vuln_publication_date", value:"2020/02/02");
  script_set_attribute(attribute:"patch_publication_date", value:"2020/03/20");
  script_set_attribute(attribute:"plugin_publication_date", value:"2020/03/20");
  script_set_attribute(attribute:"generated_plugin", value:"current");
  script_end_attributes();

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

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

  exit(0);
}


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


if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
release = get_kb_item("Host/RedHat/release");
if (isnull(release) || "Fedora" >!< release) audit(AUDIT_OS_NOT, "Fedora");
os_ver = pregmatch(pattern: "Fedora.*release ([0-9]+)", string:release);
if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "Fedora");
os_ver = os_ver[1];
if (! preg(pattern:"^31([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Fedora 31", "Fedora " + os_ver);

if (!get_kb_item("Host/RedHat/rpm-list")) 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, "Fedora", cpu);


flag = 0;
if (rpm_check(release:"FC31", reference:"chromium-80.0.3987.132-1.fc31", allowmaj:TRUE)) flag++;


if (flag)
{
  security_report_v4(
    port       : 0,
    severity   : SECURITY_WARNING,
    extra      : rpm_report_get()
  );
  exit(0);
}
else
{
  tested = pkg_tests_get();
  if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
  else audit(AUDIT_PACKAGE_NOT_INSTALLED, "chromium");
}

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

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

Go back to menu.

How to Run


Here is how to run the Fedora 31 : chromium (2020-f6271d7afa) 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 Fedora Local Security Checks plugin family.
  6. On the right side table select Fedora 31 : chromium (2020-f6271d7afa) plugin ID 134718.
  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 fedora_2020-f6271d7afa.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

/opt/nessus/bin/nasl -a fedora_2020-f6271d7afa.nasl -t <IP/HOST>

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

/opt/nessus/bin/nasl -T - fedora_2020-f6271d7afa.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 fedora_2020-f6271d7afa.nasl -t <IP/HOST>

Go back to menu.

References


Fedora Security Update: See also: Similar and related Nessus plugins:
  • 157634 - AlmaLinux 8 : sqlite (ALSA-2020:4442)
  • 145815 - CentOS 8 : sqlite (CESA-2020:4442)
  • 134433 - Debian DSA-4638-1 : chromium - security update
  • 134990 - Fedora 30 : chromium (2020-39e0b8bd14)
  • 144124 - Fedora 33 : 1:nodejs (2020-43d5a372fc)
  • 134475 - GLSA-202003-08 : Chromium, Google Chrome: Multiple vulnerabilities
  • 133954 - Google Chrome < 80.0.3987.122 Multiple Vulnerabilities
  • 133465 - Google Chrome < 80.0.3987.87 Multiple Vulnerabilities
  • 133953 - Google Chrome < 80.0.3987.122 Multiple Vulnerabilities
  • 133464 - Google Chrome < 80.0.3987.87 Multiple Vulnerabilities
  • 138174 - Microsoft Edge (Chromium) < 80.0.361.48 Multiple Vulnerabilities
  • 138176 - Microsoft Edge (Chromium) < 80.0.361.62 Multiple Vulnerabilities
  • 147397 - NewStart CGSL MAIN 6.02 : sqlite Multiple Vulnerabilities (NS-SA-2021-0064)
  • 133593 - openSUSE Security Update : chromium (openSUSE-2020-189)
  • 134157 - openSUSE Security Update : chromium (openSUSE-2020-259)
  • 142752 - Oracle Linux 8 : sqlite (ELSA-2020-4442)
  • 133749 - RHEL 6 : chromium-browser (RHSA-2020:0514)
  • 134360 - RHEL 6 : chromium-browser (RHSA-2020:0738)
  • 142429 - RHEL 8 : sqlite (RHSA-2020:4442)
  • 137597 - SUSE SLES15 Security Update : nodejs10 (SUSE-SU-2020:1568-1)
  • 137602 - SUSE SLES12 Security Update : nodejs10 (SUSE-SU-2020:1575-1)

Version


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

Go back to menu.