Pidgin is prone to multiple denial of service (DoS) vulnerabilities.
# SPDX-FileCopyrightText: 2009 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only
CPE = "cpe:/a:pidgin:pidgin";
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.900941");
script_version("2024-02-27T05:06:31+0000");
script_tag(name:"last_modification", value:"2024-02-27 05:06:31 +0000 (Tue, 27 Feb 2024)");
script_tag(name:"creation_date", value:"2009-09-15 09:32:43 +0200 (Tue, 15 Sep 2009)");
script_tag(name:"cvss_base", value:"5.0");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:N/A:P");
script_cve_id("CVE-2009-2703", "CVE-2009-3083", "CVE-2009-3084",
"CVE-2009-3085");
script_name("Pidgin < 2.6.2 Multiple DoS Vulnerabilities - Linux");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2009 Greenbone AG");
script_family("Denial of Service");
script_dependencies("secpod_pidgin_detect_lin.nasl");
script_mandatory_keys("Pidgin/Lin/Ver");
script_xref(name:"URL", value:"http://secunia.com/advisories/36601");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/36277");
script_xref(name:"URL", value:"http://developer.pidgin.im/ticket/10159");
script_xref(name:"URL", value:"http://www.pidgin.im/news/security/?id=37");
script_xref(name:"URL", value:"http://www.pidgin.im/news/security/?id=38");
script_xref(name:"URL", value:"http://www.pidgin.im/news/security/?id=39");
script_xref(name:"URL", value:"http://www.pidgin.im/news/security/?id=40");
script_tag(name:"impact", value:"Attackers can exploit this issue to execute arbitrary code, corrupt memory
and cause the application to crash.");
script_tag(name:"affected", value:"Pidgin version prior to 2.6.2 on Linux.");
script_tag(name:"insight", value:"- An error in libpurple/protocols/irc/msgs.c in the IRC protocol plugin in
libpurple can trigger a NULL-pointer dereference when processing TOPIC
messages which lack a topic string.
- An error in the 'msn_slp_sip_recv' function in libpurple/protocols/msn/slp.c
in the MSN protocol can trigger a NULL-pointer dereference via an SLP invite
message missing expected fields.
- An error in the 'msn_slp_process_msg' function in libpurple/protocols/msn/
slpcall.c in the MSN protocol when converting the encoding of a handwritten
message can be exploited by improper utilisation of uninitialised variables.
- An error in the XMPP protocol plugin in libpurple is fails to handle an
error IQ stanza during an attempted fetch of a custom smiley is processed
via XHTML-IM content with cid: images.");
script_tag(name:"solution", value:"Update to version 2.6.2 or later.");
script_tag(name:"summary", value:"Pidgin is prone to multiple denial of service (DoS) vulnerabilities.");
script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");
script_tag(name:"qod_type", value:"executable_version");
script_tag(name:"solution_type", value:"VendorFix");
exit(0);
}
include("version_func.inc");
include("host_details.inc");
if(!ver = get_app_version(cpe:CPE))
exit(0);
if(version_is_less(version:ver, test_version:"2.6.2")) {
report = report_fixed_ver(installed_version:ver, fixed_version:"2.6.2");
security_message(data:report);
exit(0);
}
exit(99);