Arbitrary file upload in MoinMoin



Published: 2012-07-25 | Updated: 2017-03-13
Risk Critical
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2012-6081
CWE-ID CWE-434
Exploitation vector Network
Public exploit This vulnerability is being exploited in the wild.
Vulnerable software
Subscribe
MoinMoin
Web applications / CMS

Vendor MoinMoin

Security Bulletin

This security bulletin contains one critical risk vulnerability.

1) Arbitrary file upload

EUVDB-ID: #VU4216

Risk: Critical

CVSSv3.1: 9.2 [CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H/E:F/RL:O/RC:C]

CVE-ID: CVE-2012-6081

CWE-ID: CWE-434 - Unrestricted Upload of File with Dangerous Type

Exploit availability: Yes

Description

The vulnerability allows a remote authenticated attacker to compromise system.

The weakness exists due to insufficient validation of the filename extension when uploading files twikidraw (action/twikidraw.py) and anywikidraw (action/anywikidraw.py) actions. A remote authenticated attacker with write permissions can upload and execute arbitrary file with executable extension.

Successful exploitation of the vulnerability may allow an attacker to compromise vulnerable system.

Note: the vulnerability was being actively exploited.

Mitigation

Update to version 1.9.6 or later.

Vulnerable software versions

MoinMoin: 1.9 - 1.9.5

External links

http://moinmo.in/MoinMoinRelease1.9
http://moinmo.in/SecurityFixes
http://www.exploit-db.com/exploits/25304/


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, a fully functional exploit for this vulnerability is available.



###SIDEBAR###