CVE-2012-6495
published 2013-01-03CVE-2012-6495: Multiple directory traversal vulnerabilities in the (1) twikidraw (action/twikidraw.py) and (2) anywikidraw (action/anywikidraw.py) actions in MoinMoin before…
PriorityP352medium6CVSS 2.0
AVNACMAuSCPIPAP
EXPLOIT
EPSS
18.56%
96.9th percentile
Multiple directory traversal 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 overwrite arbitrary files via unspecified vectors. NOTE: this can be leveraged with CVE-2012-6081 to execute arbitrary code.
Affected
58 ranges· showing 25
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| moinmo | moinmoin | <= 1.9.5 | — |
| moinmo | moinmoin | — | — |
| moinmo | moinmoin | — | — |
| moinmo | moinmoin | — | — |
| moinmo | moinmoin | — | — |
| moinmo | moinmoin | — | — |
| moinmo | moinmoin | — | — |
| moinmo | moinmoin | — | — |
| moinmo | moinmoin | — | — |
| moinmo | moinmoin | — | — |
| moinmo | moinmoin | — | — |
| moinmo | moinmoin | — | — |
| moinmo | moinmoin | — | — |
| moinmo | moinmoin | — | — |
| moinmo | moinmoin | — | — |
| moinmo | moinmoin | — | — |
| moinmo | moinmoin | — | — |
| moinmo | moinmoin | — | — |
| moinmo | moinmoin | — | — |
| moinmo | moinmoin | — | — |
| moinmo | moinmoin | — | — |
| moinmo | moinmoin | — | — |
| moinmo | moinmoin | — | — |
| moinmo | moinmoin | — | — |
| moinmo | moinmoin | — | — |
CVSS provenance
nvdv2.06.0MEDIUMAV:N/AC:M/Au:S/C:P/I:P/A:P
ghsa6.0MEDIUM
osv6.0MEDIUM
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
MoinMoin Multiple vulnerable to directory traversal
osv·2022-05-17·CVSS 6.0
CVE-2012-6495 [MEDIUM] MoinMoin Multiple vulnerable to directory traversal
MoinMoin Multiple vulnerable to directory traversal
Multiple directory traversal 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 overwrite arbitrary files via unspecified vectors. NOTE: this can be leveraged with CVE-2012-6081 to execute arbitrary code.
GHSA
MoinMoin Multiple vulnerable to directory traversal
ghsa·2022-05-17·CVSS 6.0
CVE-2012-6495 [MEDIUM] CWE-22 MoinMoin Multiple vulnerable to directory traversal
MoinMoin Multiple vulnerable to directory traversal
Multiple directory traversal 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 overwrite arbitrary files via unspecified vectors. NOTE: this can be leveraged with CVE-2012-6081 to execute arbitrary code.
OSV
CVE-2012-6495: Multiple directory traversal vulnerabilities in the (1) twikidraw (action/twikidraw
osv·2013-01-03·CVSS 6.0
CVE-2012-6495 [MEDIUM] CVE-2012-6495: Multiple directory traversal vulnerabilities in the (1) twikidraw (action/twikidraw
Multiple directory traversal 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 overwrite arbitrary files via unspecified vectors. NOTE: this can be leveraged with CVE-2012-6081 to execute arbitrary code.
No detection rules found.
Exploit-DB
MoinMoin - twikidraw Action Traversal Arbitrary File Upload (Metasploit)
exploitdb·2013-06-24
CVE-2012-6495 MoinMoin - twikidraw Action Traversal Arbitrary File Upload (Metasploit)
MoinMoin - twikidraw Action Traversal Arbitrary File Upload (Metasploit)
---
##
# This file is part of the Metasploit Framework and may be subject to
# redistribution and commercial restrictions. Please see the Metasploit
# web site for more information on licensing and terms of use.
# http://metasploit.com/
##
require 'msf/core'
class Metasploit3 'MoinMoin twikidraw Action Traversal File Upload',
'Description' => %q{
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. The user
Exploit-DB
MoinMoin - Arbitrary Command Execution
exploitdb·2013-05-08
CVE-2012-6495 MoinMoin - Arbitrary Command Execution
MoinMoin - Arbitrary Command Execution
---
#!/usr/bin/env python
# -*- coding: utf-8 -*-
ascii = '\x1b[1;31m'###########################################################################
ascii +=' \r\n'#
ascii +=' ██████████ ██████ ███ ███ ███ ██████████ ████████ ███ ███████ \r\n'#
ascii +=' ███████████ ████████ ███ ████ ███ ███████████ ████████ ███ ███████ \r\n'#
ascii +=' ██▒ ██▒ ██▒ ██▒ ███ ██▒ ██▒█▒███ ██▒ ██▒ ██▒ ██▒ ██▒ ██▒ \r\n'#
ascii +=' ▒█▒ ▒█▒ ▒█▒ ▒█▒ █▒█ ▒█▒ ▒█▒▒█▒█▒ ▒█▒ ▒█▒ ▒█▒ ▒█▒ ▒█▒ ▒█▒ \r\n'#
ascii +=' █▒▒ ▒▒█ █▒█ █▒█ ▒█▒ ▒▒█ █▒█ ▒▒█▒ █▒▒ ▒▒█ █▒█ █▒▒▒░▒ █▒▒ █▒▒ \r\n'#
ascii +=' ▒█▒ ▒ ▒█▒ ▒█▒ ▒▒▒ ▒▒▒ ▒█▒ ▒▒▒ ▒█▒ ▒ ▒█▒ ▒▒▒▒▒░ ▒▒▒ ▒▒▒ \r\n'#
ascii +=' ▒▒░ ▒▒░ ▒▒░ ▒▒▒ ▒▒░ ▒▒░ ▒▒▒ ▒▒░ ▒▒░ ▒▒░ ▒▒░ ▒▒░ \r\n'#
ascii +=' ░▒░ ░▒░ ░▒░ ▒░▒ ░▒░ ░▒░ ▒░▒ ░▒░ ░▒░ ░▒░ ░▒░ ░▒░ \r\n'#
ascii
Bugzilla
CVE-2012-6495 moin: Multiple directory traversal flaws in twikidraw and anywikidraw
bugzilla·2013-01-03·CVSS 6.0
CVE-2012-6495 [MEDIUM] CVE-2012-6495 moin: Multiple directory traversal flaws in twikidraw and anywikidraw
CVE-2012-6495 moin: Multiple directory traversal flaws in twikidraw and anywikidraw
Common Vulnerabilities and Exposures assigned an identifier CVE-2012-6495 to the following vulnerability:
Multiple directory traversal 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 overwrite arbitrary files via unspecified vectors. NOTE: this can be leveraged with CVE-2012-6081 to execute arbitrary code.
References:
[1] http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2012-6495
[2] http://www.openwall.com/lists/oss-security/2012/12/29/6
[3] http://www.openwall.com/lists/oss-security/2012/12/30/4
[4] https://bugs.launchpad.net/ubuntu/+source/moin/+bug/109459
Bugzilla
CVE-2012-6081 CVE-2012-6082 CVE-2012-6080 CVE-2012-6495 moin various flaws [epel-5]
bugzilla·2012-12-31·CVSS 6.4
CVE-2012-6081 [MEDIUM] CVE-2012-6081 CVE-2012-6082 CVE-2012-6080 CVE-2012-6495 moin various flaws [epel-5]
CVE-2012-6081 CVE-2012-6082 CVE-2012-6080 CVE-2012-6495 moin various flaws [epel-5]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora EPEL.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When creating a Bodhi update request, please use the bodhi submission link
noted in the next comment(s). This will include the bug IDs of this
tracking bug as well as the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
Bodhi notes field when available.
epel-5 tracking
Bugzilla
CVE-2012-6081 CVE-2012-6082 CVE-2012-6080 CVE-2012-6495 moin various flaws [fedora-all]
bugzilla·2012-12-31·CVSS 6.4
CVE-2012-6081 [MEDIUM] CVE-2012-6081 CVE-2012-6082 CVE-2012-6080 CVE-2012-6495 moin various flaws [fedora-all]
CVE-2012-6081 CVE-2012-6082 CVE-2012-6080 CVE-2012-6495 moin various flaws [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When creating a Bodhi update request, please use the bodhi submission link
noted in the next comment(s). This will include the bug IDs of this
tracking bug as well as the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
Bodhi notes field when available.
Please note: this
http://hg.moinmo.in/moin/1.9/rev/7e7e1cbb9d3fhttp://moinmo.in/MoinMoinRelease1.9http://moinmo.in/SecurityFixeshttp://secunia.com/advisories/51696http://ubuntu.com/usn/usn-1680-1http://www.debian.org/security/2012/dsa-2593http://www.openwall.com/lists/oss-security/2012/12/29/6http://www.openwall.com/lists/oss-security/2012/12/30/4https://bugs.launchpad.net/ubuntu/+source/moin/+bug/1094599http://hg.moinmo.in/moin/1.9/rev/7e7e1cbb9d3fhttp://moinmo.in/MoinMoinRelease1.9http://moinmo.in/SecurityFixeshttp://secunia.com/advisories/51696http://ubuntu.com/usn/usn-1680-1http://www.debian.org/security/2012/dsa-2593http://www.openwall.com/lists/oss-security/2012/12/29/6http://www.openwall.com/lists/oss-security/2012/12/30/4https://bugs.launchpad.net/ubuntu/+source/moin/+bug/1094599
2013-01-03
Published