Vulnerabilities > CVE-2015-7191 - Cross-site Scripting vulnerability in Mozilla Firefox

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
google
CWE-79
nessus

Summary

Mozilla Firefox before 42.0 on Android improperly restricts URL strings in intents, which allows attackers to conduct cross-site scripting (XSS) attacks via vectors involving an intent: URL and fallback navigation, aka "Universal XSS (UXSS)."

Vulnerable Configurations

Part Description Count
Application
Mozilla
296
OS
Google
1

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 familySuSE Local Security Checks
    NASL idOPENSUSE-2015-718.NASL
    descriptionMozilla Firefox was updated to version 42.0, fixing bugs and security issues. Mozilla xulrunner was updated to xulrunner 38.4.0. SeaMonkey was updated to 2.39. New features in Mozilla Firefox : - Private Browsing with Tracking Protection blocks certain Web elements that could be used to record your behavior across sites - Control Center that contains site security and privacy controls - Login Manager improvements - WebRTC improvements - Indicator added to tabs that play audio with one-click muting - Media Source Extension for HTML5 video available for all sites Security fixes : - MFSA 2015-116/CVE-2015-4513/CVE-2015-4514 Miscellaneous memory safety hazards - MFSA 2015-117/CVE-2015-4515 (bmo#1046421) Information disclosure through NTLM authentication - MFSA 2015-118/CVE-2015-4518 (bmo#1182778, bmo#1136692) CSP bypass due to permissive Reader mode whitelist - MFSA 2015-119/CVE-2015-7185 (bmo#1149000) (Android only) Firefox for Android addressbar can be removed after fullscreen mode - MFSA 2015-120/CVE-2015-7186 (bmo#1193027) (Android only) Reading sensitive profile files through local HTML file on Android - MFSA 2015-121/CVE-2015-7187 (bmo#1195735) disabling scripts in Add-on SDK panels has no effect - MFSA 2015-122/CVE-2015-7188 (bmo#1199430) Trailing whitespace in IP address hostnames can bypass same-origin policy - MFSA 2015-123/CVE-2015-7189 (bmo#1205900) Buffer overflow during image interactions in canvas - MFSA 2015-124/CVE-2015-7190 (bmo#1208520) (Android only) Android intents can be used on Firefox for Android to open privileged files - MFSA 2015-125/CVE-2015-7191 (bmo#1208956) (Android only) XSS attack through intents on Firefox for Android - MFSA 2015-126/CVE-2015-7192 (bmo#1210023) (OS X only) Crash when accessing HTML tables with accessibility tools on OS X - MFSA 2015-127/CVE-2015-7193 (bmo#1210302) CORS preflight is bypassed when non-standard Content-Type headers are received - MFSA 2015-128/CVE-2015-7194 (bmo#1211262) Memory corruption in libjar through zip files - MFSA 2015-129/CVE-2015-7195 (bmo#1211871) Certain escaped characters in host of Location-header are being treated as non-escaped - MFSA 2015-130/CVE-2015-7196 (bmo#1140616) JavaScript garbage collection crash with Java applet - MFSA 2015-131/CVE-2015-7198/CVE-2015-7199/CVE-2015-7200 (bmo#1188010, bmo#1204061, bmo#1204155) Vulnerabilities found through code inspection - MFSA 2015-132/CVE-2015-7197 (bmo#1204269) Mixed content WebSocket policy bypass through workers - MFSA 2015-133/CVE-2015-7181/CVE-2015-7182/CVE-2015-7183 (bmo#1202868, bmo#1205157) NSS and NSPR memory corruption issues (fixed in mozilla-nspr and mozilla-nss packages) mozilla-nspr was updated to 4.10.10 : - MFSA 2015-133/CVE-2015-7183 (bmo#1205157) memory corruption issues This update includes the update to version 4.10.9 - bmo#1021167: Leak of |poll_list| on failure in _MW_PollInternal - bmo#1030692: Make compiling nspr on windows possible again. - bmo#1088790: dosprint() doesn
    last seen2020-06-05
    modified2015-11-10
    plugin id86807
    published2015-11-10
    reporterThis script is Copyright (C) 2015-2020 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/86807
    titleopenSUSE Security Update : MozillaFirefox / mozilla-nspr / mozilla-nss / etc (openSUSE-2015-718)
    code
    #%NASL_MIN_LEVEL 80502
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were
    # extracted from openSUSE Security Update openSUSE-2015-718.
    #
    # The text description of this plugin is (C) SUSE LLC.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(86807);
      script_version("2.10");
      script_set_attribute(attribute:"plugin_modification_date", value:"2020/06/04");
    
      script_cve_id("CVE-2015-4513", "CVE-2015-4514", "CVE-2015-4515", "CVE-2015-4518", "CVE-2015-7181", "CVE-2015-7182", "CVE-2015-7183", "CVE-2015-7185", "CVE-2015-7186", "CVE-2015-7187", "CVE-2015-7188", "CVE-2015-7189", "CVE-2015-7190", "CVE-2015-7191", "CVE-2015-7192", "CVE-2015-7193", "CVE-2015-7194", "CVE-2015-7195", "CVE-2015-7196", "CVE-2015-7197", "CVE-2015-7198", "CVE-2015-7199", "CVE-2015-7200");
    
      script_name(english:"openSUSE Security Update : MozillaFirefox / mozilla-nspr / mozilla-nss / etc (openSUSE-2015-718)");
      script_summary(english:"Check for the openSUSE-2015-718 patch");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote openSUSE host is missing a security update."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "Mozilla Firefox was updated to version 42.0, fixing bugs and security
    issues. Mozilla xulrunner was updated to xulrunner 38.4.0. SeaMonkey
    was updated to 2.39.
    
    New features in Mozilla Firefox :
    
      - Private Browsing with Tracking Protection blocks certain
        Web elements that could be used to record your behavior
        across sites
    
      - Control Center that contains site security and privacy
        controls
    
      - Login Manager improvements
    
      - WebRTC improvements
    
      - Indicator added to tabs that play audio with one-click
        muting
    
      - Media Source Extension for HTML5 video available for all
        sites
    
    Security fixes :
    
      - MFSA 2015-116/CVE-2015-4513/CVE-2015-4514 Miscellaneous
        memory safety hazards
    
      - MFSA 2015-117/CVE-2015-4515 (bmo#1046421) Information
        disclosure through NTLM authentication
    
      - MFSA 2015-118/CVE-2015-4518 (bmo#1182778, bmo#1136692)
        CSP bypass due to permissive Reader mode whitelist
    
      - MFSA 2015-119/CVE-2015-7185 (bmo#1149000) (Android only)
        Firefox for Android addressbar can be removed after
        fullscreen mode
    
      - MFSA 2015-120/CVE-2015-7186 (bmo#1193027) (Android only)
        Reading sensitive profile files through local HTML file
        on Android
    
      - MFSA 2015-121/CVE-2015-7187 (bmo#1195735) disabling
        scripts in Add-on SDK panels has no effect
    
      - MFSA 2015-122/CVE-2015-7188 (bmo#1199430) Trailing
        whitespace in IP address hostnames can bypass
        same-origin policy
    
      - MFSA 2015-123/CVE-2015-7189 (bmo#1205900) Buffer
        overflow during image interactions in canvas
    
      - MFSA 2015-124/CVE-2015-7190 (bmo#1208520) (Android only)
        Android intents can be used on Firefox for Android to
        open privileged files
    
      - MFSA 2015-125/CVE-2015-7191 (bmo#1208956) (Android only)
        XSS attack through intents on Firefox for Android
    
      - MFSA 2015-126/CVE-2015-7192 (bmo#1210023) (OS X only)
        Crash when accessing HTML tables with accessibility
        tools on OS X
    
      - MFSA 2015-127/CVE-2015-7193 (bmo#1210302) CORS preflight
        is bypassed when non-standard Content-Type headers are
        received
    
      - MFSA 2015-128/CVE-2015-7194 (bmo#1211262) Memory
        corruption in libjar through zip files
    
      - MFSA 2015-129/CVE-2015-7195 (bmo#1211871) Certain
        escaped characters in host of Location-header are being
        treated as non-escaped
    
      - MFSA 2015-130/CVE-2015-7196 (bmo#1140616) JavaScript
        garbage collection crash with Java applet
    
      - MFSA 2015-131/CVE-2015-7198/CVE-2015-7199/CVE-2015-7200
        (bmo#1188010, bmo#1204061, bmo#1204155) Vulnerabilities
        found through code inspection
    
      - MFSA 2015-132/CVE-2015-7197 (bmo#1204269) Mixed content
        WebSocket policy bypass through workers
    
      - MFSA 2015-133/CVE-2015-7181/CVE-2015-7182/CVE-2015-7183
        (bmo#1202868, bmo#1205157) NSS and NSPR memory
        corruption issues (fixed in mozilla-nspr and mozilla-nss
        packages)
    
    mozilla-nspr was updated to 4.10.10 :
    
      - MFSA 2015-133/CVE-2015-7183 (bmo#1205157) memory
        corruption issues
    
    This update includes the update to version 4.10.9
    
      - bmo#1021167: Leak of |poll_list| on failure in
        _MW_PollInternal
    
      - bmo#1030692: Make compiling nspr on windows possible
        again.
    
      - bmo#1088790: dosprint() doesn't support %zu and other
        size formats
    
      - bmo#1130787: prtime.h does not compile with MSVC's /Za
        (ISO C/C++ conformance) option
    
      - bmo#1153610: MIPS64: Add support for n64 ABI
    
      - bmo#1156029: Teach clang-analyzer about PR_ASSERT
    
      - bmo#1160125: MSVC version detection is broken CC is set
        to a wrapper (like sccache)
    
      - bmo#1163346: Add NSPR support for FreeBSD mips/mips64
    
      - bmo#1169185: Add support for OpenRISC (or1k)
    
      - bmo:1174749: Remove configure block for iOS that uses
        MACOS_SDK_DIR
    
      - bmo#1174781: PR_GetInheritedFD can use uninitialized
        variables
    
    mozilla-nss was updated to 3.20.1 :
    
      - requires NSPR 4.10.10
    
      - MFSA 2015-133/CVE-2015-7181/CVE-2015-7182 (bmo#1192028,
        bmo#1202868) memory corruption issues
    
      - Install the static libfreebl.a that is needed in order
        to link Sun elliptical curves provider in Java 7.
    
    This includes the update of Mozilla NSS to NSS 3.20 New 
    functionality :
    
      - The TLS library has been extended to support DHE
        ciphersuites in server applications. New Functions :
    
      - SSL_DHEGroupPrefSet - Configure the set of
        allowed/enabled DHE group parameters that can be used by
        NSS for a server socket.
    
      - SSL_EnableWeakDHEPrimeGroup - Enable the use of weak DHE
        group parameters that are smaller than the library
        default's minimum size. New Types :
    
      - SSLDHEGroupType - Enumerates the set of DHE parameters
        embedded in NSS that can be used with function
        SSL_DHEGroupPrefSet. New Macros :
    
      - SSL_ENABLE_SERVER_DHE - A socket option user to enable
        or disable DHE ciphersuites for a server socket. Notable
        Changes :
    
      - For backwards compatibility reasons, the server side
        implementation of the TLS library keeps all DHE
        ciphersuites disabled by default. They can be enabled
        with the new socket option SSL_ENABLE_SERVER_DHE and the
        SSL_OptionSet or the SSL_OptionSetDefault API.
    
      - The server side implementation of the TLS implementation
        does not support session tickets when using a DHE
        ciphersuite (see bmo#1174677).
    
      - Support for the following ciphersuites has been added :
    
      - TLS_DHE_DSS_WITH_AES_128_GCM_SHA256
    
      - TLS_DHE_DSS_WITH_AES_128_CBC_SHA256
    
      - TLS_DHE_DSS_WITH_AES_256_CBC_SHA256
    
      - By default, the server side TLS implementation will use
        DHE parameters with a size of 2048 bits when using DHE
        ciphersuites.
    
      - NSS embeds fixed DHE parameters sized 2048, 3072, 4096,
        6144 and 8192 bits, which were copied from version 08 of
        the Internet-Draft 'Negotiated Finite Field
        Diffie-Hellman Ephemeral Parameters for TLS', Appendix
        A.
    
      - A new API SSL_DHEGroupPrefSet has been added to NSS,
        which allows a server application to select one or
        multiple of the embedded DHE parameters as the preferred
        parameters. The current implementation of NSS will
        always use the first entry in the array that is passed
        as a parameter to the SSL_DHEGroupPrefSet API. In future
        versions of the TLS implementation, a TLS client might
        signal a preference for certain DHE parameters, and the
        NSS TLS server side implementation might select a
        matching entry from the set of parameters that have been
        configured as preferred on the server side.
    
      - NSS optionally supports the use of weak DHE parameters
        with DHE ciphersuites to support legacy clients. In
        order to enable this support, the new API
        SSL_EnableWeakDHEPrimeGroup must be used. Each time this
        API is called for the first time in a process, a fresh
        set of weak DHE parameters will be randomly created,
        which may take a long amount of time. Please refer to
        the comments in the header file that declares the
        SSL_EnableWeakDHEPrimeGroup API for additional details.
    
      - The size of the default PQG parameters used by certutil
        when creating DSA keys has been increased to use 2048
        bit parameters.
    
      - The selfserv utility has been enhanced to support the
        new DHE features.
    
      - NSS no longer supports C compilers that predate the ANSI
        C standard (C89).
    
    It also includes the update to NSS 3.19.3; certstore updates only
    
      - The following CA certificates were removed
    
      - Buypass Class 3 CA 1
    
      - T&Uuml;RKTRUST Elektronik Sertifika Hizmet
        Sa&#x11F;lay&#x131;c&#x131;s&#x131;
    
      - SG TRUST SERVICES RACINE
    
      - TC TrustCenter Universal CA I
    
      - TC TrustCenter Class 2 CA II
    
      - The following CA certificate had the Websites trust bit
        turned off
    
      - ComSign Secured CA
    
      - The following CA certificates were added
    
      - T&Uuml;RKTRUST Elektronik Sertifika Hizmet
        Sa&#x11F;lay&#x131;c&#x131;s&#x131; H5
    
      - T&Uuml;RKTRUST Elektronik Sertifika Hizmet
        Sa&#x11F;lay&#x131;c&#x131;s&#x131; H6
    
      - Certinomis - Root CA
    
      - The version number of the updated root CA list has been
        set to 2.5
    
      - Install blapi.h and algmac.h that are needed in order to
        build Sun elliptical curves provider in Java 7"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.opensuse.org/show_bug.cgi?id=952810"
      );
      script_set_attribute(
        attribute:"solution", 
        value:"Update the affected MozillaFirefox / mozilla-nspr / mozilla-nss / etc packages."
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");
      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_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:MozillaFirefox");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:MozillaFirefox-branding-upstream");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:MozillaFirefox-buildsymbols");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:MozillaFirefox-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:MozillaFirefox-debugsource");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:MozillaFirefox-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:MozillaFirefox-translations-common");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:MozillaFirefox-translations-other");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libfreebl3");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libfreebl3-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libfreebl3-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libfreebl3-debuginfo-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libsoftokn3");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libsoftokn3-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libsoftokn3-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libsoftokn3-debuginfo-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mozilla-nspr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mozilla-nspr-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mozilla-nspr-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mozilla-nspr-debuginfo-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mozilla-nspr-debugsource");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mozilla-nspr-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mozilla-nss");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mozilla-nss-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mozilla-nss-certs");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mozilla-nss-certs-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mozilla-nss-certs-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mozilla-nss-certs-debuginfo-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mozilla-nss-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mozilla-nss-debuginfo-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mozilla-nss-debugsource");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mozilla-nss-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mozilla-nss-sysinit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mozilla-nss-sysinit-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mozilla-nss-sysinit-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mozilla-nss-sysinit-debuginfo-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mozilla-nss-tools");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:mozilla-nss-tools-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:seamonkey");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:seamonkey-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:seamonkey-debugsource");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:seamonkey-dom-inspector");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:seamonkey-irc");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:seamonkey-translations-common");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:seamonkey-translations-other");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:xulrunner");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:xulrunner-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:xulrunner-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:xulrunner-debuginfo-32bit");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:xulrunner-debugsource");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:xulrunner-devel");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:opensuse:13.1");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:opensuse:13.2");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:opensuse:42.1");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2015/11/07");
      script_set_attribute(attribute:"plugin_publication_date", value:"2015/11/10");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2015-2020 Tenable Network Security, Inc.");
      script_family(english:"SuSE Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/SuSE/release", "Host/SuSE/rpm-list", "Host/cpu");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("global_settings.inc");
    include("rpm.inc");
    
    if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    release = get_kb_item("Host/SuSE/release");
    if (isnull(release) || release =~ "^(SLED|SLES)") audit(AUDIT_OS_NOT, "openSUSE");
    if (release !~ "^(SUSE13\.1|SUSE13\.2|SUSE42\.1)$") audit(AUDIT_OS_RELEASE_NOT, "openSUSE", "13.1 / 13.2 / 42.1", release);
    if (!get_kb_item("Host/SuSE/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    ourarch = get_kb_item("Host/cpu");
    if (!ourarch) audit(AUDIT_UNKNOWN_ARCH);
    if (ourarch !~ "^(i586|i686|x86_64)$") audit(AUDIT_ARCH_NOT, "i586 / i686 / x86_64", ourarch);
    
    flag = 0;
    
    if ( rpm_check(release:"SUSE13.1", reference:"MozillaFirefox-42.0-94.4") ) flag++;
    if ( rpm_check(release:"SUSE13.1", reference:"MozillaFirefox-branding-upstream-42.0-94.4") ) flag++;
    if ( rpm_check(release:"SUSE13.1", reference:"MozillaFirefox-buildsymbols-42.0-94.4") ) flag++;
    if ( rpm_check(release:"SUSE13.1", reference:"MozillaFirefox-debuginfo-42.0-94.4") ) flag++;
    if ( rpm_check(release:"SUSE13.1", reference:"MozillaFirefox-debugsource-42.0-94.4") ) flag++;
    if ( rpm_check(release:"SUSE13.1", reference:"MozillaFirefox-devel-42.0-94.4") ) flag++;
    if ( rpm_check(release:"SUSE13.1", reference:"MozillaFirefox-translations-common-42.0-94.4") ) flag++;
    if ( rpm_check(release:"SUSE13.1", reference:"MozillaFirefox-translations-other-42.0-94.4") ) flag++;
    if ( rpm_check(release:"SUSE13.1", reference:"libfreebl3-3.20.1-62.2") ) flag++;
    if ( rpm_check(release:"SUSE13.1", reference:"libfreebl3-debuginfo-3.20.1-62.2") ) flag++;
    if ( rpm_check(release:"SUSE13.1", reference:"libsoftokn3-3.20.1-62.2") ) flag++;
    if ( rpm_check(release:"SUSE13.1", reference:"libsoftokn3-debuginfo-3.20.1-62.2") ) flag++;
    if ( rpm_check(release:"SUSE13.1", reference:"mozilla-nspr-4.10.10-25.1") ) flag++;
    if ( rpm_check(release:"SUSE13.1", reference:"mozilla-nspr-debuginfo-4.10.10-25.1") ) flag++;
    if ( rpm_check(release:"SUSE13.1", reference:"mozilla-nspr-debugsource-4.10.10-25.1") ) flag++;
    if ( rpm_check(release:"SUSE13.1", reference:"mozilla-nspr-devel-4.10.10-25.1") ) flag++;
    if ( rpm_check(release:"SUSE13.1", reference:"mozilla-nss-3.20.1-62.2") ) flag++;
    if ( rpm_check(release:"SUSE13.1", reference:"mozilla-nss-certs-3.20.1-62.2") ) flag++;
    if ( rpm_check(release:"SUSE13.1", reference:"mozilla-nss-certs-debuginfo-3.20.1-62.2") ) flag++;
    if ( rpm_check(release:"SUSE13.1", reference:"mozilla-nss-debuginfo-3.20.1-62.2") ) flag++;
    if ( rpm_check(release:"SUSE13.1", reference:"mozilla-nss-debugsource-3.20.1-62.2") ) flag++;
    if ( rpm_check(release:"SUSE13.1", reference:"mozilla-nss-devel-3.20.1-62.2") ) flag++;
    if ( rpm_check(release:"SUSE13.1", reference:"mozilla-nss-sysinit-3.20.1-62.2") ) flag++;
    if ( rpm_check(release:"SUSE13.1", reference:"mozilla-nss-sysinit-debuginfo-3.20.1-62.2") ) flag++;
    if ( rpm_check(release:"SUSE13.1", reference:"mozilla-nss-tools-3.20.1-62.2") ) flag++;
    if ( rpm_check(release:"SUSE13.1", reference:"mozilla-nss-tools-debuginfo-3.20.1-62.2") ) flag++;
    if ( rpm_check(release:"SUSE13.1", reference:"seamonkey-2.39-59.1") ) flag++;
    if ( rpm_check(release:"SUSE13.1", reference:"seamonkey-debuginfo-2.39-59.1") ) flag++;
    if ( rpm_check(release:"SUSE13.1", reference:"seamonkey-debugsource-2.39-59.1") ) flag++;
    if ( rpm_check(release:"SUSE13.1", reference:"seamonkey-dom-inspector-2.39-59.1") ) flag++;
    if ( rpm_check(release:"SUSE13.1", reference:"seamonkey-irc-2.39-59.1") ) flag++;
    if ( rpm_check(release:"SUSE13.1", reference:"seamonkey-translations-common-2.39-59.1") ) flag++;
    if ( rpm_check(release:"SUSE13.1", reference:"seamonkey-translations-other-2.39-59.1") ) flag++;
    if ( rpm_check(release:"SUSE13.1", cpu:"x86_64", reference:"libfreebl3-32bit-3.20.1-62.2") ) flag++;
    if ( rpm_check(release:"SUSE13.1", cpu:"x86_64", reference:"libfreebl3-debuginfo-32bit-3.20.1-62.2") ) flag++;
    if ( rpm_check(release:"SUSE13.1", cpu:"x86_64", reference:"libsoftokn3-32bit-3.20.1-62.2") ) flag++;
    if ( rpm_check(release:"SUSE13.1", cpu:"x86_64", reference:"libsoftokn3-debuginfo-32bit-3.20.1-62.2") ) flag++;
    if ( rpm_check(release:"SUSE13.1", cpu:"x86_64", reference:"mozilla-nspr-32bit-4.10.10-25.1") ) flag++;
    if ( rpm_check(release:"SUSE13.1", cpu:"x86_64", reference:"mozilla-nspr-debuginfo-32bit-4.10.10-25.1") ) flag++;
    if ( rpm_check(release:"SUSE13.1", cpu:"x86_64", reference:"mozilla-nss-32bit-3.20.1-62.2") ) flag++;
    if ( rpm_check(release:"SUSE13.1", cpu:"x86_64", reference:"mozilla-nss-certs-32bit-3.20.1-62.2") ) flag++;
    if ( rpm_check(release:"SUSE13.1", cpu:"x86_64", reference:"mozilla-nss-certs-debuginfo-32bit-3.20.1-62.2") ) flag++;
    if ( rpm_check(release:"SUSE13.1", cpu:"x86_64", reference:"mozilla-nss-debuginfo-32bit-3.20.1-62.2") ) flag++;
    if ( rpm_check(release:"SUSE13.1", cpu:"x86_64", reference:"mozilla-nss-sysinit-32bit-3.20.1-62.2") ) flag++;
    if ( rpm_check(release:"SUSE13.1", cpu:"x86_64", reference:"mozilla-nss-sysinit-debuginfo-32bit-3.20.1-62.2") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"MozillaFirefox-42.0-50.4") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"MozillaFirefox-branding-upstream-42.0-50.4") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"MozillaFirefox-buildsymbols-42.0-50.4") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"MozillaFirefox-debuginfo-42.0-50.4") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"MozillaFirefox-debugsource-42.0-50.4") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"MozillaFirefox-devel-42.0-50.4") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"MozillaFirefox-translations-common-42.0-50.4") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"MozillaFirefox-translations-other-42.0-50.4") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libfreebl3-3.20.1-19.2") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libfreebl3-debuginfo-3.20.1-19.2") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libsoftokn3-3.20.1-19.2") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"libsoftokn3-debuginfo-3.20.1-19.2") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"mozilla-nspr-4.10.10-9.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"mozilla-nspr-debuginfo-4.10.10-9.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"mozilla-nspr-debugsource-4.10.10-9.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"mozilla-nspr-devel-4.10.10-9.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"mozilla-nss-3.20.1-19.2") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"mozilla-nss-certs-3.20.1-19.2") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"mozilla-nss-certs-debuginfo-3.20.1-19.2") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"mozilla-nss-debuginfo-3.20.1-19.2") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"mozilla-nss-debugsource-3.20.1-19.2") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"mozilla-nss-devel-3.20.1-19.2") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"mozilla-nss-sysinit-3.20.1-19.2") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"mozilla-nss-sysinit-debuginfo-3.20.1-19.2") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"mozilla-nss-tools-3.20.1-19.2") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"mozilla-nss-tools-debuginfo-3.20.1-19.2") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"seamonkey-2.39-23.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"seamonkey-debuginfo-2.39-23.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"seamonkey-debugsource-2.39-23.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"seamonkey-dom-inspector-2.39-23.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"seamonkey-irc-2.39-23.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"seamonkey-translations-common-2.39-23.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"seamonkey-translations-other-2.39-23.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libfreebl3-32bit-3.20.1-19.2") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libfreebl3-debuginfo-32bit-3.20.1-19.2") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libsoftokn3-32bit-3.20.1-19.2") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"libsoftokn3-debuginfo-32bit-3.20.1-19.2") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"mozilla-nspr-32bit-4.10.10-9.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"mozilla-nspr-debuginfo-32bit-4.10.10-9.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"mozilla-nss-32bit-3.20.1-19.2") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"mozilla-nss-certs-32bit-3.20.1-19.2") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"mozilla-nss-certs-debuginfo-32bit-3.20.1-19.2") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"mozilla-nss-debuginfo-32bit-3.20.1-19.2") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"mozilla-nss-sysinit-32bit-3.20.1-19.2") ) flag++;
    if ( rpm_check(release:"SUSE13.2", cpu:"x86_64", reference:"mozilla-nss-sysinit-debuginfo-32bit-3.20.1-19.2") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"MozillaFirefox-42.0-3.5") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"MozillaFirefox-branding-upstream-42.0-3.5") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"MozillaFirefox-buildsymbols-42.0-3.5") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"MozillaFirefox-debuginfo-42.0-3.5") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"MozillaFirefox-debugsource-42.0-3.5") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"MozillaFirefox-devel-42.0-3.5") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"MozillaFirefox-translations-common-42.0-3.5") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"MozillaFirefox-translations-other-42.0-3.5") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libfreebl3-3.20.1-3.3") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libfreebl3-debuginfo-3.20.1-3.3") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libsoftokn3-3.20.1-3.3") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"libsoftokn3-debuginfo-3.20.1-3.3") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"mozilla-nspr-4.10.10-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"mozilla-nspr-debuginfo-4.10.10-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"mozilla-nspr-debugsource-4.10.10-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"mozilla-nspr-devel-4.10.10-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"mozilla-nss-3.20.1-3.3") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"mozilla-nss-certs-3.20.1-3.3") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"mozilla-nss-certs-debuginfo-3.20.1-3.3") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"mozilla-nss-debuginfo-3.20.1-3.3") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"mozilla-nss-debugsource-3.20.1-3.3") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"mozilla-nss-devel-3.20.1-3.3") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"mozilla-nss-sysinit-3.20.1-3.3") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"mozilla-nss-sysinit-debuginfo-3.20.1-3.3") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"mozilla-nss-tools-3.20.1-3.3") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"mozilla-nss-tools-debuginfo-3.20.1-3.3") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"seamonkey-2.39-3.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"seamonkey-debuginfo-2.39-3.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"seamonkey-debugsource-2.39-3.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"seamonkey-dom-inspector-2.39-3.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"seamonkey-irc-2.39-3.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"seamonkey-translations-common-2.39-3.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"seamonkey-translations-other-2.39-3.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"xulrunner-38.4.0-3.2") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"xulrunner-debuginfo-38.4.0-3.2") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"xulrunner-debugsource-38.4.0-3.2") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"xulrunner-devel-38.4.0-3.2") ) flag++;
    if ( rpm_check(release:"SUSE42.1", cpu:"x86_64", reference:"libfreebl3-32bit-3.20.1-3.3") ) flag++;
    if ( rpm_check(release:"SUSE42.1", cpu:"x86_64", reference:"libfreebl3-debuginfo-32bit-3.20.1-3.3") ) flag++;
    if ( rpm_check(release:"SUSE42.1", cpu:"x86_64", reference:"libsoftokn3-32bit-3.20.1-3.3") ) flag++;
    if ( rpm_check(release:"SUSE42.1", cpu:"x86_64", reference:"libsoftokn3-debuginfo-32bit-3.20.1-3.3") ) flag++;
    if ( rpm_check(release:"SUSE42.1", cpu:"x86_64", reference:"mozilla-nspr-32bit-4.10.10-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", cpu:"x86_64", reference:"mozilla-nspr-debuginfo-32bit-4.10.10-4.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", cpu:"x86_64", reference:"mozilla-nss-32bit-3.20.1-3.3") ) flag++;
    if ( rpm_check(release:"SUSE42.1", cpu:"x86_64", reference:"mozilla-nss-certs-32bit-3.20.1-3.3") ) flag++;
    if ( rpm_check(release:"SUSE42.1", cpu:"x86_64", reference:"mozilla-nss-certs-debuginfo-32bit-3.20.1-3.3") ) flag++;
    if ( rpm_check(release:"SUSE42.1", cpu:"x86_64", reference:"mozilla-nss-debuginfo-32bit-3.20.1-3.3") ) flag++;
    if ( rpm_check(release:"SUSE42.1", cpu:"x86_64", reference:"mozilla-nss-sysinit-32bit-3.20.1-3.3") ) flag++;
    if ( rpm_check(release:"SUSE42.1", cpu:"x86_64", reference:"mozilla-nss-sysinit-debuginfo-32bit-3.20.1-3.3") ) flag++;
    if ( rpm_check(release:"SUSE42.1", cpu:"x86_64", reference:"xulrunner-32bit-38.4.0-3.2") ) flag++;
    if ( rpm_check(release:"SUSE42.1", cpu:"x86_64", reference:"xulrunner-debuginfo-32bit-38.4.0-3.2") ) flag++;
    
    if (flag)
    {
      if (report_verbosity > 0) security_hole(port:0, extra:rpm_report_get());
      else security_hole(0);
      exit(0);
    }
    else
    {
      tested = pkg_tests_get();
      if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
      else audit(AUDIT_PACKAGE_NOT_INSTALLED, "MozillaFirefox / MozillaFirefox-branding-upstream / etc");
    }
    
  • NASL familyFreeBSD Local Security Checks
    NASL idFREEBSD_PKG_9D04936C75F14A2C9ADE4C1708BE5DF9.NASL
    descriptionThe Mozilla Project reports : MFSA 2015-133 NSS and NSPR memory corruption issues MFSA 2015-132 Mixed content WebSocket policy bypass through workers MFSA 2015-131 Vulnerabilities found through code inspection MFSA 2015-130 JavaScript garbage collection crash with Java applet MFSA 2015-129 Certain escaped characters in host of Location-header are being treated as non-escaped MFSA 2015-128 Memory corruption in libjar through zip files MFSA 2015-127 CORS preflight is bypassed when non-standard Content-Type headers are received MFSA 2015-126 Crash when accessing HTML tables with accessibility tools on OS X MFSA 2015-125 XSS attack through intents on Firefox for Android MFSA 2015-124 Android intents can be used on Firefox for Android to open privileged files MFSA 2015-123 Buffer overflow during image interactions in canvas MFSA 2015-122 Trailing whitespace in IP address hostnames can bypass same-origin policy MFSA 2015-121 Disabling scripts in Add-on SDK panels has no effect MFSA 2015-120 Reading sensitive profile files through local HTML file on Android MFSA 2015-119 Firefox for Android addressbar can be removed after fullscreen mode MFSA 2015-118 CSP bypass due to permissive Reader mode whitelist MFSA 2015-117 Information disclosure through NTLM authentication MFSA 2015-116 Miscellaneous memory safety hazards (rv:42.0 / rv:38.4)
    last seen2020-06-01
    modified2020-06-02
    plugin id86955
    published2015-11-20
    reporterThis script is Copyright (C) 2015-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/86955
    titleFreeBSD : mozilla -- multiple vulnerabilities (9d04936c-75f1-4a2c-9ade-4c1708be5df9)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were  
    # extracted from the FreeBSD VuXML database :
    #
    # Copyright 2003-2019 Jacques Vidrine and contributors
    #
    # Redistribution and use in source (VuXML) and 'compiled' forms (SGML,
    # HTML, PDF, PostScript, RTF and so forth) with or without modification,
    # are permitted provided that the following conditions are met:
    # 1. Redistributions of source code (VuXML) must retain the above
    #    copyright notice, this list of conditions and the following
    #    disclaimer as the first lines of this file unmodified.
    # 2. Redistributions in compiled form (transformed to other DTDs,
    #    published online in any format, converted to PDF, PostScript,
    #    RTF and other formats) must reproduce the above copyright
    #    notice, this list of conditions and the following disclaimer
    #    in the documentation and/or other materials provided with the
    #    distribution.
    # 
    # THIS DOCUMENTATION IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS "AS IS"
    # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
    # THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
    # PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS
    # BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
    # OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
    # OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
    # BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
    # WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
    # OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS DOCUMENTATION,
    # EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(86955);
      script_version("2.11");
      script_cvs_date("Date: 2019/07/10 16:04:13");
    
      script_cve_id("CVE-2015-4513", "CVE-2015-4514", "CVE-2015-4515", "CVE-2015-4518", "CVE-2015-7181", "CVE-2015-7182", "CVE-2015-7183", "CVE-2015-7185", "CVE-2015-7186", "CVE-2015-7187", "CVE-2015-7188", "CVE-2015-7189", "CVE-2015-7190", "CVE-2015-7191", "CVE-2015-7192", "CVE-2015-7193", "CVE-2015-7194", "CVE-2015-7195", "CVE-2015-7196", "CVE-2015-7197", "CVE-2015-7198", "CVE-2015-7199", "CVE-2015-7200");
    
      script_name(english:"FreeBSD : mozilla -- multiple vulnerabilities (9d04936c-75f1-4a2c-9ade-4c1708be5df9)");
      script_summary(english:"Checks for updated packages in pkg_info output");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:
    "The remote FreeBSD host is missing one or more security-related
    updates."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "The Mozilla Project reports :
    
    MFSA 2015-133 NSS and NSPR memory corruption issues
    
    MFSA 2015-132 Mixed content WebSocket policy bypass through workers
    
    MFSA 2015-131 Vulnerabilities found through code inspection
    
    MFSA 2015-130 JavaScript garbage collection crash with Java applet
    
    MFSA 2015-129 Certain escaped characters in host of Location-header
    are being treated as non-escaped
    
    MFSA 2015-128 Memory corruption in libjar through zip files
    
    MFSA 2015-127 CORS preflight is bypassed when non-standard
    Content-Type headers are received
    
    MFSA 2015-126 Crash when accessing HTML tables with accessibility
    tools on OS X
    
    MFSA 2015-125 XSS attack through intents on Firefox for Android
    
    MFSA 2015-124 Android intents can be used on Firefox for Android to
    open privileged files
    
    MFSA 2015-123 Buffer overflow during image interactions in canvas
    
    MFSA 2015-122 Trailing whitespace in IP address hostnames can bypass
    same-origin policy
    
    MFSA 2015-121 Disabling scripts in Add-on SDK panels has no effect
    
    MFSA 2015-120 Reading sensitive profile files through local HTML file
    on Android
    
    MFSA 2015-119 Firefox for Android addressbar can be removed after
    fullscreen mode
    
    MFSA 2015-118 CSP bypass due to permissive Reader mode whitelist
    
    MFSA 2015-117 Information disclosure through NTLM authentication
    
    MFSA 2015-116 Miscellaneous memory safety hazards (rv:42.0 / rv:38.4)"
      );
      # https://www.mozilla.org/security/advisories/mfsa2015-116/
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.mozilla.org/en-US/security/advisories/mfsa2015-116/"
      );
      # https://www.mozilla.org/security/advisories/mfsa2015-117/
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.mozilla.org/en-US/security/advisories/mfsa2015-117/"
      );
      # https://www.mozilla.org/security/advisories/mfsa2015-118/
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.mozilla.org/en-US/security/advisories/mfsa2015-118/"
      );
      # https://www.mozilla.org/security/advisories/mfsa2015-119/
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.mozilla.org/en-US/security/advisories/mfsa2015-119/"
      );
      # https://www.mozilla.org/security/advisories/mfsa2015-120/
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.mozilla.org/en-US/security/advisories/mfsa2015-120/"
      );
      # https://www.mozilla.org/security/advisories/mfsa2015-121/
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.mozilla.org/en-US/security/advisories/mfsa2015-121/"
      );
      # https://www.mozilla.org/security/advisories/mfsa2015-122/
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.mozilla.org/en-US/security/advisories/mfsa2015-122/"
      );
      # https://www.mozilla.org/security/advisories/mfsa2015-123/
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.mozilla.org/en-US/security/advisories/mfsa2015-123/"
      );
      # https://www.mozilla.org/security/advisories/mfsa2015-124/
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.mozilla.org/en-US/security/advisories/mfsa2015-124/"
      );
      # https://www.mozilla.org/security/advisories/mfsa2015-125/
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.mozilla.org/en-US/security/advisories/mfsa2015-125/"
      );
      # https://www.mozilla.org/security/advisories/mfsa2015-126/
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.mozilla.org/en-US/security/advisories/mfsa2015-126/"
      );
      # https://www.mozilla.org/security/advisories/mfsa2015-127/
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.mozilla.org/en-US/security/advisories/mfsa2015-127/"
      );
      # https://www.mozilla.org/security/advisories/mfsa2015-128/
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.mozilla.org/en-US/security/advisories/mfsa2015-128/"
      );
      # https://www.mozilla.org/security/advisories/mfsa2015-129/
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.mozilla.org/en-US/security/advisories/mfsa2015-129/"
      );
      # https://www.mozilla.org/security/advisories/mfsa2015-130/
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.mozilla.org/en-US/security/advisories/mfsa2015-130/"
      );
      # https://www.mozilla.org/security/advisories/mfsa2015-131/
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.mozilla.org/en-US/security/advisories/mfsa2015-131/"
      );
      # https://www.mozilla.org/security/advisories/mfsa2015-132/
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.mozilla.org/en-US/security/advisories/mfsa2015-132/"
      );
      # https://www.mozilla.org/security/advisories/mfsa2015-133/
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.mozilla.org/en-US/security/advisories/mfsa2015-133/"
      );
      # https://vuxml.freebsd.org/freebsd/9d04936c-75f1-4a2c-9ade-4c1708be5df9.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?17e45bc1"
      );
      script_set_attribute(attribute:"solution", value:"Update the affected packages.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");
      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_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:freebsd:freebsd:firefox");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:freebsd:freebsd:firefox-esr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:freebsd:freebsd:libxul");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:freebsd:freebsd:linux-c6-nspr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:freebsd:freebsd:linux-firefox");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:freebsd:freebsd:linux-seamonkey");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:freebsd:freebsd:linux-thunderbird");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:freebsd:freebsd:nspr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:freebsd:freebsd:nss");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:freebsd:freebsd:seamonkey");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:freebsd:freebsd:thunderbird");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:freebsd:freebsd");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2015/11/03");
      script_set_attribute(attribute:"patch_publication_date", value:"2015/11/19");
      script_set_attribute(attribute:"plugin_publication_date", value:"2015/11/20");
      script_set_attribute(attribute:"generated_plugin", value:"current");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2015-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"FreeBSD Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/FreeBSD/release", "Host/FreeBSD/pkg_info");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("freebsd_package.inc");
    
    
    if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    if (!get_kb_item("Host/FreeBSD/release")) audit(AUDIT_OS_NOT, "FreeBSD");
    if (!get_kb_item("Host/FreeBSD/pkg_info")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    
    flag = 0;
    
    if (pkg_test(save_report:TRUE, pkg:"nspr<4.10.10")) flag++;
    if (pkg_test(save_report:TRUE, pkg:"linux-c6-nspr<4.10.10")) flag++;
    if (pkg_test(save_report:TRUE, pkg:"nss>=3.20<3.20.1")) flag++;
    if (pkg_test(save_report:TRUE, pkg:"nss>=3.19.3<3.19.4")) flag++;
    if (pkg_test(save_report:TRUE, pkg:"nss<3.19.2.1")) flag++;
    if (pkg_test(save_report:TRUE, pkg:"firefox<42.0,1")) flag++;
    if (pkg_test(save_report:TRUE, pkg:"linux-firefox<42.0,1")) flag++;
    if (pkg_test(save_report:TRUE, pkg:"seamonkey<2.39")) flag++;
    if (pkg_test(save_report:TRUE, pkg:"linux-seamonkey<2.39")) flag++;
    if (pkg_test(save_report:TRUE, pkg:"firefox-esr<38.4.0,1")) flag++;
    if (pkg_test(save_report:TRUE, pkg:"libxul<38.4.0")) flag++;
    if (pkg_test(save_report:TRUE, pkg:"thunderbird<38.4.0")) flag++;
    if (pkg_test(save_report:TRUE, pkg:"linux-thunderbird<38.4.0")) flag++;
    
    if (flag)
    {
      if (report_verbosity > 0) security_hole(port:0, extra:pkg_report_get());
      else security_hole(0);
      exit(0);
    }
    else audit(AUDIT_HOST_NOT, "affected");
    
  • NASL familyGentoo Local Security Checks
    NASL idGENTOO_GLSA-201512-10.NASL
    descriptionThe remote host is affected by the vulnerability described in GLSA-201512-10 (Mozilla Products: Multiple vulnerabilities) Multiple vulnerabilities have been discovered in Mozilla Firefox and Mozilla Thunderbird. Please review the CVE identifiers referenced below for details. Impact : A remote attacker could entice a user to view a specially crafted web page or email, possibly resulting in execution of arbitrary code or a Denial of Service condition. Workaround : There is no known workaround at this time.
    last seen2020-06-01
    modified2020-06-02
    plugin id87710
    published2016-01-04
    reporterThis script is Copyright (C) 2016-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/87710
    titleGLSA-201512-10 : Mozilla Products: Multiple vulnerabilities (Bar Mitzvah) (Logjam)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were
    # extracted from Gentoo Linux Security Advisory GLSA 201512-10.
    #
    # The advisory text is Copyright (C) 2001-2019 Gentoo Foundation, Inc.
    # and licensed under the Creative Commons - Attribution / Share Alike 
    # license. See http://creativecommons.org/licenses/by-sa/3.0/
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(87710);
      script_version("2.12");
      script_cvs_date("Date: 2019/08/12 17:35:38");
    
      script_cve_id("CVE-2015-0798", "CVE-2015-0799", "CVE-2015-0801", "CVE-2015-0802", "CVE-2015-0803", "CVE-2015-0804", "CVE-2015-0805", "CVE-2015-0806", "CVE-2015-0807", "CVE-2015-0808", "CVE-2015-0810", "CVE-2015-0811", "CVE-2015-0812", "CVE-2015-0813", "CVE-2015-0814", "CVE-2015-0815", "CVE-2015-0816", "CVE-2015-2706", "CVE-2015-2721", "CVE-2015-2722", "CVE-2015-2724", "CVE-2015-2725", "CVE-2015-2726", "CVE-2015-2727", "CVE-2015-2728", "CVE-2015-2729", "CVE-2015-2730", "CVE-2015-2731", "CVE-2015-2733", "CVE-2015-2734", "CVE-2015-2735", "CVE-2015-2736", "CVE-2015-2737", "CVE-2015-2738", "CVE-2015-2739", "CVE-2015-2740", "CVE-2015-2741", "CVE-2015-2742", "CVE-2015-2743", "CVE-2015-2808", "CVE-2015-4000", "CVE-2015-4153", "CVE-2015-4495", "CVE-2015-4513", "CVE-2015-4514", "CVE-2015-4515", "CVE-2015-4518", "CVE-2015-7181", "CVE-2015-7182", "CVE-2015-7183", "CVE-2015-7187", "CVE-2015-7188", "CVE-2015-7189", "CVE-2015-7191", "CVE-2015-7192", "CVE-2015-7193", "CVE-2015-7194", "CVE-2015-7195", "CVE-2015-7196", "CVE-2015-7197", "CVE-2015-7198", "CVE-2015-7199", "CVE-2015-7200", "CVE-2015-7201", "CVE-2015-7202", "CVE-2015-7203", "CVE-2015-7204", "CVE-2015-7205", "CVE-2015-7207", "CVE-2015-7208", "CVE-2015-7210", "CVE-2015-7211", "CVE-2015-7212", "CVE-2015-7213", "CVE-2015-7214", "CVE-2015-7215", "CVE-2015-7216", "CVE-2015-7217", "CVE-2015-7218", "CVE-2015-7219", "CVE-2015-7220", "CVE-2015-7221", "CVE-2015-7222", "CVE-2015-7223");
      script_xref(name:"GLSA", value:"201512-10");
    
      script_name(english:"GLSA-201512-10 : Mozilla Products: Multiple vulnerabilities (Bar Mitzvah) (Logjam)");
      script_summary(english:"Checks for updated package(s) in /var/db/pkg");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:
    "The remote Gentoo host is missing one or more security-related
    patches."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "The remote host is affected by the vulnerability described in GLSA-201512-10
    (Mozilla Products: Multiple vulnerabilities)
    
        Multiple vulnerabilities have been discovered in Mozilla Firefox and
          Mozilla Thunderbird. Please review the CVE identifiers referenced below
          for details.
      
    Impact :
    
        A remote attacker could entice a user to view a specially crafted web
          page or email, possibly resulting in execution of arbitrary code or a
          Denial of Service condition.
      
    Workaround :
    
        There is no known workaround at this time."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://security.gentoo.org/glsa/201512-10"
      );
      script_set_attribute(
        attribute:"solution", 
        value:
    "All  Firefox users should upgrade to the latest version:
          # emerge --sync
          # emerge --ask --oneshot --verbose '>=www-client/firefox-38.5.0'
        All  Firefox-bin users should upgrade to the latest version:
          # emerge --sync
          # emerge --ask --oneshot --verbose '>=www-client/firefox-bin-38.5.0'
        All  Thunderbird users should upgrade to the latest version:
          # emerge --sync
          # emerge --ask --oneshot --verbose '>=mail-client/thunderbird-38.5.0'
        All  Thunderbird-bin users should upgrade to the latest version:
          # emerge --sync
          # emerge --ask --oneshot --verbose
          '>=mail-client/thunderbird-bin-38.5.0'"
      );
      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_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
      script_set_cvss3_temporal_vector("CVSS:3.0/E:H/RL:O/RC:C");
      script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
      script_set_attribute(attribute:"exploit_available", value:"true");
      script_set_attribute(attribute:"exploited_by_malware", value:"true");
      script_set_attribute(attribute:"metasploit_name", value:'Firefox PDF.js Privileged Javascript Injection');
      script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");
      script_set_attribute(attribute:"exploit_framework_canvas", value:"true");
      script_set_attribute(attribute:"canvas_package", value:'CANVAS');
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:gentoo:linux:firefox");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:gentoo:linux:firefox-bin");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:gentoo:linux:thunderbird");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:gentoo:linux:thunderbird-bin");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:gentoo:linux");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2015/03/31");
      script_set_attribute(attribute:"patch_publication_date", value:"2015/12/30");
      script_set_attribute(attribute:"plugin_publication_date", value:"2016/01/04");
      script_set_attribute(attribute:"in_the_news", value:"true");
      script_set_attribute(attribute:"generated_plugin", value:"current");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2016-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"Gentoo Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/Gentoo/release", "Host/Gentoo/qpkg-list");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("global_settings.inc");
    include("qpkg.inc");
    
    if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    if (!get_kb_item("Host/Gentoo/release")) audit(AUDIT_OS_NOT, "Gentoo");
    if (!get_kb_item("Host/Gentoo/qpkg-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    
    flag = 0;
    
    if (qpkg_check(package:"www-client/firefox-bin", unaffected:make_list("ge 38.5.0"), vulnerable:make_list("lt 38.5.0"))) flag++;
    if (qpkg_check(package:"mail-client/thunderbird-bin", unaffected:make_list("ge 38.5.0"), vulnerable:make_list("lt 38.5.0"))) flag++;
    if (qpkg_check(package:"www-client/firefox", unaffected:make_list("ge 38.5.0"), vulnerable:make_list("lt 38.5.0"))) flag++;
    if (qpkg_check(package:"mail-client/thunderbird", unaffected:make_list("ge 38.5.0"), vulnerable:make_list("lt 38.5.0"))) flag++;
    
    if (flag)
    {
      if (report_verbosity > 0) security_hole(port:0, extra:qpkg_report_get());
      else security_hole(0);
      exit(0);
    }
    else
    {
      tested = qpkg_tests_get();
      if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
      else audit(AUDIT_PACKAGE_NOT_INSTALLED, "Mozilla Products");
    }