Debian DSA-2720-1 : icedove - several vulnerabilities - Nessus

Critical   Plugin ID: 67201

This page contains detailed information about the Debian DSA-2720-1 : icedove - several vulnerabilities Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 67201
Name: Debian DSA-2720-1 : icedove - several vulnerabilities
Filename: debian_DSA-2720.nasl
Vulnerability Published: 2013-04-03
This Plugin Published: 2013-07-07
Last Modification Time: 2022-03-29
Plugin Version: 1.25
Plugin Type: local
Plugin Family: Debian Local Security Checks
Dependencies: ssh_get_info.nasl
Required KB Items [?]: Host/Debian/dpkg-l, Host/Debian/release, Host/local_checks_enabled

Vulnerability Information


Severity: Critical
Vulnerability Published: 2013-04-03
Patch Published: 2013-07-06
CVE [?]: CVE-2013-0795, CVE-2013-0801, CVE-2013-1670, CVE-2013-1674, CVE-2013-1675, CVE-2013-1676, CVE-2013-1677, CVE-2013-1678, CVE-2013-1679, CVE-2013-1680, CVE-2013-1681, CVE-2013-1682, CVE-2013-1684, CVE-2013-1685, CVE-2013-1686, CVE-2013-1687, CVE-2013-1690, CVE-2013-1692, CVE-2013-1693, CVE-2013-1694, CVE-2013-1697
CPE [?]: cpe:/o:debian:debian_linux:7.0, p-cpe:/a:debian:debian_linux:icedove
Exploited by Malware: True

Synopsis

The remote Debian host is missing a security-related update.

Description

Multiple security issues have been found in Icedove, Debian's version of the Mozilla Thunderbird mail and news client. Multiple memory safety errors, use-after-free vulnerabilities, missing permission checks, incorrect memory handling and other implementation errors may lead to the execution of arbitrary code, privilege escalation, information disclosure or cross-site request forgery.

As already announced for Iceweasel: we're changing the approach for security updates for Icedove in stable-security: instead of backporting security fixes, we now provide releases based on the Extended Support Release branch. As such, this update introduces packages based on Thunderbird 17 and at some point in the future we will switch to the next ESR branch once ESR 17 has reached it's end of life.

Some Icedove extensions currently packaged in the Debian archive are not compatible with the new browser engine. Up-to-date and compatible versions can be retrieved from http://addons.mozilla.org as a short term solution.

An updated and compatible version of Enigmail is included with this update.

The Icedove version in the oldstable distribution (squeeze) is no longer supported with full security updates. However, it should be noted that almost all security issues in Icedove stem from the included browser engine. These security problems only affect Icedove if scripting and HTML mails are enabled. If there are security issues specific to Icedove (e.g. a hypothetical buffer overflow in the IMAP implementation) we'll make an effort to backport such fixes to oldstable.

Solution

Upgrade the icedove packages.

For the stable distribution (wheezy), these problems have been fixed in version 17.0.7-1~deb7u1.

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 Debian DSA-2720-1 : icedove - several vulnerabilities vulnerability:

  1. Metasploit: exploit/windows/browser/mozilla_firefox_onreadystatechange
    [Firefox onreadystatechange Event DocumentViewerImpl Use After Free]
  2. Metasploit: exploit/multi/browser/firefox_tostring_console_injection
    [Firefox toString console.time Privileged Javascript Injection]
  3. Exploit-DB: exploits/windows/remote/27429.rb
    [EDB-27429: Mozilla Firefox - onreadystatechange Event DocumentViewerImpl Use-After-Free (Metasploit)]
  4. Exploit-DB: exploits/multiple/remote/34363.rb
    [EDB-34363: Mozilla Firefox - toString console.time Privileged JavaScript Injection (Metasploit)]
  5. GitHub: https://github.com/vlad902/annotated-fbi-tbb-exploit
    [CVE-2013-1690: Annotated FBI exploit for the Tor Browser Bundle from mid-2013 (CVE-2013-1690)]

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)

