exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

CommuniGatePro 6.1.16 Cross Site Scripting

CommuniGatePro 6.1.16 Cross Site Scripting
Posted Nov 23, 2017
Authored by Boumediene Kaddour

CommuniGatePro version 6.1.16 suffers from multiple stored cross site scripting vulnerabilities.

tags | exploit, vulnerability, xss
advisories | CVE-2017-16962
SHA-256 | 3e52615f6ac247f5b7f0192807d0e9b3cdda60d93e0f6fc7d7ba4ca2d4f3d665

CommuniGatePro 6.1.16 Cross Site Scripting

Change Mirror Download
# Exploit Title: CommuniGatePro webmails Multiple Stored XSS
# Date: 15/11/2017
# Exploit Author: Boumediene KADDOUR
# Unit: Algerie Telecom R&D Unit
# Vendor Homepage: https://www.stalker.com/
# Software Link: http://www.stalker.com/ (paid product)
# Version: 6.1.16<
# Tested on: production server on crystal, pronto and pronto4 webmails
from gmail and hotmail.

CommuniGatePro 6.1.16 webmails (crystal, pronto and pronto4) suffer from
multiple stored XSS vulnerabilities. The bellow details illustrate the
impact of this vulnerability.

*Vulnerability Description:*

XSS flaws occur whenever an application includes untrusted data in a new
web page without proper validation or escaping, or updates an existing web
page with user supplied data using a browser API that can create
JavaScript. XSS allows attackers to execute scripts in the victimas browser
which can hijack user sessions, deface web sites, or redirect the user to
malicious sites.

*Vulnerability details (Stored XSS):*

This vulnerability allowed us to gain access to the following:

1. Control the victim's mailbox by just reading my email
2. Control the victim's computer in case the person uses Internet Explorer 8 which is widely used in our company.
3. Send emails on behalf the victim
4. Deface the whole victim mailbox
5. Invoke the malicious piece of code each time an attachment's sent to the victim.

*Vulnerable sections:*

1. Calendar
2. Files
3. Tasks
4. Notes
5. Inbox

*Attack Narratives and Scenarios:*

1. *Calendar:*

*Source webmail:* tested with gmail and hotmail

*Destination webmail: *Crystal

In order to deliver our PoC, we have taken the advantages of *google
calendar *to achieve our goal.


*PoC:*

*POST /calendar/event HTTP/1.1*

*Host: calendar.google.com <http://calendar.google.com>*

*User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
Firefox/52.0*

*Accept: */**

*Accept-Language: en-US,en;q=0.5*

*Accept-Encoding: gzip, deflate*

*Referer: https://calendar.google.com/calendar/render?tab=mc
<https://calendar.google.com/calendar/render?tab=mc>*

*X-If-No-Redirect: 1*

*X-Is-Xhr-Request: 1*

*Content-Type: application/x-www-form-urlencoded;charset=utf-8*

*Content-Length: 634*

*Cookie: Mycookie*

*Connection: close*


*sf=true&output=js&action=CREATE&useproto=true&add=boumediene.k%40victim.dz
<http://40victim.dz>%2Csnbemail%40gmail.com
<http://40gmail.com>&crm=BUSY&icc=DEFAULT&sprop=goo.allowModify%3Afalse&sprop=goo.allowInvitesOther%3Atrue&sprop=goo.showInvitees%3Atrue&pprop=eventColor%3Anone&eid=762dgnlok9l44rd63im4kisjnd&eref=762dgnlok9l33rd55im4kisjnd&cts=1511425384353&text=%22%3E%3Cimg%20src%3DX%20onerror%3Dalert(document.cookie)%3E&location=Stored%20XSS&details=Stored%20XSS&src=snbemail%40gmail.com
<http://40gmail.com>&dates=20171123T093000%2F20171123T103000&unbounded=false&gdoc-attachment&scfdata=W1tdXQ..&stz&etz&scp=ONE&nopts=2&nopts=3&nopts=4&hl=en_GB&secid=6VLs1BGsgBB_Tqz6egnXpCYYF24*


Once the victim receives the invitation, he/she will not be obliged to
click on any link or download any file. The only condition for this PoC to
work is a single click to read the email. Once the victim reads the email,
the code gets executed on the victim's browser ending up sending sensitive
data to the adversary.

*2. Files:*

*Source webmail: *pronto/pronto4/Crystal

*Destination webmail: *Crystal

In order to leverage this vulnerability, a victim must first acquire a
local mailbox. What he/she will do is the following:

1. Go to file section.
2. Create a directory
3. Name the directory with any JavaScript code, in our case (<img src=X onerror=alert(document.cookie)>)
4. Share or grant access to victim to be able to at least read the content of the directory
5. The victim then recieves the email of granting access to that directory
6. The vitim reads the email and then accesses the directory ending up executing the code within its scope of work

*3. Notes:*

*Source webmail:* Crystal

*Destination webmail: *Crystal

In order to leverage this vulnerability, a victim must first acquire a
local mailbox. What he/she will do is the following:

1. Create a note
2. Put the JavaScript code within it
3. Share it with the victim

*4. Tasks:*

*Source webmail: *pronto/pronto4

*Destination webmail: *Crystal

In order to leverage this vulnerability, a victim must first acquire a
local mailbox. What he/she will do is the following:

1. Create a task
2. Put the JavaScript code within the task name
3. publish it

*5. Inbox*

*Source webmail: *pronto/pronto4

*Destination webmail: *Crystal

In order to leverage this vulnerability, a victim must first acquire a
local mailbox. What he/she will do is the following:

1. Create an html file with malicious JavaScript piece of code
2. Make use of Pronto to send the email to the victim
3. The victim reads the email using Crystal webmail and the code gets
executed.

*Remediation:*

Sanitize, escape and validate user supplied data accordingly


*Vulnerability Disclosure Timeline:*
==================================
23 Nov, 17 5:36:09 PM: Vendor Notification
23 Nov, 17 6:56:33 PM: Vendor Response/Feedback
24 Nov, 17 : Vendor released new patched version 6.2.1 and included fixes
on version 6.1.19 as a separate Crystal skin package (to be installed as
cluster/server-wide custom skin)

Login or Register to add favorites

File Archive:

March 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Mar 1st
    16 Files
  • 2
    Mar 2nd
    0 Files
  • 3
    Mar 3rd
    0 Files
  • 4
    Mar 4th
    32 Files
  • 5
    Mar 5th
    28 Files
  • 6
    Mar 6th
    42 Files
  • 7
    Mar 7th
    17 Files
  • 8
    Mar 8th
    13 Files
  • 9
    Mar 9th
    0 Files
  • 10
    Mar 10th
    0 Files
  • 11
    Mar 11th
    15 Files
  • 12
    Mar 12th
    19 Files
  • 13
    Mar 13th
    21 Files
  • 14
    Mar 14th
    38 Files
  • 15
    Mar 15th
    15 Files
  • 16
    Mar 16th
    0 Files
  • 17
    Mar 17th
    0 Files
  • 18
    Mar 18th
    10 Files
  • 19
    Mar 19th
    32 Files
  • 20
    Mar 20th
    46 Files
  • 21
    Mar 21st
    16 Files
  • 22
    Mar 22nd
    13 Files
  • 23
    Mar 23rd
    0 Files
  • 24
    Mar 24th
    0 Files
  • 25
    Mar 25th
    12 Files
  • 26
    Mar 26th
    31 Files
  • 27
    Mar 27th
    19 Files
  • 28
    Mar 28th
    0 Files
  • 29
    Mar 29th
    0 Files
  • 30
    Mar 30th
    0 Files
  • 31
    Mar 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close