Ubuntu 16.04 LTS : Thunderbird vulnerabilities (USN-4335-1) - Nessus

Critical   Plugin ID: 135896

This page contains detailed information about the Ubuntu 16.04 LTS : Thunderbird vulnerabilities (USN-4335-1) Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 135896
Name: Ubuntu 16.04 LTS : Thunderbird vulnerabilities (USN-4335-1)
Filename: ubuntu_USN-4335-1.nasl
Vulnerability Published: 2019-09-04
This Plugin Published: 2020-04-22
Last Modification Time: 2021-11-30
Plugin Version: 1.8
Plugin Type: local
Plugin Family: Ubuntu Local Security Checks
Dependencies: ssh_get_info.nasl
Required KB Items [?]: Host/cpu, Host/Debian/dpkg-l, Host/Ubuntu, Host/Ubuntu/release

Vulnerability Information


Severity: Critical
Vulnerability Published: 2019-09-04
Patch Published: 2020-04-21
CVE [?]: CVE-2019-11745, CVE-2019-11755, CVE-2019-11757, CVE-2019-11758, CVE-2019-11759, CVE-2019-11760, CVE-2019-11761, CVE-2019-11762, CVE-2019-11763, CVE-2019-11764, CVE-2019-15903, CVE-2019-17005, CVE-2019-17008, CVE-2019-17010, CVE-2019-17011, CVE-2019-17012, CVE-2019-17016, CVE-2019-17017, CVE-2019-17022, CVE-2019-17024, CVE-2019-17026, CVE-2019-20503, CVE-2020-6792, CVE-2020-6793, CVE-2020-6794, CVE-2020-6795, CVE-2020-6798, CVE-2020-6800, CVE-2020-6805, CVE-2020-6806, CVE-2020-6807, CVE-2020-6811, CVE-2020-6812, CVE-2020-6814, CVE-2020-6819, CVE-2020-6820, CVE-2020-6821, CVE-2020-6822, CVE-2020-6825
CPE [?]: cpe:/o:canonical:ubuntu_linux:16.04, p-cpe:/a:canonical:ubuntu_linux:thunderbird
Exploited by Malware: True

Synopsis

The remote Ubuntu host is missing a security-related patch.

Description

Multiple security issues were discovered in Thunderbird. If a user were tricked in to opening a specially crafted website in a browsing context, an attacker could potentially exploit these to cause a denial of service, obtain sensitive information, bypass security restrictions, bypass same-origin restrictions, conduct cross-site scripting (XSS) attacks, or execute arbitrary code. (CVE-2019-11757, CVE-2019-11758, CVE-2019-11759, CVE-2019-11760, CVE-2019-11761, CVE-2019-11762, CVE-2019-11763, CVE-2019-11764, CVE-2019-17005, CVE-2019-17008, CVE-2019-17010, CVE-2019-17011, CVE-2019-17012, CVE-2019-17016, CVE-2019-17017, CVE-2019-17022, CVE-2019-17024, CVE-2019-17026, CVE-2019-20503, CVE-2020-6798, CVE-2020-6800, CVE-2020-6805, CVE-2020-6806, CVE-2020-6807, CVE-2020-6812, CVE-2020-6814, CVE-2020-6819, CVE-2020-6820, CVE-2020-6821, CVE-2020-6825)

It was discovered that NSS incorrectly handled certain memory operations. A remote attacker could potentially exploit this to cause a denial of service, or execute arbitrary code. (CVE-2019-11745)

It was discovered that a specially crafted S/MIME message with an inner encryption layer could be displayed as having a valid signature in some circumstances, even if the signer had no access to the encrypted message. An attacker could potentially exploit this to spoof the message author. (CVE-2019-11755)

A heap overflow was discovered in the expat library in Thunderbird. If a user were tricked in to opening a specially crafted message, an attacker could potentially exploit this to cause a denial of service, or execute arbitrary code. (CVE-2019-15903)

It was discovered that Message ID calculation was based on uninitialized data. An attacker could potentially exploit this to obtain sensitive information. (CVE-2020-6792)

Mutiple security issues were discovered in Thunderbird. If a user were tricked in to opening a specially crafted message, an attacker could potentially exploit these to cause a denial of service, obtain sensitive information, or execute arbitrary code. (CVE-2020-6793, CVE-2020-6795, CVE-2020-6822)

It was discovered that if a user saved passwords before Thunderbird 60 and then later set a master password, an unencrypted copy of these passwords would still be accessible. A local user could exploit this to obtain sensitive information. (CVE-2020-6794)

