Vulnerabilities > CVE-2015-7830 - Improper Input Validation vulnerability in multiple products

047910
CVSS 0.0 - NONE
Attack vector
UNKNOWN
Attack complexity
UNKNOWN
Privileges required
UNKNOWN
Confidentiality impact
UNKNOWN
Integrity impact
UNKNOWN
Availability impact
UNKNOWN

Summary

The pcapng_read_if_descr_block function in wiretap/pcapng.c in the pcapng parser in Wireshark 1.12.x before 1.12.8 uses too many levels of pointer indirection, which allows remote attackers to cause a denial of service (incorrect free and application crash) via a crafted packet that triggers interface-filter copying.

Common Weakness Enumeration (CWE)

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Server Side Include (SSI) Injection
    An attacker can use Server Side Include (SSI) Injection to send code to a web application that then gets executed by the web server. Doing so enables the attacker to achieve similar results to Cross Site Scripting, viz., arbitrary code execution and information disclosure, albeit on a more limited scale, since the SSI directives are nowhere near as powerful as a full-fledged scripting language. Nonetheless, the attacker can conveniently gain access to sensitive files, such as password files, and execute shell commands.
  • Cross Zone Scripting
    An attacker is able to cause a victim to load content into their web-browser that bypasses security zone controls and gain access to increased privileges to execute scripting code or other web objects such as unsigned ActiveX controls or applets. This is a privilege elevation attack targeted at zone-based web-browser security. In a zone-based model, pages belong to one of a set of zones corresponding to the level of privilege assigned to that page. Pages in an untrusted zone would have a lesser level of access to the system and/or be restricted in the types of executable content it was allowed to invoke. In a cross-zone scripting attack, a page that should be assigned to a less privileged zone is granted the privileges of a more trusted zone. This can be accomplished by exploiting bugs in the browser, exploiting incorrect configuration in the zone controls, through a cross-site scripting attack that causes the attackers' content to be treated as coming from a more trusted page, or by leveraging some piece of system functionality that is accessible from both the trusted and less trusted zone. This attack differs from "Restful Privilege Escalation" in that the latter correlates to the inadequate securing of RESTful access methods (such as HTTP DELETE) on the server, while cross-zone scripting attacks the concept of security zones as implemented by a browser.
  • 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.
  • Command Line Execution through SQL Injection
    An attacker uses standard SQL injection methods to inject data into the command line for execution. This could be done directly through misuse of directives such as MSSQL_xp_cmdshell or indirectly through injection of data into the database that would be interpreted as shell commands. Sometime later, an unscrupulous backend application (or could be part of the functionality of the same application) fetches the injected data stored in the database and uses this data as command line arguments without performing proper validation. The malicious data escapes that data plane by spawning new commands to be executed on the host.

