Lucene search

K
nessusThis script is Copyright (C) 2009-2018 Tenable Network Security, Inc.PIDGIN_2_5_6.NASL
HistoryMay 22, 2009 - 12:00 a.m.

Pidgin < 2.5.6 Multiple Buffer Overflows

2009-05-2200:00:00
This script is Copyright (C) 2009-2018 Tenable Network Security, Inc.
www.tenable.com
22

CVSS2

9.3

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:N/AC:M/Au:N/C:C/I:C/A:C

EPSS

0.261

Percentile

96.8%

The remote host is running Pidgin earlier than 2.5.6. Such versions are reportedly affected by multiple buffer overflow vulnerabilities :

  • A buffer overflow is possible when initiating a file transfer to a malicious buddy over XMPP. (CVE-2009-1373)

  • A buffer overflow issue in the β€˜decrypt_out()’ function can be exploited through specially crafted β€˜QQ’ packets.
    (CVE-2009-1374)

  • A buffer maintained by PurpleCircBuffer which is used by XMPP and Sametime protocol plugins can be corrupted if it’s exactly full and then more bytes are added to it.
    (CVE-2009-1375)

  • An integer-overflow issue exists in the application due to an incorrect typecasting of β€˜int64’ to β€˜size_t’.
    (CVE-2009-1376)

#
# (C) Tenable Network Security, Inc.
#


include("compat.inc");

if (description)
{
  script_id(38866);
  script_version("1.12");

  script_cve_id("CVE-2009-1373", "CVE-2009-1374", "CVE-2009-1375", "CVE-2009-1376");
  script_bugtraq_id("35067");

  script_name(english:"Pidgin < 2.5.6 Multiple Buffer Overflows");
  script_summary(english:"Checks the version number of Pidgin");

  script_set_attribute(attribute:"synopsis", value:
"The remote host is running an instant messaging client that is
affected by multiple buffer overflow vulnerabilities." );
  script_set_attribute(attribute:"description", value:
"The remote host is running Pidgin earlier than 2.5.6. Such versions
are reportedly affected by multiple buffer overflow vulnerabilities :

  - A buffer overflow is possible when initiating a file
    transfer to a malicious buddy over XMPP. (CVE-2009-1373)

  - A buffer overflow issue in the 'decrypt_out()' function 
    can be exploited through specially crafted 'QQ' packets.
    (CVE-2009-1374)

  - A buffer maintained by PurpleCircBuffer which is used by
    XMPP and Sametime protocol plugins can be corrupted if
    it's exactly full and then more bytes are added to it.
    (CVE-2009-1375)

  - An integer-overflow issue exists in the application due
    to an incorrect typecasting of 'int64' to 'size_t'.
    (CVE-2009-1376)" );
  script_set_attribute(attribute:"see_also", value:"http://www.pidgin.im/news/security/?id=29" );
  script_set_attribute(attribute:"see_also", value:"http://www.pidgin.im/news/security/?id=30" );
  script_set_attribute(attribute:"see_also", value:"http://www.pidgin.im/news/security/?id=31" );
  script_set_attribute(attribute:"see_also", value:"http://www.pidgin.im/news/security/?id=32" );
  script_set_attribute(attribute:"solution", value:
"Upgrade to Pidgin 2.5.6 or later." );
  script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C");
  script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C");
  script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"true");
  script_cwe_id(119, 189);

 script_set_attribute(attribute:"plugin_publication_date", value: "2009/05/22");
 script_cvs_date("Date: 2018/07/24 18:56:13");
  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) 2009-2018 Tenable Network Security, Inc.");

  script_dependencies("pidgin_installed.nasl");
  script_require_keys("SMB/Pidgin/Version");

  exit(0);
}

include("global_settings.inc");

version = get_kb_item("SMB/Pidgin/Version");
if (version)
{
  ver = split(version, sep:'.', keep:FALSE);
  if (
    int(ver[0]) < 2 ||
    (
      int(ver[0]) == 2 &&
      (
        int(ver[1]) < 5 ||
        (int(ver[1])==5 && int(ver[2]) < 6)
      )
    )
  )
  {
    if(report_verbosity>0)
    {
      report = string(
        "\n",
        "Nessus found the following version of Pidgin installed :\n",
        "\n",
        "  ", version, "\n"
      );
      security_hole(port:get_kb_item("SMB/transport"), extra:report);
    }
    else security_hole(port:get_kb_item("SMB/transport"));
  }
}
VendorProductVersionCPE
pidginpidgincpe:/a:pidgin:pidgin

CVSS2

9.3

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

COMPLETE

Integrity Impact

COMPLETE

Availability Impact

COMPLETE

AV:N/AC:M/Au:N/C:C/I:C/A:C

EPSS

0.261

Percentile

96.8%