It was discovered that the Devtools' 'Copy as cURL' feature did not fully escape website-controlled data. If a user were tricked in to using the 'Copy as cURL' feature to copy and paste a command with specially crafted data in to a terminal, an attacker could potentially exploit this to execute arbitrary commands via command injection. (CVE-2020-6811).

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

Solution

Update the affected thunderbird package.

Public Exploits


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

Here's the list of publicly known exploits and PoCs for verifying the Ubuntu 16.04 LTS : Thunderbird vulnerabilities (USN-4335-1) vulnerability:

  1. Exploit-DB: exploits/windows_x86-64/local/49864.js
    [EDB-49864: Firefox 72 IonMonkey - JIT Type Confusion]
  2. Exploit-DB: exploits/windows/local/50691.txt
    [EDB-50691: Mozilla Firefox 67 - Array.pop JIT Type Confusion]
  3. GitHub: https://github.com/guidovranken/cryptofuzz
    [CVE-2019-11759]
  4. GitHub: https://github.com/PwnCast/CVE-2019-15903
    [CVE-2019-15903: PoC for exploiting CVE-2019-15903 : In libexpat before 2.2.8, crafted XML input ...]
  5. GitHub: https://github.com/HackOvert/awesome-bugs
    [CVE-2019-17026]
  6. GitHub: https://github.com/cloudrise/lansweeper-reports
    [CVE-2019-17026]
  7. GitHub: https://github.com/forrest-orr/DoubleStar
    [CVE-2019-17026]
  8. GitHub: https://github.com/lsw29475/CVE-2019-17026
    [CVE-2019-17026]
  9. GitHub: https://github.com/mgaudet/SpiderMonkeyBibliography
    [CVE-2019-17026]
  10. GitHub: https://github.com/v3nt4n1t0/DetectMozillaFirefoxVulnDomain.ps1
    [CVE-2019-17026]
  11. GitHub: https://github.com/allpaca/chrome-sbx-db
    [CVE-2019-20503]
  12. GitHub: https://github.com/maxpl0it/CVE-2019-17026-Exploit
    [CVE-2019-17026: An exploit for CVE-2019-17026. It pops xcalc and was tested on Ubuntu (x64).]

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:P/I:P/A:P/E:H/RL:OF/RC:C
CVSS Base Score:7.5 (High)
Impact Subscore:6.4
Exploitability Subscore:10.0
CVSS Temporal Score:6.5 (Medium)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:6.5 (Medium)
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 ubuntu_USN-4335-1.nasl nessus plugin source code. Ubuntu Security Notice (C) 2020-2021 Canonical, Inc. / NASL script (C) 2020-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 Ubuntu Security Notice USN-4335-1. The text 
# itself is copyright (C) Canonical, Inc. See 
# <http://www.ubuntu.com/usn/>. Ubuntu(R) is a registered 
# trademark of Canonical, Inc.
#

