Vulnerabilities > CVE-2018-18499 - Origin Validation Error vulnerability in Mozilla Firefox and Firefox ESR

047910
CVSS 4.3 - MEDIUM
Attack vector
NETWORK
Attack complexity
MEDIUM
Privileges required
NONE
Confidentiality impact
PARTIAL
Integrity impact
NONE
Availability impact
NONE
network
mozilla
CWE-346
nessus

Summary

A same-origin policy violation allowing the theft of cross-origin URL entries when using a meta http-equiv="refresh" on a page to cause a redirection to another site using performance.getEntries(). This is a same-origin policy violation and could allow for data theft. This vulnerability affects Firefox < 62, Firefox ESR < 60.2, and Thunderbird < 60.2.1.

Vulnerable Configurations

Part Description Count
Application
Mozilla
869

Common Weakness Enumeration (CWE)

Common Attack Pattern Enumeration and Classification (CAPEC)

  • JSON Hijacking (aka JavaScript Hijacking)
    An attacker targets a system that uses JavaScript Object Notation (JSON) as a transport mechanism between the client and the server (common in Web 2.0 systems using AJAX) to steal possibly confidential information transmitted from the server back to the client inside the JSON object by taking advantage of the loophole in the browser's Same Origin Policy that does not prohibit JavaScript from one website to be included and executed in the context of another website. An attacker gets the victim to visit his or her malicious page that contains a script tag whose source points to the vulnerable system with a URL that requests a response from the server containing a JSON object with possibly confidential information. The malicious page also contains malicious code to capture the JSON object returned by the server before any other processing on it can take place, typically by overriding the JavaScript function used to create new objects. This hook allows the malicious code to get access to the creation of each object and transmit the possibly sensitive contents of the captured JSON object to the attackers' server. There is nothing in the browser's security model to prevent the attackers' malicious JavaScript code (originating from attacker's domain) to set up an environment (as described above) to intercept a JSON object response (coming from the vulnerable target system's domain), read its contents and transmit to the attackers' controlled site. The same origin policy protects the domain object model (DOM), but not the JSON.
  • Cache Poisoning
    An attacker exploits the functionality of cache technologies to cause specific data to be cached that aids the attackers' objectives. This describes any attack whereby an attacker places incorrect or harmful material in cache. The targeted cache can be an application's cache (e.g. a web browser cache) or a public cache (e.g. a DNS or ARP cache). Until the cache is refreshed, most applications or clients will treat the corrupted cache value as valid. This can lead to a wide range of exploits including redirecting web browsers towards sites that install malware and repeatedly incorrect calculations based on the incorrect value.
  • DNS Cache Poisoning
    A domain name server translates a domain name (such as www.example.com) into an IP address that Internet hosts use to contact Internet resources. An attacker modifies a public DNS cache to cause certain names to resolve to incorrect addresses that the attacker specifies. The result is that client applications that rely upon the targeted cache for domain name resolution will be directed not to the actual address of the specified domain name but to some other address. Attackers can use this to herd clients to sites that install malware on the victim's computer or to masquerade as part of a Pharming attack.
  • Exploitation of Session Variables, Resource IDs and other Trusted Credentials
    Attacks on session IDs and resource IDs take advantage of the fact that some software accepts user input without verifying its authenticity. For example, a message queuing system that allows service requesters to post messages to its queue through an open channel (such as anonymous FTP), authorization is done through checking group or role membership contained in the posted message. However, there is no proof that the message itself, the information in the message (such group or role membership), or indeed the process that wrote the message to the queue are authentic and authorized to do so. Many server side processes are vulnerable to these attacks because the server to server communications have not been analyzed from a security perspective or the processes "trust" other systems because they are behind a firewall. In a similar way servers that use easy to guess or spoofable schemes for representing digital identity can also be vulnerable. Such systems frequently use schemes without cryptography and digital signatures (or with broken cryptography). Session IDs may be guessed due to insufficient randomness, poor protection (passed in the clear), lack of integrity (unsigned), or improperly correlation with access control policy enforcement points. Exposed configuration and properties files that contain system passwords, database connection strings, and such may also give an attacker an edge to identify these identifiers. The net result is that spoofing and impersonation is possible leading to an attacker's ability to break authentication, authorization, and audit controls on the system.
  • Application API Message Manipulation via Man-in-the-Middle
    An attacker manipulates either egress or ingress data from a client within an application framework in order to change the content of messages. Performing this attack can allow the attacker to gain unauthorized privileges within the application, or conduct attacks such as phishing, deceptive strategies to spread malware, or traditional web-application attacks. The techniques require use of specialized software that allow the attacker to man-in-the-middle communications between the web browser and the remote system. Despite the use of MITM software, the attack is actually directed at the server, as the client is one node in a series of content brokers that pass information along to the application framework. Additionally, it is not true "Man-in-the-Middle" attack at the network layer, but an application-layer attack the root cause of which is the master applications trust in the integrity of code supplied by the client.

