Vulnerabilities > CVE-2011-4922 - Information Exposure vulnerability in Pidgin

047910
CVSS 2.1 - LOW
Attack vector
LOCAL
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
PARTIAL
Integrity impact
NONE
Availability impact
NONE
local
low complexity
pidgin
CWE-200
nessus

Summary

cipher.c in the Cipher API in libpurple in Pidgin before 2.7.10 retains encryption-key data in process memory, which might allow local users to obtain sensitive information by reading a core file or other representation of memory contents.

Common Weakness Enumeration (CWE)

Common Attack Pattern Enumeration and Classification (CAPEC)

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

Nessus

  • NASL familyRed Hat Local Security Checks
    NASL idREDHAT-RHSA-2011-0616.NASL
    descriptionUpdated pidgin packages that fix multiple security issues and various bugs are now available for Red Hat Enterprise Linux 6. The Red Hat Security Response Team has rated this update as having low security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the References section. Pidgin is an instant messaging program which can log in to multiple accounts on multiple instant messaging networks simultaneously. Multiple NULL pointer dereference flaws were found in the way the Pidgin Yahoo! Messenger Protocol plug-in handled malformed YMSG packets. A remote attacker could use these flaws to crash Pidgin via a specially crafted notification message. (CVE-2011-1091) Red Hat would like to thank the Pidgin project for reporting these issues. Upstream acknowledges Marius Wachtler as the original reporter. This update also fixes the following bugs : * Previous versions of the pidgin package did not properly clear certain data structures used in libpurple/cipher.c when attempting to free them. Partial information could potentially be extracted from the incorrectly cleared regions of the previously freed memory. With this update, data structures are properly cleared when freed. (BZ#684685) * This erratum upgrades Pidgin to upstream version 2.7.9. For a list of all changes addressed in this upgrade, refer to http://developer.pidgin.im/wiki/ChangeLog (BZ#616917) * Some incomplete translations for the kn_IN and ta_IN locales have been corrected. (BZ#633860, BZ#640170) Users of pidgin should upgrade to these updated packages, which resolve these issues. Pidgin must be restarted for this update to take effect.
    last seen2020-06-01
    modified2020-06-02
    plugin id54598
    published2011-05-20
    reporterThis script is Copyright (C) 2011-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/54598
    titleRHEL 6 : pidgin (RHSA-2011:0616)
    code
    #%NASL_MIN_LEVEL 80502
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were  
    # extracted from Red Hat Security Advisory RHSA-2011:0616. The text 
    # itself is copyright (C) Red Hat, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(54598);
      script_version ("1.17");
      script_cvs_date("Date: 2019/10/25 13:36:16");
    
      script_cve_id("CVE-2011-1091", "CVE-2011-4922");
      script_bugtraq_id(46837);
      script_xref(name:"RHSA", value:"2011:0616");
    
      script_name(english:"RHEL 6 : pidgin (RHSA-2011:0616)");
      script_summary(english:"Checks the rpm output for the updated packages");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote Red Hat host is missing one or more security updates."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "Updated pidgin packages that fix multiple security issues and various
    bugs are now available for Red Hat Enterprise Linux 6.
    
    The Red Hat Security Response Team has rated this update as having low
    security impact. A Common Vulnerability Scoring System (CVSS) base
    score, which gives a detailed severity rating, is available from the
    CVE link in the References section.
    
    Pidgin is an instant messaging program which can log in to multiple
    accounts on multiple instant messaging networks simultaneously.
    
    Multiple NULL pointer dereference flaws were found in the way the
    Pidgin Yahoo! Messenger Protocol plug-in handled malformed YMSG
    packets. A remote attacker could use these flaws to crash Pidgin via a
    specially crafted notification message. (CVE-2011-1091)
    
    Red Hat would like to thank the Pidgin project for reporting these
    issues. Upstream acknowledges Marius Wachtler as the original
    reporter.
    
    This update also fixes the following bugs :
    
    * Previous versions of the pidgin package did not properly clear
    certain data structures used in libpurple/cipher.c when attempting to
    free them. Partial information could potentially be extracted from the
    incorrectly cleared regions of the previously freed memory. With this
    update, data structures are properly cleared when freed. (BZ#684685)
    
    * This erratum upgrades Pidgin to upstream version 2.7.9. For a list
    of all changes addressed in this upgrade, refer to
    http://developer.pidgin.im/wiki/ChangeLog (BZ#616917)
    
    * Some incomplete translations for the kn_IN and ta_IN locales have
    been corrected. (BZ#633860, BZ#640170)
    
    Users of pidgin should upgrade to these updated packages, which
    resolve these issues. Pidgin must be restarted for this update to take
    effect."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://access.redhat.com/security/cve/cve-2011-1091"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://access.redhat.com/security/cve/cve-2011-4922"
      );
      # http://developer.pidgin.im/wiki/ChangeLog
      script_set_attribute(
        attribute:"see_also",
        value:"https://developer.pidgin.im/wiki/ChangeLog"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://access.redhat.com/errata/RHSA-2011:0616"
      );
      script_set_attribute(attribute:"solution", value:"Update the affected packages.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:S/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:redhat:enterprise_linux:finch");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:finch-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libpurple");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libpurple-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libpurple-perl");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:libpurple-tcl");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:pidgin");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:pidgin-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:pidgin-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:pidgin-docs");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:pidgin-perl");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:redhat:enterprise_linux:6");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2011/03/14");
      script_set_attribute(attribute:"patch_publication_date", value:"2011/05/19");
      script_set_attribute(attribute:"plugin_publication_date", value:"2011/05/20");
      script_set_attribute(attribute:"generated_plugin", value:"current");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2011-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"Red Hat Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/RedHat/release", "Host/RedHat/rpm-list", "Host/cpu");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("global_settings.inc");
    include("misc_func.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) || "Red Hat" >!< release) audit(AUDIT_OS_NOT, "Red Hat");
    os_ver = pregmatch(pattern: "Red Hat Enterprise Linux.*release ([0-9]+(\.[0-9]+)?)", string:release);
    if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "Red Hat");
    os_ver = os_ver[1];
    if (! preg(pattern:"^6([^0-9]|$)", string:os_ver)) audit(AUDIT_OS_NOT, "Red Hat 6.x", "Red Hat " + 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$" && "s390" >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "Red Hat", cpu);
    
    yum_updateinfo = get_kb_item("Host/RedHat/yum-updateinfo");
    if (!empty_or_null(yum_updateinfo)) 
    {
      rhsa = "RHSA-2011:0616";
      yum_report = redhat_generate_yum_updateinfo_report(rhsa:rhsa);
      if (!empty_or_null(yum_report))
      {
        security_report_v4(
          port       : 0,
          severity   : SECURITY_WARNING,
          extra      : yum_report 
        );
        exit(0);
      }
      else
      {
        audit_message = "affected by Red Hat security advisory " + rhsa;
        audit(AUDIT_OS_NOT, audit_message);
      }
    }
    else
    {
      flag = 0;
      if (rpm_check(release:"RHEL6", cpu:"i686", reference:"finch-2.7.9-3.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"finch-2.7.9-3.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"i686", reference:"finch-devel-2.7.9-3.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"finch-devel-2.7.9-3.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libpurple-2.7.9-3.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libpurple-2.7.9-3.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libpurple-devel-2.7.9-3.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libpurple-devel-2.7.9-3.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libpurple-perl-2.7.9-3.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libpurple-perl-2.7.9-3.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"i686", reference:"libpurple-tcl-2.7.9-3.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"libpurple-tcl-2.7.9-3.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"i686", reference:"pidgin-2.7.9-3.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"pidgin-2.7.9-3.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"i686", reference:"pidgin-debuginfo-2.7.9-3.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"pidgin-debuginfo-2.7.9-3.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"i686", reference:"pidgin-devel-2.7.9-3.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"pidgin-devel-2.7.9-3.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"i686", reference:"pidgin-docs-2.7.9-3.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"pidgin-docs-2.7.9-3.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"i686", reference:"pidgin-perl-2.7.9-3.el6")) flag++;
      if (rpm_check(release:"RHEL6", cpu:"x86_64", reference:"pidgin-perl-2.7.9-3.el6")) flag++;
    
      if (flag)
      {
        security_report_v4(
          port       : 0,
          severity   : SECURITY_WARNING,
          extra      : rpm_report_get() + redhat_report_package_caveat()
        );
        exit(0);
      }
      else
      {
        tested = pkg_tests_get();
        if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
        else audit(AUDIT_PACKAGE_NOT_INSTALLED, "finch / finch-devel / libpurple / libpurple-devel / libpurple-perl / etc");
      }
    }
    
  • NASL familyUbuntu Local Security Checks
    NASL idUBUNTU_USN-1500-1.NASL
    descriptionEvgeny Boger discovered that Pidgin incorrectly handled buddy list messages in the AIM and ICQ protocol handlers. A remote attacker could send a specially crafted message and cause Pidgin to crash, leading to a denial of service. This issue only affected Ubuntu 10.04 LTS, 11.04 and 11.10. (CVE-2011-4601) Thijs Alkemade discovered that Pidgin incorrectly handled malformed voice and video chat requests in the XMPP protocol handler. A remote attacker could send a specially crafted message and cause Pidgin to crash, leading to a denial of service. This issue only affected Ubuntu 10.04 LTS, 11.04 and 11.10. (CVE-2011-4602) Diego Bauche Madero discovered that Pidgin incorrectly handled UTF-8 sequences in the SILC protocol handler. A remote attacker could send a specially crafted message and cause Pidgin to crash, leading to a denial of service. This issue only affected Ubuntu 10.04 LTS, 11.04 and 11.10. (CVE-2011-4603) Julia Lawall discovered that Pidgin incorrectly cleared memory contents used in cryptographic operations. An attacker could exploit this to read the memory contents, leading to an information disclosure. This issue only affected Ubuntu 10.04 LTS. (CVE-2011-4922) Clemens Huebner and Kevin Stange discovered that Pidgin incorrectly handled nickname changes inside chat rooms in the XMPP protocol handler. A remote attacker could exploit this by changing nicknames, leading to a denial of service. This issue only affected Ubuntu 11.10. (CVE-2011-4939) Thijs Alkemade discovered that Pidgin incorrectly handled off-line instant messages in the MSN protocol handler. A remote attacker could send a specially crafted message and cause Pidgin to crash, leading to a denial of service. This issue only affected Ubuntu 10.04 LTS, 11.04 and 11.10. (CVE-2012-1178) Jose Valentin Gutierrez discovered that Pidgin incorrectly handled SOCKS5 proxy connections during file transfer requests in the XMPP protocol handler. A remote attacker could send a specially crafted request and cause Pidgin to crash, leading to a denial of service. This issue only affected Ubuntu 12.04 LTS and 11.10. (CVE-2012-2214) Fabian Yamaguchi discovered that Pidgin incorrectly handled malformed messages in the MSN protocol handler. A remote attacker could send a specially crafted message and cause Pidgin to crash, leading to a denial of service. (CVE-2012-2318) Ulf Harnhammar discovered that Pidgin incorrectly handled messages with in-line images in the MXit protocol handler. A remote attacker could send a specially crafted message and possibly execute arbitrary code with user privileges. (CVE-2012-3374). Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.
    last seen2020-06-01
    modified2020-06-02
    plugin id59903
    published2012-07-10
    reporterUbuntu Security Notice (C) 2012-2019 Canonical, Inc. / NASL script (C) 2012-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/59903
    titleUbuntu 10.04 LTS / 11.04 / 11.10 / 12.04 LTS : pidgin vulnerabilities (USN-1500-1)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were
    # extracted from Ubuntu Security Notice USN-1500-1. The text 
    # itself is copyright (C) Canonical, Inc. See 
    # <http://www.ubuntu.com/usn/>. Ubuntu(R) is a registered 
    # trademark of Canonical, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(59903);
      script_version("1.9");
      script_cvs_date("Date: 2019/09/19 12:54:28");
    
      script_cve_id("CVE-2011-4601", "CVE-2011-4602", "CVE-2011-4603", "CVE-2011-4922", "CVE-2011-4939", "CVE-2012-1178", "CVE-2012-2214", "CVE-2012-2318", "CVE-2012-3374");
      script_bugtraq_id(46307, 51010, 51070, 51074, 52475, 52476, 53400, 53706, 54322);
      script_xref(name:"USN", value:"1500-1");
    
      script_name(english:"Ubuntu 10.04 LTS / 11.04 / 11.10 / 12.04 LTS : pidgin vulnerabilities (USN-1500-1)");
      script_summary(english:"Checks dpkg output for updated packages.");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:
    "The remote Ubuntu host is missing one or more security-related
    patches."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "Evgeny Boger discovered that Pidgin incorrectly handled buddy list
    messages in the AIM and ICQ protocol handlers. A remote attacker could
    send a specially crafted message and cause Pidgin to crash, leading to
    a denial of service. This issue only affected Ubuntu 10.04 LTS, 11.04
    and 11.10. (CVE-2011-4601)
    
    Thijs Alkemade discovered that Pidgin incorrectly handled malformed
    voice and video chat requests in the XMPP protocol handler. A remote
    attacker could send a specially crafted message and cause Pidgin to
    crash, leading to a denial of service. This issue only affected Ubuntu
    10.04 LTS, 11.04 and 11.10. (CVE-2011-4602)
    
    Diego Bauche Madero discovered that Pidgin incorrectly handled UTF-8
    sequences in the SILC protocol handler. A remote attacker could send a
    specially crafted message and cause Pidgin to crash, leading to a
    denial of service. This issue only affected Ubuntu 10.04 LTS, 11.04
    and 11.10. (CVE-2011-4603)
    
    Julia Lawall discovered that Pidgin incorrectly cleared memory
    contents used in cryptographic operations. An attacker could exploit
    this to read the memory contents, leading to an information
    disclosure. This issue only affected Ubuntu 10.04 LTS. (CVE-2011-4922)
    
    Clemens Huebner and Kevin Stange discovered that Pidgin incorrectly
    handled nickname changes inside chat rooms in the XMPP protocol
    handler. A remote attacker could exploit this by changing nicknames,
    leading to a denial of service. This issue only affected Ubuntu 11.10.
    (CVE-2011-4939)
    
    Thijs Alkemade discovered that Pidgin incorrectly handled off-line
    instant messages in the MSN protocol handler. A remote attacker could
    send a specially crafted message and cause Pidgin to crash, leading to
    a denial of service. This issue only affected Ubuntu 10.04 LTS, 11.04
    and 11.10. (CVE-2012-1178)
    
    Jose Valentin Gutierrez discovered that Pidgin incorrectly handled
    SOCKS5 proxy connections during file transfer requests in the XMPP
    protocol handler. A remote attacker could send a specially crafted
    request and cause Pidgin to crash, leading to a denial of service.
    This issue only affected Ubuntu 12.04 LTS and 11.10. (CVE-2012-2214)
    
    Fabian Yamaguchi discovered that Pidgin incorrectly handled malformed
    messages in the MSN protocol handler. A remote attacker could send a
    specially crafted message and cause Pidgin to crash, leading to a
    denial of service. (CVE-2012-2318)
    
    Ulf Harnhammar discovered that Pidgin incorrectly handled messages
    with in-line images in the MXit protocol handler. A remote attacker
    could send a specially crafted message and possibly execute arbitrary
    code with user privileges. (CVE-2012-3374).
    
    Note that Tenable Network Security has extracted the preceding
    description block directly from the Ubuntu 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://usn.ubuntu.com/1500-1/"
      );
      script_set_attribute(
        attribute:"solution", 
        value:"Update the affected finch, libpurple0 and / or pidgin packages."
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/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:canonical:ubuntu_linux:finch");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:libpurple0");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:canonical:ubuntu_linux:pidgin");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:canonical:ubuntu_linux:10.04:-:lts");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:canonical:ubuntu_linux:11.04");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:canonical:ubuntu_linux:11.10");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:canonical:ubuntu_linux:12.04:-:lts");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2011/12/16");
      script_set_attribute(attribute:"patch_publication_date", value:"2012/07/09");
      script_set_attribute(attribute:"plugin_publication_date", value:"2012/07/10");
      script_set_attribute(attribute:"generated_plugin", value:"current");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"Ubuntu Security Notice (C) 2012-2019 Canonical, Inc. / NASL script (C) 2012-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"Ubuntu Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/cpu", "Host/Ubuntu", "Host/Ubuntu/release", "Host/Debian/dpkg-l");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("ubuntu.inc");
    include("misc_func.inc");
    
    if ( ! get_kb_item("Host/local_checks_enabled") ) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    release = get_kb_item("Host/Ubuntu/release");
    if ( isnull(release) ) audit(AUDIT_OS_NOT, "Ubuntu");
    release = chomp(release);
    if (! preg(pattern:"^(10\.04|11\.04|11\.10|12\.04)$", string:release)) audit(AUDIT_OS_NOT, "Ubuntu 10.04 / 11.04 / 11.10 / 12.04", "Ubuntu " + release);
    if ( ! get_kb_item("Host/Debian/dpkg-l") ) 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, "Ubuntu", cpu);
    
    flag = 0;
    
    if (ubuntu_check(osver:"10.04", pkgname:"finch", pkgver:"1:2.6.6-1ubuntu4.5")) flag++;
    if (ubuntu_check(osver:"10.04", pkgname:"libpurple0", pkgver:"1:2.6.6-1ubuntu4.5")) flag++;
    if (ubuntu_check(osver:"10.04", pkgname:"pidgin", pkgver:"1:2.6.6-1ubuntu4.5")) flag++;
    if (ubuntu_check(osver:"11.04", pkgname:"finch", pkgver:"1:2.7.11-1ubuntu2.2")) flag++;
    if (ubuntu_check(osver:"11.04", pkgname:"libpurple0", pkgver:"1:2.7.11-1ubuntu2.2")) flag++;
    if (ubuntu_check(osver:"11.04", pkgname:"pidgin", pkgver:"1:2.7.11-1ubuntu2.2")) flag++;
    if (ubuntu_check(osver:"11.10", pkgname:"finch", pkgver:"1:2.10.0-0ubuntu2.1")) flag++;
    if (ubuntu_check(osver:"11.10", pkgname:"libpurple0", pkgver:"1:2.10.0-0ubuntu2.1")) flag++;
    if (ubuntu_check(osver:"11.10", pkgname:"pidgin", pkgver:"1:2.10.0-0ubuntu2.1")) flag++;
    if (ubuntu_check(osver:"12.04", pkgname:"finch", pkgver:"1:2.10.3-0ubuntu1.1")) flag++;
    if (ubuntu_check(osver:"12.04", pkgname:"libpurple0", pkgver:"1:2.10.3-0ubuntu1.1")) flag++;
    if (ubuntu_check(osver:"12.04", pkgname:"pidgin", pkgver:"1:2.10.3-0ubuntu1.1")) flag++;
    
    if (flag)
    {
      security_report_v4(
        port       : 0,
        severity   : SECURITY_HOLE,
        extra      : ubuntu_report_get()
      );
      exit(0);
    }
    else
    {
      tested = ubuntu_pkg_tests_get();
      if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
      else audit(AUDIT_PACKAGE_NOT_INSTALLED, "finch / libpurple0 / pidgin");
    }
    
  • NASL familyWindows
    NASL idPIDGIN_2_7_10.NASL
    descriptionThe version of Pidgin installed on the remote host is earlier than 2.7.10. Such versions are potentially affected by an information disclosure vulnerability because the application does not properly clear certain data structures used in
    last seen2020-06-01
    modified2020-06-02
    plugin id52042
    published2011-02-21
    reporterThis script is Copyright (C) 2011-2018 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/52042
    titlePidgin < 2.7.10 Information Disclosure
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(52042);
      script_version("1.6");
      script_cvs_date("Date: 2018/07/24 18:56:13");
    
      script_cve_id("CVE-2011-4922");
      script_bugtraq_id(46307);
      script_xref(name:"Secunia", value:"43271");
    
      script_name(english:"Pidgin < 2.7.10 Information Disclosure");
      script_summary(english:"Does a version check");
    
      script_set_attribute(attribute:"synopsis", value:
    "An instant messaging client installed on the remote Windows host is
    affected by an information disclosure vulnerability.");
      script_set_attribute(attribute:"description", value:
    
    "The version of Pidgin installed on the remote host is earlier than
    2.7.10.  Such versions are potentially affected by an information
    disclosure vulnerability because the application does not properly
    clear certain data structures used in 'libpurple/cipher.c' prior to
    freeing.  An attacker, exploiting this flaw, could potentially extract
    partial information from memory regions freed by libpurple.");
     
      script_set_attribute(attribute:"see_also", value:"http://developer.pidgin.im/wiki/ChangeLog");
      script_set_attribute(attribute:"see_also", value:"http://www.pidgin.im/news/security/?id=50");
      script_set_attribute(attribute:"solution", value:"Upgrade to Pidgin 2.7.10 or later.");
     script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:P/I:N/A:N");
     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:"vuln_publication_date",value:"2011/02/06");
      script_set_attribute(attribute:"patch_publication_date",value:"2011/02/06");
      script_set_attribute(attribute:"plugin_publication_date", value:"2011/02/21");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
    
      script_set_attribute(attribute:"cpe", value:"cpe:/a:pidgin:pidgin");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_family(english:"Windows");
    
      script_copyright(english:"This script is Copyright (C) 2011-2018 Tenable Network Security, Inc.");
    
      script_dependencies("pidgin_installed.nasl");
      script_require_keys("SMB/Pidgin/Version");
    
      exit(0);
    }
    
    
    include("global_settings.inc");
    include("misc_func.inc");
    
    version = get_kb_item_or_exit("SMB/Pidgin/Version");
    fixed_version = '2.7.10';
    
    if (ver_compare(ver:version, fix:fixed_version, strict:FALSE) == -1)
    {
      path = get_kb_item("SMB/Pidgin/Path");
      if (isnull(path)) path = 'n/a';
      port = get_kb_item("SMB/transport");
    
      if (report_verbosity > 0)
      {
        report =
          '\n  Install path       : ' + path +
          '\n  Installed version  : ' + version +
          '\n  Fixed version      : ' + fixed_version + '\n';
        security_warning(port:port, extra:report);
      }
      else security_warning(port);
    }
    else exit(0, "Pidgin " + version + " is installed and hence not affected.");
    

