module

TWiki Search Function Arbitrary Command Execution

Disclosed
Oct 1, 2004
Created
May 30, 2018

Description

This module exploits a vulnerability in the search component of TWiki.
By passing a 'search' parameter containing shell metacharacters to a
'Search' script, an attacker can execute arbitrary OS commands.

Affected versions:
- 20040901
- 20030201
- 20011201
- 20001201
- SVN up to and including revision 3224

Authors

jduck [email protected]
g0tmi1k

Platform

Linux,Unix

Architectures

cmd

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/twiki_search
msf exploit(twiki_search) > show targets
...targets...
msf exploit(twiki_search) > set TARGET < target-id >
msf exploit(twiki_search) > show options
...show and set options...
msf exploit(twiki_search) > exploit

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.