Exploit database

Vulnerability

CVE-2012-6081

Vulnerability details

Score
6.0
Severity
medium

CVSS 2.0 · NVD

Vector string

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

Description

Multiple unrestricted file upload vulnerabilities in the (1) twikidraw (action/twikidraw.py) and (2) anywikidraw (action/anywikidraw.py) actions in MoinMoin before 1.9.6 allow remote authenticated users with write permissions to execute arbitrary code by uploading a file with an executable extension, then accessing it via a direct request to the file in an unspecified directory, as exploited in the wild in July 2012.

CVE Program

Exploit source choices

3 sources
MoinMoin twikidraw Action Traversal File Upload
MSF-unix--webapp--moinmoin_twikidrawMetasploitUnix / remote

This module exploits a vulnerability in MoinMoin 1.9.5. The vulnerability exists on the manage of the twikidraw actions, where a traversal path can be used in order to upload arbitrary files. Exploitation is achieved on Apached/mod_wsgi configurations by overwriting moin.wsgi, which allows to execute arbitrary python code, as exploited in the wild on July, 2012. This module is "ManualRanking," and the user is warned to use this module at his own risk since it will overwrite the moin.wsgi file, required for the correct working of the MoinMoin wiki. While the exploit will try to restore the attacked application at post exploitation, successful restoration cannot be guaranteed.

2012-12-30moinmoin_twikidraw.rb