Nessus

  • NASL familySuSE Local Security Checks
    NASL idSUSE_SU-2016-0110-1.NASL
    descriptionThis update contains Wireshark 1.12.9 and fixes the following issues : - CVE-2015-7830: pcapng file parser could crash while copying an interface filter (bsc#950437) - CVE-2015-8711: epan/dissectors/packet-nbap.c in the NBAP dissector in Wireshark 1.12.x before 1.12.9 and 2.0.x before 2.0.1 does not validate conversation data, which allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) via a crafted packet. - CVE-2015-8712: The dissect_hsdsch_channel_info function in epan/dissectors/packet-umts_fp.c in the UMTS FP dissector in Wireshark 1.12.x before 1.12.9 does not validate the number of PDUs, which allows remote attackers to cause a denial of service (application crash) via a crafted packet. - CVE-2015-8713: epan/dissectors/packet-umts_fp.c in the UMTS FP dissector in Wireshark 1.12.x before 1.12.9 does not properly reserve memory for channel ID mappings, which allows remote attackers to cause a denial of service (out-of-bounds memory access and application crash) via a crafted packet. - CVE-2015-8714: The dissect_dcom_OBJREF function in epan/dissectors/packet-dcom.c in the DCOM dissector in Wireshark 1.12.x before 1.12.9 does not initialize a certain IPv4 data structure, which allows remote attackers to cause a denial of service (application crash) via a crafted packet. - CVE-2015-8715: epan/dissectors/packet-alljoyn.c in the AllJoyn dissector in Wireshark 1.12.x before 1.12.9 does not check for empty arguments, which allows remote attackers to cause a denial of service (infinite loop) via a crafted packet. - CVE-2015-8716: The init_t38_info_conv function in epan/dissectors/packet-t38.c in the T.38 dissector in Wireshark 1.12.x before 1.12.9 does not ensure that a conversation exists, which allows remote attackers to cause a denial of service (application crash) via a crafted packet. - CVE-2015-8717: The dissect_sdp function in epan/dissectors/packet-sdp.c in the SDP dissector in Wireshark 1.12.x before 1.12.9 does not prevent use of a negative media count, which allows remote attackers to cause a denial of service (application crash) via a crafted packet. - CVE-2015-8718: Double free vulnerability in epan/dissectors/packet-nlm.c in the NLM dissector in Wireshark 1.12.x before 1.12.9 and 2.0.x before 2.0.1, when the
    last seen2020-06-01
    modified2020-06-02
    plugin id87912
    published2016-01-14
    reporterThis script is Copyright (C) 2016-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/87912
    titleSUSE SLED11 / SLES11 Security Update : wireshark (SUSE-SU-2016:0110-1)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were
    # extracted from SUSE update advisory SUSE-SU-2016:0110-1.
    # The text itself is copyright (C) SUSE.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(87912);
      script_version("2.10");
      script_cvs_date("Date: 2019/09/11 11:22:13");
    
      script_cve_id("CVE-2015-7830", "CVE-2015-8711", "CVE-2015-8712", "CVE-2015-8713", "CVE-2015-8714", "CVE-2015-8715", "CVE-2015-8716", "CVE-2015-8717", "CVE-2015-8718", "CVE-2015-8719", "CVE-2015-8720", "CVE-2015-8721", "CVE-2015-8722", "CVE-2015-8723", "CVE-2015-8724", "CVE-2015-8725", "CVE-2015-8726", "CVE-2015-8727", "CVE-2015-8728", "CVE-2015-8729", "CVE-2015-8730", "CVE-2015-8731", "CVE-2015-8732", "CVE-2015-8733");
    
      script_name(english:"SUSE SLED11 / SLES11 Security Update : wireshark (SUSE-SU-2016:0110-1)");
      script_summary(english:"Checks rpm output for the updated package.");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote SUSE host is missing one or more security updates."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "This update contains Wireshark 1.12.9 and fixes the following issues :
    
      - CVE-2015-7830: pcapng file parser could crash while
        copying an interface filter (bsc#950437)
    
      - CVE-2015-8711: epan/dissectors/packet-nbap.c in the NBAP
        dissector in Wireshark 1.12.x before 1.12.9 and 2.0.x
        before 2.0.1 does not validate conversation data, which
        allows remote attackers to cause a denial of service
        (NULL pointer dereference and application crash) via a
        crafted packet.
    
      - CVE-2015-8712: The dissect_hsdsch_channel_info function
        in epan/dissectors/packet-umts_fp.c in the UMTS FP
        dissector in Wireshark 1.12.x before 1.12.9 does not
        validate the number of PDUs, which allows remote
        attackers to cause a denial of service (application
        crash) via a crafted packet.
    
      - CVE-2015-8713: epan/dissectors/packet-umts_fp.c in the
        UMTS FP dissector in Wireshark 1.12.x before 1.12.9 does
        not properly reserve memory for channel ID mappings,
        which allows remote attackers to cause a denial of
        service (out-of-bounds memory access and application
        crash) via a crafted packet.
    
      - CVE-2015-8714: The dissect_dcom_OBJREF function in
        epan/dissectors/packet-dcom.c in the DCOM dissector in
        Wireshark 1.12.x before 1.12.9 does not initialize a
        certain IPv4 data structure, which allows remote
        attackers to cause a denial of service (application
        crash) via a crafted packet.
    
      - CVE-2015-8715: epan/dissectors/packet-alljoyn.c in the
        AllJoyn dissector in Wireshark 1.12.x before 1.12.9 does
        not check for empty arguments, which allows remote
        attackers to cause a denial of service (infinite loop)
        via a crafted packet.
    
      - CVE-2015-8716: The init_t38_info_conv function in
        epan/dissectors/packet-t38.c in the T.38 dissector in
        Wireshark 1.12.x before 1.12.9 does not ensure that a
        conversation exists, which allows remote attackers to
        cause a denial of service (application crash) via a
        crafted packet.
    
      - CVE-2015-8717: The dissect_sdp function in
        epan/dissectors/packet-sdp.c in the SDP dissector in
        Wireshark 1.12.x before 1.12.9 does not prevent use of a
        negative media count, which allows remote attackers to
        cause a denial of service (application crash) via a
        crafted packet.
    
      - CVE-2015-8718: Double free vulnerability in
        epan/dissectors/packet-nlm.c in the NLM dissector in
        Wireshark 1.12.x before 1.12.9 and 2.0.x before 2.0.1,
        when the 'Match MSG/RES packets for async NLM' option is
        enabled, allows remote attackers to cause a denial of
        service (application crash) via a crafted packet.
    
      - CVE-2015-8719: The dissect_dns_answer function in
        epan/dissectors/packet-dns.c in the DNS dissector in
        Wireshark 1.12.x before 1.12.9 mishandles the EDNS0
        Client Subnet option, which allows remote attackers to
        cause a denial of service (application crash) via a
        crafted packet.
    
      - CVE-2015-8720: The dissect_ber_GeneralizedTime function
        in epan/dissectors/packet-ber.c in the BER dissector in
        Wireshark 1.12.x before 1.12.9 and 2.0.x before 2.0.1
        improperly checks an sscanf return value, which allows
        remote attackers to cause a denial of service
        (application crash) via a crafted packet.
    
      - CVE-2015-8721: Buffer overflow in the tvb_uncompress
        function in epan/tvbuff_zlib.c in Wireshark 1.12.x
        before 1.12.9 and 2.0.x before 2.0.1 allows remote
        attackers to cause a denial of service (application
        crash) via a crafted packet with zlib compression.
    
      - CVE-2015-8722: epan/dissectors/packet-sctp.c in the SCTP
        dissector in Wireshark 1.12.x before 1.12.9 and 2.0.x
        before 2.0.1 does not validate the frame pointer, which
        allows remote attackers to cause a denial of service
        (NULL pointer dereference and application crash) via a
        crafted packet.
    
      - CVE-2015-8723: The AirPDcapPacketProcess function in
        epan/crypt/airpdcap.c in the 802.11 dissector in
        Wireshark 1.12.x before 1.12.9 and 2.0.x before 2.0.1
        does not validate the relationship between the total
        length and the capture length, which allows remote
        attackers to cause a denial of service (stack-based
        buffer overflow and application crash) via a crafted
    
      - CVE-2015-8724: The AirPDcapDecryptWPABroadcastKey
        function in epan/crypt/airpdcap.c in the 802.11
        dissector in Wireshark 1.12.x before 1.12.9 and 2.0.x
        before 2.0.1 does not verify the WPA broadcast key
        length, which allows remote attackers to cause a denial
        of service (out-of-bounds read and application crash)
        via a crafted packet.
    
      - CVE-2015-8725: The
        dissect_diameter_base_framed_ipv6_prefix function in
        epan/dissectors/packet-diameter.c in the DIAMETER
        dissector in Wireshark 1.12.x before 1.12.9 and 2.0.x
        before 2.0.1 does not validate the IPv6 prefix length,
        which allows remote attackers to cause a denial of
        service (stack-based buffer overflow and application
        crash) via a crafted packet.
    
      - CVE-2015-8726: wiretap/vwr.c in the VeriWave file parser
        in Wireshark 1.12.x before 1.12.9 and 2.0.x before 2.0.1
        does not validate certain signature and Modulation and
        Coding Scheme (MCS) data, which allows remote attackers
        to cause a denial of service (out-of-bounds read and
        application crash) via a crafted file.
    
      - CVE-2015-8727: The dissect_rsvp_common function in
        epan/dissectors/packet-rsvp.c in the RSVP dissector in
        Wireshark 1.12.x before 1.12.9 and 2.0.x before 2.0.1
        does not properly maintain request-key data, which
        allows remote attackers to cause a denial of service
        (use-after-free and application crash) via a crafted
        packet.
    
      - CVE-2015-8728: The Mobile Identity parser in (1)
        epan/dissectors/packet-ansi_a.c in the ANSI A dissector
        and (2) epan/dissectors/packet-gsm_a_common.c in the GSM
        A dissector in Wireshark 1.12.x before 1.12.9 and 2.0.x
        before 2.0.1 improperly uses the
        tvb_bcd_dig_to_wmem_packet_str function, which allows
        remote attackers to cause a denial of service (buffer
        overflow and application crash) via a crafted packet.
    
      - CVE-2015-8729: The ascend_seek function in
        wiretap/ascendtext.c in the Ascend file parser in
        Wireshark 1.12.x before 1.12.9 and 2.0.x before 2.0.1
        does not ensure the presence of a '\0' character at the
        end of a date string, which allows remote attackers to
        cause a denial of service (out-of-bounds read and
        application crash) via a crafted file.
    
      - CVE-2015-8730: epan/dissectors/packet-nbap.c in the NBAP
        dissector in Wireshark 1.12.x before 1.12.9 and 2.0.x
        before 2.0.1 does not validate the number of items,
        which allows remote attackers to cause a denial of
        service (invalid read operation and application crash)
        via a crafted packet.
    
      - CVE-2015-8731: The dissct_rsl_ipaccess_msg function in
        epan/dissectors/packet-rsl.c in the RSL dissector in
        Wireshark 1.12.x before 1.12.9 and 2.0.x before 2.0.1
        does not reject unknown TLV types, which allows remote
        attackers to cause a denial of service (out-of-bounds
        read and application crash) via a crafted packet.
    
      - CVE-2015-8732: The dissect_zcl_pwr_prof_pwrprofstatersp
        function in epan/dissectors/packet-zbee-zcl-general.c in
        the ZigBee ZCL dissector in Wireshark 1.12.x before
        1.12.9 and 2.0.x before 2.0.1 does not validate the
        Total Profile Number field, which allows remote
        attackers to cause a denial of service (out-of-bounds
        read and application crash) via a crafted packet.
    
      - CVE-2015-8733: The ngsniffer_process_record function in
        wiretap/ngsniffer.c in the Sniffer file parser in
        Wireshark 1.12.x before 1.12.9 and 2.0.x before 2.0.1
        does not validate the relationships between record
        lengths and record header lengths, which allows remote
        attackers to cause a denial of service (out-of-bounds
        read and application crash) via a crafted file.
    
    Note that Tenable Network Security has extracted the preceding
    description block directly from the SUSE security advisory. Tenable
    has attempted to automatically clean and format it as much as possible
    without introducing additional issues."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.suse.com/show_bug.cgi?id=950437"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.suse.com/show_bug.cgi?id=960382"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.suse.com/security/cve/CVE-2015-7830/"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.suse.com/security/cve/CVE-2015-8711/"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.suse.com/security/cve/CVE-2015-8712/"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.suse.com/security/cve/CVE-2015-8713/"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.suse.com/security/cve/CVE-2015-8714/"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.suse.com/security/cve/CVE-2015-8715/"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.suse.com/security/cve/CVE-2015-8716/"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.suse.com/security/cve/CVE-2015-8717/"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.suse.com/security/cve/CVE-2015-8718/"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.suse.com/security/cve/CVE-2015-8719/"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.suse.com/security/cve/CVE-2015-8720/"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.suse.com/security/cve/CVE-2015-8721/"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.suse.com/security/cve/CVE-2015-8722/"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.suse.com/security/cve/CVE-2015-8723/"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.suse.com/security/cve/CVE-2015-8724/"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.suse.com/security/cve/CVE-2015-8725/"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.suse.com/security/cve/CVE-2015-8726/"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.suse.com/security/cve/CVE-2015-8727/"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.suse.com/security/cve/CVE-2015-8728/"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.suse.com/security/cve/CVE-2015-8729/"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.suse.com/security/cve/CVE-2015-8730/"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.suse.com/security/cve/CVE-2015-8731/"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.suse.com/security/cve/CVE-2015-8732/"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.suse.com/security/cve/CVE-2015-8733/"
      );
      # https://www.suse.com/support/update/announcement/2016/suse-su-20160110-1/
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?c9cb4d7d"
      );
      script_set_attribute(
        attribute:"solution", 
        value:
    "To install this SUSE Security Update use YaST online_update.
    Alternatively you can run the command listed for your product :
    
    SUSE Linux Enterprise Software Development Kit 11-SP4 :
    
    zypper in -t patch sdksp4-wireshark-12322=1
    
    SUSE Linux Enterprise Software Development Kit 11-SP3 :
    
    zypper in -t patch sdksp3-wireshark-12322=1
    
    SUSE Linux Enterprise Server for VMWare 11-SP3 :
    
    zypper in -t patch slessp3-wireshark-12322=1
    
    SUSE Linux Enterprise Server 11-SP4 :
    
    zypper in -t patch slessp4-wireshark-12322=1
    
    SUSE Linux Enterprise Server 11-SP3 :
    
    zypper in -t patch slessp3-wireshark-12322=1
    
    SUSE Linux Enterprise Desktop 11-SP4 :
    
    zypper in -t patch sledsp4-wireshark-12322=1
    
    SUSE Linux Enterprise Desktop 11-SP3 :
    
    zypper in -t patch sledsp3-wireshark-12322=1
    
    SUSE Linux Enterprise Debuginfo 11-SP4 :
    
    zypper in -t patch dbgsp4-wireshark-12322=1
    
    SUSE Linux Enterprise Debuginfo 11-SP3 :
    
    zypper in -t patch dbgsp3-wireshark-12322=1
    
    To bring your system up-to-date, use 'zypper patch'."
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:N/I:N/A:P");
      script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C");
      script_set_cvss3_base_vector("CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H");
      script_set_cvss3_temporal_vector("CVSS:3.0/E:P/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:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:wireshark");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:suse_linux:11");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2015/11/14");
      script_set_attribute(attribute:"patch_publication_date", value:"2016/01/13");
      script_set_attribute(attribute:"plugin_publication_date", value:"2016/01/14");
      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:"SuSE Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/cpu", "Host/SuSE/release", "Host/SuSE/rpm-list");
    
      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, "SUSE");
    os_ver = pregmatch(pattern: "^(SLE(S|D)\d+)", string:release);
    if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "SUSE");
    os_ver = os_ver[1];
    if (! preg(pattern:"^(SLED11|SLES11)$", string:os_ver)) audit(AUDIT_OS_NOT, "SUSE SLED11 / SLES11", "SUSE " + os_ver);
    
    if (!get_kb_item("Host/SuSE/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    cpu = get_kb_item("Host/cpu");
    if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
    if (cpu !~ "^i[3-6]86$" && "x86_64" >!< cpu && "s390x" >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "SUSE " + os_ver, cpu);
    
    sp = get_kb_item("Host/SuSE/patchlevel");
    if (isnull(sp)) sp = "0";
    if (os_ver == "SLES11" && (! preg(pattern:"^(3|4)$", string:sp))) audit(AUDIT_OS_NOT, "SLES11 SP3/4", os_ver + " SP" + sp);
    if (os_ver == "SLED11" && (! preg(pattern:"^(3|4)$", string:sp))) audit(AUDIT_OS_NOT, "SLED11 SP3/4", os_ver + " SP" + sp);
    
    
    flag = 0;
    if (rpm_check(release:"SLES11", sp:"4", reference:"wireshark-1.12.9-0.12.1")) flag++;
    if (rpm_check(release:"SLES11", sp:"3", reference:"wireshark-1.12.9-0.12.1")) flag++;
    if (rpm_check(release:"SLED11", sp:"4", cpu:"x86_64", reference:"wireshark-1.12.9-0.12.1")) flag++;
    if (rpm_check(release:"SLED11", sp:"4", cpu:"i586", reference:"wireshark-1.12.9-0.12.1")) flag++;
    if (rpm_check(release:"SLED11", sp:"3", cpu:"x86_64", reference:"wireshark-1.12.9-0.12.1")) flag++;
    if (rpm_check(release:"SLED11", sp:"3", cpu:"i586", reference:"wireshark-1.12.9-0.12.1")) flag++;
    
    
    if (flag)
    {
      if (report_verbosity > 0) security_warning(port:0, extra:rpm_report_get());
      else security_warning(0);
      exit(0);
    }
    else
    {
      tested = pkg_tests_get();
      if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
      else audit(AUDIT_PACKAGE_NOT_INSTALLED, "wireshark");
    }
    
  • NASL familyFreeBSD Local Security Checks
    NASL idFREEBSD_PKG_24E4D3837B3E11E5A25068B599B52A02.NASL
    descriptionWireshark development team reports : The following vulnerability has been fixed. - wnpa-sec-2015-30 Pcapng file parser crash. (Bug 11455)
    last seen2020-06-01
    modified2020-06-02
    plugin id86586
    published2015-10-26
    reporterThis script is Copyright (C) 2015-2018 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/86586
    titleFreeBSD : wireshark -- Pcapng file parser crash (24e4d383-7b3e-11e5-a250-68b599b52a02)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were  
    # extracted from the FreeBSD VuXML database :
    #
    # Copyright 2003-2018 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(86586);
      script_version("2.7");
      script_cvs_date("Date: 2018/11/10 11:49:44");
    
      script_cve_id("CVE-2015-7830");
    
      script_name(english:"FreeBSD : wireshark -- Pcapng file parser crash (24e4d383-7b3e-11e5-a250-68b599b52a02)");
      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:
    "Wireshark development team reports :
    
    The following vulnerability has been fixed.
    
    - wnpa-sec-2015-30
    
    Pcapng file parser crash. (Bug 11455)"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.wireshark.org/docs/relnotes/wireshark-1.12.8.html"
      );
      # https://vuxml.freebsd.org/freebsd/24e4d383-7b3e-11e5-a250-68b599b52a02.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?cbfeb7ac"
      );
      script_set_attribute(attribute:"solution", value:"Update the affected packages.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:N/I:N/A:P");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:freebsd:freebsd:tshark");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:freebsd:freebsd:tshark-lite");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:freebsd:freebsd:wireshark");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:freebsd:freebsd:wireshark-lite");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:freebsd:freebsd:wireshark-qt5");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:freebsd:freebsd");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2015/10/14");
      script_set_attribute(attribute:"patch_publication_date", value:"2015/10/25");
      script_set_attribute(attribute:"plugin_publication_date", value:"2015/10/26");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2015-2018 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:"wireshark<1.12.8")) flag++;
    if (pkg_test(save_report:TRUE, pkg:"wireshark-lite<1.12.8")) flag++;
    if (pkg_test(save_report:TRUE, pkg:"wireshark-qt5<1.12.8")) flag++;
    if (pkg_test(save_report:TRUE, pkg:"tshark<1.12.8")) flag++;
    if (pkg_test(save_report:TRUE, pkg:"tshark-lite<1.12.8")) flag++;
    
    if (flag)
    {
      if (report_verbosity > 0) security_warning(port:0, extra:pkg_report_get());
      else security_warning(0);
      exit(0);
    }
    else audit(AUDIT_HOST_NOT, "affected");
    
  • NASL familyWindows
    NASL idWIRESHARK_1_12_8.NASL
    descriptionThe version of Wireshark installed on the remote Windows host is 1.12.x prior to 1.12.8. It is, therefore, affected by a denial of service vulnerability due to a flaw in the pcapng file parser that is triggered when copying an interface filter. A remote attacker can exploit this, via a specially crafted copy routine packet, to crash the file parser. Note that Nessus has not tested for this issues but has instead relied only on the application
    last seen2020-06-01
    modified2020-06-02
    plugin id86480
    published2015-10-21
    reporterThis script is Copyright (C) 2015-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/86480
    titleWireshark 1.12.x < 1.12.8 pcapng File Parser DoS
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(86480);
      script_version("1.7");
      script_cvs_date("Date: 2019/11/20");
    
      script_cve_id("CVE-2015-7830");
      script_bugtraq_id(77101);
    
      script_name(english:"Wireshark 1.12.x < 1.12.8 pcapng File Parser DoS");
      script_summary(english:"Checks the version of Wireshark.");
    
      script_set_attribute(attribute:"synopsis", value:
    "The remote Windows host has an application installed that is affected
    by a denial of service vulnerability.");
      script_set_attribute(attribute:"description", value:
    "The version of Wireshark installed on the remote Windows host is
    1.12.x prior to 1.12.8. It is, therefore, affected by a denial of
    service vulnerability due to a flaw in the pcapng file parser that is
    triggered when copying an interface filter. A remote attacker can
    exploit this, via a specially crafted copy routine packet, to crash
    the file parser.
    
    Note that Nessus has not tested for this issues but has instead relied
    only on the application's self-reported version number.");
      script_set_attribute(attribute:"see_also", value:"https://www.wireshark.org/security/wnpa-sec-2015-30.html");
      script_set_attribute(attribute:"see_also", value:"https://www.wireshark.org/docs/relnotes/wireshark-1.12.8.html");
      script_set_attribute(attribute:"solution", value:
    "Upgrade to Wireshark version 1.12.8 or later.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:N/I:N/A:P");
      script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
      script_set_attribute(attribute:"cvss_score_source", value:"CVE-2015-7830");
    
      script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
      script_set_attribute(attribute:"exploit_available", value:"false");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2015/08/20");
      script_set_attribute(attribute:"patch_publication_date", value:"2015/10/14");
      script_set_attribute(attribute:"plugin_publication_date", value:"2015/10/21");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"cpe:/a:wireshark:wireshark");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_family(english:"Windows");
    
      script_copyright(english:"This script is Copyright (C) 2015-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
    
      script_dependencies("wireshark_installed.nasl");
      script_require_keys("installed_sw/Wireshark");
    
      exit(0);
    }
    
    include("audit.inc");
    include("global_settings.inc");
    include("misc_func.inc");
    include("install_func.inc");
    
    app_name = "Wireshark";
    install = get_single_install(app_name:app_name, exit_if_unknown_ver:TRUE);
    version = install['version'];
    path    = install['path'];
    
    fixed_version = "1.12.8";
    
    # Affected :
    #  1.12.x < 1.12.7
    if (version !~ "^1\.12\.[0-7]($|[^0-9])")
      audit(AUDIT_INST_PATH_NOT_VULN, app_name, version, path);
    
    port = get_kb_item("SMB/transport");
    if (!port) port = 445;
    
    if (report_verbosity > 0)
    {
      report =
        '\n  Path              : ' + path +
        '\n  Installed version : ' + version +
        '\n  Fixed version     : ' + fixed_version +
        '\n';
      security_warning(port:port, extra:report);
    }
    else security_warning(port);
    
  • NASL familyDebian Local Security Checks
    NASL idDEBIAN_DSA-3505.NASL
    descriptionMultiple vulnerabilities were discovered in the dissectors/parsers for Pcapng, NBAP, UMTS FP, DCOM, AllJoyn, T.38, SDP, NLM, DNS, BED, SCTP, 802.11, DIAMETER, VeriWave, RVSP, ANSi A, GSM A, Ascend, NBAP, ZigBee ZCL and Sniffer which could result in denial of service.
    last seen2020-06-01
    modified2020-06-02
    plugin id89695
    published2016-03-07
    reporterThis script is Copyright (C) 2016-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/89695
    titleDebian DSA-3505-1 : wireshark - security update
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were  
    # extracted from Debian Security Advisory DSA-3505. The text 
    # itself is copyright (C) Software in the Public Interest, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(89695);
      script_version("2.5");
      script_cvs_date("Date: 2019/07/15 14:20:30");
    
      script_cve_id("CVE-2015-7830", "CVE-2015-8711", "CVE-2015-8712", "CVE-2015-8713", "CVE-2015-8714", "CVE-2015-8715", "CVE-2015-8716", "CVE-2015-8717", "CVE-2015-8718", "CVE-2015-8719", "CVE-2015-8720", "CVE-2015-8721", "CVE-2015-8722", "CVE-2015-8723", "CVE-2015-8724", "CVE-2015-8725", "CVE-2015-8726", "CVE-2015-8727", "CVE-2015-8728", "CVE-2015-8729", "CVE-2015-8730", "CVE-2015-8732", "CVE-2015-8733");
      script_xref(name:"DSA", value:"3505");
    
      script_name(english:"Debian DSA-3505-1 : wireshark - security update");
      script_summary(english:"Checks dpkg output for the updated package");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote Debian host is missing a security-related update."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "Multiple vulnerabilities were discovered in the dissectors/parsers for
    Pcapng, NBAP, UMTS FP, DCOM, AllJoyn, T.38, SDP, NLM, DNS, BED, SCTP,
    802.11, DIAMETER, VeriWave, RVSP, ANSi A, GSM A, Ascend, NBAP, ZigBee
    ZCL and Sniffer which could result in denial of service."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://packages.debian.org/source/wheezy/wireshark"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://packages.debian.org/source/jessie/wireshark"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.debian.org/security/2016/dsa-3505"
      );
      script_set_attribute(
        attribute:"solution", 
        value:
    "Upgrade the wireshark packages.
    
    For the oldstable distribution (wheezy), these problems have been
    fixed in version 1.8.2-5wheezy17.
    
    For the stable distribution (jessie), these problems have been fixed
    in version 1.12.1+g01b65bf-4+deb8u4."
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:N/I:N/A:P");
      script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C");
      script_set_cvss3_base_vector("CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H");
      script_set_cvss3_temporal_vector("CVSS:3.0/E:P/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:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:debian:debian_linux:wireshark");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:debian:debian_linux:7.0");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:debian:debian_linux:8.0");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2015/11/14");
      script_set_attribute(attribute:"patch_publication_date", value:"2016/03/04");
      script_set_attribute(attribute:"plugin_publication_date", value:"2016/03/07");
      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:"Debian Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/Debian/release", "Host/Debian/dpkg-l");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("debian_package.inc");
    
    
    if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    if (!get_kb_item("Host/Debian/release")) audit(AUDIT_OS_NOT, "Debian");
    if (!get_kb_item("Host/Debian/dpkg-l")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    
    flag = 0;
    if (deb_check(release:"7.0", prefix:"libwireshark-data", reference:"1.8.2-5wheezy17")) flag++;
    if (deb_check(release:"7.0", prefix:"libwireshark-dev", reference:"1.8.2-5wheezy17")) flag++;
    if (deb_check(release:"7.0", prefix:"libwireshark2", reference:"1.8.2-5wheezy17")) flag++;
    if (deb_check(release:"7.0", prefix:"libwiretap-dev", reference:"1.8.2-5wheezy17")) flag++;
    if (deb_check(release:"7.0", prefix:"libwiretap2", reference:"1.8.2-5wheezy17")) flag++;
    if (deb_check(release:"7.0", prefix:"libwsutil-dev", reference:"1.8.2-5wheezy17")) flag++;
    if (deb_check(release:"7.0", prefix:"libwsutil2", reference:"1.8.2-5wheezy17")) flag++;
    if (deb_check(release:"7.0", prefix:"tshark", reference:"1.8.2-5wheezy17")) flag++;
    if (deb_check(release:"7.0", prefix:"wireshark", reference:"1.8.2-5wheezy17")) flag++;
    if (deb_check(release:"7.0", prefix:"wireshark-common", reference:"1.8.2-5wheezy17")) flag++;
    if (deb_check(release:"7.0", prefix:"wireshark-dbg", reference:"1.8.2-5wheezy17")) flag++;
    if (deb_check(release:"7.0", prefix:"wireshark-dev", reference:"1.8.2-5wheezy17")) flag++;
    if (deb_check(release:"7.0", prefix:"wireshark-doc", reference:"1.8.2-5wheezy17")) flag++;
    if (deb_check(release:"8.0", prefix:"libwireshark-data", reference:"1.12.1+g01b65bf-4+deb8u4")) flag++;
    if (deb_check(release:"8.0", prefix:"libwireshark-dev", reference:"1.12.1+g01b65bf-4+deb8u4")) flag++;
    if (deb_check(release:"8.0", prefix:"libwireshark5", reference:"1.12.1+g01b65bf-4+deb8u4")) flag++;
    if (deb_check(release:"8.0", prefix:"libwiretap-dev", reference:"1.12.1+g01b65bf-4+deb8u4")) flag++;
    if (deb_check(release:"8.0", prefix:"libwiretap4", reference:"1.12.1+g01b65bf-4+deb8u4")) flag++;
    if (deb_check(release:"8.0", prefix:"libwsutil-dev", reference:"1.12.1+g01b65bf-4+deb8u4")) flag++;
    if (deb_check(release:"8.0", prefix:"libwsutil4", reference:"1.12.1+g01b65bf-4+deb8u4")) flag++;
    if (deb_check(release:"8.0", prefix:"tshark", reference:"1.12.1+g01b65bf-4+deb8u4")) flag++;
    if (deb_check(release:"8.0", prefix:"wireshark", reference:"1.12.1+g01b65bf-4+deb8u4")) flag++;
    if (deb_check(release:"8.0", prefix:"wireshark-common", reference:"1.12.1+g01b65bf-4+deb8u4")) flag++;
    if (deb_check(release:"8.0", prefix:"wireshark-dbg", reference:"1.12.1+g01b65bf-4+deb8u4")) flag++;
    if (deb_check(release:"8.0", prefix:"wireshark-dev", reference:"1.12.1+g01b65bf-4+deb8u4")) flag++;
    if (deb_check(release:"8.0", prefix:"wireshark-doc", reference:"1.12.1+g01b65bf-4+deb8u4")) flag++;
    if (deb_check(release:"8.0", prefix:"wireshark-qt", reference:"1.12.1+g01b65bf-4+deb8u4")) flag++;
    
    if (flag)
    {
      if (report_verbosity > 0) security_warning(port:0, extra:deb_report_get());
      else security_warning(0);
      exit(0);
    }
    else audit(AUDIT_HOST_NOT, "affected");
    
  • NASL familySuSE Local Security Checks
    NASL idOPENSUSE-2015-683.NASL
    descriptionwireshark was updated to version 1.12.8 to fix ten security issues. These security issues were fixed : - CVE-2015-6247: The dissect_openflow_tablemod_v5 function in epan/dissectors/packet-openflow_v5.c in the OpenFlow dissector in Wireshark 1.12.x before 1.12.7 did not validate a certain offset value, which allowed remote attackers to cause a denial of service (infinite loop) via a crafted packet (bsc#941500). - CVE-2015-6246: The dissect_wa_payload function in epan/dissectors/packet-waveagent.c in the WaveAgent dissector in Wireshark 1.12.x before 1.12.7 mishandles large tag values, which allowed remote attackers to cause a denial of service (application crash) via a crafted packet (bsc#941500). - CVE-2015-6245: epan/dissectors/packet-gsm_rlcmac.c in the GSM RLC/MAC dissector in Wireshark 1.12.x before 1.12.7 used incorrect integer data types, which allowed remote attackers to cause a denial of service (infinite loop) via a crafted packet (bsc#941500). - CVE-2015-6244: The dissect_zbee_secure function in epan/dissectors/packet-zbee-security.c in the ZigBee dissector in Wireshark 1.12.x before 1.12.7 improperly relies on length fields contained in packet data, which allowed remote attackers to cause a denial of service (application crash) via a crafted packet (bsc#941500). - CVE-2015-6243: The dissector-table implementation in epan/packet.c in Wireshark 1.12.x before 1.12.7 mishandles table searches for empty strings, which allowed remote attackers to cause a denial of service (application crash) via a crafted packet, related to the (1) dissector_get_string_handle and (2) dissector_get_default_string_handle functions (bsc#941500). - CVE-2015-6242: The wmem_block_split_free_chunk function in epan/wmem/wmem_allocator_block.c in the wmem block allocator in the memory manager in Wireshark 1.12.x before 1.12.7 did not properly consider a certain case of multiple realloc operations that restore a memory chunk to its original size, which allowed remote attackers to cause a denial of service (incorrect free operation and application crash) via a crafted packet (bsc#941500). - CVE-2015-6241: The proto_tree_add_bytes_item function in epan/proto.c in the protocol-tree implementation in Wireshark 1.12.x before 1.12.7 did not properly terminate a data structure after a failure to locate a number within a string, which allowed remote attackers to cause a denial of service (application crash) via a crafted packet (bsc#941500). - CVE-2015-7830: pcapng file parser could crash while copying an interface filter (bsc#950437). - CVE-2015-6249: The dissect_wccp2r1_address_table_info function in epan/dissectors/packet-wccp.c in the WCCP dissector in Wireshark 1.12.x before 1.12.7 did not prevent the conflicting use of a table for both IPv4 and IPv6 addresses, which allowed remote attackers to cause a denial of service (application crash) via a crafted packet (bsc#941500). - CVE-2015-6248: The ptvcursor_add function in the ptvcursor implementation in epan/proto.c in Wireshark 1.12.x before 1.12.7 did not check whether the expected amount of data is available, which allowed remote attackers to cause a denial of service (application crash) via a crafted packet (bsc#941500).
    last seen2020-06-05
    modified2015-10-29
    plugin id86646
    published2015-10-29
    reporterThis script is Copyright (C) 2015-2020 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/86646
    titleopenSUSE Security Update : wireshark (openSUSE-2015-683)
    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-683.
    #
    # The text description of this plugin is (C) SUSE LLC.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(86646);
      script_version("2.7");
      script_set_attribute(attribute:"plugin_modification_date", value:"2020/06/04");
    
      script_cve_id("CVE-2015-6241", "CVE-2015-6242", "CVE-2015-6243", "CVE-2015-6244", "CVE-2015-6245", "CVE-2015-6246", "CVE-2015-6247", "CVE-2015-6248", "CVE-2015-6249", "CVE-2015-7830");
    
      script_name(english:"openSUSE Security Update : wireshark (openSUSE-2015-683)");
      script_summary(english:"Check for the openSUSE-2015-683 patch");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote openSUSE host is missing a security update."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "wireshark was updated to version 1.12.8 to fix ten security issues.
    
    These security issues were fixed :
    
      - CVE-2015-6247: The dissect_openflow_tablemod_v5 function
        in epan/dissectors/packet-openflow_v5.c in the OpenFlow
        dissector in Wireshark 1.12.x before 1.12.7 did not
        validate a certain offset value, which allowed remote
        attackers to cause a denial of service (infinite loop)
        via a crafted packet (bsc#941500).
    
      - CVE-2015-6246: The dissect_wa_payload function in
        epan/dissectors/packet-waveagent.c in the WaveAgent
        dissector in Wireshark 1.12.x before 1.12.7 mishandles
        large tag values, which allowed remote attackers to
        cause a denial of service (application crash) via a
        crafted packet (bsc#941500).
    
      - CVE-2015-6245: epan/dissectors/packet-gsm_rlcmac.c in
        the GSM RLC/MAC dissector in Wireshark 1.12.x before
        1.12.7 used incorrect integer data types, which allowed
        remote attackers to cause a denial of service (infinite
        loop) via a crafted packet (bsc#941500).
    
      - CVE-2015-6244: The dissect_zbee_secure function in
        epan/dissectors/packet-zbee-security.c in the ZigBee
        dissector in Wireshark 1.12.x before 1.12.7 improperly
        relies on length fields contained in packet data, which
        allowed remote attackers to cause a denial of service
        (application crash) via a crafted packet (bsc#941500).
    
      - CVE-2015-6243: The dissector-table implementation in
        epan/packet.c in Wireshark 1.12.x before 1.12.7
        mishandles table searches for empty strings, which
        allowed remote attackers to cause a denial of service
        (application crash) via a crafted packet, related to the
        (1) dissector_get_string_handle and (2)
        dissector_get_default_string_handle functions
        (bsc#941500).
    
      - CVE-2015-6242: The wmem_block_split_free_chunk function
        in epan/wmem/wmem_allocator_block.c in the wmem block
        allocator in the memory manager in Wireshark 1.12.x
        before 1.12.7 did not properly consider a certain case
        of multiple realloc operations that restore a memory
        chunk to its original size, which allowed remote
        attackers to cause a denial of service (incorrect free
        operation and application crash) via a crafted packet
        (bsc#941500).
    
      - CVE-2015-6241: The proto_tree_add_bytes_item function in
        epan/proto.c in the protocol-tree implementation in
        Wireshark 1.12.x before 1.12.7 did not properly
        terminate a data structure after a failure to locate a
        number within a string, which allowed remote attackers
        to cause a denial of service (application crash) via a
        crafted packet (bsc#941500).
    
      - CVE-2015-7830: pcapng file parser could crash while
        copying an interface filter (bsc#950437).
    
      - CVE-2015-6249: The dissect_wccp2r1_address_table_info
        function in epan/dissectors/packet-wccp.c in the WCCP
        dissector in Wireshark 1.12.x before 1.12.7 did not
        prevent the conflicting use of a table for both IPv4 and
        IPv6 addresses, which allowed remote attackers to cause
        a denial of service (application crash) via a crafted
        packet (bsc#941500).
    
      - CVE-2015-6248: The ptvcursor_add function in the
        ptvcursor implementation in epan/proto.c in Wireshark
        1.12.x before 1.12.7 did not check whether the expected
        amount of data is available, which allowed remote
        attackers to cause a denial of service (application
        crash) via a crafted packet (bsc#941500)."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.opensuse.org/show_bug.cgi?id=941500"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.opensuse.org/show_bug.cgi?id=950437"
      );
      script_set_attribute(
        attribute:"solution", 
        value:"Update the affected wireshark packages."
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:N/I:N/A:P");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:wireshark");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:wireshark-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:wireshark-debugsource");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:wireshark-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:wireshark-ui-gtk");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:wireshark-ui-gtk-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:wireshark-ui-qt");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:wireshark-ui-qt-debuginfo");
      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/10/20");
      script_set_attribute(attribute:"plugin_publication_date", value:"2015/10/29");
      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:"wireshark-1.12.8-43.1") ) flag++;
    if ( rpm_check(release:"SUSE13.1", reference:"wireshark-debuginfo-1.12.8-43.1") ) flag++;
    if ( rpm_check(release:"SUSE13.1", reference:"wireshark-debugsource-1.12.8-43.1") ) flag++;
    if ( rpm_check(release:"SUSE13.1", reference:"wireshark-devel-1.12.8-43.1") ) flag++;
    if ( rpm_check(release:"SUSE13.1", reference:"wireshark-ui-gtk-1.12.8-43.1") ) flag++;
    if ( rpm_check(release:"SUSE13.1", reference:"wireshark-ui-gtk-debuginfo-1.12.8-43.1") ) flag++;
    if ( rpm_check(release:"SUSE13.1", reference:"wireshark-ui-qt-1.12.8-43.1") ) flag++;
    if ( rpm_check(release:"SUSE13.1", reference:"wireshark-ui-qt-debuginfo-1.12.8-43.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"wireshark-1.12.8-25.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"wireshark-debuginfo-1.12.8-25.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"wireshark-debugsource-1.12.8-25.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"wireshark-devel-1.12.8-25.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"wireshark-ui-gtk-1.12.8-25.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"wireshark-ui-gtk-debuginfo-1.12.8-25.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"wireshark-ui-qt-1.12.8-25.1") ) flag++;
    if ( rpm_check(release:"SUSE13.2", reference:"wireshark-ui-qt-debuginfo-1.12.8-25.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"wireshark-1.12.8-9.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"wireshark-debuginfo-1.12.8-9.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"wireshark-debugsource-1.12.8-9.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"wireshark-devel-1.12.8-9.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"wireshark-ui-gtk-1.12.8-9.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"wireshark-ui-gtk-debuginfo-1.12.8-9.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"wireshark-ui-qt-1.12.8-9.1") ) flag++;
    if ( rpm_check(release:"SUSE42.1", reference:"wireshark-ui-qt-debuginfo-1.12.8-9.1") ) flag++;
    
    if (flag)
    {
      if (report_verbosity > 0) security_warning(port:0, extra:rpm_report_get());
      else security_warning(0);
      exit(0);
    }
    else
    {
      tested = pkg_tests_get();
      if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
      else audit(AUDIT_PACKAGE_NOT_INSTALLED, "wireshark / wireshark-debuginfo / wireshark-debugsource / etc");
    }
    
  • NASL familySuSE Local Security Checks
    NASL idSUSE_SU-2016-0109-1.NASL
    descriptionThis update contains Wireshark 1.12.9 and fixes the following issues : - CVE-2015-7830: pcapng file parser could crash while copying an interface filter (bsc#950437) - CVE-2015-8711: epan/dissectors/packet-nbap.c in the NBAP dissector in Wireshark 1.12.x before 1.12.9 and 2.0.x before 2.0.1 does not validate conversation data, which allows remote attackers to cause a denial of service (NULL pointer dereference and application crash) via a crafted packet. - CVE-2015-8712: The dissect_hsdsch_channel_info function in epan/dissectors/packet-umts_fp.c in the UMTS FP dissector in Wireshark 1.12.x before 1.12.9 does not validate the number of PDUs, which allows remote attackers to cause a denial of service (application crash) via a crafted packet. - CVE-2015-8713: epan/dissectors/packet-umts_fp.c in the UMTS FP dissector in Wireshark 1.12.x before 1.12.9 does not properly reserve memory for channel ID mappings, which allows remote attackers to cause a denial of service (out-of-bounds memory access and application crash) via a crafted packet. - CVE-2015-8714: The dissect_dcom_OBJREF function in epan/dissectors/packet-dcom.c in the DCOM dissector in Wireshark 1.12.x before 1.12.9 does not initialize a certain IPv4 data structure, which allows remote attackers to cause a denial of service (application crash) via a crafted packet. - CVE-2015-8715: epan/dissectors/packet-alljoyn.c in the AllJoyn dissector in Wireshark 1.12.x before 1.12.9 does not check for empty arguments, which allows remote attackers to cause a denial of service (infinite loop) via a crafted packet. - CVE-2015-8716: The init_t38_info_conv function in epan/dissectors/packet-t38.c in the T.38 dissector in Wireshark 1.12.x before 1.12.9 does not ensure that a conversation exists, which allows remote attackers to cause a denial of service (application crash) via a crafted packet. - CVE-2015-8717: The dissect_sdp function in epan/dissectors/packet-sdp.c in the SDP dissector in Wireshark 1.12.x before 1.12.9 does not prevent use of a negative media count, which allows remote attackers to cause a denial of service (application crash) via a crafted packet. - CVE-2015-8718: Double free vulnerability in epan/dissectors/packet-nlm.c in the NLM dissector in Wireshark 1.12.x before 1.12.9 and 2.0.x before 2.0.1, when the
    last seen2020-06-01
    modified2020-06-02
    plugin id87911
    published2016-01-14
    reporterThis script is Copyright (C) 2016-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/87911
    titleSUSE SLED12 / SLES12 Security Update : wireshark (SUSE-SU-2016:0109-1)