Tikiwiki tiki-listmovies.php movie Parameter Traversal Arbitrary File Access

medium Nessus Plugin ID 29799

Synopsis

The remote web server contains a PHP script that is prone to a directory traversal attack.

Description

The remote host is running TikiWiki, an open source wiki application written in PHP.

The version of TikiWiki installed on the remote host fails to sanitize input to the 'movie' parameter of the 'tiki-listmovies.php' script before using it to access files. An unauthenticated attacker may be able to leverage this issue to read up to 1000 lines of arbitrary files on the remote host, subject to the privileges of the web server user id.

Note that successful exploitation is possible regardless of PHP's 'magic_quotes_gpc' and 'register_globals' settings.

Solution

Upgrade to Tikiwiki 1.9.9 or later.

See Also

https://www.securityfocus.com/archive/1/485482/30/0/threaded

https://tiki.org/ReleaseProcess199

Plugin Details

Severity: Medium

ID: 29799

File Name: tikiwiki_movie_dir_traversal.nasl

Version: 1.21

Type: remote

Family: CGI abuses

Published: 12/26/2007

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.2

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.9

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

Vulnerability Information

CPE: cpe:/a:tikiwiki:tikiwiki

Required KB Items: www/PHP, www/tikiwiki

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Reference Information

CVE: CVE-2007-6528

BID: 27008

CWE: 22