include("compat.inc");

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

  script_cve_id("CVE-2019-11745", "CVE-2019-11755", "CVE-2019-11757", "CVE-2019-11758", "CVE-2019-11759", "CVE-2019-11760", "CVE-2019-11761", "CVE-2019-11762", "CVE-2019-11763", "CVE-2019-11764", "CVE-2019-15903", "CVE-2019-17005", "CVE-2019-17008", "CVE-2019-17010", "CVE-2019-17011", "CVE-2019-17012", "CVE-2019-17016", "CVE-2019-17017", "CVE-2019-17022", "CVE-2019-17024", "CVE-2019-17026", "CVE-2019-20503", "CVE-2020-6792", "CVE-2020-6793", "CVE-2020-6794", "CVE-2020-6795", "CVE-2020-6798", "CVE-2020-6800", "CVE-2020-6805", "CVE-2020-6806", "CVE-2020-6807", "CVE-2020-6811", "CVE-2020-6812", "CVE-2020-6814", "CVE-2020-6819", "CVE-2020-6820", "CVE-2020-6821", "CVE-2020-6822", "CVE-2020-6825");
  script_xref(name:"USN", value:"4335-1");
  script_xref(name:"CISA-KNOWN-EXPLOITED", value:"2022/05/03");

  script_name(english:"Ubuntu 16.04 LTS : Thunderbird vulnerabilities (USN-4335-1)");
  script_summary(english:"Checks dpkg output for updated package.");

  script_set_attribute(
    attribute:"synopsis",
    value:"The remote Ubuntu host is missing a security-related patch."
  );
  script_set_attribute(
    attribute:"description",
    value:
"Multiple security issues were discovered in Thunderbird. If a user
were tricked in to opening a specially crafted website in a browsing
context, an attacker could potentially exploit these to cause a denial
of service, obtain sensitive information, bypass security
restrictions, bypass same-origin restrictions, conduct cross-site
scripting (XSS) attacks, or execute arbitrary code. (CVE-2019-11757,
CVE-2019-11758, CVE-2019-11759, CVE-2019-11760, CVE-2019-11761,
CVE-2019-11762, CVE-2019-11763, CVE-2019-11764, CVE-2019-17005,
CVE-2019-17008, CVE-2019-17010, CVE-2019-17011, CVE-2019-17012,
CVE-2019-17016, CVE-2019-17017, CVE-2019-17022, CVE-2019-17024,
CVE-2019-17026, CVE-2019-20503, CVE-2020-6798, CVE-2020-6800,
CVE-2020-6805, CVE-2020-6806, CVE-2020-6807, CVE-2020-6812,
CVE-2020-6814, CVE-2020-6819, CVE-2020-6820, CVE-2020-6821,
CVE-2020-6825)

It was discovered that NSS incorrectly handled certain memory
operations. A remote attacker could potentially exploit this to cause
a denial of service, or execute arbitrary code. (CVE-2019-11745)

It was discovered that a specially crafted S/MIME message with an
inner encryption layer could be displayed as having a valid signature
in some circumstances, even if the signer had no access to the
encrypted message. An attacker could potentially exploit this to spoof
the message author. (CVE-2019-11755)

A heap overflow was discovered in the expat library in Thunderbird. If
a user were tricked in to opening a specially crafted message, an
attacker could potentially exploit this to cause a denial of service,
or execute arbitrary code. (CVE-2019-15903)

It was discovered that Message ID calculation was based on
uninitialized data. An attacker could potentially exploit this to
obtain sensitive information. (CVE-2020-6792)

Mutiple security issues were discovered in Thunderbird. If a user were
tricked in to opening a specially crafted message, an attacker could
potentially exploit these to cause a denial of service, obtain
sensitive information, or execute arbitrary code. (CVE-2020-6793,
CVE-2020-6795, CVE-2020-6822)

It was discovered that if a user saved passwords before Thunderbird 60
and then later set a master password, an unencrypted copy of these
passwords would still be accessible. A local user could exploit this
to obtain sensitive information. (CVE-2020-6794)

It was discovered that the Devtools' 'Copy as cURL' feature did
not fully escape website-controlled data. If a user were tricked in to
using the 'Copy as cURL' feature to copy and paste a command with
specially crafted data in to a terminal, an attacker could potentially
exploit this to execute arbitrary commands via command injection.
(CVE-2020-6811).

Note that Tenable Network Security has extracted the preceding
description block directly from the Ubuntu security advisory. 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://usn.ubuntu.com/4335-1/"
  );
  script_set_attribute(
    attribute:"solution",
    value:"Update the affected thunderbird package."
  );
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/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: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:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:thunderbird");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:canonical:ubuntu_linux:16.04");

  script_set_attribute(attribute:"vuln_publication_date", value:"2019/09/04");
  script_set_attribute(attribute:"patch_publication_date", value:"2020/04/21");
  script_set_attribute(attribute:"plugin_publication_date", value:"2020/04/22");
  script_set_attribute(attribute:"generated_plugin", value:"current");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_copyright(english:"Ubuntu Security Notice (C) 2020-2021 Canonical, Inc. / NASL script (C) 2020-2021 and is owned by Tenable, Inc. or an Affiliate thereof.");
  script_family(english:"Ubuntu Local Security Checks");

  script_dependencies("ssh_get_info.nasl");
  script_require_keys("Host/cpu", "Host/Ubuntu", "Host/Ubuntu/release", "Host/Debian/dpkg-l");

  exit(0);
}


include("audit.inc");
include("ubuntu.inc");
include("misc_func.inc");

if ( ! get_kb_item("Host/local_checks_enabled") ) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
release = get_kb_item("Host/Ubuntu/release");
if ( isnull(release) ) audit(AUDIT_OS_NOT, "Ubuntu");
release = chomp(release);
if (! preg(pattern:"^(16\.04)$", string:release)) audit(AUDIT_OS_NOT, "Ubuntu 16.04", "Ubuntu " + release);
if ( ! get_kb_item("Host/Debian/dpkg-l") ) 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, "Ubuntu", cpu);

flag = 0;

