Lucene search
K

Openfire Security Bypass Vulnerabilities

🗓️ 18 May 2009 00:00:00Reported by Copyright (C) 2009 Greenbone Networks GmbHType 
openvas
 openvas
🔗 plugins.openvas.org👁 24 Views

Openfire allows security bypass via modified username element in a passwd_change action. Upgrade to version 3.6.4 or later to fix

Related
Refs
Code
##############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_openfire_sec_bypass_vuln_may09.nasl 3238 2016-05-06 12:54:43Z benallard $
#
# Openfire Security Bypass Vulnerabilities (May09)
#
# Authors:
# Sujit Ghosal <[email protected]>
#
# Copyright:
# Copyright (c) 2009 Greenbone Networks GmbH, http://www.greenbone.net
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2
# (or any later version), as published by the Free Software Foundation.
#
# 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_solution = "Upgrade to Openfire 3.6.4 or later
http://www.igniterealtime.org/projects/openfire";

tag_impact = "Prior to version 3.6.4:

Successful exploitation will let the attacker change the passwords of
arbitrary accounts via a modified username element in a passwd_change
action or can bypass intended policy and change their own passwords via
a passwd_change IQ packet.

Prior to version 3.6.4:

Successful exploitation will let the attacker bypass intended policy
and change their own passwords via a passwd_change IQ packet.

Impact Level: Application/Network";

tag_affected = "Openfire prior to 3.6.4 and prior to 3.6.5";

if(description)
{
  script_xref(name : "URL" , value : "http://secunia.com/advisories/34976");
  script_xref(name : "URL" , value : "http://secunia.com/advisories/34984");
  script_xref(name : "URL" , value : "http://www.igniterealtime.org/issues/browse/JM-1532");
  script_xref(name : "URL" , value : "http://www.igniterealtime.org/issues/browse/JM-1531");
  script_id(800718);
  script_version("$Revision: 3238 $");
  script_tag(name:"last_modification", value:"$Date: 2016-05-06 14:54:43 +0200 (Fri, 06 May 2016) $");
  script_tag(name:"creation_date", value:"2009-05-18 09:37:31 +0200 (Mon, 18 May 2009)");
  script_tag(name:"cvss_base", value:"4.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:S/C:N/I:P/A:N");
  script_cve_id("CVE-2009-1595", "CVE-2009-1596");
 script_bugtraq_id(34804);
  script_name("Openfire Security Bypass Vulnerabilities");
  script_tag(name:"qod_type", value:"remote_banner");
  script_summary("Check for the version of Openfire");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2009 Greenbone Networks GmbH");
  script_family("Web application abuses");
  script_dependencies("gb_openfire_detect.nasl");
  script_require_ports("Services/www", 9090);
  script_tag(name : "impact" , value : tag_impact);
  script_tag(name : "affected" , value : tag_affected);
  script_tag(name : "solution" , value : tag_solution);
  script_xref(name : "URL" , value : "http://secunia.com/advisories/34984");
  script_xref(name : "URL" , value : "http://www.igniterealtime.org/issues/browse/JM-1532");
  exit(0);
}


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

report = string("\n  Overview: This host is running Openfire, which is prone" +
                " to security bypass\n  vulnerability.\n\n" +
                "  Vulnerability Insight:\n");
 vuln1 = string("  - Error exists in 'jabber:iq:auth' implementation in" +
                " IQAuthHandler.java\n    File via a modified username " +
                "element in a passwd_change action.\n");
 vuln2 = string("  - Error due to improper implementation of 'register" +
                ".password' console\n    configuration settings via a " +
                "passwd_change IQ packet.\n");

openfirePort = get_http_port(default:9090);
if(!openfirePort){
  exit(0);
}

openfireVer = get_kb_item("www/" + openfirePort + "/Openfire");
if(openfireVer != NULL)
{
  # Grep for Openfire version prior to 3.6.4
  if(version_is_less(version:openfireVer, test_version:"3.6.4"))
  {
    security_message(data:string(report, vuln1),
                     port:openfirePort);
  }

  # Grep for Openfire version 3.6.4
  else if(version_is_equal(version:openfireVer, test_version:"3.6.4"))
  {
    security_message(data:string(report, vuln2),
    port:openfirePort);
  }
}

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