Nessus

  • NASL familyMacOS X Local Security Checks
    NASL idMACOSX_FIREFOX_62_0.NASL
    descriptionThe version of Mozilla Firefox installed on the remote macOS host is prior to 62. It is, therefore, affected by multiple vulnerabilities as noted in Mozilla Firefox stable channel update release notes for 2018/09/05. Please refer to the release notes for additional information. Note that Nessus has not attempted to exploit these issues but has instead relied only on the application
    last seen2020-06-01
    modified2020-06-02
    plugin id119748
    published2018-12-18
    reporterThis script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/119748
    titleMozilla Firefox < 62 Multiple Vulnerabilities (macOS)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(119748);
      script_version("1.2");
      script_cvs_date("Date: 2019/04/05 23:25:06");
    
      script_cve_id(
        "CVE-2017-16541",
        "CVE-2018-12375",
        "CVE-2018-12376",
        "CVE-2018-12377",
        "CVE-2018-12378",
        "CVE-2018-12379",
        "CVE-2018-12381",
        "CVE-2018-12382",
        "CVE-2018-12383",
        "CVE-2018-18499"
      );
    
      script_name(english:"Mozilla Firefox < 62 Multiple Vulnerabilities (macOS)");
      script_summary(english:"Checks the version of Firefox.");
    
      script_set_attribute(attribute:"synopsis", value:
    "A web browser installed on the remote macOS host is affected by
    multiple vulnerabilities.");
      script_set_attribute(attribute:"description", value:
    "The version of Mozilla Firefox installed on the remote macOS host is
    prior to 62. It is, therefore, affected by multiple vulnerabilities as
    noted in Mozilla Firefox stable channel update release notes for
    2018/09/05. Please refer to the release notes for additional
    information. Note that Nessus has not attempted to exploit these
    issues but has instead relied only on the application's self-reported
    version number.");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1412081
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?eeb4654f");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1433502
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?3f3e46cb");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1435319
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?6f8c53b5");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1450989
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?20fb56d5");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1459383
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?0ba771ab");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1461027
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?9999cb80");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1462693
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?63398af6");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1466577
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?ec8a52cc");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1466991
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?729f9359");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1467363
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?1de4cab5");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1467889
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?c5d40321");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1468523
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?38d5db79");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1468738
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?2e15e66a");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1469309
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?71d5c763");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1469914
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?0410b02e");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1470260
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?c939fbe7");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1471953
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?06cc0e92");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1472925
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?635f0fa0");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1473113
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?4376815f");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1473161
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?99b48daf");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1475431
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?b90402bb");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1475775
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?bc528cf5");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1478575
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?fdfa1d66");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1478849
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?d0c0acea");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1479311
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?f284ef32");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1480092
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?69cce0e2");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1480517
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?ae70d802");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1480521
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?dd5f0586");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1480965
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?7be72ad4");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1481093
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?7d6a368a");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1483120
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?61040df6");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=894215
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?9284762b");
      # https://www.mozilla.org/en-US/security/advisories/mfsa2018-20/
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?8517426b");
      script_set_attribute(attribute:"solution", value:
    "Upgrade to Mozilla Firefox version 62 or later.");
      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:POC/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:P/RL:O/RC:C");
      script_set_attribute(attribute:"cvss_score_source", value:"CVE-2018-12376");
      script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
      script_set_attribute(attribute:"exploit_available", value:"true");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2018/09/05");
      script_set_attribute(attribute:"patch_publication_date", value:"2018/09/05");
      script_set_attribute(attribute:"plugin_publication_date", value:"2018/12/18");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"cpe:/a:mozilla:firefox");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_family(english:"MacOS X Local Security Checks");
    
      script_copyright(english:"This script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
    
      script_dependencies("macosx_firefox_installed.nasl");
      script_require_keys("MacOSX/Firefox/Installed");
    
      exit(0);
    }
    
    include("mozilla_version.inc");
    
    kb_base = "MacOSX/Firefox";
    get_kb_item_or_exit(kb_base+"/Installed");
    
    version = get_kb_item_or_exit(kb_base+"/Version", exit_code:1);
    path = get_kb_item_or_exit(kb_base+"/Path", exit_code:1);
    
    if (get_kb_item(kb_base + '/is_esr')) exit(0, 'The Mozilla Firefox installation is in the ESR branch.');
    
    mozilla_check_version(product:'firefox', version:version, path:path, esr:FALSE, fix:'62', severity:SECURITY_HOLE);
    
  • NASL familyMacOS X Local Security Checks
    NASL idMACOSX_FIREFOX_60_2_ESR.NASL
    descriptionThe version of Mozilla Firefox ESR installed on the remote macOS or Mac OS X host is prior to 60.2. It is, therefore, affected by multiple vulnerabilities, some of which allow code execution and potentially exploitable crashes.
    last seen2020-06-01
    modified2020-06-02
    plugin id117292
    published2018-09-06
    reporterThis script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/117292
    titleMozilla Firefox ESR < 60.2 Multiple Vulnerabilities (macOS)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(117292);
      script_version("1.7");
      script_cvs_date("Date: 2019/04/05 23:25:06");
    
      script_cve_id(
        "CVE-2017-16541",
        "CVE-2018-12376",
        "CVE-2018-12377",
        "CVE-2018-12378",
        "CVE-2018-12379",
        "CVE-2018-12381",
        "CVE-2018-18499"
      );
      script_bugtraq_id("101665");
      script_xref(name:"MFSA", value:"2018-21");
    
      script_name(english:"Mozilla Firefox ESR < 60.2 Multiple Vulnerabilities (macOS)");
      script_summary(english:"Checks the version of Firefox ESR.");
    
      script_set_attribute(attribute:"synopsis", value:
    "A web browser installed on the remote macOS or Mac OS X host is
    affected by multiple vulnerabilities.");
      script_set_attribute(attribute:"description", value:
    "The version of Mozilla Firefox ESR installed on the remote macOS or
    Mac OS X host is prior to 60.2. It is, therefore, affected by
    multiple vulnerabilities, some of which allow code execution and
    potentially exploitable crashes.");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1412081
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?eeb4654f");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1435319
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?6f8c53b5");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1450989
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?20fb56d5");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1459383
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?0ba771ab");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1466577
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?ec8a52cc");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1466991
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?729f9359");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1467363
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?1de4cab5");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1467889
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?c5d40321");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1468523
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?38d5db79");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1468738
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?2e15e66a");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1469309
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?71d5c763");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1469914
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?0410b02e");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1470260
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?c939fbe7");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1471953
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?06cc0e92");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1472925
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?635f0fa0");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1473113
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?4376815f");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1473161
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?99b48daf");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1478575
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?fdfa1d66");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1478849
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?d0c0acea");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1480092
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?69cce0e2");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1480517
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?ae70d802");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1480521
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?dd5f0586");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1481093
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?7d6a368a");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1483120
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?61040df6");
      # https://www.mozilla.org/en-US/security/advisories/mfsa2018-21/
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?387cd93f");
      script_set_attribute(attribute:"solution", value:
    "Upgrade to Mozilla Firefox version 62.0.0 or later.");
      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:POC/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:P/RL:O/RC:C");
      script_set_attribute(attribute:"cvss_score_source", value:"CVE-2018-12376");
      script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
      script_set_attribute(attribute:"exploit_available", value:"true");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2018/09/05");
      script_set_attribute(attribute:"patch_publication_date", value:"2018/09/05");
      script_set_attribute(attribute:"plugin_publication_date", value:"2018/09/06");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"cpe:/a:mozilla:firefox_esr");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_family(english:"MacOS X Local Security Checks");
    
      script_copyright(english:"This script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
    
      script_dependencies("macosx_firefox_installed.nasl");
      script_require_keys("MacOSX/Firefox/Version");
    
      exit(0);
    }
    
    include("mozilla_version.inc");
    
    kb_base = "MacOSX/Firefox";
    get_kb_item_or_exit(kb_base+"/Installed");
    
    version = get_kb_item_or_exit(kb_base+"/Version", exit_code:1);
    path = get_kb_item_or_exit(kb_base+"/Path", exit_code:1);
    
    is_esr = get_kb_item(kb_base+"/is_esr");
    if (isnull(is_esr)) audit(AUDIT_NOT_INST, "Mozilla Firefox ESR");
    
    mozilla_check_version(product:'firefox', version:version, path:path, esr:TRUE, fix:'60.2', min:'60.0', severity:SECURITY_HOLE);
    
  • NASL familyMacOS X Local Security Checks
    NASL idMACOS_THUNDERBIRD_60_2_1.NASL
    descriptionThe version of Thunderbird installed on the remote macOS or Mac OS X host is prior to 60.2.1. It is, therefore, affected by multiple vulnerabilities as referenced in the mfsa2018-25 advisory. - A use-after-free vulnerability can occur when refresh driver timers are refreshed in some circumstances during shutdown when the timer is deleted while still in use. This results in a potentially exploitable crash. (CVE-2018-12377) - A use-after-free vulnerability can occur when an IndexedDB index is deleted while still in use by JavaScript code that is providing payload values to be stored. This results in a potentially exploitable crash. (CVE-2018-12378) - A same-origin policy violation allowing the theft of cross-origin URL entries when using a <meta> meta http-equiv=refresh on a page to cause a redirection to another site using performance.getEntries(). This is a same- origin policy violation and could allow for data theft. (CVE-2018-18499) - When the Mozilla Updater opens a MAR format file which contains a very long item filename, an out-of-bounds write can be triggered, leading to a potentially exploitable crash. This requires running the Mozilla Updater manually on the local system with the malicious MAR file in order to occur. (CVE-2018-12379) - Browser proxy settings can be bypassed by using the automount feature with autofs to create a mount point on the local file system. Content can be loaded from this mounted file system directly using a file: URI, bypassing configured proxy settings. *Note: this issue only affects OS X in default configurations. On Linux systems, autofs must be installed for the vulnerability to occur and Windows is not affected.* (CVE-2017-16541) - A potentially exploitable crash in TransportSecurityInfo used for SSL can be triggered by data stored in the local cache in the user profile directory. This issue is only exploitable in combination with another vulnerability allowing an attacker to write data into the local cache or from locally installed malware. This issue also triggers a non-exploitable startup crash for users switching between the Nightly and Release versions of Firefox if the same profile is used. (CVE-2018-12385) - If a user saved passwords before Firefox 58 and then later set a master password, an unencrypted copy of these passwords is still accessible. This is because the older stored password file was not deleted when the data was copied to a new format starting in Firefox 58. The new master password is added only on the new file. This could allow the exposure of stored password data outside of user expectations. (CVE-2018-12383) - Mozilla developers and community members Alex Gaynor, Boris Zbarsky, Christoph Diehl, Christian Holler, Jason Kratzer, Jed Davis, Tyson Smith, Bogdan Tara, Karl Tomlinson, Mats Palmgren, Nika Layzell, Ted Campbell, and Andrei Cristian Petcu reported memory safety bugs present in Firefox 61 and Firefox ESR 60.1. Some of these bugs showed evidence of memory corruption and we presume that with enough effort that some of these could be exploited to run arbitrary code. (CVE-2018-12376) Note that Nessus has not tested for this issue but has instead relied only on the application
    last seen2020-06-01
    modified2020-06-02
    plugin id121478
    published2019-01-30
    reporterThis script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/121478
    titleMozilla Thunderbird < 60.2.1
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    # The descriptive text and package checks in this plugin were
    # extracted from Mozilla Foundation Security Advisory mfsa2018-25.
    # The text itself is copyright (C) Mozilla Foundation.
    
    include("compat.inc");
    
    if (description)
    {
      script_id(121478);
      script_version("1.2");
      script_cvs_date("Date: 2019/04/02 21:54:17");
    
      script_cve_id(
        "CVE-2017-16541",
        "CVE-2018-12376",
        "CVE-2018-12377",
        "CVE-2018-12378",
        "CVE-2018-12379",
        "CVE-2018-12383",
        "CVE-2018-12385",
        "CVE-2018-18499"
      );
      script_xref(name: "MFSA", value: "2018-25");
    
      script_name(english:"Mozilla Thunderbird < 60.2.1");
      script_summary(english:"Checks the version of Thunderbird.");
    
      script_set_attribute(attribute:"synopsis", value:
    "A mail client installed on the remote macOS or Mac OS X host is
    affected by multiple vulnerabilities.");
      script_set_attribute(attribute:"description", value:
    "The version of Thunderbird installed on the remote macOS or Mac OS X
    host is prior to 60.2.1. It is, therefore, affected by multiple
    vulnerabilities as referenced in the mfsa2018-25 advisory.
    
      - A use-after-free vulnerability can occur when refresh
        driver timers are refreshed in some circumstances during
        shutdown when the timer is deleted while still in use.
        This results in a potentially exploitable crash.
        (CVE-2018-12377)
    
      - A use-after-free vulnerability can occur when an
        IndexedDB index is deleted while still in use by
        JavaScript code that is providing payload values to be
        stored. This results in a potentially exploitable crash.
        (CVE-2018-12378)
    
      - A same-origin policy violation allowing the theft of
        cross-origin URL entries when using a <meta>
        meta http-equiv=refresh on a page to cause a
        redirection to another site using
        performance.getEntries(). This is a same-
        origin policy violation and could allow for data theft.
        (CVE-2018-18499)
    
      - When the Mozilla Updater opens a MAR format file which
        contains a very long item filename, an out-of-bounds
        write can be triggered, leading to a potentially
        exploitable crash. This requires running the Mozilla
        Updater manually on the local system with the malicious
        MAR file in order to occur. (CVE-2018-12379)
    
      - Browser proxy settings can be bypassed by using the
        automount feature with autofs to create a mount point on
        the local file system. Content can be loaded from this
        mounted file system directly using a file:
        URI, bypassing configured proxy settings. *Note:
        this issue only affects OS X in default configurations.
        On Linux systems, autofs must be installed for the
        vulnerability to occur and Windows is not affected.*
        (CVE-2017-16541)
    
      - A potentially exploitable crash in
        TransportSecurityInfo used for SSL can be
        triggered by data stored in the local cache in the user
        profile directory. This issue is only exploitable in
        combination with another vulnerability allowing an
        attacker to write data into the local cache or from
        locally installed malware. This issue also triggers a
        non-exploitable startup crash for users switching
        between the Nightly and Release versions of Firefox if
        the same profile is used. (CVE-2018-12385)
    
      - If a user saved passwords before Firefox 58 and then
        later set a master password, an unencrypted copy of
        these passwords is still accessible. This is because the
        older stored password file was not deleted when the data
        was copied to a new format starting in Firefox 58. The
        new master password is added only on the new file. This
        could allow the exposure of stored password data outside
        of user expectations. (CVE-2018-12383)
    
      - Mozilla developers and community members Alex Gaynor,
        Boris Zbarsky, Christoph Diehl, Christian Holler, Jason
        Kratzer, Jed Davis, Tyson Smith, Bogdan Tara, Karl
        Tomlinson, Mats Palmgren, Nika Layzell, Ted Campbell,
        and Andrei Cristian Petcu reported memory safety bugs
        present in Firefox 61 and Firefox ESR 60.1. Some of
        these bugs showed evidence of memory corruption and we
        presume that with enough effort that some of these could
        be exploited to run arbitrary code. (CVE-2018-12376)
    
    Note that Nessus has not tested for this issue but has instead relied
    only on the application's self-reported version number.");
      script_set_attribute(attribute:"see_also", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2018-25/");
      script_set_attribute(attribute:"see_also", value:"https://bugzilla.mozilla.org/show_bug.cgi?id=1470260");
      script_set_attribute(attribute:"see_also", value:"https://bugzilla.mozilla.org/show_bug.cgi?id=1459383");
      script_set_attribute(attribute:"see_also", value:"https://bugzilla.mozilla.org/show_bug.cgi?id=1468523");
      script_set_attribute(attribute:"see_also", value:"https://bugzilla.mozilla.org/show_bug.cgi?id=1473113");
      script_set_attribute(attribute:"see_also", value:"https://bugzilla.mozilla.org/show_bug.cgi?id=1412081");
      script_set_attribute(attribute:"see_also", value:"https://bugzilla.mozilla.org/show_bug.cgi?id=1490585");
      script_set_attribute(attribute:"see_also", value:"https://bugzilla.mozilla.org/show_bug.cgi?id=1475775");
      script_set_attribute(attribute:"see_also", value:"https://bugzilla.mozilla.org/show_bug.cgi?id=1469309");
      script_set_attribute(attribute:"see_also", value:"https://bugzilla.mozilla.org/show_bug.cgi?id=1469914");
      script_set_attribute(attribute:"see_also", value:"https://bugzilla.mozilla.org/show_bug.cgi?id=1450989");
      script_set_attribute(attribute:"see_also", value:"https://bugzilla.mozilla.org/show_bug.cgi?id=1480092");
      script_set_attribute(attribute:"see_also", value:"https://bugzilla.mozilla.org/show_bug.cgi?id=1480517");
      script_set_attribute(attribute:"see_also", value:"https://bugzilla.mozilla.org/show_bug.cgi?id=1481093");
      script_set_attribute(attribute:"see_also", value:"https://bugzilla.mozilla.org/show_bug.cgi?id=1478575");
      script_set_attribute(attribute:"see_also", value:"https://bugzilla.mozilla.org/show_bug.cgi?id=1471953");
      script_set_attribute(attribute:"see_also", value:"https://bugzilla.mozilla.org/show_bug.cgi?id=1473161");
      script_set_attribute(attribute:"see_also", value:"https://bugzilla.mozilla.org/show_bug.cgi?id=1466991");
      script_set_attribute(attribute:"see_also", value:"https://bugzilla.mozilla.org/show_bug.cgi?id=1468738");
      script_set_attribute(attribute:"see_also", value:"https://bugzilla.mozilla.org/show_bug.cgi?id=1483120");
      script_set_attribute(attribute:"see_also", value:"https://bugzilla.mozilla.org/show_bug.cgi?id=1467363");
      script_set_attribute(attribute:"see_also", value:"https://bugzilla.mozilla.org/show_bug.cgi?id=1472925");
      script_set_attribute(attribute:"see_also", value:"https://bugzilla.mozilla.org/show_bug.cgi?id=1466577");
      script_set_attribute(attribute:"see_also", value:"https://bugzilla.mozilla.org/show_bug.cgi?id=1467889");
      script_set_attribute(attribute:"see_also", value:"https://bugzilla.mozilla.org/show_bug.cgi?id=1480521");
      script_set_attribute(attribute:"see_also", value:"https://bugzilla.mozilla.org/show_bug.cgi?id=1478849");
      script_set_attribute(attribute:"solution", value:
    "Upgrade to Mozilla Thunderbird version 60.2.1 or later.");
      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:POC/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:P/RL:O/RC:C");
      script_set_attribute(attribute:"cvss_score_source", value:"CVE-2018-12377");
      script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
      script_set_attribute(attribute:"exploit_available", value:"true");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2018/10/04");
      script_set_attribute(attribute:"patch_publication_date", value:"2018/10/04");
      script_set_attribute(attribute:"plugin_publication_date", value:"2019/01/30");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"cpe:/a:mozilla:thunderbird");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_family(english:"MacOS X Local Security Checks");
    
      script_copyright(english:"This script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
    
      script_dependencies("macosx_thunderbird_installed.nasl");
      script_require_keys("MacOSX/Thunderbird/Installed");
    
      exit(0);
    }
    
    include("mozilla_version.inc");
    
    kb_base = "MacOSX/Thunderbird";
    get_kb_item_or_exit(kb_base+"/Installed");
    
    version = get_kb_item_or_exit(kb_base+"/Version", exit_code:1);
    path = get_kb_item_or_exit(kb_base+"/Path", exit_code:1);
    
    is_esr = get_kb_item(kb_base+"/is_esr");
    if (is_esr) exit(0, 'The Mozilla Thunderbird installation is in the ESR branch.');
    
    mozilla_check_version(product:'thunderbird', version:version, path:path, esr:FALSE, fix:'60.2.1', severity:SECURITY_HOLE);
    
  • NASL familyWindows
    NASL idMOZILLA_THUNDERBIRD_60_2_1.NASL
    descriptionThe version of Mozilla Thunderbird installed on the remote Windows host is prior to 60.2.1. It is, therefore, affected by multiple vulnerabilities : - A use-after-free vulnerability can occur when refresh driver timers are refreshed in some circumstances during shutdown when the timer is deleted while still in use. This results in a potentially exploitable crash. (CVE-2018-12377) - A use-after-free vulnerability can occur when an IndexedDB index is deleted while still in use by JavaScript code that is providing payload values to be stored. This results in a potentially exploitable crash. (CVE-2018-12378) - A same-origin policy violation allowing the theft of cross-origin URL entries when using a <meta> meta http-equiv=refresh on a page to cause a redirection to another site using performance.getEntries(). This is a same- origin policy violation and could allow for data theft. (CVE-2018-18499) - When the Mozilla Updater opens a MAR format file which contains a very long item filename, an out-of-bounds write can be triggered, leading to a potentially exploitable crash. This requires running the Mozilla Updater manually on the local system with the malicious MAR file in order to occur. (CVE-2018-12379) - Browser proxy settings can be bypassed by using the automount feature with autofs to create a mount point on the local file system. Content can be loaded from this mounted file system directly using a file: URI, bypassing configured proxy settings. *Note: this issue only affects OS X in default configurations. On Linux systems, autofs must be installed for the vulnerability to occur and Windows is not affected.* (CVE-2017-16541) - A potentially exploitable crash in TransportSecurityInfo used for SSL can be triggered by data stored in the local cache in the user profile directory. This issue is only exploitable in combination with another vulnerability allowing an attacker to write data into the local cache or from locally installed malware. This issue also triggers a non-exploitable startup crash for users switching between the Nightly and Release versions of Firefox if the same profile is used. (CVE-2018-12385) - If a user saved passwords before Firefox 58 and then later set a master password, an unencrypted copy of these passwords is still accessible. This is because the older stored password file was not deleted when the data was copied to a new format starting in Firefox 58. The new master password is added only on the new file. This could allow the exposure of stored password data outside of user expectations. (CVE-2018-12383) - Mozilla developers and community members Alex Gaynor, Boris Zbarsky, Christoph Diehl, Christian Holler, Jason Kratzer, Jed Davis, Tyson Smith, Bogdan Tara, Karl Tomlinson, Mats Palmgren, Nika Layzell, Ted Campbell, and Andrei Cristian Petcu reported memory safety bugs present in Firefox 61 and Firefox ESR 60.1. Some of these bugs showed evidence of memory corruption and we presume that with enough effort that some of these could be exploited to run arbitrary code. (CVE-2018-12376) Note that Nessus has not tested for this issue but has instead relied only on the application
    last seen2020-06-01
    modified2020-06-02
    plugin id117939
    published2018-10-05
    reporterThis script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/117939
    titleMozilla Thunderbird < 60.2.1 Multiple Vulnerabilities
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    # The descriptive text and package checks in this plugin were
    # extracted from Mozilla Foundation Security Advisory mfsa2018-25.
    # The text itself is copyright (C) Mozilla Foundation.
    
    include("compat.inc");
    
    if (description)
    {
      script_id(117939);
      script_version("1.3");
      script_cvs_date("Date: 2019/04/05 23:25:09");
    
      script_cve_id(
        "CVE-2017-16541",
        "CVE-2018-12376",
        "CVE-2018-12377",
        "CVE-2018-12378",
        "CVE-2018-12379",
        "CVE-2018-12383",
        "CVE-2018-12385",
        "CVE-2018-18499"
      );
      script_xref(name: "MFSA", value: "2018-25");
    
      script_name(english:"Mozilla Thunderbird < 60.2.1 Multiple Vulnerabilities");
      script_summary(english:"Checks the version of Thunderbird.");
    
      script_set_attribute(attribute:"synopsis", value:
    "A web browser installed on the remote Windows host is affected by
    multiple vulnerabilities.");
      script_set_attribute(attribute:"description", value:
    "The version of Mozilla Thunderbird installed on the remote Windows
    host is prior to 60.2.1. It is, therefore, affected by multiple
    vulnerabilities :
    
      - A use-after-free vulnerability can occur when refresh
        driver timers are refreshed in some circumstances during
        shutdown when the timer is deleted while still in use.
        This results in a potentially exploitable crash.
        (CVE-2018-12377)
    
      - A use-after-free vulnerability can occur when an
        IndexedDB index is deleted while still in use by
        JavaScript code that is providing payload values to be
        stored. This results in a potentially exploitable crash.
        (CVE-2018-12378)
    
      - A same-origin policy violation allowing the theft of
        cross-origin URL entries when using a <meta>
        meta http-equiv=refresh on a page to cause a
        redirection to another site using
        performance.getEntries(). This is a same-
        origin policy violation and could allow for data theft.
        (CVE-2018-18499)
    
      - When the Mozilla Updater opens a MAR format file which
        contains a very long item filename, an out-of-bounds
        write can be triggered, leading to a potentially
        exploitable crash. This requires running the Mozilla
        Updater manually on the local system with the malicious
        MAR file in order to occur. (CVE-2018-12379)
    
      - Browser proxy settings can be bypassed by using the
        automount feature with autofs to create a mount point on
        the local file system. Content can be loaded from this
        mounted file system directly using a file:
        URI, bypassing configured proxy settings. *Note:
        this issue only affects OS X in default configurations.
        On Linux systems, autofs must be installed for the
        vulnerability to occur and Windows is not affected.*
        (CVE-2017-16541)
    
      - A potentially exploitable crash in
        TransportSecurityInfo used for SSL can be
        triggered by data stored in the local cache in the user
        profile directory. This issue is only exploitable in
        combination with another vulnerability allowing an
        attacker to write data into the local cache or from
        locally installed malware. This issue also triggers a
        non-exploitable startup crash for users switching
        between the Nightly and Release versions of Firefox if
        the same profile is used. (CVE-2018-12385)
    
      - If a user saved passwords before Firefox 58 and then
        later set a master password, an unencrypted copy of
        these passwords is still accessible. This is because the
        older stored password file was not deleted when the data
        was copied to a new format starting in Firefox 58. The
        new master password is added only on the new file. This
        could allow the exposure of stored password data outside
        of user expectations. (CVE-2018-12383)
    
      - Mozilla developers and community members Alex Gaynor,
        Boris Zbarsky, Christoph Diehl, Christian Holler, Jason
        Kratzer, Jed Davis, Tyson Smith, Bogdan Tara, Karl
        Tomlinson, Mats Palmgren, Nika Layzell, Ted Campbell,
        and Andrei Cristian Petcu reported memory safety bugs
        present in Firefox 61 and Firefox ESR 60.1. Some of
        these bugs showed evidence of memory corruption and we
        presume that with enough effort that some of these could
        be exploited to run arbitrary code. (CVE-2018-12376)
    
    Note that Nessus has not tested for this issue but has instead relied
    only on the application's self-reported version number.");
      script_set_attribute(attribute:"see_also", value:"https://bugzilla.mozilla.org/show_bug.cgi?id=1412081");
      script_set_attribute(attribute:"see_also", value:"https://bugzilla.mozilla.org/show_bug.cgi?id=1450989");
      script_set_attribute(attribute:"see_also", value:"https://bugzilla.mozilla.org/show_bug.cgi?id=1459383");
      script_set_attribute(attribute:"see_also", value:"https://bugzilla.mozilla.org/show_bug.cgi?id=1466577");
      script_set_attribute(attribute:"see_also", value:"https://bugzilla.mozilla.org/show_bug.cgi?id=1466991");
      script_set_attribute(attribute:"see_also", value:"https://bugzilla.mozilla.org/show_bug.cgi?id=1467363");
      script_set_attribute(attribute:"see_also", value:"https://bugzilla.mozilla.org/show_bug.cgi?id=1467889");
      script_set_attribute(attribute:"see_also", value:"https://bugzilla.mozilla.org/show_bug.cgi?id=1468523");
      script_set_attribute(attribute:"see_also", value:"https://bugzilla.mozilla.org/show_bug.cgi?id=1468738");
      script_set_attribute(attribute:"see_also", value:"https://bugzilla.mozilla.org/show_bug.cgi?id=1469309");
      script_set_attribute(attribute:"see_also", value:"https://bugzilla.mozilla.org/show_bug.cgi?id=1469914");
      script_set_attribute(attribute:"see_also", value:"https://bugzilla.mozilla.org/show_bug.cgi?id=1470260");
      script_set_attribute(attribute:"see_also", value:"https://bugzilla.mozilla.org/show_bug.cgi?id=1471953");
      script_set_attribute(attribute:"see_also", value:"https://bugzilla.mozilla.org/show_bug.cgi?id=1472925");
      script_set_attribute(attribute:"see_also", value:"https://bugzilla.mozilla.org/show_bug.cgi?id=1473113");
      script_set_attribute(attribute:"see_also", value:"https://bugzilla.mozilla.org/show_bug.cgi?id=1473161");
      script_set_attribute(attribute:"see_also", value:"https://bugzilla.mozilla.org/show_bug.cgi?id=1475775");
      script_set_attribute(attribute:"see_also", value:"https://bugzilla.mozilla.org/show_bug.cgi?id=1478575");
      script_set_attribute(attribute:"see_also", value:"https://bugzilla.mozilla.org/show_bug.cgi?id=1478849");
      script_set_attribute(attribute:"see_also", value:"https://bugzilla.mozilla.org/show_bug.cgi?id=1480092");
      script_set_attribute(attribute:"see_also", value:"https://bugzilla.mozilla.org/show_bug.cgi?id=1480517");
      script_set_attribute(attribute:"see_also", value:"https://bugzilla.mozilla.org/show_bug.cgi?id=1480521");
      script_set_attribute(attribute:"see_also", value:"https://bugzilla.mozilla.org/show_bug.cgi?id=1481093");
      script_set_attribute(attribute:"see_also", value:"https://bugzilla.mozilla.org/show_bug.cgi?id=1483120");
      script_set_attribute(attribute:"see_also", value:"https://bugzilla.mozilla.org/show_bug.cgi?id=1490585");
      script_set_attribute(attribute:"see_also", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2018-25/");
      script_set_attribute(attribute:"solution", value:
    "Upgrade to Mozilla Thunderbird version 60.2.1 or later.");
      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:POC/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:P/RL:O/RC:C");
      script_set_attribute(attribute:"cvss_score_source", value:"CVE-2018-12377");
      script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
      script_set_attribute(attribute:"exploit_available", value:"true");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2018/10/04");
      script_set_attribute(attribute:"patch_publication_date", value:"2018/10/04");
      script_set_attribute(attribute:"plugin_publication_date", value:"2018/10/05");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"cpe:/a:mozilla:thunderbird");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_family(english:"Windows");
    
      script_copyright(english:"This script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
    
      script_dependencies("mozilla_org_installed.nasl");
      script_require_keys("Mozilla/Thunderbird/Version");
    
      exit(0);
    }
    
    include("mozilla_version.inc");
    
    port = get_kb_item("SMB/transport");
    if (!port) port = 445;
    
    installs = get_kb_list("SMB/Mozilla/Thunderbird/*");
    if (isnull(installs)) audit(AUDIT_NOT_INST, "Thunderbird");
    
    mozilla_check_version(installs:installs, product:'thunderbird', esr:FALSE, fix:'60.2.1', severity:SECURITY_HOLE);
    
  • NASL familyWindows
    NASL idMOZILLA_FIREFOX_60_2_ESR.NASL
    descriptionThe version of Mozilla Firefox ESR installed on the remote Windows host is prior to 60.2. It is, therefore, affected by multiple critical and high severity vulnerabilities.
    last seen2020-06-01
    modified2020-06-02
    plugin id117293
    published2018-09-06
    reporterThis script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/117293
    titleMozilla Firefox ESR < 60.2 Multiple Critical Vulnerabilities
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(117293);
      script_version("1.7");
      script_cvs_date("Date: 2019/04/05 23:25:09");
    
      script_cve_id(
        "CVE-2017-16541",
        "CVE-2018-12376",
        "CVE-2018-12377",
        "CVE-2018-12378",
        "CVE-2018-12379",
        "CVE-2018-12381",
        "CVE-2018-18499"
      );
      script_bugtraq_id("101665");
      script_xref(name:"MFSA", value:"2018-21");
    
      script_name(english:"Mozilla Firefox ESR < 60.2 Multiple Critical Vulnerabilities");
      script_summary(english:"Checks the version of Firefox ESR.");
    
      script_set_attribute(attribute:"synopsis", value:
    "A web browser installed on the remote Windows host is affected by
    multiple critical and high severity vulnerabilities.");
      script_set_attribute(attribute:"description", value:
    "The version of Mozilla Firefox ESR installed on the remote Windows
    host is prior to 60.2. It is, therefore, affected by multiple
    critical and high severity vulnerabilities.");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1412081
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?eeb4654f");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1435319
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?6f8c53b5");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1450989
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?20fb56d5");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1459383
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?0ba771ab");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1466577
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?ec8a52cc");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1466991
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?729f9359");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1467363
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?1de4cab5");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1467889
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?c5d40321");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1468523
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?38d5db79");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1468738
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?2e15e66a");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1469309
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?71d5c763");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1469914
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?0410b02e");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1470260
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?c939fbe7");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1471953
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?06cc0e92");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1472925
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?635f0fa0");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1473113
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?4376815f");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1473161
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?99b48daf");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1478575
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?fdfa1d66");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1478849
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?d0c0acea");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1480092
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?69cce0e2");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1480517
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?ae70d802");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1480521
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?dd5f0586");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1481093
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?7d6a368a");
      # https://bugzilla.mozilla.org/show_bug.cgi?id=1483120
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?61040df6");
      # https://www.mozilla.org/en-US/security/advisories/mfsa2018-21/
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?387cd93f");
      script_set_attribute(attribute:"solution", value:
    "Upgrade to Mozilla Firefox ESR version 60.2 or later.");
      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:POC/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:P/RL:O/RC:C");
      script_set_attribute(attribute:"cvss_score_source", value:"CVE-2018-12376");
      script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
      script_set_attribute(attribute:"exploit_available", value:"true");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2018/09/05");
      script_set_attribute(attribute:"patch_publication_date", value:"2018/09/05");
      script_set_attribute(attribute:"plugin_publication_date", value:"2018/09/06");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"cpe:/a:mozilla:firefox_esr");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_family(english:"Windows");
    
      script_copyright(english:"This script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
    
      script_dependencies("mozilla_org_installed.nasl");
      script_require_keys("Mozilla/Firefox/Version");
    
      exit(0);
    }
    
    include("mozilla_version.inc");
    
    port = get_kb_item("SMB/transport");
    if (!port) port = 445;
    
    installs = get_kb_list("SMB/Mozilla/Firefox/*");
    if (isnull(installs)) audit(AUDIT_NOT_INST, "Firefox");
    
    mozilla_check_version(installs:installs, product:'firefox', esr:TRUE, fix:'60.2', min:'60.0', severity:SECURITY_HOLE);