Vulnerabilities > CVE-2015-7186 - Information Exposure vulnerability in Mozilla Firefox

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

Summary

Mozilla Firefox before 42.0 on Android allows user-assisted remote attackers to bypass the Same Origin Policy and trigger (1) a download or (2) cached profile-data reading via a file: URL in a saved HTML document.

Vulnerable Configurations

Part Description Count
Application
Mozilla
296
OS
Google
1

Common Weakness Enumeration (CWE)

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Subverting Environment Variable Values
    The attacker directly or indirectly modifies environment variables used by or controlling the target software. The attacker's goal is to cause the target software to deviate from its expected operation in a manner that benefits the attacker.
  • Footprinting
    An attacker engages in probing and exploration activity to identify constituents and properties of the target. Footprinting is a general term to describe a variety of information gathering techniques, often used by attackers in preparation for some attack. It consists of using tools to learn as much as possible about the composition, configuration, and security mechanisms of the targeted application, system or network. Information that might be collected during a footprinting effort could include open ports, applications and their versions, network topology, and similar information. While footprinting is not intended to be damaging (although certain activities, such as network scans, can sometimes cause disruptions to vulnerable applications inadvertently) it may often pave the way for more damaging attacks.
  • Exploiting Trust in Client (aka Make the Client Invisible)
    An attack of this type exploits a programs' vulnerabilities in client/server communication channel authentication and data integrity. It leverages the implicit trust a server places in the client, or more importantly, that which the server believes is the client. An attacker executes this type of attack by placing themselves in the communication channel between client and server such that communication directly to the server is possible where the server believes it is communicating only with a valid client. There are numerous variations of this type of attack.
  • Browser Fingerprinting
    An attacker carefully crafts small snippets of Java Script to efficiently detect the type of browser the potential victim is using. Many web-based attacks need prior knowledge of the web browser including the version of browser to ensure successful exploitation of a vulnerability. Having this knowledge allows an attacker to target the victim with attacks that specifically exploit known or zero day weaknesses in the type and version of the browser used by the victim. Automating this process via Java Script as a part of the same delivery system used to exploit the browser is considered more efficient as the attacker can supply a browser fingerprinting method and integrate it with exploit code, all contained in Java Script and in response to the same web page request by the browser.
  • Session Credential Falsification through Prediction
    This attack targets predictable session ID in order to gain privileges. The attacker can predict the session ID used during a transaction to perform spoofing and session hijacking.

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ÜRKTRUST Elektronik Sertifika Hizmet
        Sağlayıcısı
    
      - 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ÜRKTRUST Elektronik Sertifika Hizmet
        Sağlayıcısı H5
    
      - TÜRKTRUST Elektronik Sertifika Hizmet
        Sağlayıcısı 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");