Debian DSA-781-1 : mozilla-thunderbird - several vulnerabilities - Nessus
High Plugin ID: 19478This page contains detailed information about the Debian DSA-781-1 : mozilla-thunderbird - 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: 19478
Name: Debian DSA-781-1 : mozilla-thunderbird - several vulnerabilities
Filename: debian_DSA-781.nasl
Vulnerability Published: N/A
This Plugin Published: 2005-08-23
Last Modification Time: 2021-01-04
Plugin Version: 1.34
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: High
Vulnerability Published: N/A
Patch Published: 2005-08-23
CVE [?]: CVE-2005-0989, CVE-2005-1159, CVE-2005-1160, CVE-2005-1532, CVE-2005-2261, CVE-2005-2265, CVE-2005-2266, CVE-2005-2269, CVE-2005-2270
CPE [?]: cpe:/o:debian:debian_linux:3.1, p-cpe:/a:debian:debian_linux:mozilla-thunderbird
Exploited by Malware: True
Synopsis
The remote Debian host is missing a security-related update.
Description
Several problems have been discovered in Mozilla Thunderbird, the standalone mail client of the Mozilla suite. The Common Vulnerabilities and Exposures project identifies the following problems :
- CAN-2005-0989 Remote attackers could read portions of heap memory into a JavaScript string via the lambda replace method.
- CAN-2005-1159
The JavaScript interpreter could be tricked to continue execution at the wrong memory address, which may allow attackers to cause a denial of service (application crash) and possibly execute arbitrary code.
- CAN-2005-1160
Remote attackers could override certain properties or methods of DOM nodes and gain privileges.
- CAN-2005-1532
Remote attackers could override certain properties or methods due to missing proper limitation of JavaScript eval and Script objects and gain privileges.
- CAN-2005-2261
XML scripts ran even when JavaScript disabled.
- CAN-2005-2265
Missing input sanitising of InstallVersion.compareTo() can cause the application to crash.
- CAN-2005-2266
Remote attackers could steal sensitive information such as cookies and passwords from websites by accessing data in alien frames.
- CAN-2005-2269
Remote attackers could modify certain tag properties of DOM nodes that could lead to the execution of arbitrary script or code.
- CAN-2005-2270
The Mozilla browser family does not properly clone base objects, which allows remote attackers to execute arbitrary code.
Solution
Upgrade the Mozilla Thunderbird package.
The old stable distribution (woody) is not affected by these problems since it does not contain Mozilla Thunderbird packages.
For the stable distribution (sarge) these problems have been fixed in version 1.0.2-2.sarge1.0.6.
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-781-1 : mozilla-thunderbird - several vulnerabilities vulnerability:
- Metasploit: exploit/multi/browser/mozilla_compareto
[Mozilla Suite/Firefox compareTo() Code Execution] - Exploit-DB: exploits/windows/remote/9947.rb
[EDB-9947: Mozilla Suite/Firefox < 1.0.5 - compareTo Code Execution (Metasploit)] - Exploit-DB: exploits/windows/remote/16306.rb
[EDB-16306: Mozilla Suite/Firefox - InstallVersion->compareTo() Code Execution (Metasploit)] - GitHub: https://github.com/jimmyislive/gocve
[CVE-2005-2266]
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) |
Go back to menu.
Plugin Source
This is the debian_DSA-781.nasl nessus plugin source code. This script is Copyright (C) 2005-2021 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-781. The text
# itself is copyright (C) Software in the Public Interest, Inc.
#
if (NASL_LEVEL < 3000) exit(0);
include('deprecated_nasl_level.inc');
include('compat.inc');
if (description)
{
script_id(19478);
script_version("1.34");
script_set_attribute(attribute:"plugin_modification_date", value:"2021/01/04");
script_cve_id("CVE-2005-0989", "CVE-2005-1159", "CVE-2005-1160", "CVE-2005-1532", "CVE-2005-2261", "CVE-2005-2265", "CVE-2005-2266", "CVE-2005-2269", "CVE-2005-2270");
script_bugtraq_id(14242);
script_xref(name:"DSA", value:"781");
script_name(english:"Debian DSA-781-1 : mozilla-thunderbird - several vulnerabilities");
script_summary(english:"Checks dpkg output for the updated package");
script_set_attribute(
attribute:"synopsis",
value:"The remote Debian host is missing a security-related update."
);
script_set_attribute(
attribute:"description",
value:
"Several problems have been discovered in Mozilla Thunderbird, the
standalone mail client of the Mozilla suite. The Common
Vulnerabilities and Exposures project identifies the following
problems :
- CAN-2005-0989
Remote attackers could read portions of heap memory into
a JavaScript string via the lambda replace method.
- CAN-2005-1159
The JavaScript interpreter could be tricked to continue
execution at the wrong memory address, which may allow
attackers to cause a denial of service (application
crash) and possibly execute arbitrary code.
- CAN-2005-1160
Remote attackers could override certain properties or
methods of DOM nodes and gain privileges.
- CAN-2005-1532
Remote attackers could override certain properties or
methods due to missing proper limitation of JavaScript
eval and Script objects and gain privileges.
- CAN-2005-2261
XML scripts ran even when JavaScript disabled.
- CAN-2005-2265
Missing input sanitising of InstallVersion.compareTo()
can cause the application to crash.
- CAN-2005-2266
Remote attackers could steal sensitive information such
as cookies and passwords from websites by accessing data
in alien frames.
- CAN-2005-2269
Remote attackers could modify certain tag properties of
DOM nodes that could lead to the execution of arbitrary
script or code.
- CAN-2005-2270
The Mozilla browser family does not properly clone base
objects, which allows remote attackers to execute
arbitrary code."
);
script_set_attribute(
attribute:"see_also",
value:"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=318728"
);
script_set_attribute(
attribute:"see_also",
value:"http://www.debian.org/security/2005/dsa-781"
);
script_set_attribute(
attribute:"solution",
value:
"Upgrade the Mozilla Thunderbird package.
The old stable distribution (woody) is not affected by these problems
since it does not contain Mozilla Thunderbird packages.
For the stable distribution (sarge) these problems have been fixed in
version 1.0.2-2.sarge1.0.6."
);
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_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:'Mozilla Suite/Firefox compareTo() Code Execution');
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:debian:debian_linux:mozilla-thunderbird");
script_set_attribute(attribute:"cpe", value:"cpe:/o:debian:debian_linux:3.1");
script_set_attribute(attribute:"patch_publication_date", value:"2005/08/23");
script_set_attribute(attribute:"plugin_publication_date", value:"2005/08/23");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_copyright(english:"This script is Copyright (C) 2005-2021 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_family(english:"Debian Local Security Checks");
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:"3.1", prefix:"mozilla-thunderbird", reference:"1.0.2-2.sarge1.0.6")) flag++;
if (deb_check(release:"3.1", prefix:"mozilla-thunderbird-dev", reference:"1.0.2-2.sarge1.0.6")) flag++;
if (deb_check(release:"3.1", prefix:"mozilla-thunderbird-inspector", reference:"1.0.2-2.sarge1.0.6")) flag++;
if (deb_check(release:"3.1", prefix:"mozilla-thunderbird-offline", reference:"1.0.2-2.sarge1.0.6")) flag++;
if (deb_check(release:"3.1", prefix:"mozilla-thunderbird-typeaheadfind", reference:"1.0.2-2.sarge1.0.6")) 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-781.nasl
- Windows:
C:\ProgramData\Tenable\Nessus\nessus\plugins\debian_DSA-781.nasl
- Mac OS X:
/Library/Nessus/run/lib/nessus/plugins/debian_DSA-781.nasl
Go back to menu.
How to Run
Here is how to run the Debian DSA-781-1 : mozilla-thunderbird - several vulnerabilities as a standalone plugin via the Nessus web user interface (https://localhost:8834/):
- Click to start a New Scan.
- Select Advanced Scan.
- Navigate to the Plugins tab.
- On the top right corner click to Disable All plugins.
- On the left side table select Debian Local Security Checks plugin family.
- On the right side table select Debian DSA-781-1 : mozilla-thunderbird - several vulnerabilities plugin ID 19478.
- Specify the target on the Settings tab and click to Save the scan.
- 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-781.nasl -t <IP/HOST>
Run the plugin with audit trail message on the console:
/opt/nessus/bin/nasl -a debian_DSA-781.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-781.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-781.nasl -t <IP/HOST>
Go back to menu.
References
BID | SecurityFocus Bugtraq ID: DSA | Debian Security Advisory: See also:
- https://www.tenable.com/plugins/nessus/19478
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=318728
- http://www.debian.org/security/2005/dsa-781
- https://vulners.com/nessus/DEBIAN_DSA-781.NASL
- 21949 - CentOS 4 : firefox (CESA-2005:586)
- 21844 - CentOS 3 / 4 : mozilla (CESA-2005:587)
- 21952 - CentOS 4 : thunderbird (CESA-2005:601)
- 19476 - Debian DSA-779-2 : mozilla-firefox - several vulnerabilities
- 19685 - Debian DSA-810-1 : mozilla - several vulnerabilities
- 19345 - FreeBSD : firefox & mozilla -- multiple vulnerabilities (5d72701a-f601-11d9-bcd1-02061b08fc24)
- 19888 - Mandrake Linux Security Advisory : mozilla (MDKSA-2005:128)
- 18813 - Mozilla Browser < 1.7.9 Multiple Vulnerabilities
- 18689 - Firefox < 1.0.6 Multiple Vulnerabilities
- 19269 - Mozilla Thunderbird < 1.0.6 Multiple Vulnerabilities
- 19268 - RHEL 4 : firefox (RHSA-2005:586)
- 19285 - RHEL 2.1 / 3 / 4 : mozilla (RHSA-2005:587)
- 19277 - RHEL 4 : thunderbird (RHSA-2005:601)
- 20544 - Ubuntu 5.04 : mozilla-firefox vulnerabilities (USN-149-1)
- 20546 - Ubuntu 4.10 : mozilla-firefox vulnerabilities (USN-149-3)
- 20556 - Ubuntu 4.10 / 5.04 : mozilla vulnerabilities (USN-155-1)
- 20560 - Ubuntu 4.10 / 5.04 : mozilla-thunderbird vulnerabilities (USN-157-1)
- 19431 - Debian DSA-775-1 : mozilla-firefox - frame injection spoofing
- 19433 - Debian DSA-777-1 : mozilla - frame injection spoofing
Version
This page has been produced using Nessus Professional 10.1.2 (#68) LINUX, Plugin set 202205072148.
Plugin file debian_DSA-781.nasl version 1.34. For more plugins, visit the Nessus Plugin Library.
Go back to menu.