trixbox Dashboard user/index.php langChoice Parameter Local File Inclusion

high Nessus Plugin ID 33445

Synopsis

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

Description

The version of trixbox dashboard installed on the remote host fails to sanitize user-supplied input to the 'langChoice' parameter of the 'user/index.php' script before using it to include PHP code.
Regardless of PHP's 'register_globals' setting, an unauthenticated attacker could leverage this issue to view arbitrary files or to execute arbitrary PHP code on the remote host, subject to the privileges of the web server user id.

Solution

Versions 2.6.1 and prior are reportedly affected by the issue referenced above. Consequently, refer to the vendor for patch and/or upgrade options.

See Also

https://seclists.org/fulldisclosure/2008/Jul/102

http://www.nessus.org/u?9c891c97

Plugin Details

Severity: High

ID: 33445

File Name: trixbox_langchoice_file_include.nasl

Version: 1.29

Type: remote

Family: CGI abuses

Published: 7/9/2008

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.4

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:fonality:trixbox

Required KB Items: www/PHP, www/trixbox

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Exploited by Nessus: true

Exploitable With

Metasploit (Trixbox langChoice PHP Local File Inclusion)

Reference Information

CVE: CVE-2008-6825

BID: 30135

CWE: 22