Oval

accepted2013-09-30T04:00:56.350-04:00
classvulnerability
contributors
nameShane Shaffer
organizationG2, Inc.
definition_extensions
commentPidgin is installed
ovaloval:org.mitre.oval:def:12366
descriptioncipher.c in the Cipher API in libpurple in Pidgin before 2.7.10 retains encryption-key data in process memory, which might allow local users to obtain sensitive information by reading a core file or other representation of memory contents.
familywindows
idoval:org.mitre.oval:def:18223
statusaccepted
submitted2013-08-16T15:36:10.221-04:00
titlecipher.c in the Cipher API in libpurple in Pidgin before 2.7.10 retains encryption-key data in process memory, which might allow local users to obtain sensitive information by reading a core file or other representation of memory contents
version4

Redhat

advisories
bugzilla
id684685
titleCVE-2011-4922 Cipher API information disclosure in pidgin
oval
OR
  • commentRed Hat Enterprise Linux must be installed
    ovaloval:com.redhat.rhba:tst:20070304026
  • AND
    • commentRed Hat Enterprise Linux 6 is installed
      ovaloval:com.redhat.rhba:tst:20111656003
    • OR
      • AND
        • commentlibpurple-tcl is earlier than 0:2.7.9-3.el6
          ovaloval:com.redhat.rhsa:tst:20110616001
        • commentlibpurple-tcl is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhba:tst:20192044038
      • AND
        • commentpidgin-perl is earlier than 0:2.7.9-3.el6
          ovaloval:com.redhat.rhsa:tst:20110616003
        • commentpidgin-perl is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhba:tst:20192044048
      • AND
        • commentfinch-devel is earlier than 0:2.7.9-3.el6
          ovaloval:com.redhat.rhsa:tst:20110616005
        • commentfinch-devel is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhba:tst:20192044046
      • AND
        • commentlibpurple-devel is earlier than 0:2.7.9-3.el6
          ovaloval:com.redhat.rhsa:tst:20110616007
        • commentlibpurple-devel is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhba:tst:20192044042
      • AND
        • commentpidgin-docs is earlier than 0:2.7.9-3.el6
          ovaloval:com.redhat.rhsa:tst:20110616009
        • commentpidgin-docs is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhsa:tst:20100890004
      • AND
        • commentpidgin-devel is earlier than 0:2.7.9-3.el6
          ovaloval:com.redhat.rhsa:tst:20110616011
        • commentpidgin-devel is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhba:tst:20192044034
      • AND
        • commentlibpurple-perl is earlier than 0:2.7.9-3.el6
          ovaloval:com.redhat.rhsa:tst:20110616013
        • commentlibpurple-perl is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhba:tst:20192044036
      • AND
        • commentfinch is earlier than 0:2.7.9-3.el6
          ovaloval:com.redhat.rhsa:tst:20110616015
        • commentfinch is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhba:tst:20192044032
      • AND
        • commentlibpurple is earlier than 0:2.7.9-3.el6
          ovaloval:com.redhat.rhsa:tst:20110616017
        • commentlibpurple is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhba:tst:20192044040
      • AND
        • commentpidgin is earlier than 0:2.7.9-3.el6
          ovaloval:com.redhat.rhsa:tst:20110616019
        • commentpidgin is signed with Red Hat redhatrelease2 key
          ovaloval:com.redhat.rhba:tst:20192044044
rhsa
idRHSA-2011:0616
released2011-05-19
severityLow
titleRHSA-2011:0616: pidgin security and bug fix update (Low)
rpms
  • finch-0:2.7.9-3.el6
  • finch-devel-0:2.7.9-3.el6
  • libpurple-0:2.7.9-3.el6
  • libpurple-devel-0:2.7.9-3.el6
  • libpurple-perl-0:2.7.9-3.el6
  • libpurple-tcl-0:2.7.9-3.el6
  • pidgin-0:2.7.9-3.el6
  • pidgin-debuginfo-0:2.7.9-3.el6
  • pidgin-devel-0:2.7.9-3.el6
  • pidgin-docs-0:2.7.9-3.el6
  • pidgin-perl-0:2.7.9-3.el6