Rapid7 Vulnerability & Exploit Database

TWiki Debugenableplugins Remote Code Execution

Back to Search

TWiki Debugenableplugins Remote Code Execution

Disclosed
10/09/2014
Created
05/30/2018

Description

TWiki 4.0.x-6.0.0 contains a vulnerability in the Debug functionality. The value of the debugenableplugins parameter is used without proper sanitization in an Perl eval statement which allows remote code execution.

Author(s)

  • Netanel Rubin
  • h0ng10

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

;