Lucene search
+L

Habari Multiple Vulnerabilities

🗓️ 31 Dec 2010 00:00:00Reported by Copyright (C) 2010 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 26 Views

Habari application version 0.6.5 has multiple vulnerabilities, including remote execution of arbitrary HTML and script code, as well as revealing the full path to the web root directory

Related
Refs
Code
ReporterTitlePublishedViews
Family
cve
CVE
CVE-2010-4607
29 Dec 201019:00
cve
cve
CVE
CVE-2010-4608
29 Dec 201019:00
cve
cvelist
Cvelist
CVE-2010-4607
29 Dec 201019:00
cvelist
cvelist
Cvelist
CVE-2010-4608
29 Dec 201019:00
cvelist
exploitdb
Exploit DB
Habari Blog - Multiple Vulnerabilities
21 Dec 201000:00
exploitdb
euvd
EUVD
EUVD-2010-4573
7 Oct 202500:30
euvd
euvd
EUVD
EUVD-2010-4574
7 Oct 202500:30
euvd
htbridge
htbridge
Multiple Vulnerabilities in Habari
2 Dec 201000:00
htbridge
nvd
NVD
CVE-2010-4607
29 Dec 201022:33
nvd
nvd
NVD
CVE-2010-4608
29 Dec 201022:33
nvd
Rows per page
# SPDX-FileCopyrightText: 2010 Greenbone AG
# 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.902326");
  script_version("2025-03-05T05:38:52+0000");
  script_tag(name:"last_modification", value:"2025-03-05 05:38:52 +0000 (Wed, 05 Mar 2025)");
  script_tag(name:"creation_date", value:"2010-12-31 07:04:16 +0100 (Fri, 31 Dec 2010)");
  script_cve_id("CVE-2010-4607", "CVE-2010-4608");
  script_tag(name:"cvss_base", value:"5.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:N/A:N");
  script_name("Habari Multiple Vulnerabilities");
  script_xref(name:"URL", value:"http://secunia.com/advisories/42688");
  script_xref(name:"URL", value:"http://www.exploit-db.com/exploits/15799/");
  script_xref(name:"URL", value:"http://www.htbridge.ch/advisory/xss_vulnerability_in_habari.html");
  script_xref(name:"URL", value:"http://www.htbridge.ch/advisory/xss_vulnerability_in_habari_1.html");

  script_category(ACT_ATTACK);
  script_copyright("Copyright (C) 2010 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("find_service.nasl", "no404.nasl", "webmirror.nasl", "DDI_Directory_Scanner.nasl", "gb_php_http_detect.nasl", "global_settings.nasl");
  script_require_ports("Services/www", 80);
  script_exclude_keys("Settings/disable_cgi_scanning");

  script_tag(name:"insight", value:"The flaws are due to

  - Input passed to the 'additem_form' parameter in 'system/admin/dash_additem.php'
    and 'status_data[]' parameter in 'system/admin/dash_status.php' is not
    properly sanitised before being returned to the user.

  - Error in '/system/admin/header.php' and '/system/admin/comments_items.php'
    script, which generate an error that will reveal the full path of the script.");

  script_tag(name:"solution", value:"Upgrade to Habari version 0.6.6 or later");

  script_tag(name:"summary", value:"Habari is prone to multiple vulnerabilities.");

  script_tag(name:"impact", value:"Successful exploitation will allow remote attackers to execute arbitrary HTML
  and script code in a user's browser session in the context of an affected
  site and determine the full path to the web root directory and other potentially
  sensitive information.");

  script_tag(name:"affected", value:"Habari version 0.6.5");

  script_tag(name:"solution_type", value:"VendorFix");
  script_tag(name:"qod_type", value:"remote_analysis");
  script_xref(name:"URL", value:"http://habariproject.org/en/download");
  exit(0);
}

include("http_func.inc");
include("http_keepalive.inc");
include("port_service_func.inc");
include("list_array_func.inc");
include("misc_func.inc");

port = http_get_port(default:80);

if(!http_can_host_php(port:port))
  exit(0);

vt_strings = get_vt_strings();

foreach dir (make_list_unique("/habari", "/", http_cgi_dirs(port:port))) {

  if(dir == "/") dir = "";

  res = http_get_cache(item: dir + "/", port:port);

  if("<title>My Habari</title>" >< res) {
    req = http_get(item:string(dir, '/system/admin/dash_status.php?status_data' +
                          '[1]=<script>alert("' + vt_strings["default"] + '");</script>'), port:port);
    res = http_keepalive_send_recv(port:port, data:req);

    if(ereg(pattern:"^HTTP/1\.[01] 200", string:res) &&
                    '<script>alert("' + vt_strings["default"] + '");</script>' >< res) {
      security_message(port:port);
      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

05 Mar 2025 00:00Current
6.5Medium risk
Vulners AI Score6.5
CVSS 25
EPSS0.02492
26