Vulnerabilities > CVE-2014-2018 - Cross-Site Scripting vulnerability in Mozilla Seamonkey, Thunderbird and Thunderbird ESR

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

Summary

Cross-site scripting (XSS) vulnerability in Mozilla Thunderbird 17.x through 17.0.8, Thunderbird ESR 17.x through 17.0.10, and SeaMonkey before 2.20 allows user-assisted remote attackers to inject arbitrary web script or HTML via an e-mail message containing a data: URL in a (1) OBJECT or (2) EMBED element, a related issue to CVE-2013-6674.

Vulnerable Configurations

Part Description Count
Application
Mozilla
204

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Cross Site Scripting through Log Files
    An attacker may leverage a system weakness where logs are susceptible to log injection to insert scripts into the system's logs. If these logs are later viewed by an administrator through a thin administrative interface and the log data is not properly HTML encoded before being written to the page, the attackers' scripts stored in the log will be executed in the administrative interface with potentially serious consequences. This attack pattern is really a combination of two other attack patterns: log injection and stored cross site scripting.
  • Embedding Scripts in Non-Script Elements
    This attack is a form of Cross-Site Scripting (XSS) where malicious scripts are embedded in elements that are not expected to host scripts such as image tags (<img>), comments in XML documents (< !-CDATA->), etc. These tags may not be subject to the same input validation, output validation, and other content filtering and checking routines, so this can create an opportunity for an attacker to tunnel through the application's elements and launch a XSS attack through other elements. As with all remote attacks, it is important to differentiate the ability to launch an attack (such as probing an internal network for unpatched servers) and the ability of the remote attacker to collect and interpret the output of said attack.
  • Embedding Scripts within Scripts
    An attack of this type exploits a programs' vulnerabilities that are brought on by allowing remote hosts to execute scripts. The attacker leverages this capability to execute scripts to execute his/her own script by embedding it within other scripts that the target software is likely to execute. The attacker must have the ability to inject script into script that is likely to be executed. If this is done, then the attacker can potentially launch a variety of probes and attacks against the web server's local environment, in many cases the so-called DMZ, back end resources the web server can communicate with, and other hosts. With the proliferation of intermediaries, such as Web App Firewalls, network devices, and even printers having JVMs and Web servers, there are many locales where an attacker can inject malicious scripts. Since this attack pattern defines scripts within scripts, there are likely privileges to execute said attack on the host. Of course, these attacks are not solely limited to the server side, client side scripts like Ajax and client side JavaScript can contain malicious scripts as well. In general all that is required is for there to be sufficient privileges to execute a script, but not protected against writing.
  • Cross-Site Scripting in Error Pages
    An attacker distributes a link (or possibly some other query structure) with a request to a third party web server that is malformed and also contains a block of exploit code in order to have the exploit become live code in the resulting error page. When the third party web server receives the crafted request and notes the error it then creates an error message that echoes the malformed message, including the exploit. Doing this converts the exploit portion of the message into to valid language elements that are executed by the viewing browser. When a victim executes the query provided by the attacker the infected error message error message is returned including the exploit code which then runs in the victim's browser. XSS can result in execution of code as well as data leakage (e.g. session cookies can be sent to the attacker). This type of attack is especially dangerous since the exploit appears to come from the third party web server, who the victim may trust and hence be more vulnerable to deception.
  • Cross-Site Scripting Using Alternate Syntax
    The attacker uses alternate forms of keywords or commands that result in the same action as the primary form but which may not be caught by filters. For example, many keywords are processed in a case insensitive manner. If the site's web filtering algorithm does not convert all tags into a consistent case before the comparison with forbidden keywords it is possible to bypass filters (e.g., incomplete black lists) by using an alternate case structure. For example, the "script" tag using the alternate forms of "Script" or "ScRiPt" may bypass filters where "script" is the only form tested. Other variants using different syntax representations are also possible as well as using pollution meta-characters or entities that are eventually ignored by the rendering engine. The attack can result in the execution of otherwise prohibited functionality.

