Rapid7 Vulnerability & Exploit Database

WikkaWiki 1.3.2 Spam Logging PHP Injection

Back to Search

WikkaWiki 1.3.2 Spam Logging PHP Injection

Disclosed
11/30/2011
Created
05/30/2018

Description

This module exploits a vulnerability found in WikkaWiki. When the spam logging feature is enabled, it is possible to inject PHP code into the spam log file via the UserAgent header, and then request it to execute our payload. There are at least three different ways to trigger spam protection, this module does so by generating 10 fake URLs in a comment (by default, the max_new_comment_urls parameter is 6). Please note that in order to use the injection, you must manually pick a page first that allows you to add a comment, and then set it as 'PAGE'.

Author(s)

  • EgiX
  • sinn3r <sinn3r@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/multi/http/wikka_spam_exec
msf exploit(wikka_spam_exec) > show targets
    ...targets...
msf exploit(wikka_spam_exec) > set TARGET < target-id >
msf exploit(wikka_spam_exec) > show options
    ...show and set options...
msf exploit(wikka_spam_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

;