Lucene search
K

wityCMS 0.6.1 - Cross-Site Scripting

🗓️ 28 May 2018 00:00:00Reported by Nathu NandwaniType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 44 Views

wityCMS 0.6.1 Persistent XSS on "Website's name" field allows remote attackers to inject arbitrary web script or HTML via a crafted website name by doing an authenticated POST HTTP request to admin/settings/general

Related
Code
ReporterTitlePublishedViews
Family
0day.today
wityCMS 0.6.1 - Cross-Site Scripting Vulnerability
29 May 201800:00
zdt
CNVD
Creatiwity wityCMS Cross-Site Scripting Vulnerability
29 May 201800:00
cnvd
CVE
CVE-2018-11512
28 May 201813:00
cve
Cvelist
CVE-2018-11512
28 May 201813:00
cvelist
EUVD
EUVD-2018-3541
7 Oct 202500:30
euvd
exploitpack
wityCMS 0.6.1 - Cross-Site Scripting
28 May 201800:00
exploitpack
NVD
CVE-2018-11512
28 May 201813:29
nvd
Packet Storm
wityCMS 0.6.1 Cross Site Scripting
28 May 201800:00
packetstorm
Prion
Cross site scripting
28 May 201813:29
prion
# Exploit Title: wityCMS 0.6.1 Persistent XSS on "Website's name" field
# Date: 05/28/2018
# Exploit Author: Nathu Nandwani
# Website: http://nandtech.co/
# Vendor Homepage: https://creatiwity.net/witycms
# Software Link: https://github.com/Creatiwity/wityCMS/releases/tag/0.6.1
# Version: 0.6.1
# Tested on: Windows 10 x64 (XAMPP, Chrome)
# CVE: CVE-2018-11512

*Description
 
A persistent/stored cross-site scripting (XSS) vulnerability in the "Website's name" field found in the "Settings" page under the "General" menu in Creatiwity wityCMS 0.6.1 allows remote attackers to inject arbitrary web script or HTML via a crafted website name by doing an authenticated POST HTTP request to admin/settings/general.
 
*Proof of Concept
 
1. Attacker logs in as an administrator of the site.
2. Attacker visits the Administrator page and clicks on the general options then settings menu. 
3. Attacker enters the script below in the "Website's name" field:
<scri<script>pt>alert(1)</scri</script>pt>
Note: The "script" tag is being filtered but not recursively so having the first tag stripped off will still execute the one being combined. 
3. Once the "Save" button is clicked, the payload will execute.
4. When an unauthenticated user visits the home page, the payload will also execute.
  
*Mitigation
 
See https://github.com/Creatiwity/wityCMS/commit/7967e5bf15b4d2ee6b85b56e82d7e1229147de44
 
Timeline
 
2018-05-27-Vulnerability reported to wityCMS development team
2018-05-27-CVE requested from mitre.org
2018-05-28-wityCMS development team acknowledges and will be pushing the fix for production on 0.6.2
2015-05-28-CVE published by mitre: https://twitter.com/CVEnew/status/1001093385929805831

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