Vulnerabilities > CVE-2012-5621 - Improper Input Validation vulnerability in Ekiga

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

Summary

lib/engine/components/opal/opal-call.cpp in ekiga before 4.0.0 allows remote attackers to cause a denial of service (crash) via an OPAL connection with a party name that contains invalid UTF-8 strings.

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 familyFedora Local Security Checks
    NASL idFEDORA_2013-2890.NASL
    descriptionNew upstream ekiga 4.0.1 release - Core fixes - Fix crash when quitting ekiga while receiving presence information - Fix crash when quitting ekiga right after starting it (before STUN ending) - Fix crash when disabling an account while icons in roster are changing - Fix crash when receiving call a second time - Fix crash in XML parsing in case of malicious code (CVE-2012-5621) - Fix increasing CPU usage after hours of usage caused by endless OPTIONS - Several fixes for H.323 : - fix H.323 parsing - add the username in authentication - fix unregistering the gatekeeper - fix registration - assign gk_name only if success - do not propose adding an H.323 account if the protocol is not built-in - Fix registration for registrars accepting the last Contact item offered - Allow to change the REGISTER compatibility mode of an existing registration - Fix impossibility to hangup active call after a missed call - Fix busy or call forwarding on busy occuring when connection is released - Fix subscribing/unsubscribing when enabling and disabling SIP accounts - Do not show is-typing messages sent by other programs during chatting - Stop ongoing registration when remove account - Use meaningful names for ALSA sub-devices - Allow to enter contact addresses without host part, and choose the host later - Increase number of characters shown in device names - Use a better icon for call history in addressbook - Show the address instead of
    last seen2020-03-17
    modified2013-03-04
    plugin id64983
    published2013-03-04
    reporterThis script is Copyright (C) 2013-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/64983
    titleFedora 17 : ekiga-4.0.1-1.fc17 / opal-3.10.10-1.fc17 / ptlib-2.10.10-1.fc17 (2013-2890)
    code
    #%NASL_MIN_LEVEL 80502
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were  
    # extracted from Fedora Security Advisory 2013-2890.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(64983);
      script_version("1.12");
      script_set_attribute(attribute:"plugin_modification_date", value:"2020/03/12");
    
      script_cve_id("CVE-2012-5621");
      script_bugtraq_id(56790);
      script_xref(name:"FEDORA", value:"2013-2890");
    
      script_name(english:"Fedora 17 : ekiga-4.0.1-1.fc17 / opal-3.10.10-1.fc17 / ptlib-2.10.10-1.fc17 (2013-2890)");
      script_summary(english:"Checks rpm output for the updated packages.");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote Fedora host is missing one or more security updates."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "New upstream ekiga 4.0.1 release
    
      - Core fixes
    
        - Fix crash when quitting ekiga while receiving presence
          information
    
        - Fix crash when quitting ekiga right after starting it
          (before STUN ending)
    
        - Fix crash when disabling an account while icons in
          roster are changing
    
        - Fix crash when receiving call a second time
    
        - Fix crash in XML parsing in case of malicious code
          (CVE-2012-5621)
    
        - Fix increasing CPU usage after hours of usage caused
          by endless OPTIONS
    
        - Several fixes for H.323 :
    
        - fix H.323 parsing
    
        - add the username in authentication
    
        - fix unregistering the gatekeeper
    
        - fix registration
    
        - assign gk_name only if success
    
        - do not propose adding an H.323 account if the protocol
          is not built-in
    
        - Fix registration for registrars accepting the last
          Contact item offered
    
        - Allow to change the REGISTER compatibility mode of an
          existing registration
    
        - Fix impossibility to hangup active call after a missed
          call
    
        - Fix busy or call forwarding on busy occuring when
          connection is released
    
        - Fix subscribing/unsubscribing when enabling and
          disabling SIP accounts
    
        - Do not show is-typing messages sent by other programs
          during chatting
    
        - Stop ongoing registration when remove account
    
        - Use meaningful names for ALSA sub-devices
    
        - Allow to enter contact addresses without host part,
          and choose the host later
    
        - Increase number of characters shown in device names
    
        - Use a better icon for call history in addressbook
    
        - Show the address instead of 'telephoneNumber' in
          addressbook
    
        - Deactivate NullAudio ptlib's device for audio input
          too
    
        - Do not send OPTIONS messages once the account is
          disabled
    
        - Hide the main window immediately on exit
    
        - Handle xa status as away
    
        - Fix debugging message when registering
    
        - Fix race condition leading to duplicate entry in call
          history
    
        - Fix incoming call if two INVITE's in a fork arrive
          very close together
    
        - Use correct username in OPTIONS messages
    
        - Allow to have message waiting indication even if
          asterisk's vmexten is off
    
        - Send OPTION only on the right interface
    
        - Fix buttons direction in dialpad for RTL languages
    
        - Fix aborting RTP receiver with Polycom HDX8000
    
        - Fix possible incorrect jitter calculation for RTCP
    
        - Only kill REGISTER/SUBSCRIBE forks if a 'try again'
          response is received
    
        - Various other fixes
    
        - Distributor-visible changes
    
        - Build fixes
    
        - Fix building opal when java SDK installed and swig is
          not
    
        - Some code cleanup
    
        - Translation updates
    
        - Update translations: fr, ml, pt_BR
    
        - Update help translations: pt_BR
    
    Note that Tenable Network Security has extracted the preceding
    description block directly from the Fedora 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.redhat.com/show_bug.cgi?id=883058"
      );
      # https://lists.fedoraproject.org/pipermail/package-announce/2013-March/099570.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?b6b56499"
      );
      # https://lists.fedoraproject.org/pipermail/package-announce/2013-March/099571.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?2eeeefa0"
      );
      # https://lists.fedoraproject.org/pipermail/package-announce/2013-March/099572.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?43429d55"
      );
      script_set_attribute(
        attribute:"solution", 
        value:"Update the affected ekiga, opal and / or ptlib packages."
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P");
      script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
      script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
      script_set_attribute(attribute:"exploit_available", value:"false");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:ekiga");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:opal");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:ptlib");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:fedoraproject:fedora:17");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2014/09/29");
      script_set_attribute(attribute:"patch_publication_date", value:"2013/02/24");
      script_set_attribute(attribute:"plugin_publication_date", value:"2013/03/04");
      script_set_attribute(attribute:"generated_plugin", value:"current");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2013-2020 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"Fedora Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/RedHat/release", "Host/RedHat/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/RedHat/release");
    if (isnull(release) || "Fedora" >!< release) audit(AUDIT_OS_NOT, "Fedora");
    os_ver = eregmatch(pattern: "Fedora.*release ([0-9]+)", string:release);
    if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "Fedora");
    os_ver = os_ver[1];
    if (! ereg(pattern:"^17([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Fedora 17.x", "Fedora " + os_ver);
    
    if (!get_kb_item("Host/RedHat/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    cpu = get_kb_item("Host/cpu");
    if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
    if ("x86_64" >!< cpu && cpu !~ "^i[3-6]86$") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "Fedora", cpu);
    
    flag = 0;
    if (rpm_check(release:"FC17", reference:"ekiga-4.0.1-1.fc17")) flag++;
    if (rpm_check(release:"FC17", reference:"opal-3.10.10-1.fc17")) flag++;
    if (rpm_check(release:"FC17", reference:"ptlib-2.10.10-1.fc17")) 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, "ekiga / opal / ptlib");
    }
    
  • NASL familySolaris Local Security Checks
    NASL idSOLARIS11_EKIGA_20130716.NASL
    descriptionThe remote Solaris system is missing necessary patches to address security updates.
    last seen2020-06-01
    modified2020-06-02
    plugin id80602
    published2015-01-19
    reporterThis script is Copyright (C) 2015-2018 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/80602
    titleOracle Solaris Third-Party Patch Update : ekiga (cve_2012_5621_denial_of)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were
    # extracted from the Oracle Third Party software advisories.
    #
    include("compat.inc");
    
    if (description)
    {
      script_id(80602);
      script_version("1.2");
      script_cvs_date("Date: 2018/11/15 20:50:24");
    
      script_cve_id("CVE-2012-5621");
    
      script_name(english:"Oracle Solaris Third-Party Patch Update : ekiga (cve_2012_5621_denial_of)");
      script_summary(english:"Check for the 'entire' version.");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:
    "The remote Solaris system is missing a security patch for third-party
    software."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "The remote Solaris system is missing necessary patches to address
    security updates."
      );
      # https://www.oracle.com/technetwork/topics/security/thirdparty-patch-map-1482893.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?4a913f44"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://blogs.oracle.com/sunsecurity/cve-2012-5621-denial-of-service-dos-vulnerability-in-ekiga"
      );
      script_set_attribute(attribute:"solution", value:"Upgrade to Solaris 11.1.9.5.1.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:oracle:solaris:11.1");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:solaris:ekiga");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2013/07/16");
      script_set_attribute(attribute:"plugin_publication_date", value:"2015/01/19");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2015-2018 Tenable Network Security, Inc.");
      script_family(english:"Solaris Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/Solaris11/release", "Host/Solaris11/pkg-list");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("global_settings.inc");
    include("misc_func.inc");
    include("solaris.inc");
    
    if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    release = get_kb_item("Host/Solaris11/release");
    if (isnull(release)) audit(AUDIT_OS_NOT, "Solaris11");
    pkg_list = solaris_pkg_list_leaves();
    if (isnull (pkg_list)) audit(AUDIT_PACKAGE_LIST_MISSING, "Solaris pkg-list packages");
    
    if (empty_or_null(egrep(string:pkg_list, pattern:"^ekiga$"))) audit(AUDIT_PACKAGE_NOT_INSTALLED, "ekiga");
    
    flag = 0;
    
    if (solaris_check_release(release:"0.5.11-0.175.1.9.0.5.1", sru:"SRU 11.1.9.5.1") > 0) flag++;
    
    if (flag)
    {
      error_extra = 'Affected package : ekiga\n' + solaris_get_report2();
      error_extra = ereg_replace(pattern:"version", replace:"OS version", string:error_extra);
      if (report_verbosity > 0) security_warning(port:0, extra:error_extra);
      else security_warning(0);
      exit(0);
    }
    else audit(AUDIT_PACKAGE_NOT_AFFECTED, "ekiga");
    
  • NASL familyFedora Local Security Checks
    NASL idFEDORA_2013-2998.NASL
    descriptionNew upstream ekiga 4.0.1 release - Core fixes - Fix crash when quitting ekiga while receiving presence information - Fix crash when quitting ekiga right after starting it (before STUN ending) - Fix crash when disabling an account while icons in roster are changing - Fix crash when receiving call a second time - Fix crash in XML parsing in case of malicious code (CVE-2012-5621) - Fix increasing CPU usage after hours of usage caused by endless OPTIONS - Several fixes for H.323 : - fix H.323 parsing - add the username in authentication - fix unregistering the gatekeeper - fix registration - assign gk_name only if success - do not propose adding an H.323 account if the protocol is not built-in - Fix registration for registrars accepting the last Contact item offered - Allow to change the REGISTER compatibility mode of an existing registration - Fix impossibility to hangup active call after a missed call - Fix busy or call forwarding on busy occuring when connection is released - Fix subscribing/unsubscribing when enabling and disabling SIP accounts - Do not show is-typing messages sent by other programs during chatting - Stop ongoing registration when remove account - Use meaningful names for ALSA sub-devices - Allow to enter contact addresses without host part, and choose the host later - Increase number of characters shown in device names - Use a better icon for call history in addressbook - Show the address instead of
    last seen2020-03-17
    modified2013-03-04
    plugin id64984
    published2013-03-04
    reporterThis script is Copyright (C) 2013-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/64984
    titleFedora 18 : ekiga-4.0.1-1.fc18 / opal-3.10.10-1.fc18 / ptlib-2.10.10-1.fc18 (2013-2998)
    code
    #%NASL_MIN_LEVEL 80502
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were  
    # extracted from Fedora Security Advisory 2013-2998.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(64984);
      script_version("1.13");
      script_set_attribute(attribute:"plugin_modification_date", value:"2020/03/12");
    
      script_cve_id("CVE-2012-5621", "CVE-2013-1864");
      script_bugtraq_id(56790);
      script_xref(name:"FEDORA", value:"2013-2998");
    
      script_name(english:"Fedora 18 : ekiga-4.0.1-1.fc18 / opal-3.10.10-1.fc18 / ptlib-2.10.10-1.fc18 (2013-2998)");
      script_summary(english:"Checks rpm output for the updated packages.");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote Fedora host is missing one or more security updates."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "New upstream ekiga 4.0.1 release
    
      - Core fixes
    
        - Fix crash when quitting ekiga while receiving presence
          information
    
        - Fix crash when quitting ekiga right after starting it
          (before STUN ending)
    
        - Fix crash when disabling an account while icons in
          roster are changing
    
        - Fix crash when receiving call a second time
    
        - Fix crash in XML parsing in case of malicious code
          (CVE-2012-5621)
    
        - Fix increasing CPU usage after hours of usage caused
          by endless OPTIONS
    
        - Several fixes for H.323 :
    
        - fix H.323 parsing
    
        - add the username in authentication
    
        - fix unregistering the gatekeeper
    
        - fix registration
    
        - assign gk_name only if success
    
        - do not propose adding an H.323 account if the protocol
          is not built-in
    
        - Fix registration for registrars accepting the last
          Contact item offered
    
        - Allow to change the REGISTER compatibility mode of an
          existing registration
    
        - Fix impossibility to hangup active call after a missed
          call
    
        - Fix busy or call forwarding on busy occuring when
          connection is released
    
        - Fix subscribing/unsubscribing when enabling and
          disabling SIP accounts
    
        - Do not show is-typing messages sent by other programs
          during chatting
    
        - Stop ongoing registration when remove account
    
        - Use meaningful names for ALSA sub-devices
    
        - Allow to enter contact addresses without host part,
          and choose the host later
    
        - Increase number of characters shown in device names
    
        - Use a better icon for call history in addressbook
    
        - Show the address instead of 'telephoneNumber' in
          addressbook
    
        - Deactivate NullAudio ptlib's device for audio input
          too
    
        - Do not send OPTIONS messages once the account is
          disabled
    
        - Hide the main window immediately on exit
    
        - Handle xa status as away
    
        - Fix debugging message when registering
    
        - Fix race condition leading to duplicate entry in call
          history
    
        - Fix incoming call if two INVITE's in a fork arrive
          very close together
    
        - Use correct username in OPTIONS messages
    
        - Allow to have message waiting indication even if
          asterisk's vmexten is off
    
        - Send OPTION only on the right interface
    
        - Fix buttons direction in dialpad for RTL languages
    
        - Fix aborting RTP receiver with Polycom HDX8000
    
        - Fix possible incorrect jitter calculation for RTCP
    
        - Only kill REGISTER/SUBSCRIBE forks if a 'try again'
          response is received
    
        - Various other fixes
    
        - Distributor-visible changes
    
        - Build fixes
    
        - Fix building opal when java SDK installed and swig is
          not
    
        - Some code cleanup
    
        - Translation updates
    
        - Update translations: fr, ml, pt_BR
    
        - Update help translations: pt_BR
    
    Note that Tenable Network Security has extracted the preceding
    description block directly from the Fedora 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.redhat.com/show_bug.cgi?id=883058"
      );
      # https://lists.fedoraproject.org/pipermail/package-announce/2013-March/099553.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?4d5e0df1"
      );
      # https://lists.fedoraproject.org/pipermail/package-announce/2013-March/099554.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?ce850127"
      );
      # https://lists.fedoraproject.org/pipermail/package-announce/2013-March/099555.html
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?07354ba4"
      );
      script_set_attribute(
        attribute:"solution", 
        value:"Update the affected ekiga, opal and / or ptlib packages."
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P");
      script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
      script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
      script_set_attribute(attribute:"exploit_available", value:"false");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:ekiga");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:opal");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:fedoraproject:fedora:ptlib");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:fedoraproject:fedora:18");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2014/05/23");
      script_set_attribute(attribute:"patch_publication_date", value:"2013/02/24");
      script_set_attribute(attribute:"plugin_publication_date", value:"2013/03/04");
      script_set_attribute(attribute:"generated_plugin", value:"current");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2013-2020 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"Fedora Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/RedHat/release", "Host/RedHat/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/RedHat/release");
    if (isnull(release) || "Fedora" >!< release) audit(AUDIT_OS_NOT, "Fedora");
    os_ver = eregmatch(pattern: "Fedora.*release ([0-9]+)", string:release);
    if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "Fedora");
    os_ver = os_ver[1];
    if (! ereg(pattern:"^18([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Fedora 18.x", "Fedora " + os_ver);
    
    if (!get_kb_item("Host/RedHat/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    cpu = get_kb_item("Host/cpu");
    if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
    if ("x86_64" >!< cpu && cpu !~ "^i[3-6]86$") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "Fedora", cpu);
    
    flag = 0;
    if (rpm_check(release:"FC18", reference:"ekiga-4.0.1-1.fc18")) flag++;
    if (rpm_check(release:"FC18", reference:"opal-3.10.10-1.fc18")) flag++;
    if (rpm_check(release:"FC18", reference:"ptlib-2.10.10-1.fc18")) 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, "ekiga / opal / ptlib");
    }
    
  • NASL familyDenial of Service
    NASL idEKIGA_4_0_0.NASL
    descriptionAccording to the version in its SIP banner, the version of Ekiga running on the remote host is potentially affected by a vulnerability that could allow a remote, unauthenticated attacker to cause a denial of service via invalid UTF-8 characters in the remote user
    last seen2020-06-01
    modified2020-06-02
    plugin id64458
    published2013-02-04
    reporterThis script is Copyright (C) 2013-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/64458
    titleEkiga < 4.0.0 Invalid UTF-8 Character Connection Data Parsing DoS
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(64458);
      script_version("1.8");
      script_cvs_date("Date: 2019/12/04");
    
      script_cve_id("CVE-2012-5621");
      script_bugtraq_id(56790);
    
      script_name(english:"Ekiga < 4.0.0 Invalid UTF-8 Character Connection Data Parsing DoS");
      script_summary(english:"Checks version in SIP banner");
    
      script_set_attribute(attribute:"synopsis", value:
    "The version of Ekiga installed on the remote host may be affected by a
    denial of service vulnerability.");
      script_set_attribute(attribute:"description", value:
    "According to the version in its SIP banner, the version of Ekiga
    running on the remote host is potentially affected by a vulnerability
    that could allow a remote, unauthenticated attacker to cause a denial of
    service via invalid UTF-8 characters in the remote user's connection
    data.");
      script_set_attribute(attribute:"see_also", value:"https://gitlab.gnome.org/GNOME/ekiga/blob/EKIGA_4_0_0/NEWS");
      script_set_attribute(attribute:"see_also", value:"https://bugzilla.gnome.org/show_bug.cgi?id=653009");
      script_set_attribute(attribute:"solution", value:
    "Upgrade to Ekiga 4.0.0 or later.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/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-2012-5621");
    
      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:"2011/06/20");
      script_set_attribute(attribute:"patch_publication_date", value:"2012/10/20");
      script_set_attribute(attribute:"plugin_publication_date", value:"2013/02/04");
    
      script_set_attribute(attribute:"potential_vulnerability", value:"true");
      script_set_attribute(attribute:"plugin_type", value:"remote");
      script_set_attribute(attribute:"cpe", value:"cpe:/a:ekiga:ekiga");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_family(english:"Denial of Service");
    
      script_copyright(english:"This script is Copyright (C) 2013-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
    
      script_dependencies("ekiga_detection.nasl");
      script_require_keys("ekiga/sip_detected", "Settings/ParanoidReport");
    
      exit(0);
    }
    
    include("audit.inc");
    include("global_settings.inc");
    include("misc_func.inc");
    
    get_kb_item_or_exit("ekiga/sip_detected");
    
    # see if we were able to get version info from the Ekiga SIP services
    ekiga_kbs = get_kb_list("sip/ekiga/*/version");
    if (isnull(ekiga_kbs)) exit(0, "Could not obtain any version information from the Ekiga SIP instance(s).");
    
    # Prevent potential false positives.
    if (report_paranoia < 2) audit(AUDIT_PARANOID);
    
    is_vuln = FALSE;
    not_vuln_installs = make_list();
    errors = make_list();
    fixed = "4.0.0";
    
    foreach kb_name (keys(ekiga_kbs))
    {
      matches = eregmatch(pattern:"/(udp|tcp)/([0-9]+)/version", string:kb_name);  
      if (isnull(matches))
      {
        errors = make_list(errors, "Unexpected error parsing port number from kb name: "+kb_name);
        continue;
      }
    
      proto = matches[1];
      port  = matches[2];
      version = ekiga_kbs[kb_name];
    
      banner = get_kb_item("sip/ekiga/" + proto + "/" + port + "/source"); 
      if (!banner)
      {
        # We have version but banner is missing; log error
        # and use in version-check though.
        errors = make_list(errors, "KB item 'sip/ekiga/" + proto + "/" + port + "/source' is missing");
        banner = 'unknown';
      }
    
      # Affected < 4.0.0
      if (version =~ "^[0-3]\.")
      {
        is_vuln = TRUE;
        if (report_verbosity > 0)
        {
          report = 
            '\n  Version source    : ' + banner +
            '\n  Installed version : ' + version + 
            '\n  Fixed version     : ' + fixed + '\n';
          security_warning(port:port, proto:proto, extra:report);
        }
        else security_warning(port:port, proto:proto);
      }
      else not_vuln_installs = make_list(not_vuln_installs, version + " on port " + proto + "/" + port);
    }
    
    if (is_vuln)
    {
      if (max_index(errors)) exit(1, "The results may be incomplete because of one or more errors verifying installs.");
      else  exit(0);
    }
    else
    {
      if (max_index(errors))
      {
        if (max_index(errors) == 1) errmsg = errors[0];
        else errmsg = 'Errors were encountered verifying installs : \n  ' + join(errors, sep:'\n  ');
      
        exit(1, errmsg);
      }
    
      installs = max_index(not_vuln_installs);
      if (installs == 0) audit(AUDIT_NOT_INST, "Ekiga");
      else if (installs == 1) audit(AUDIT_INST_VER_NOT_VULN, "Ekiga " + not_vuln_installs[0]);
      else exit(0, "The Ekiga installs (" + join(not_vuln_installs, sep:", ") + ") are not affected.");
    }