Rapid7 Vulnerability & Exploit Database

TikiWiki tiki-graph_formula Remote PHP Code Execution

Back to Search

TikiWiki tiki-graph_formula Remote PHP Code Execution

Disclosed
10/10/2007
Created
05/30/2018

Description

TikiWiki (<= 1.9.8) contains a flaw that may allow a remote attacker to execute arbitrary PHP code. The issue is due to 'tiki-graph_formula.php' script not properly sanitizing user input supplied to create_function(), which may allow a remote attacker to execute arbitrary PHP code resulting in a loss of integrity.

Author(s)

  • Matteo Cantoni <goony@nothink.org>
  • jduck <jduck@metasploit.com>

Platform

PHP

Architectures

php

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use exploit/unix/webapp/tikiwiki_graph_formula_exec
msf exploit(tikiwiki_graph_formula_exec) > show targets
    ...targets...
msf exploit(tikiwiki_graph_formula_exec) > set TARGET < target-id >
msf exploit(tikiwiki_graph_formula_exec) > show options
    ...show and set options...
msf exploit(tikiwiki_graph_formula_exec) > exploit

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;