Rapid7

module

WikkaWiki 1.3.2 Spam Logging PHP Injection

Disclosed
Nov 30, 2011
Created
May 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'.

Authors

Platform

PHP

Architectures

php

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

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.