Go back to menu.

Plugin Source


This is the debian_DSA-2720.nasl nessus plugin source code. This script is Copyright (C) 2013-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 Debian Security Advisory DSA-2720. The text 
# itself is copyright (C) Software in the Public Interest, Inc.
#

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

if (description)
{
  script_id(67201);
  script_version("1.25");
  script_set_attribute(attribute:"plugin_modification_date", value:"2022/03/29");

  script_cve_id(
    "CVE-2013-0795",
    "CVE-2013-0801",
    "CVE-2013-1670",
    "CVE-2013-1674",
    "CVE-2013-1675",
    "CVE-2013-1676",
    "CVE-2013-1677",
    "CVE-2013-1678",
    "CVE-2013-1679",
    "CVE-2013-1680",
    "CVE-2013-1681",
    "CVE-2013-1682",
    "CVE-2013-1684",
    "CVE-2013-1685",
    "CVE-2013-1686",
    "CVE-2013-1687",
    "CVE-2013-1690",
    "CVE-2013-1692",
    "CVE-2013-1693",
    "CVE-2013-1694",
    "CVE-2013-1697"
  );
  script_bugtraq_id(
    60765,
    60766,
    60773,
    60774,
    60776,
    60777,
    60778,
    60783,
    60784,
    60787
  );
  script_xref(name:"DSA", value:"2720");
  script_xref(name:"CISA-KNOWN-EXPLOITED", value:"2022/03/24");
  script_xref(name:"CISA-KNOWN-EXPLOITED", value:"2022/04/18");

  script_name(english:"Debian DSA-2720-1 : icedove - several vulnerabilities");

  script_set_attribute(attribute:"synopsis", value:
"The remote Debian host is missing a security-related update.");
  script_set_attribute(attribute:"description", value:
"Multiple security issues have been found in Icedove, Debian's version
of the Mozilla Thunderbird mail and news client. Multiple memory
safety errors, use-after-free vulnerabilities, missing permission
checks, incorrect memory handling and other implementation errors may
lead to the execution of arbitrary code, privilege escalation,
information disclosure or cross-site request forgery.

As already announced for Iceweasel: we're changing the approach for
security updates for Icedove in stable-security: instead of
backporting security fixes, we now provide releases based on the
Extended Support Release branch. As such, this update introduces
packages based on Thunderbird 17 and at some point in the future we
will switch to the next ESR branch once ESR 17 has reached it's end of
life.

Some Icedove extensions currently packaged in the Debian archive are
not compatible with the new browser engine. Up-to-date and compatible
versions can be retrieved from http://addons.mozilla.org as a short
term solution.

An updated and compatible version of Enigmail is included with this
update.

The Icedove version in the oldstable distribution (squeeze) is no
longer supported with full security updates. However, it should be
noted that almost all security issues in Icedove stem from the
included browser engine. These security problems only affect Icedove
if scripting and HTML mails are enabled. If there are security issues
specific to Icedove (e.g. a hypothetical buffer overflow in the IMAP
implementation) we'll make an effort to backport such fixes to
oldstable.");
  script_set_attribute(attribute:"see_also", value:"https://addons.mozilla.org/en-US/firefox/");
  script_set_attribute(attribute:"see_also", value:"https://packages.debian.org/source/wheezy/icedove");
  script_set_attribute(attribute:"see_also", value:"https://www.debian.org/security/2013/dsa-2720");
  script_set_attribute(attribute:"solution", value:
"Upgrade the icedove packages.

For the stable distribution (wheezy), these problems have been fixed
in version 17.0.7-1~deb7u1.");
  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_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:'Firefox onreadystatechange Event DocumentViewerImpl Use After Free');
  script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");

  script_set_attribute(attribute:"vuln_publication_date", value:"2013/04/03");
  script_set_attribute(attribute:"patch_publication_date", value:"2013/07/06");
  script_set_attribute(attribute:"plugin_publication_date", value:"2013/07/07");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:icedove");
  script_set_attribute(attribute:"cpe", value:"cpe:/o:debian:debian_linux:7.0");
  script_set_attribute(attribute:"generated_plugin", value:"current");
  script_end_attributes();

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

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

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

  exit(0);
}


include("audit.inc");
include("debian_package.inc");


if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
if (!get_kb_item("Host/Debian/release")) audit(AUDIT_OS_NOT, "Debian");
if (!get_kb_item("Host/Debian/dpkg-l")) audit(AUDIT_PACKAGE_LIST_MISSING);


flag = 0;
if (deb_check(release:"7.0", prefix:"calendar-google-provider", reference:"17.0.7-1~deb7u1")) flag++;
if (deb_check(release:"7.0", prefix:"icedove", reference:"17.0.7-1~deb7u1")) flag++;
if (deb_check(release:"7.0", prefix:"icedove-dbg", reference:"17.0.7-1~deb7u1")) flag++;
if (deb_check(release:"7.0", prefix:"icedove-dev", reference:"17.0.7-1~deb7u1")) flag++;
if (deb_check(release:"7.0", prefix:"iceowl-extension", reference:"17.0.7-1~deb7u1")) flag++;

if (flag)
{
  if (report_verbosity > 0) security_hole(port:0, extra:deb_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/debian_DSA-2720.nasl
  • Windows:
    C:\ProgramData\Tenable\Nessus\nessus\plugins\debian_DSA-2720.nasl
  • Mac OS X:
    /Library/Nessus/run/lib/nessus/plugins/debian_DSA-2720.nasl

Go back to menu.

How to Run


Here is how to run the Debian DSA-2720-1 : icedove - several vulnerabilities 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 Debian Local Security Checks plugin family.
  6. On the right side table select Debian DSA-2720-1 : icedove - several vulnerabilities plugin ID 67201.
  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 debian_DSA-2720.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

/opt/nessus/bin/nasl -a debian_DSA-2720.nasl -t <IP/HOST>

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

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

Go back to menu.

References


BID | SecurityFocus Bugtraq ID: DSA | Debian Security Advisory: See also: Similar and related Nessus plugins:
  • 23942 - CentOS 4 : Firefox (CESA-2006:0758)
  • 67323 - Fedora 18 : firefox-22.0-1.fc18 / thunderbird-17.0.7-1.fc18 / xulrunner-22.0-1.fc18 (2013-11776)
  • 67325 - Fedora 17 : firefox-22.0-1.fc17 / thunderbird-17.0.7-1.fc17 / xulrunner-22.0-1.fc17 (2013-11799)
  • 70183 - GLSA-201309-23 : Mozilla Products: Multiple vulnerabilities
  • 66988 - Firefox ESR 17.x < 17.0.7 Multiple Vulnerabilities (Mac OS X)
  • 66989 - Firefox < 22.0 Multiple Vulnerabilities (Mac OS X)
  • 66991 - Thunderbird ESR 17.x < 17.0.7 Multiple Vulnerabilities (Mac OS X)
  • 66990 - Thunderbird < 17.0.7 Multiple Vulnerabilities (Mac OS X)
  • 66992 - Firefox ESR 17.x < 17.0.7 Multiple Vulnerabilities
  • 66993 - Firefox < 22.0 Multiple Vulnerabilities
  • 66995 - Mozilla Thunderbird ESR 17.x < 17.0.7 Multiple Vulnerabilities
  • 66994 - Mozilla Thunderbird < 17.0.7 Multiple Vulnerabilities
  • 67430 - Oracle Linux 4 : firefox (ELSA-2006-0758)
  • 23960 - RHEL 4 : firefox (RHSA-2006:0758)
  • 67000 - Ubuntu 12.04 LTS / 12.10 / 13.04 : firefox vulnerabilities (USN-1890-1)
  • 67186 - Ubuntu 12.04 LTS / 12.10 / 13.04 : firefox regression (USN-1890-2)

Version


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

Go back to menu.