Nessus

  • NASL familyWindows
    NASL idMOZILLA_THUNDERBIRD_24.NASL
    descriptionThe installed version of Thunderbird is 17.x or later but prior to 24. It is, therefore, potentially affected the following vulnerabilities: - Memory issues exist in the browser engine that could allow for denial of service or arbitrary code execution. (CVE-2013-1718, CVE-2013-1719) - The HTML5 Tree Builder does not properly maintain states, which could result in a denial of service or possible arbitrary code execution. (CVE-2013-1720) - The ANGLE library is vulnerable to an integer overflow, which could result in a denial of service or arbitrary code execution. (CVE-2013-1721) - Multiple use-after-free problems exist, which could result in denial of service attacks or arbitrary code execution. (CVE-2013-1722, CVE-2013-1724, CVE-2013-1735, CVE-2013-1736, CVE-2013-1738) - The NativeKey widget does not properly terminate key messages, possibly leading to a denial of service attack. (CVE-2013-1723) - Incorrect scope handling for JavaScript objects with compartments could result in denial of service or possibly arbitrary code execution. (CVE-2013-1725) - Local users can gain the same privileges as the Mozilla Updater because the application does not ensure exclusive access to the update file. An attacker could exploit this by inserting a malicious file into the update file. (CVE-2013-1726) - Sensitive information can be obtained via unspecified vectors because the IonMonkey JavaScript does not properly initialize memory. (CVE-2013-1728) - A JavaScript compartment mismatch could result in a denial of service or arbitrary code execution. Versions of Firefox 20 or greater are not susceptible to the arbitrary code execution mentioned above. (CVE-2013-1730) - A buffer overflow is possible because of an issue with multi-column layouts. (CVE-2013-1732) - An object is not properly identified during use of user-defined getter methods on DOM proxies. This could result in access restrictions being bypassed. (CVE-2013-1737) - An input validation error exists related to email messages containing HTML and iframes and the action of replying to or forwarding such messages that could allow cross-site scripting attacks. (CVE-2013-6674) - An input validation error exists related to email messages containing HTML and object or embed elements that could allow cross-site scripting attacks. (CVE-2014-2018)
    last seen2020-06-01
    modified2020-06-02
    plugin id69995
    published2013-09-19
    reporterThis script is Copyright (C) 2013-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/69995
    titleMozilla Thunderbird 17.x through 23.x Multiple Vulnerabilities
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(69995);
      script_version("1.19");
      script_cvs_date("Date: 2019/11/27");
    
      script_cve_id(
        "CVE-2013-1718",
        "CVE-2013-1719",
        "CVE-2013-1720",
        "CVE-2013-1721",
        "CVE-2013-1722",
        "CVE-2013-1723",
        "CVE-2013-1724",
        "CVE-2013-1725",
        "CVE-2013-1726",
        "CVE-2013-1728",
        "CVE-2013-1730",
        "CVE-2013-1732",
        "CVE-2013-1735",
        "CVE-2013-1736",
        "CVE-2013-1737",
        "CVE-2013-1738",
        "CVE-2013-6674",
        "CVE-2014-2018"
      );
      script_bugtraq_id(
        62460,
        62462,
        62463,
        62464,
        62465,
        62466,
        62467,
        62468,
        62469,
        62470,
        62472,
        62473,
        62475,
        62478,
        62479,
        62482,
        65158,
        65620
      );
      script_xref(name:"CERT", value:"863369");
      script_xref(name:"EDB-ID", value:"31223");
    
      script_name(english:"Mozilla Thunderbird 17.x through 23.x Multiple Vulnerabilities");
      script_summary(english:"Checks version of Thunderbird");
    
      script_set_attribute(attribute:"synopsis", value:
    "The remote Windows host contains a mail client that is potentially
    affected by multiple vulnerabilities.");
      script_set_attribute(attribute:"description", value:
    "The installed version of Thunderbird is 17.x or later but prior
    to 24. It is, therefore, potentially affected the following
    vulnerabilities:
    
      - Memory issues exist in the browser engine that could
        allow for denial of service or arbitrary code execution.
        (CVE-2013-1718, CVE-2013-1719)
    
      - The HTML5 Tree Builder does not properly maintain
        states, which could result in a denial of service or
        possible arbitrary code execution.  (CVE-2013-1720)
    
      - The ANGLE library is vulnerable to an integer overflow,
        which could result in a denial of service or arbitrary
        code execution. (CVE-2013-1721)
    
      - Multiple use-after-free problems exist, which could
        result in denial of service attacks or arbitrary code
        execution. (CVE-2013-1722, CVE-2013-1724,
        CVE-2013-1735, CVE-2013-1736, CVE-2013-1738)
    
      - The NativeKey widget does not properly terminate key
        messages, possibly leading to a denial of service attack.
        (CVE-2013-1723)
    
      - Incorrect scope handling for JavaScript objects with
        compartments could result in denial of service or
        possibly arbitrary code execution. (CVE-2013-1725)
    
      - Local users can gain the same privileges as the Mozilla
        Updater because the application does not ensure
        exclusive access to the update file. An attacker could
        exploit this by inserting a malicious file into the
        update file. (CVE-2013-1726)
    
      - Sensitive information can be obtained via unspecified
        vectors because the IonMonkey JavaScript does not
        properly initialize memory. (CVE-2013-1728)
    
      - A JavaScript compartment mismatch could result in a
        denial of service or arbitrary code execution. Versions
        of Firefox 20 or greater are not susceptible to the
        arbitrary code execution mentioned above.
        (CVE-2013-1730)
    
      - A buffer overflow is possible because of an issue with
        multi-column layouts. (CVE-2013-1732)
    
      - An object is not properly identified during use of
        user-defined getter methods on DOM proxies.  This could
        result in access restrictions being bypassed.
        (CVE-2013-1737)
    
      - An input validation error exists related to email
        messages containing HTML and iframes and the action of
        replying to or forwarding such messages that could
        allow cross-site scripting attacks. (CVE-2013-6674)
    
      - An input validation error exists related to email
        messages containing HTML and object or embed elements
        that could allow cross-site scripting attacks.
        (CVE-2014-2018)");
      script_set_attribute(attribute:"see_also", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2013-76/");
      script_set_attribute(attribute:"see_also", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2013-77/");
      script_set_attribute(attribute:"see_also", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2013-78/");
      script_set_attribute(attribute:"see_also", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2013-79/");
      script_set_attribute(attribute:"see_also", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2013-80/");
      script_set_attribute(attribute:"see_also", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2013-81/");
      script_set_attribute(attribute:"see_also", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2013-82/");
      script_set_attribute(attribute:"see_also", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2013-83/");
      script_set_attribute(attribute:"see_also", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2013-85/");
      script_set_attribute(attribute:"see_also", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2013-88/");
      script_set_attribute(attribute:"see_also", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2013-89/");
      script_set_attribute(attribute:"see_also", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2013-90/");
      script_set_attribute(attribute:"see_also", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2013-91/");
      script_set_attribute(attribute:"see_also", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2013-92/");
      script_set_attribute(attribute:"see_also", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2014-14/");
      script_set_attribute(attribute:"solution", value:
    "Upgrade to Thunderbird 24 or later.");
      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:"cvss_score_source", value:"CVE-2013-1736");
    
      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_cwe_id(20, 74, 79, 442, 629, 711, 712, 722, 725, 750, 751, 800, 801, 809, 811, 864, 900, 928, 931, 990);
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2013/09/17");
      script_set_attribute(attribute:"patch_publication_date", value:"2013/09/17");
      script_set_attribute(attribute:"plugin_publication_date", value:"2013/09/19");
    
      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) 2013-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:'24', min:'17.0', severity:SECURITY_HOLE, xss:TRUE);
    
  • NASL familyMacOS X Local Security Checks
    NASL idMACOSX_THUNDERBIRD_24_0.NASL
    descriptionThe installed version of Thunderbird is a version prior to 24.0. It is, therefore, potentially affected by the following vulnerabilities : - Memory issues exist in the browser engine that could allow for denial of service or arbitrary code execution. (CVE-2013-1718, CVE-2013-1719) - The HTML5 Tree Builder does not properly maintain states, which could result in a denial of service or possible arbitrary code execution. (CVE-2013-1720) - Multiple use-after-free problems exist, which could result in denial of service attacks or arbitrary code execution. (CVE-2013-1722, CVE-2013-1724, CVE-2013-1735, CVE-2013-1736, CVE-2013-1738) - The NativeKey widget does not properly terminate key messages, possibly leading to a denial of service attack. (CVE-2013-1723) - Incorrect scope handling for JavaScript objects with compartments could result in denial of service or possibly arbitrary code execution. (CVE-2013-1725) - Local users can gain the same privileges as the Mozilla Updater because the application does not ensure exclusive access to the update file. An attacker could exploit this by inserting a malicious file into the update file. (CVE-2013-1726) - Sensitive information can be obtained via unspecified vectors because the IonMonkey JavaScript does not properly initialize memory. (CVE-2013-1728) - A JavaScript compartment mismatch could result in a denial of service or arbitrary code execution. Versions of Firefox 20 or greater are not susceptible to the arbitrary code execution mentioned above. (CVE-2013-1730) - A buffer overflow is possible because of an issue with multi-column layouts. (CVE-2013-1732) - An object is not properly identified during use of user-defined getter methods on DOM proxies. This could result in access restrictions being bypassed. (CVE-2013-1737) - An input validation error exists related to email messages containing HTML and iframes and the action of replying to or forwarding such messages that could allow cross-site scripting attacks. (CVE-2013-6674) - An input validation error exists related to email messages containing HTML and object or embed elements that could allow cross-site scripting attacks. (CVE-2014-2018)
    last seen2020-06-01
    modified2020-06-02
    plugin id69991
    published2013-09-19
    reporterThis script is Copyright (C) 2013-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/69991
    titleThunderbird 17.x through 23.x Multiple Vulnerabilities (Mac OS X)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(69991);
      script_version("1.19");
      script_cvs_date("Date: 2019/11/27");
    
      script_cve_id(
        "CVE-2013-1718",
        "CVE-2013-1719",
        "CVE-2013-1720",
        "CVE-2013-1722",
        "CVE-2013-1723",
        "CVE-2013-1724",
        "CVE-2013-1725",
        "CVE-2013-1726",
        "CVE-2013-1728",
        "CVE-2013-1730",
        "CVE-2013-1732",
        "CVE-2013-1735",
        "CVE-2013-1736",
        "CVE-2013-1737",
        "CVE-2013-1738",
        "CVE-2013-6674",
        "CVE-2014-2018"
      );
      script_bugtraq_id(
        62460,
        62462,
        62463,
        62464,
        62465,
        62466,
        62467,
        62468,
        62469,
        62472,
        62473,
        62475,
        62478,
        62479,
        62482,
        65158,
        65620
      );
      script_xref(name:"CERT", value:"863369");
      script_xref(name:"EDB-ID", value:"31223");
    
      script_name(english:"Thunderbird 17.x through 23.x Multiple Vulnerabilities (Mac OS X)");
      script_summary(english:"Checks version of Thunderbird");
    
      script_set_attribute(attribute:"synopsis", value:
    "The remote Mac OS X host contains a mail client that is potentially
    affected by multiple vulnerabilities.");
      script_set_attribute(attribute:"description", value:
    "The installed version of Thunderbird is a version prior to 24.0.
    It is, therefore, potentially affected by the following
    vulnerabilities :
    
      - Memory issues exist in the browser engine that could
        allow for denial of service or arbitrary code execution.
        (CVE-2013-1718, CVE-2013-1719)
    
      - The HTML5 Tree Builder does not properly maintain
        states, which could result in a denial of service or
        possible arbitrary code execution.  (CVE-2013-1720)
    
      - Multiple use-after-free problems exist, which could
        result in denial of service attacks or arbitrary code
        execution. (CVE-2013-1722, CVE-2013-1724,
        CVE-2013-1735, CVE-2013-1736, CVE-2013-1738)
    
      - The NativeKey widget does not properly terminate key
        messages, possibly leading to a denial of service attack.
        (CVE-2013-1723)
    
      - Incorrect scope handling for JavaScript objects with
        compartments could result in denial of service or
        possibly arbitrary code execution. (CVE-2013-1725)
    
      - Local users can gain the same privileges as the Mozilla
        Updater because the application does not ensure
        exclusive access to the update file. An attacker could
        exploit this by inserting a malicious file into the
        update file. (CVE-2013-1726)
    
      - Sensitive information can be obtained via unspecified
        vectors because the IonMonkey JavaScript does not
        properly initialize memory. (CVE-2013-1728)
    
      - A JavaScript compartment mismatch could result in a
        denial of service or arbitrary code execution.  Versions
        of Firefox 20 or greater are not susceptible to the
        arbitrary code execution mentioned above.
        (CVE-2013-1730)
    
      - A buffer overflow is possible because of an issue with
        multi-column layouts. (CVE-2013-1732)
    
      - An object is not properly identified during use of
        user-defined getter methods on DOM proxies.  This could
        result in access restrictions being bypassed.
        (CVE-2013-1737)
    
      - An input validation error exists related to email
        messages containing HTML and iframes and the action of
        replying to or forwarding such messages that could
        allow cross-site scripting attacks. (CVE-2013-6674)
    
      - An input validation error exists related to email
        messages containing HTML and object or embed elements
        that could allow cross-site scripting attacks.
        (CVE-2014-2018)");
      script_set_attribute(attribute:"see_also", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2013-76/");
      script_set_attribute(attribute:"see_also", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2013-77/");
      script_set_attribute(attribute:"see_also", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2013-79/");
      script_set_attribute(attribute:"see_also", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2013-80/");
      script_set_attribute(attribute:"see_also", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2013-81/");
      script_set_attribute(attribute:"see_also", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2013-82/");
      script_set_attribute(attribute:"see_also", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2013-83/");
      script_set_attribute(attribute:"see_also", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2013-85/");
      script_set_attribute(attribute:"see_also", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2013-88/");
      script_set_attribute(attribute:"see_also", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2013-89/");
      script_set_attribute(attribute:"see_also", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2013-90/");
      script_set_attribute(attribute:"see_also", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2013-91/");
      script_set_attribute(attribute:"see_also", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2013-92/");
      script_set_attribute(attribute:"see_also", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2014-14/");
      script_set_attribute(attribute:"solution", value:
    "Upgrade to Thunderbird 24.0 or later.");
      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:"cvss_score_source", value:"CVE-2013-1736");
    
      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_cwe_id(20, 74, 79, 442, 629, 711, 712, 722, 725, 750, 751, 800, 801, 809, 811, 864, 900, 928, 931, 990);
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2013/09/17");
      script_set_attribute(attribute:"patch_publication_date", value:"2013/09/17");
      script_set_attribute(attribute:"plugin_publication_date", value:"2013/09/19");
    
      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) 2013-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);
    
    if (get_kb_item(kb_base + '/is_esr')) exit(0, 'The Mozilla Thunderbird install is in the ESR branch.');
    
    mozilla_check_version(product:'thunderbird', version:version, path:path, esr:FALSE, fix:'24.0', min:'17.0', severity:SECURITY_HOLE, xss:TRUE);
    
  • NASL familyWindows
    NASL idSEAMONKEY_220.NASL
    descriptionThe installed version of SeaMonkey is a version prior to 2.20. It is, therefore, potentially affected by the following vulnerabilities : - Various errors exist that could allow memory corruption conditions. (CVE-2013-1701, CVE-2013-1702) - Use-after-free errors exist related to DOM modification when using
    last seen2020-06-01
    modified2020-06-02
    plugin id69272
    published2013-08-08
    reporterThis script is Copyright (C) 2013-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/69272
    titleSeaMonkey < 2.20 Multiple Vulnerabilities
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(69272);
      script_version("1.24");
      script_cvs_date("Date: 2019/11/27");
    
      script_cve_id(
        "CVE-2013-1701",
        "CVE-2013-1702",
        "CVE-2013-1704",
        "CVE-2013-1705",
        "CVE-2013-1708",
        "CVE-2013-1709",
        "CVE-2013-1710",
        "CVE-2013-1711",
        "CVE-2013-1713",
        "CVE-2013-1714",
        "CVE-2013-1717",
        "CVE-2013-6674",
        "CVE-2014-2018"
      );
      script_bugtraq_id(
        61864,
        61867,
        61871,
        61872,
        61874,
        61875,
        61876,
        61877,
        61882,
        61896,
        61900,
        65158,
        65620
      );
      script_xref(name:"CERT", value:"863369");
      script_xref(name:"EDB-ID", value:"31223");
    
      script_name(english:"SeaMonkey < 2.20 Multiple Vulnerabilities");
      script_summary(english:"Checks version of SeaMonkey");
    
      script_set_attribute(attribute:"synopsis", value:
    "The remote Windows host contains a web browser that is potentially
    affected by multiple vulnerabilities.");
      script_set_attribute(attribute:"description", value:
    "The installed version of SeaMonkey is a version prior to 2.20. It is,
    therefore, potentially affected by the following vulnerabilities :
    
      - Various errors exist that could allow memory corruption
        conditions. (CVE-2013-1701, CVE-2013-1702)
    
      - Use-after-free errors exist related to DOM modification
        when using 'SetBody' and generating a 'Certificate
        Request Message'. (CVE-2013-1704, CVE-2013-1705)
    
      - An error exists in the function 'nsCString::CharAt'
        that could allow application crashes when decoding
        specially crafted WAV audio files. (CVE-2013-1708)
    
      - Unspecified errors exist related to HTML frames and
        history handling, 'XrayWrappers', JavaScript URI
        handling and web workers using 'XMLHttpRequest' that
        could allow cross-site scripting attacks.
        (CVE-2013-1709, CVE-2013-1711, CVE-2013-1713,
        CVE-2013-1714)
    
      - An unspecified error exists related to generating
        'Certificate Request Message Format' (CRMF) requests
        that could allow cross-site scripting attacks.
        (CVE-2013-1710)
    
      - An error exists related to Java applets and 'file:///'
        URIs that could allow read-only access to arbitrary
        files. (CVE-2013-1717)
    
      - An input validation error exists related to email
        messages containing HTML and iframes and the action of
        replying to or forwarding such messages that could
        allow cross-site scripting attacks. (CVE-2013-6674)
    
      - An input validation error exists related to email
        messages containing HTML and object or embed elements
        that could allow cross-site scripting attacks.
        (CVE-2014-2018)");
      script_set_attribute(attribute:"see_also", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2013-63/");
      script_set_attribute(attribute:"see_also", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2013-64/");
      script_set_attribute(attribute:"see_also", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2013-65/");
      script_set_attribute(attribute:"see_also", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2013-67/");
      script_set_attribute(attribute:"see_also", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2013-68/");
      script_set_attribute(attribute:"see_also", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2013-69/");
      script_set_attribute(attribute:"see_also", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2013-70/");
      script_set_attribute(attribute:"see_also", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2013-72/");
      script_set_attribute(attribute:"see_also", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2013-73/");
      script_set_attribute(attribute:"see_also", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2013-75/");
      script_set_attribute(attribute:"see_also", value:"https://www.mozilla.org/en-US/security/advisories/mfsa2014-14/");
      script_set_attribute(attribute:"solution", value:
    "Upgrade to SeaMonkey 2.20 or later.");
      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:"cvss_score_source", value:"CVE-2013-1710");
    
      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 5.0 - 15.0.1 __exposedProps__ XCS Code Execution');
      script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");
      script_cwe_id(20, 74, 79, 442, 629, 711, 712, 722, 725, 750, 751, 800, 801, 809, 811, 864, 900, 928, 931, 990);
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2013/08/06");
      script_set_attribute(attribute:"patch_publication_date", value:"2013/08/06");
      script_set_attribute(attribute:"plugin_publication_date", value:"2013/08/08");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"cpe:/a:mozilla:seamonkey");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_family(english:"Windows");
    
      script_copyright(english:"This script is Copyright (C) 2013-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
    
      script_dependencies("mozilla_org_installed.nasl");
      script_require_keys("SeaMonkey/Version");
    
      exit(0);
    }
    
    include("mozilla_version.inc");
    port = get_kb_item("SMB/transport");
    if (!port) port = 445;
    
    installs = get_kb_list("SMB/SeaMonkey/*");
    if (isnull(installs)) audit(AUDIT_NOT_INST, "SeaMonkey");
    
    mozilla_check_version(installs:installs, product:'seamonkey', fix:'2.20', severity:SECURITY_HOLE, xss:TRUE);