Horde Horde_Image::factory driver Argument Local File Inclusion

high Nessus Plugin ID 35554

Synopsis

The remote web server contains a PHP application that is susceptible to a local file include attack.

Description

The version of Horde, Horde Groupware, or Horde Groupware Webmail Edition installed on the remote host fails to filter input to the 'driver' argument of the 'Horde_Image::factory' method before using it to include PHP code in 'lib/Horde/Image.php'. Regardless of PHP's 'register_globals' and 'magic_quotes_gpc' settings, an unauthenticated attacker can exploit this issue to view arbitrary files or possibly to execute arbitrary PHP code on the remote host, subject to the privileges of the web server user id.

Note that this install is also likely affected by a cross-site scripting issue in the 'services/portal/cloud_search.php' script although Nessus has not checked for that.

Solution

If using Horde, upgrade to version 3.3.3 / 3.2.4 or later.

If using Horde Groupware, upgrade to version 1.2.2 / 1.1.5 or later.

If using Horde Groupware Webmail Edition, upgrade to version 1.2.2 / 1.1.5 or later.

See Also

https://lists.horde.org/archives/announce/2009/000482.html

https://lists.horde.org/archives/announce/2009/000483.html

https://lists.horde.org/archives/announce/2009/000486.html

https://lists.horde.org/archives/announce/2009/000487.html

https://lists.horde.org/archives/announce/2009/000488.html

https://lists.horde.org/archives/announce/2009/000489.html

Plugin Details

Severity: High

ID: 35554

File Name: horde_image_driver_type_lfi.nasl

Version: 1.18

Type: remote

Family: CGI abuses

Published: 1/29/2009

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.2

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Vulnerability Information

CPE: cpe:/a:horde:horde_application_framework

Required KB Items: www/horde

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Available: true

Exploit Ease: Exploits are available

Exploited by Nessus: true

Exploitable With

CANVAS (D2ExploitPack)

Elliot (Horde < 3.3.2 LFI)

Reference Information

CVE: CVE-2009-0932

BID: 33491

CWE: 22

SECUNIA: 33695