Claroline inc/lib/language.lib.php language Parameter Traversal Local File Inclusion

medium Nessus Plugin ID 26011

Synopsis

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

Description

The version of Claroline installed on the remote host fails to sanitize user-supplied input to the 'language' parameter before using it to include PHP code in the 'load_translation' method in 'claroline/inc/lib/language.lib.php'. Regardless of PHP's 'register_globals' setting, an unauthenticated, remote attacker may be able to exploit 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.

In addition, the version is likely to be affected by several cross- site scripting issues involving administrative scripts, although Nessus did not check for them.

Solution

Upgrade to Claroline 1.8.6 or later.

See Also

http://www.nessus.org/u?c19b346c

https://secuniaresearch.flexerasoftware.com/advisories/26685

Plugin Details

Severity: Medium

ID: 26011

File Name: claroline_language_include.nasl

Version: 1.21

Type: remote

Family: CGI abuses

Published: 9/10/2007

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.0

CVSS v2

Risk Factor: Medium

Base Score: 5.1

Temporal Score: 4

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

Vulnerability Information

CPE: cpe:/a:claroline:claroline

Required KB Items: www/claroline

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Available: true

Exploit Ease: Exploits are available

Exploited by Nessus: true

Vulnerability Publication Date: 7/31/2007

Reference Information

CVE: CVE-2007-4718

BID: 25521

CWE: 22