module

WikkaWiki 1.3.2 Spam Logging PHP Injection

Disclosed
2011-11-30
Created
2018-05-30

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

EgiX
sinn3r sinn3r@metasploit.com

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
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.