JIRA Mail.ru Calendar Cross Site Scripting

Type packetstorm
Reporter Omkar Joshi
Modified 2016-06-25T00:00:00


                                            `Hello Team,  
I have identified Stored Cross Site Scripting Vulnerability in JIRA -  
Mail.ru Calendar Plugin.  
Vulnerable Product: Mail.ru Calendar Plugin  
Vulnerable Version: Mail.ru Calendar Plugin  
Vulnerability Type: Stored Cross Site Scripting Vulnerability  
Vendor Homepage:  
Severity: High  
Author: Omkar Joshi  
Vulnerability Reported: 05/04/2016  
Response From Vendor: 05/05/2016  
Vendor Confirmation: 05/13/2016  
Patch Released: NA  
Jira (stylized JIRA) is a proprietary issue tracking product, developed by  
functions. Although normally styled JIRA, the product name is not an  
acronym, but a truncation of Gojira, the Japanese name for Godzilla, itself  
a reference to JIRA's main competitor, Bugzilla. It has been developed  
since 2002. Mail.ru Calendar plugin displays issues from any project or  
filter in calendar format. Custom field values are used as event data.  
*Proof Of Concept  
Cross Site Scripting -&gt;*  
*Credits & Authors*  
Omkar Joshi  
*Steps to Reproduce:*  
*Attack Scenario: Stored Cross Site Scripting*  
Step 1. Login into JIRA v6.4  
Step 2: Go to Calender.  
Step 3: Click on Add Calender tab -&gt; Create New  
Step 4: Insert XSS payload in "Name" parameter of Create Calender. I have  
used "&gt;&lt;img src=x onerror=prompt(document.cookie);&gt; XSS payload  
Step 5: Then click on Create  
Step 6: Whenever anyone try to edit the alert XSS Script will get execute.  
*Impact of attack:* An attack can perform Cross Site Scripting attack and  
steal the cookie of other active sessions. An attacker would exploit a  
vulnerability within a website or web application that the victim would  
malicious script to the victim’s browser.  
*Recommendation:* Use an appropriate combination of white listing and  
blacklisting to ensure only valid and expected input is processed by the  
system. Furthermore, classes within the output tag libraries should also be  
modified to encode potentially dangerous characters with their HTML escape  
Counter parts.  
For more information refer the following link  
Kindly find attached screenshot (POC) for the same.  
*Thanks & Regards,*  
*Omkar Joshi(+91)8087226463 &lt;%28%2B91%298087226463&gt;*