Lucene search
+L

InspIRCd < 2.0.23 'm_sasl' Module SASL_EXTERNAL Authentication Spoofing Vulnerability

🗓️ 16 Jan 2017 00:00:00Reported by Copyright (C) 2017 Greenbone Networks GmbHType 
openvas
 openvas
🔗 plugins.openvas.org👁 47 Views

InspIRCd < 2.0.23 'm_sasl' Module SASL_EXTERNAL Authentication Spoofing Vulnerability. Authentication spoofing vulnerability due to error in 'm_sasl' module allowing remote attackers to spoof certificate fingerprints via crafted SASL messages

Related
Refs
Code
ReporterTitlePublishedViews
Family
cnvd
CNVD
Inspircd SSL Certificate Spoofing Vulnerability
6 Sep 201600:00
cnvd
cve
CVE
CVE-2016-7142
26 Sep 201615:00
cve
cvelist
Cvelist
CVE-2016-7142
26 Sep 201615:00
cvelist
debian
Debian
[SECURITY] [DSA 3662-1] inspircd security update
8 Sep 201617:42
debian
debiancve
Debian CVE
CVE-2016-7142
26 Sep 201615:00
debiancve
nessus
Tenable Nessus
Debian DSA-3662-1 : inspircd - security update
9 Sep 201600:00
nessus
nessus
Tenable Nessus
Ubuntu 16.04 LTS / 18.04 LTS / 20.04 LTS : InspIRCd vulnerabilities (USN-7405-1)
2 Apr 202500:00
nessus
euvd
EUVD
EUVD-2016-8014
7 Oct 202500:30
euvd
nvd
NVD
CVE-2016-7142
26 Sep 201615:59
nvd
openvas
OpenVAS
Debian: Security Advisory (DSA-3662-1)
7 Sep 201600:00
openvas
Rows per page
# Copyright (C) 2017 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.810282");
  script_version("2022-06-01T21:00:42+0000");
  script_cve_id("CVE-2016-7142");
  script_tag(name:"cvss_base", value:"4.3");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:P/I:N/A:N");
  script_tag(name:"last_modification", value:"2022-06-01 21:00:42 +0000 (Wed, 01 Jun 2022)");
  script_tag(name:"severity_vector", value:"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2020-09-14 12:33:00 +0000 (Mon, 14 Sep 2020)");
  script_tag(name:"creation_date", value:"2017-01-16 14:56:16 +0530 (Mon, 16 Jan 2017)");
  script_tag(name:"qod_type", value:"remote_banner_unreliable");
  script_name("InspIRCd < 2.0.23 'm_sasl' Module SASL_EXTERNAL Authentication Spoofing Vulnerability");

  script_tag(name:"summary", value:"InspIRCd is prone to an authentication spoofing vulnerability.");

  script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");

  script_tag(name:"insight", value:"The flaw is due to an error in the 'm_sasl' module in InspIRC,
  when used with a service that supports SASL_EXTERNAL authentication");

  script_tag(name:"impact", value:"Successful exploitation will allow remote attackers to spoof
  certificate fingerprints via crafted SASL messages to the IRCd. This allows any user to login as
  any other user that they know the certificate fingerprint of, and that user has services
  configured to accept SASL EXTERNAL login requests for.");

  script_tag(name:"affected", value:"InspIRCd versions before 2.0.23.");

  script_tag(name:"solution", value:"Update to version 2.0.23 or later.");

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

  script_xref(name:"URL", value:"http://www.inspircd.org/2016/09/03/v2023-released.html");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/92737");
  script_xref(name:"URL", value:"http://www.openwall.com/lists/oss-security/2016/09/05/8");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2017 Greenbone Networks GmbH");
  script_family("General");
  script_dependencies("ircd.nasl");
  script_require_ports("Services/irc", 6667);
  script_mandatory_keys("ircd/banner");

  exit(0);
}

include("version_func.inc");
include("port_service_func.inc");

port = service_get_port(default:6667, proto:"irc");

if(!banner = get_kb_item("irc/banner/" + port))
  exit(0);

if("InspIRCd" >!< banner)
  exit(0);

vers = eregmatch(pattern:"InspIRCd-([0-9.]+)", string:banner);
if(!vers[1])
  exit(0);

if(version_is_less(version:vers[1], test_version:"2.0.23")) {
  report = report_fixed_ver(installed_version:vers[1], fixed_version:"2.0.23");
  security_message(port:port, data:report);
  exit(0);
}

exit(99);

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation