The remote host is missing an update to the system as announced in the referenced advisory. WeeChat 0.3.6 through 0.3.9 has a heap-based buffer overflow that allows remote attackers to cause a denial of service and possibly execute arbitrary code via crafted IRC colors that are not properly decoded
Reporter | Title | Published | Views | Family All 35 |
---|---|---|---|---|
![]() | Fedora 17 : weechat-0.3.8-3.fc17 (2012-17973) | 19 Nov 201200:00 | – | nessus |
![]() | Fedora 18 : weechat-0.3.8-3.fc18 (2012-17950) | 14 Nov 201200:00 | – | nessus |
![]() | Fedora 16 : weechat-0.3.8-3.fc16 (2012-18006) | 19 Nov 201200:00 | – | nessus |
![]() | FreeBSD : weechat -- Crash or freeze when decoding IRC colors in strings (e02c572f-2af0-11e2-bb44-003067b2972c) | 12 Nov 201200:00 | – | nessus |
![]() | Fedora 16 : weechat-0.3.9.2-2.fc16 (2012-19538) | 12 Dec 201200:00 | – | nessus |
![]() | GLSA-201405-03 : WeeChat: Multiple vulnerabilities | 5 May 201400:00 | – | nessus |
![]() | Fedora 17 : weechat-0.3.9.2-2.fc17 (2012-19533) | 11 Dec 201200:00 | – | nessus |
![]() | openSUSE Security Update : weechat (openSUSE-SU-2012:1580-1) | 13 Jun 201400:00 | – | nessus |
![]() | Mandriva Linux Security Advisory : weechat (MDVSA-2013:136) | 20 Apr 201300:00 | – | nessus |
![]() | Fedora 18 : weechat-0.3.9.2-2.fc18 (2012-19588) | 12 Dec 201200:00 | – | nessus |
Source | Link |
---|---|
vuxml | www.vuxml.org/freebsd/e02c572f-2af0-11e2-bb44-003067b2972c.html |
savannah | www.savannah.nongnu.org/bugs/ |
weechat | www.weechat.org/security/ |
# SPDX-FileCopyrightText: 2012 E-Soft Inc.
# 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
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.72604");
script_tag(name:"cvss_base", value:"7.5");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:P/A:P");
script_cve_id("CVE-2012-5854");
script_version("2023-07-26T05:05:09+0000");
script_tag(name:"last_modification", value:"2023-07-26 05:05:09 +0000 (Wed, 26 Jul 2023)");
script_tag(name:"creation_date", value:"2012-11-26 12:47:33 -0500 (Mon, 26 Nov 2012)");
script_name("FreeBSD Ports: weechat");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2012 E-Soft Inc.");
script_family("FreeBSD Local Security Checks");
script_dependencies("gather-package-list.nasl");
script_mandatory_keys("ssh/login/freebsd", "ssh/login/freebsdrel");
script_tag(name:"insight", value:"The following packages are affected:
weechat, weechat-devel
CVE-2012-5854
Heap-based buffer overflow in WeeChat 0.3.6 through 0.3.9 allows
remote attackers to cause a denial of service (crash or hang) and
possibly execute arbitrary code via crafted IRC colors that are not
properly decoded.");
script_tag(name:"solution", value:"Update your system with the appropriate patches or
software upgrades.");
script_xref(name:"URL", value:"http://weechat.org/security/");
script_xref(name:"URL", value:"https://savannah.nongnu.org/bugs/?37704");
script_xref(name:"URL", value:"http://www.vuxml.org/freebsd/e02c572f-2af0-11e2-bb44-003067b2972c.html");
script_tag(name:"summary", value:"The remote host is missing an update to the system
as announced in the referenced advisory.");
script_tag(name:"qod_type", value:"package");
script_tag(name:"solution_type", value:"VendorFix");
exit(0);
}
include("revisions-lib.inc");
include("pkg-lib-bsd.inc");
vuln = FALSE;
txt = "";
bver = portver(pkg:"weechat");
if(!isnull(bver) && revcomp(a:bver, b:"0.3.6")>=0 && revcomp(a:bver, b:"0.3.9.1")<0) {
txt += "Package weechat version " + bver + " is installed which is known to be vulnerable.\n";
vuln = TRUE;
}
bver = portver(pkg:"weechat-devel");
if(!isnull(bver) && revcomp(a:bver, b:"20110614")>=0 && revcomp(a:bver, b:"20121110")<0) {
txt += "Package weechat-devel version " + bver + " is installed which is known to be vulnerable.\n";
vuln = TRUE;
}
if(vuln) {
security_message(data:txt);
} else if (__pkg_match) {
exit(99);
}
Transform Your Security Services
Elevate your offerings with Vulners' advanced Vulnerability Intelligence. Contact us for a demo and discover the difference comprehensive, actionable intelligence can make in your security strategy.
Book a live demo