Exploit database

Vulnerability

CVE-2011-4451

Vulnerability details

Score
4.3
Severity
medium

CVSS 2.0 · NVD

Vector string

AV:N/AC:M/Au:N/C:N/I:P/A:N

Description

libs/Wakka.class.php in WikkaWiki 1.3.1 and 1.3.2, when the spam_logging option is enabled, allows remote attackers to write arbitrary PHP code to the spamlog_path file via the User-Agent HTTP header in an addcomment request. NOTE: the vendor disputes this issue because the rendering of the spamlog_path file never uses the PHP interpreter

CVE Program

Exploit source choices

2 sources
WikkaWiki 1.3.2 Spam Logging PHP Injection
MSF-multi--http--wikka_spam_execMetasploitPHP / remote

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'.

2011-11-30wikka_spam_exec.rb