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 Advisory

This security advisory describes one critical risk vulnerability.

1) Arbitrary file upload

Risk: Critical

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

CVE-ID: CVE-2012-6081

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

Exploit availability: Yes [Search exploit]

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.1, 1.9.2, 1.9.3, 1.9.4, 1.9.5

CPE External links

https://moinmo.in/MoinMoinRelease1.9
https://moinmo.in/SecurityFixes
https://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.



ImmuniWeb® AI Platform for Application Security Testing