TikiWiki tiki-graph_formula.php f Parameter Arbitrary Command Execution

high Nessus Plugin ID 26968

Synopsis

The remote web server contains a PHP script that allows arbitrary command execution.

Description

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

The version of TikiWiki on the remote host fails to sanitize input to the 'f[]' parameter of the 'tiki-graph_formula.php' script before using it as a function call. Regardless of PHP's 'register_globals' setting, an unauthenticated attacker can leverage this issue to execute arbitrary code on the remote host subject to the privileges of the web server user id.

Solution

Upgrade to TikiWiki version 1.9.8.1 or later.

See Also

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

https://tiki.org/tiki-read_article.php?articleId=14

Plugin Details

Severity: High

ID: 26968

File Name: tikiwiki_f_cmd_exec.nasl

Version: 1.26

Type: remote

Family: CGI abuses

Published: 10/11/2007

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

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 8.2

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:F/RL:O/RC:C

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

Exploited by Nessus: true

Exploitable With

CANVAS (CANVAS)

Core Impact

Metasploit (TikiWiki tiki-graph_formula Remote PHP Code Execution)

Reference Information

CVE: CVE-2007-5423

BID: 26006

CWE: 94