if (ubuntu_check(osver:"16.04", pkgname:"thunderbird", pkgver:"1:68.7.0+build1-0ubuntu0.16.04.2")) flag++;

if (flag)
{
  security_report_v4(
    port       : 0,
    severity   : SECURITY_HOLE,
    extra      : ubuntu_report_get()
  );
  exit(0);
}
else
{
  tested = ubuntu_pkg_tests_get();
  if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
  else audit(AUDIT_PACKAGE_NOT_INSTALLED, "thunderbird");
}

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

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

Go back to menu.

How to Run


Here is how to run the Ubuntu 16.04 LTS : Thunderbird vulnerabilities (USN-4335-1) 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 Ubuntu Local Security Checks plugin family.
  6. On the right side table select Ubuntu 16.04 LTS : Thunderbird vulnerabilities (USN-4335-1) plugin ID 135896.
  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 ubuntu_USN-4335-1.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

/opt/nessus/bin/nasl -a ubuntu_USN-4335-1.nasl -t <IP/HOST>

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

/opt/nessus/bin/nasl -T - ubuntu_USN-4335-1.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 ubuntu_USN-4335-1.nasl -t <IP/HOST>

Go back to menu.

References


USN | Ubuntu Security Notice: See also: Similar and related Nessus plugins:
  • 134831 - RHEL 7 : thunderbird (RHSA-2020:0905)
  • 134838 - RHEL 8 : firefox (RHSA-2020:0819)
  • 134839 - Debian DSA-4645-1 : chromium - security update
  • 134842 - Fedora 31 : chromium (2020-7fd051b378)
  • 134848 - Scientific Linux Security Update : thunderbird on SL6.x i386/x86_64 (20200323)
  • 134867 - RHEL 8 : thunderbird (RHSA-2020:0919)
  • 134868 - RHEL 8 : thunderbird (RHSA-2020:0918)
  • 134869 - RHEL 6 : thunderbird (RHSA-2020:0914)
  • 134886 - Oracle Linux 8 : thunderbird (ELSA-2020-0919)
  • 134900 - CentOS 7 : firefox (CESA-2020:0815)
  • 134901 - CentOS 6 : firefox (CESA-2020:0816)
  • 134911 - CentOS 7 : thunderbird (CESA-2020:0905)
  • 134914 - CentOS 6 : thunderbird (CESA-2020:0914)
  • 134990 - Fedora 30 : chromium (2020-39e0b8bd14)
  • 135086 - RHEL 6 : chromium-browser (RHSA-2020:1270)
  • 135455 - Ubuntu 18.04 LTS / 19.10 : Thunderbird vulnerabilities (USN-4328-1)
  • 135607 - EulerOS Virtualization 3.0.2.2 : expat (EulerOS-SA-2020-1445)
  • 135932 - Amazon Linux 2 : thunderbird (ALAS-2020-1414)
  • 136920 - Apple iOS < 13.5 Multiple Vulnerabilities
  • 137638 - Photon OS 1.0: Expat PHSA-2020-1.0-0301
  • 137705 - RHEL 6 / 7 : Red Hat JBoss Core Services Apache HTTP Server 2.4.37 SP3 (RHSA-2020:2644)
  • 137716 - Photon OS 2.0: Expat PHSA-2020-2.0-0254
  • 138078 - Apple iCloud 10.x < 10.9 Multiple Vulnerabilities
  • 138081 - Apple iCloud 7.x < 7.16 Multiple Vulnerabilities
  • 138215 - Microsoft Edge (Chromium) < 80.0.361.69 Multiple Vulnerabilities
  • 140283 - NewStart CGSL MAIN 4.05 : firefox Multiple Vulnerabilities (NS-SA-2020-0047)
  • 140291 - NewStart CGSL MAIN 4.05 : thunderbird Multiple Vulnerabilities (NS-SA-2020-0046)
  • 140292 - NewStart CGSL CORE 5.04 / MAIN 5.04 : firefox Multiple Vulnerabilities (NS-SA-2020-0039)
  • 141017 - RHEL 7 : expat (RHSA-2020:3952)
  • 141062 - Debian DLA-2388-1 : nss security update
  • 141223 - Oracle Linux 7 : expat (ELSA-2020-3952)
  • 141402 - NewStart CGSL CORE 5.04 / MAIN 5.04 : thunderbird Multiple Vulnerabilities (NS-SA-2020-0042)
  • 141594 - CentOS 7 : expat (CESA-2020:3952)
  • 141698 - Scientific Linux Security Update : expat on SL7.x x86_64 (20201001)

Version


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

Go back to menu.