Lucene search
K

MoinMoin 1.9.8 Cross Site Scripting Vulnerability

🗓️ 19 Nov 2016 00:00:00Reported by Tim CoenType 
zdt
 zdt
🔗 0day.today👁 49 Views

MoinMoin 1.9.8 XSS Vulnerability Fix Availabl

Related
Code
ReporterTitlePublishedViews
Family
FreeBSD
moinmoin -- XSS vulnerabilities
31 Oct 201600:00
freebsd
Circl
CVE-2016-7146
2 May 202421:00
circl
Circl
CVE-2016-7148
2 May 202422:00
circl
CNVD
MoinMoin HTML Injection Vulnerability (CNVD-2016-11259)
14 Nov 201600:00
cnvd
CNVD
MoinMoin HTML Injection Vulnerability
14 Nov 201600:00
cnvd
CVE
CVE-2016-7146
10 Nov 201617:00
cve
CVE
CVE-2016-7148
10 Nov 201617:00
cve
Cvelist
CVE-2016-7146
10 Nov 201617:00
cvelist
Cvelist
CVE-2016-7148
10 Nov 201617:00
cvelist
Debian
[SECURITY] [DLA 717-1] moin security update
22 Nov 201614:58
debian
Rows per page
1. Introduction

Affected Product:    MoinMoin 1.9.8
Fixed in:            1.9.9
Fixed Version Link:  http://static.moinmo.in/files/moin-1.9.9.tar.gz
Vendor Website:      https://moinmo.in
Vulnerability Type:  XSS
Remote Exploitable:  Yes
Reported to vendor:  09/05/2016
Disclosed to public: 11/10/2016
Release mode:        Coordinated Release
CVE:                 CVE-2016-7148, CVE-2016-7146
Credits              Tim Coen of Curesec GmbH

2. Overview

MoinMoin is an open source Wiki application written in python. In version
1.9.8, it is vulnerable to two persistent XSS issues. This allows an attacker
to steal cookies, inject JavaScript keyloggers, or bypass CSRF protection.

3. Details

XSS 1: Persistent XSS (CVE-2016-7148)

CVSS: Medium 5.0 AV:N/AC:L/Au:N/C:N/I:P/A:N

Description: A page name is echoed in the attach file page without encoding,
leading to persistent XSS.

Proof of Concept:

To place the payload create a new page which contains the payload as name by
visiting: http://localhost:9090/
newtest%27%22%3E%3Cimg%20src%3Dno%20onerror%3Dalert%287%29%3E?action=edit To
trigger the payload visit the attach file page: http://localhost:9090/
newtest%27%22%3E%3Cimg%20src%3Dno%20onerror%3Dalert%287%29%3E?action=AttachFile
Note that there must be at least one existing attachment.

XSS 2: Persistent XSS (CVE-2016-7146)

CVSS: Medium 5.0 AV:N/AC:L/Au:N/C:N/I:P/A:N

Description: The GUI editor is vulnerable to XSS via a specifically crafted
URL, as it echoes part of the URL without encoding in two different places. The
issue can be exploited reflected or persistent.

Proof of Concept:

Reflected example (the page does not have to exist): http://localhost:9090/'">
<img src=no onerror=alert(1)>?action=fckdialog&dialog=attachment Alternatively,
an attacker can create a page containing the payload: http://localhost:9090/
newtestfoo'%22%3E%3Cimg%20src=no%20onerror=alert(1)%3E The payload is triggered
when attaching a file via the the GUI editor ("Edit (GUI)" -> "Attachment").

4. Solution

To mitigate this issue please upgrade at least to version 1.9.9:

http://static.moinmo.in/files/moin-1.9.9.tar.gz

Please note that a newer version might already be available.

5. Report Timeline

09/05/2016 Contacted Vendor, Vendor confirmed, Requested CVEs
09/06/2016 CVEs assigned and distributed to vendor
10/05/2016 Vendor requests more time
10/31/2016 Vendor releases fix
11/10/2016 Disclosed to public


Blog Reference:
https://www.curesec.com/blog/article/blog/MoinMoin-198-XSS-175.html

#  0day.today [2018-03-19]  #

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation