I recently added Disqus to my site. Looking at the "scripts" tab on Firebug, I noticed a script called, http://scorecardresearch.com/beacon.js (here is a prettified version - the script is not accessible directly through the url provided).
What does beacon.js do? What does this report mean?
As far as I understand beacon.js along with cookies does a bunch of tracking of visitors, but I am unclear as to details and implications.
Here is the only hard coded JS on the pages that show the beacon.js script
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = 'netlumination'; // required: replace example with your forum shortname
/* * * DON'T EDIT BELOW THIS LINE * * */ (function () {
var dsq = document.createElement('script');
dsq.type = 'text/javascript';
dsq.async = true;
dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
The above ends up modifying the html on my page to include a script link to "scorecardresearch.com/beaons.js"
This is the get request to scorecardresearch.com when I am completely logged out in Chrome incongnito mode:
http://b.scorecardresearch.com/b2?c1=7&c2=10137436&c3=1&ns__t=1356321346996&ns_c=UTF-8&c8=Disqus%20Comments&c7=http%3A%2F%2Fdisqus.com%2Fembed%2Fcomments%2F%3Ff%3Dnetlumination%26t_u%3Dhttp%253A%252F%252Fnetlumination.com%252Fdo-not-stop-not-thinking-negatively%252F%26t_t%3DDo%2520not%2520stop%2520not%2520thinking%2520negatively%26s_o%3Dpopular%231&c9=http%3A%2F%2Fnetlumination.com%2Fdo-not-stop-not-thinking-negatively%2F
And here is Disqus' embed script, which adds in scorecardresearch.com and google-analytics too:
http://mediacdn.disqus.com/1356132141/build/next/embed.js
My questions:
- Am I essentially giving scorecardresearch.com access to my users and user's cookies for my domain, since the script tag is on my page?
- What does this mean? I assume they have the same power to parse my user traffic as, say Google Analytics.
- Could they use the Disqus cookies stored on my site to log in to a user's Disqus account or access Disqus on another domain somehow?
- What practical implication does that xss report have?
- What are the disadvantages of allowing third party cookies on your site?