Lucene search

K
openvasThis script is Copyright (C) 2011 Greenbone Networks GmbHOPENVAS:103369
HistoryDec 20, 2011 - 12:00 a.m.

ejabberd 'mod_pubsub' Module Denial of Service Vulnerability

2011-12-2000:00:00
This script is Copyright (C) 2011 Greenbone Networks GmbH
plugins.openvas.org
11

EPSS

0.006

Percentile

78.1%

ejabberd is prone to a vulnerability that may allow attackers to cause
an affected application to enter an infinite loop, resulting in a denial-of-
service condition.

ejabberd versions prior to 2.1.9 are affected.

###############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_ejabberd_50737.nasl 7019 2017-08-29 11:51:27Z teissa $
#
# ejabberd 'mod_pubsub' Module Denial of Service Vulnerability
#
# Authors:
# Michael Meyer <[email protected]>
#
# Copyright:
# Copyright (c) 2011 Greenbone Networks GmbH
#
# 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.
###############################################################################

tag_summary = "ejabberd is prone to a vulnerability that may allow attackers to cause
an affected application to enter an infinite loop, resulting in a denial-of-
service condition.

ejabberd versions prior to 2.1.9 are affected.";

tag_solution = "Updates are available. Please see the references for more information.";

if (description)
{
 script_id(103369);
 script_bugtraq_id(50737);
 script_cve_id("CVE-2011-4320");
 script_version ("$Revision: 7019 $");
 script_tag(name:"cvss_base", value:"4.0");
 script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:S/C:N/I:N/A:P");
 script_tag(name:"qod_type", value:"remote_banner_unreliable");
 script_name("ejabberd 'mod_pubsub' Module Denial of Service Vulnerability");

 script_xref(name : "URL" , value : "http://www.securityfocus.com/bid/50737");
 script_xref(name : "URL" , value : "http://www.ejabberd.im/");
 script_xref(name : "URL" , value : "http://www.process-one.net/en/ejabberd/release_notes/release_note_ejabberd_2.1.9/");
 script_xref(name : "URL" , value : "https://support.process-one.net/browse/EJAB-1498");

 script_tag(name:"last_modification", value:"$Date: 2017-08-29 13:51:27 +0200 (Tue, 29 Aug 2017) $");
 script_tag(name:"creation_date", value:"2011-12-20 11:14:21 +0100 (Tue, 20 Dec 2011)");
 script_category(ACT_GATHER_INFO);
 script_family("Denial of Service");
 script_copyright("This script is Copyright (C) 2011 Greenbone Networks GmbH");
 script_dependencies("ejabberd_detect.nasl");
 script_require_ports("Services/xmpp", 5222);
 script_tag(name : "solution" , value : tag_solution);
 script_tag(name : "summary" , value : tag_summary);
 exit(0);
}

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

xmpp_port = get_kb_item("Services/xmpp");
if(!xmpp_port)xmpp_port=5222;
if(!get_port_state(xmpp_port))exit(0);

if(!version = get_kb_item(string("xmpp/", xmpp_port, "/ejabberd")))exit(0);
if(!isnull(version)) {

    if(version_is_less(version: version, test_version: "2.1.9")) {
            security_message(port:xmpp_port);
            exit(0);
    }

}

exit(0);