Lucene search

K
openvasCopyright (C) 2009 Greenbone Networks GmbHOPENVAS:1361412562310900660
HistoryMay 28, 2009 - 12:00 a.m.

Cyrus SASL Remote Buffer Overflow Vulnerability

2009-05-2800:00:00
Copyright (C) 2009 Greenbone Networks GmbH
plugins.openvas.org
9

CVSS2

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

AI Score

9.5

Confidence

High

EPSS

0.407

Percentile

97.3%

This host has installed Cyrus SASL library and is prone to Remote
Buffer Overflow vulnerability

# Copyright (C) 2009 Greenbone Networks GmbH
# 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-or-later
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.900660");
  script_version("2022-05-09T13:48:18+0000");
  script_tag(name:"last_modification", value:"2022-05-09 13:48:18 +0000 (Mon, 09 May 2022)");
  script_tag(name:"creation_date", value:"2009-05-28 07:14:08 +0200 (Thu, 28 May 2009)");
  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-2009-0688");
  script_name("Cyrus SASL Remote Buffer Overflow Vulnerability");
  script_xref(name:"URL", value:"http://secunia.com/advisories/35102");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/34961");
  script_xref(name:"URL", value:"http://www.kb.cert.org/vuls/id/238019");
  script_xref(name:"URL", value:"http://www.vupen.com/english/advisories/2009/1313");

  script_tag(name:"qod_type", value:"executable_version_unreliable");
  script_tag(name:"solution_type", value:"VendorFix");

  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2009 Greenbone Networks GmbH");
  script_family("Buffer overflow");
  script_dependencies("secpod_cyrus_sasllib_detect.nasl");
  script_mandatory_keys("Cyrus/SASL/Ver");
  script_tag(name:"impact", value:"Successful exploits allow attackers to run arbitrary code and to crash an
  application that uses the library thus denying service to legitimate users.");
  script_tag(name:"affected", value:"Cyrus SASL version prior to 2.1.23");
  script_tag(name:"insight", value:"An error in 'sasl_encode64' function within the lib/saslutil.c, as it fails
  to perform adequate boundary checks on user supplied data before copying the
  data to allocated memory buffers.");
  script_tag(name:"solution", value:"Upgrade to version 2.1.23 or later.");
  script_tag(name:"summary", value:"This host has installed Cyrus SASL library and is prone to Remote
  Buffer Overflow vulnerability");

  exit(0);
}

include("version_func.inc");

saslVer = get_kb_item("Cyrus/SASL/Ver");
if(!saslVer)
  exit(0);

if(version_is_less(version:saslVer, test_version:"2.1.23")){
  report = report_fixed_ver(installed_version:saslVer, fixed_version:"2.1.23");
  security_message(port: 0, data: report);
}

CVSS2

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

AI Score

9.5

Confidence

High

EPSS

0.407

Percentile

97.3%