XSS, DORK, arto.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 Sun Apr 17 10:01:12 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. Cleartext submission of password

2. Cross-site scripting (reflected)

3. Cookie without HttpOnly flag set

4. Password field with autocomplete enabled

5. Cookie scoped to parent domain

6. Cross-domain Referer leakage

6.1. http://www.arto.com/includes/js/framework/script.axd/scalebox.js

6.2. http://www.arto.com/script.axd

6.3. http://www.arto.com/script.axd

6.4. http://www.arto.com/section/user/login/

7. Cross-domain script include

8. Email addresses disclosed

9. Content type incorrectly stated



1. Cleartext submission of password  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.arto.com
Path:   /section/user/login/

Issue detail

The page contains a form with the following action URL, which is submitted over clear-text HTTP:The form contains the following password field:

Issue background

Passwords submitted over an unencrypted connection are vulnerable to capture by an attacker who is suitably positioned on the network. This includes any malicious party located on the user's own network, within their ISP, within the ISP used by the application, and within the application's hosting infrastructure. Even if switched networks are employed at some of these locations, techniques exist to circumvent this defence and monitor the traffic passing through switches.

Issue remediation

The application should use transport-level encryption (SSL or TLS) to protect all sensitive communications passing between the client and the server. Communications that should be protected include the login mechanism and related functionality, and any functions where sensitive data can be accessed or privileged actions can be performed. These areas of the application should employ their own session handling mechanism, and the session tokens used should never be transmitted over unencrypted communications. If HTTP cookies are used for transmitting session tokens, then the secure flag should be set to prevent transmission over clear-text HTTP.

Request

GET /section/user/login/?destination=http%3a%2f%2fwww.arto.com%2fsection%2flinkshare%2fdefault.aspx HTTP/1.1
Host: www.arto.com
Proxy-Connection: keep-alive
Referer: http://burp/show/53
Cache-Control: max-age=0
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: ASP.NET_SessionId=0cj2vqxnas50saq4rab4bmqt

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: text/html; charset=utf-8
Vary: Accept-Encoding
Server: Microsoft-IIS/7.5
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Sun, 17 Apr 2011 14:59:22 GMT
Content-Length: 39957

<!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" xml:lang="en" lang="en">
<head>

...[SNIP]...
<body id="BodyTag" class=" defaultPage ">
<form method="post" action="?destination=http%3a%2f%2fwww.arto.com%2fsection%2flinkshare%2fdefault.aspx" id="aspnetForm">
<div class="aspNetHidden">
...[SNIP]...
</span>
           <input name="ctl00$ctl00$Main$SiteTopBar$ArtoLoginBox$PasswordTextbox" type="password" maxlength="20" id="Main_SiteTopBar_ArtoLoginBox_PasswordTextbox" tabindex="2" class="navInput" size="13" />&nbsp;<span>
...[SNIP]...

2. Cross-site scripting (reflected)  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   http://www.arto.com
Path:   /section/linkshare/

Issue detail

The value of the User-Agent HTTP header is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload dc373"><script>alert(1)</script>717b898a5ba was submitted in the User-Agent HTTP header. 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.

Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.

Because the user data that is copied into the response is submitted within a request header, the application's behaviour is not trivial to exploit in an attack against another user. In the past, methods have existed of using client-side technologies such as Flash to cause another user to make a request containing an arbitrary HTTP header. If you can use such a technique, you can probably leverage it to exploit the XSS flaw. This limitation partially mitigates the impact of the vulnerability.

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.

Issue remediation

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.

Request

GET /section/linkshare/ HTTP/1.1
Host: www.arto.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)dc373"><script>alert(1)</script>717b898a5ba
Connection: close

Response (redirected)

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: text/html; charset=utf-8
Server: Microsoft-IIS/7.5
Set-Cookie: ASP.NET_SessionId=vk3qrvl2i3b2gcvub5mipplt; path=/; HttpOnly
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Sun, 17 Apr 2011 14:21:03 GMT
Connection: close
Content-Length: 40025

<!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" xml:lang="en" lang="en">
<head>

...[SNIP]...
<input type="hidden" name="__USERAGENT" id="__USERAGENT" value="Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)dc373"><script>alert(1)</script>717b898a5ba" />
...[SNIP]...

3. Cookie without HttpOnly flag set  previous  next

Summary

Severity:   Low
Confidence:   Firm
Host:   http://www.arto.com
Path:   /r3/frames/ping.asp

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

POST /r3/frames/ping.asp HTTP/1.1
Host: www.arto.com
Proxy-Connection: keep-alive
Referer: http://www.arto.com/section/user/login/?destination=http%3a%2f%2fwww.arto.com%2fsection%2flinkshare%2fdefault.aspx
Origin: http://www.arto.com
X-Prototype-Version: 1.6.1
X-Requested-With: XMLHttpRequest
X-User-Control-ID: bc12ef1825a265a23b678c0c1fc9d1b9
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Content-type: application/x-www-form-urlencoded; charset=UTF-8
Accept: text/javascript, text/html, application/xml, text/xml, */*
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: ASP.NET_SessionId=0cj2vqxnas50saq4rab4bmqt
Content-Length: 0

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: text/html
Vary: Accept-Encoding
Server: Microsoft-IIS/7.5
Set-Cookie: ArtoPermanent=CountryCode=US; expires=Sun, 30-Dec-2012 23:00:00 GMT; domain=.arto.com; path=/
Set-Cookie: ASPSESSIONIDCARQCQRA=LADAOLCBAJGJDLEOIDEAINBP; path=/
X-Powered-By: ASP.NET
Date: Sun, 17 Apr 2011 14:59:29 GMT
Content-Length: 390


<!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
...[SNIP]...

4. Password field with autocomplete enabled  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   http://www.arto.com
Path:   /section/user/login/

Issue detail

The page contains a form with the following action URL:The form contains the following password field with autocomplete enabled:

Issue background

Most browsers have a facility to remember user credentials that are entered into HTML forms. This function can be configured by the user and also by applications which employ user credentials. If the function is enabled, then credentials entered by the user are stored on their local computer and retrieved by the browser on future visits to the same application.

The stored credentials can be captured by an attacker who gains access to the computer, either locally or through some remote compromise. Further, methods have existed whereby a malicious web site can retrieve the stored credentials for other applications, by exploiting browser vulnerabilities or through application-level cross-domain attacks.

Issue remediation

To prevent browsers from storing credentials entered into HTML forms, you should include the attribute autocomplete="off" within the FORM tag (to protect all form fields) or within the relevant INPUT tags (to protect specific individual fields).

Request

GET /section/user/login/?destination=http%3a%2f%2fwww.arto.com%2fsection%2flinkshare%2fdefault.aspx HTTP/1.1
Host: www.arto.com
Proxy-Connection: keep-alive
Referer: http://burp/show/53
Cache-Control: max-age=0
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: ASP.NET_SessionId=0cj2vqxnas50saq4rab4bmqt

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: text/html; charset=utf-8
Vary: Accept-Encoding
Server: Microsoft-IIS/7.5
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Sun, 17 Apr 2011 14:59:22 GMT
Content-Length: 39957

<!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" xml:lang="en" lang="en">
<head>

...[SNIP]...
<body id="BodyTag" class=" defaultPage ">
<form method="post" action="?destination=http%3a%2f%2fwww.arto.com%2fsection%2flinkshare%2fdefault.aspx" id="aspnetForm">
<div class="aspNetHidden">
...[SNIP]...
</span>
           <input name="ctl00$ctl00$Main$SiteTopBar$ArtoLoginBox$PasswordTextbox" type="password" maxlength="20" id="Main_SiteTopBar_ArtoLoginBox_PasswordTextbox" tabindex="2" class="navInput" size="13" />&nbsp;<span>
...[SNIP]...

5. Cookie scoped to parent domain  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.arto.com
Path:   /r3/frames/ping.asp

Issue detail

The following cookie was issued by the application and is scoped to a parent of the issuing domain:The cookie does not appear to contain a session token, which may reduce the risk associated with this issue. You should review the contents of the cookie to determine its function.

Issue background

A cookie's domain attribute determines which domains can access the cookie. Browsers will automatically submit the cookie in requests to in-scope domains, and those domains will also be able to access the cookie via JavaScript. If a cookie is scoped to a parent domain, then that cookie will be accessible by the parent domain and also by any other subdomains of the parent domain. If the cookie contains sensitive data (such as a session token) then this data may be accessible by less trusted or less secure applications residing at those domains, leading to a security compromise.

Issue remediation

By default, cookies are scoped to the issuing domain and all subdomains. If you remove the explicit domain attribute from your Set-cookie directive, then the cookie will have this default scope, which is safe and appropriate in most situations. If you particularly need a cookie to be accessible by a parent domain, then you should thoroughly review the security of the applications residing on that domain and its subdomains, and confirm that you are willing to trust the people and systems which support those applications.

Request

POST /r3/frames/ping.asp HTTP/1.1
Host: www.arto.com
Proxy-Connection: keep-alive
Referer: http://www.arto.com/section/user/login/?destination=http%3a%2f%2fwww.arto.com%2fsection%2flinkshare%2fdefault.aspx
Origin: http://www.arto.com
X-Prototype-Version: 1.6.1
X-Requested-With: XMLHttpRequest
X-User-Control-ID: bc12ef1825a265a23b678c0c1fc9d1b9
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Content-type: application/x-www-form-urlencoded; charset=UTF-8
Accept: text/javascript, text/html, application/xml, text/xml, */*
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: ASP.NET_SessionId=0cj2vqxnas50saq4rab4bmqt
Content-Length: 0

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: text/html
Vary: Accept-Encoding
Server: Microsoft-IIS/7.5
Set-Cookie: ArtoPermanent=CountryCode=US; expires=Sun, 30-Dec-2012 23:00:00 GMT; domain=.arto.com; path=/
Set-Cookie: ASPSESSIONIDCARQCQRA=LADAOLCBAJGJDLEOIDEAINBP; path=/
X-Powered-By: ASP.NET
Date: Sun, 17 Apr 2011 14:59:29 GMT
Content-Length: 390


<!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
...[SNIP]...

6. Cross-domain Referer leakage  previous  next
There are 4 instances of this issue:

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.


6.1. http://www.arto.com/includes/js/framework/script.axd/scalebox.js  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.arto.com
Path:   /includes/js/framework/script.axd/scalebox.js

Issue detail

The page was loaded from a URL containing a query string:The response contains the following link to another domain:

Request

GET /includes/js/framework/script.axd/scalebox.js?updated=221e56182718e7582621424613d8fc4f&culture=en-US HTTP/1.1
Host: www.arto.com
Proxy-Connection: keep-alive
Referer: http://www.arto.com/section/user/login/?destination=http%3a%2f%2fwww.arto.com%2fsection%2flinkshare%2fdefault.aspx
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Accept: */*
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: ASP.NET_SessionId=0cj2vqxnas50saq4rab4bmqt

Response

HTTP/1.1 200 OK
Cache-Control: public
Content-Type: text/javascript; charset=utf-8
Expires: Sun, 17 Jul 2011 14:59:26 GMT
Server: Microsoft-IIS/7.5
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Sun, 17 Apr 2011 14:59:26 GMT
Content-Length: 15417

/* ScaleBox Begin */
var scalingobj = null;
//var borderobj = null;
var markerobj = null;

var ScalePosition = {
   LEFTTOP: 1,
   MIDDLETOP: 2,
   RIGHTTOP: 3,
   RIGHTMIDDLE: 4,
   RIGHTBOTTOM: 5,

...[SNIP]...
order = '1px solid #555';
       width = '4px';
       height = '4px';
       zIndex = 9;
   }

   // IE 6 Hack
   if (window.external && (typeof window.XMLHttpRequest == "undefined")) {
       this.corner.innerHTML = '<img src="http://artogfx.cloud2.artodata.com/sitegfx/grafik/spacer.gif" width="3" height="3" />';
   }

   var bordersize = 2;
   if (position == ScalePosition.LEFTTOP) {
       this.corner.style.left = Pos.regionLeft(this.border) - bordersize + noPx;
       this.corner.style.top = Pos.regionTop(this.bord
...[SNIP]...

6.2. http://www.arto.com/script.axd  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.arto.com
Path:   /script.axd

Issue detail

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

Request

GET /script.axd?group=main&header=1&updated=99ffb5894269ff1a2be0d10cbebe20ae&culture=en-US HTTP/1.1
Host: www.arto.com
Proxy-Connection: keep-alive
Referer: http://www.arto.com/section/user/login/?destination=http%3a%2f%2fwww.arto.com%2fsection%2flinkshare%2fdefault.aspx
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Accept: */*
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: ASP.NET_SessionId=0cj2vqxnas50saq4rab4bmqt

Response

HTTP/1.1 200 OK
Cache-Control: public
Content-Type: text/javascript; charset=utf-8
Expires: Sun, 17 Jul 2011 14:59:24 GMT
Server: Microsoft-IIS/7.5
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Sun, 17 Apr 2011 14:59:23 GMT
Content-Length: 359059

/* File: /includes/js/prototype.js (Modified: 14. april 2011 10:05:22) */

/* Prototype JavaScript framework, version 1.6.1
* (c) 2005-2009 Sam Stephenson
*
* Prototype is freely distributable
...[SNIP]...
this.attachGiftCheckBox.checked = !this.attachGiftCheckBox.checked;
       }

       if (this.smsOnAnswerCheckBox.checked) {
           if (!GuestbookReplySystem.smsPanel) {
               var creditLogo = CurrentUser.vip ? '<img src="http://artogfx.cloud2.artodata.com/sitegfx/gfx/credits/creditVIP_19x19.png" align="absmiddle" />' : '<img src="http://artogfx.cloud2.artodata.com/sitegfx/gfx/credits/credit_19x19.png" align="absmiddle" />';
               var smsCPrice = CurrentUser.vip ? this.prices.SmsVip : this.prices.Sms;
               GuestbookReplySystem.smsPanel = new Panel.BasePanel(
                   new Element('div').setStyle({ width: '250px', height: '11
...[SNIP]...
<b><img class="userOnlineIcon cursorHand" src="http://artogfx.cloud2.artodata.com/sitegfx/grafik/spacer.gif" align="absmiddle" style="margin:1px 3px 0px 0px;float:none;" /><a onmouseover="CallingCard.Show(' + CurrentUser.id + ');" onmouseout="CallingCard.Hide(' + CurrentUser.id + ');" href="/section/user/profile/?id=' + CurrentUser.id + '">
...[SNIP]...
seAmount;
       this.balance = accountBalance;
       this._createElement();
   },

   _getInfoText: function() {
       if (this.options.text) {
           return this.options.text;
       }
       else {
           var creditLogo = '<img src="http://artogfx.cloud2.artodata.com/sitegfx/gfx/credits/credit_19x19.png" align="absmiddle" />';
           return 'Unfortunately, haven\'t got enough credits on your account.<br />
...[SNIP]...
lt = eval('(' + response.responseText + ')');
       if (result.success) {
           ArtoCreditSystem.resetForm(this.group);
           this.showOkBox();
       } else {
           if (result.fundsError) {
               var creditLogo = '<img src="http://artogfx.cloud2.artodata.com/sitegfx/gfx/credits/credit_19x19.png" align="absmiddle" />';
               CreditConfirmBox.show(result.price, result.balance, { text: 'Unfortunately, you haven\'t got enough credits on your account.<br />
...[SNIP]...
<br /><a href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" target="_blank">Hent Flash<br />
...[SNIP]...

6.3. http://www.arto.com/script.axd  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.arto.com
Path:   /script.axd

Issue detail

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

Request

GET /script.axd?group=196594ef&header=1&updated=4cbd0716e71244ef0b60401983a627f1&culture=en-US HTTP/1.1
Host: www.arto.com
Proxy-Connection: keep-alive
Referer: http://www.arto.com/section/user/login/?destination=http%3a%2f%2fwww.arto.com%2fsection%2flinkshare%2fdefault.aspx
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Accept: */*
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: ASP.NET_SessionId=0cj2vqxnas50saq4rab4bmqt

Response

HTTP/1.1 200 OK
Cache-Control: public
Content-Type: text/javascript; charset=utf-8
Expires: Sun, 17 Jul 2011 14:59:24 GMT
Server: Microsoft-IIS/7.5
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Sun, 17 Apr 2011 14:59:23 GMT
Content-Length: 192185

/* File: /includes/js/framework/msgservice.js (Modified: 14. april 2011 10:05:22) */

var MsgService = {
   HttpChannel: Class.create({
       initialize: function (host, userid, auth, options) {
           thi
...[SNIP]...
<td align='right'><img src='http://artogfx.cloud2.artodata.com/sitegfx/grafik/kvikchat/window_colapse.png' class='cursorHand' id='chatCollapse_" + this.Handle + "' /><img src='" + popupIcon + "' class='cursorHand' id='chatMax_" + this.Handle + "' />" + (!this.isPopup ? "<img src='http://artogfx.cloud2.artodata.com/sitegfx/grafik/kvikchat/window_close.png' id='chatClose_" + this.Handle + "' style='width:15px;height:15px;border-width:0px;' class='cursorHand' />" : "") + "</td>
...[SNIP]...

6.4. http://www.arto.com/section/user/login/  previous

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.arto.com
Path:   /section/user/login/

Issue detail

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

Request

GET /section/user/login/?destination=http%3a%2f%2fwww.arto.com%2fsection%2flinkshare%2fdefault.aspx HTTP/1.1
Host: www.arto.com
Proxy-Connection: keep-alive
Referer: http://burp/show/53
Cache-Control: max-age=0
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: ASP.NET_SessionId=0cj2vqxnas50saq4rab4bmqt

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: text/html; charset=utf-8
Vary: Accept-Encoding
Server: Microsoft-IIS/7.5
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Sun, 17 Apr 2011 14:59:22 GMT
Content-Length: 39957

<!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" xml:lang="en" lang="en">
<head>

...[SNIP]...
<td style="width:5%;max-width: 10px;"><img src="http://artogfx.cloud2.artodata.com/sitegfx/grafik/spacer.gif" alt="" width="4" height="1" /></td>
...[SNIP]...
<div><img src="http://artogfx.cloud2.artodata.com/sitegfx/advertising/topbg_headershadow.png" style="width:966px;height:5px;border-width:0px;" /></div>
...[SNIP]...
<a href="/section/frontpage/"><img src="http://artogfx.cloud2.artodata.com/sitegfx/grafik/spacer.gif" style="width:100px;height:65px;border:0px;" alt="" /></a>
...[SNIP]...
<div style="position: absolute; z-index: 5000; left: 440px; top: -40px;">
       <img src="http://artogfx.cloud2.artodata.com/sitegfx/user/login/login_arrow.png" style="width: 92px; height: 155px; border: 0px;" alt="" />
   </div>
...[SNIP]...
<td id="LoginInfoboxTopLeft" class="contentBoxTopLeft"><img src="http://artogfx.cloud2.artodata.com/sitegfx/grafik/spacer.gif" width="3" height="3" border="0" alt="" /></td><td id="LoginInfoboxTopMiddle" class="contentBoxTopMiddle"><img src="http://artogfx.cloud2.artodata.com/sitegfx/grafik/spacer.gif" width="3" height="3" border="0" alt="" /></td><td id="LoginInfoboxTopRight" class="contentBoxTopRight"><img src="http://artogfx.cloud2.artodata.com/sitegfx/grafik/spacer.gif" width="3" height="3" border="0" alt="" /></td></tr><tr><td id="LoginInfoboxLeft1" class="contentBoxLeft"><img src="http://artogfx.cloud2.artodata.com/sitegfx/grafik/spacer.gif" width="3" height="3" border="0" alt="" /></td>
...[SNIP]...
<td id="LoginInfoboxLeft2" class="contentBoxLeft"><img src="http://artogfx.cloud2.artodata.com/sitegfx/grafik/spacer.gif" width="3" height="3" border="0" alt="" /></td>
...[SNIP]...
<td class="headerButtonLargeGreenLeft"><img src="http://artogfx.cloud2.artodata.com/sitegfx/grafik/spacer.gif" style="height: 1px; width: 7px; border: 0;" alt="" /></td>
...[SNIP]...
<td class="headerButtonLargeGreenRight"><img src="http://artogfx.cloud2.artodata.com/sitegfx/grafik/spacer.gif" style="height: 1px; width: 7px; border: 0;" alt="" /></td>
...[SNIP]...
<td id="LoginInfoboxRight2" class="contentBoxRight"><img src="http://artogfx.cloud2.artodata.com/sitegfx/grafik/spacer.gif" width="3" height="3" border="0" alt="" /></td></tr><tr><td id="LoginInfoboxBottomLeft" class="contentBoxBottomLeft"><img src="http://artogfx.cloud2.artodata.com/sitegfx/grafik/spacer.gif" width="3" height="3" border="0" alt="" /></td><td id="LoginInfoboxBottomMiddle" class="contentBoxBottomMiddle"><img src="http://artogfx.cloud2.artodata.com/sitegfx/grafik/spacer.gif" width="3" height="3" border="0" alt="" /></td><td id="LoginInfoboxBottomRight" class="contentBoxBottomRight"><img src="http://artogfx.cloud2.artodata.com/sitegfx/grafik/spacer.gif" width="3" height="3" border="0" alt="" /></td>
...[SNIP]...
<td id="BannerInfoboxTopLeft" class="contentBoxTopLeft"><img src="http://artogfx.cloud2.artodata.com/sitegfx/grafik/spacer.gif" width="3" height="3" border="0" alt="" /></td><td id="BannerInfoboxTopMiddle" class="contentBoxTopMiddle"><img src="http://artogfx.cloud2.artodata.com/sitegfx/grafik/spacer.gif" width="3" height="3" border="0" alt="" /></td><td id="BannerInfoboxTopRight" class="contentBoxTopRight"><img src="http://artogfx.cloud2.artodata.com/sitegfx/grafik/spacer.gif" width="3" height="3" border="0" alt="" /></td></tr><tr><td id="BannerInfoboxLeft2" class="contentBoxLeft"><img src="http://artogfx.cloud2.artodata.com/sitegfx/grafik/spacer.gif" width="3" height="3" border="0" alt="" /></td>
...[SNIP]...
<td id="BannerInfoboxRight2" class="contentBoxRight"><img src="http://artogfx.cloud2.artodata.com/sitegfx/grafik/spacer.gif" width="3" height="3" border="0" alt="" /></td></tr><tr><td id="BannerInfoboxBottomLeft" class="contentBoxBottomLeft"><img src="http://artogfx.cloud2.artodata.com/sitegfx/grafik/spacer.gif" width="3" height="3" border="0" alt="" /></td><td id="BannerInfoboxBottomMiddle" class="contentBoxBottomMiddle"><img src="http://artogfx.cloud2.artodata.com/sitegfx/grafik/spacer.gif" width="3" height="3" border="0" alt="" /></td><td id="BannerInfoboxBottomRight" class="contentBoxBottomRight"><img src="http://artogfx.cloud2.artodata.com/sitegfx/grafik/spacer.gif" width="3" height="3" border="0" alt="" /></td>
...[SNIP]...
<td id="OpenGamesInfoBoxTopLeft" class="contentBoxTopLeft"><img src="http://artogfx.cloud2.artodata.com/sitegfx/grafik/spacer.gif" width="3" height="3" border="0" alt="" /></td><td id="OpenGamesInfoBoxTopMiddle" class="contentBoxTopMiddle"><img src="http://artogfx.cloud2.artodata.com/sitegfx/grafik/spacer.gif" width="3" height="3" border="0" alt="" /></td><td id="OpenGamesInfoBoxTopRight" class="contentBoxTopRight"><img src="http://artogfx.cloud2.artodata.com/sitegfx/grafik/spacer.gif" width="3" height="3" border="0" alt="" /></td></tr><tr><td id="OpenGamesInfoBoxLeft1" class="contentBoxLeft"><img src="http://artogfx.cloud2.artodata.com/sitegfx/grafik/spacer.gif" width="3" height="3" border="0" alt="" /></td>
...[SNIP]...
<td class="headerButtonLeft"><img src="http://artogfx.cloud2.artodata.com/sitegfx/grafik/spacer.gif" style="height: 1px; width: 7px; border: 0;" alt="" /></td>
...[SNIP]...
<td class="headerButtonRight"><img src="http://artogfx.cloud2.artodata.com/sitegfx/grafik/spacer.gif" style="height: 1px; width: 7px; border: 0;" alt="" /></td>
...[SNIP]...
<td id="OpenGamesInfoBoxLeft2" class="contentBoxLeft"><img src="http://artogfx.cloud2.artodata.com/sitegfx/grafik/spacer.gif" width="3" height="3" border="0" alt="" /></td>
...[SNIP]...
<td style="width: 50px;">
                                       <img style="width: 50px; height: 35px;" class="cursorHand" alt="" onclick="location.href = '/section/user/login/';" src="http://artogfx.cloud2.artodata.com/sitegfx/games/artogames/thumbs/connect4.jpg">
                                   </td>
...[SNIP]...
<td class="headerButtonGreenLeft"><img src="http://artogfx.cloud2.artodata.com/sitegfx/grafik/spacer.gif" style="height: 1px; width: 7px; border: 0;" alt="" /></td>
...[SNIP]...
<td class="headerButtonGreenRight"><img src="http://artogfx.cloud2.artodata.com/sitegfx/grafik/spacer.gif" style="height: 1px; width: 7px; border: 0;" alt="" /></td>
...[SNIP]...
<td style="width: 50px;">
                                       <img style="width: 50px; height: 35px;" class="cursorHand" alt="" onclick="location.href = '/section/user/login/';" src="http://artogfx.cloud2.artodata.com/sitegfx/games/artogames/thumbs/battleships.jpg">
                                   </td>
...[SNIP]...
<td class="headerButtonGreenLeft"><img src="http://artogfx.cloud2.artodata.com/sitegfx/grafik/spacer.gif" style="height: 1px; width: 7px; border: 0;" alt="" /></td>
...[SNIP]...
<td class="headerButtonGreenRight"><img src="http://artogfx.cloud2.artodata.com/sitegfx/grafik/spacer.gif" style="height: 1px; width: 7px; border: 0;" alt="" /></td>
...[SNIP]...
<td style="width: 50px;">
                                       <img style="width: 50px; height: 35px;" class="cursorHand" alt="" onclick="location.href = '/section/user/login/';" src="http://artogfx.cloud2.artodata.com/sitegfx/games/artogames/thumbs/tetris.jpg">
                                   </td>
...[SNIP]...
<td class="headerButtonGreenLeft"><img src="http://artogfx.cloud2.artodata.com/sitegfx/grafik/spacer.gif" style="height: 1px; width: 7px; border: 0;" alt="" /></td>
...[SNIP]...
<td class="headerButtonGreenRight"><img src="http://artogfx.cloud2.artodata.com/sitegfx/grafik/spacer.gif" style="height: 1px; width: 7px; border: 0;" alt="" /></td>
...[SNIP]...
<td id="OpenGamesInfoBoxRight2" class="contentBoxRight"><img src="http://artogfx.cloud2.artodata.com/sitegfx/grafik/spacer.gif" width="3" height="3" border="0" alt="" /></td></tr><tr><td id="OpenGamesInfoBoxBottomLeft" class="contentBoxBottomLeft"><img src="http://artogfx.cloud2.artodata.com/sitegfx/grafik/spacer.gif" width="3" height="3" border="0" alt="" /></td><td id="OpenGamesInfoBoxBottomMiddle" class="contentBoxBottomMiddle"><img src="http://artogfx.cloud2.artodata.com/sitegfx/grafik/spacer.gif" width="3" height="3" border="0" alt="" /></td><td id="OpenGamesInfoBoxBottomRight" class="contentBoxBottomRight"><img src="http://artogfx.cloud2.artodata.com/sitegfx/grafik/spacer.gif" width="3" height="3" border="0" alt="" /></td>
...[SNIP]...
<span mtrns="10997"> ..
           <a href="http://www.freewaymedia.dk/main/default_eng.asp" target="_blank">Advertising</a>
...[SNIP]...
<td style="width:5%;max-width: 10px;"><img src="http://artogfx.cloud2.artodata.com/sitegfx/grafik/spacer.gif" alt="" width="4" height="1" /></td>
...[SNIP]...
</table>


           <img width="1" height="1" src="http://eas8.emediate.eu/eas?cu=2916" style="display:none;">
   

<script src="http://banner.artodata.com/includes/sitesbar/sitesbar.js.asp" type="text/javascript"></script>
...[SNIP]...

7. Cross-domain script include  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.arto.com
Path:   /section/user/login/

Issue detail

The response dynamically includes the following script from another domain:

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 /section/user/login/?destination=http%3a%2f%2fwww.arto.com%2fsection%2flinkshare%2fdefault.aspx HTTP/1.1
Host: www.arto.com
Proxy-Connection: keep-alive
Referer: http://burp/show/53
Cache-Control: max-age=0
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: ASP.NET_SessionId=0cj2vqxnas50saq4rab4bmqt

Response

HTTP/1.1 200 OK
Cache-Control: private
Content-Type: text/html; charset=utf-8
Vary: Accept-Encoding
Server: Microsoft-IIS/7.5
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Sun, 17 Apr 2011 14:59:22 GMT
Content-Length: 39957

<!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" xml:lang="en" lang="en">
<head>

...[SNIP]...
<img width="1" height="1" src="http://eas8.emediate.eu/eas?cu=2916" style="display:none;">
   

<script src="http://banner.artodata.com/includes/sitesbar/sitesbar.js.asp" type="text/javascript"></script>
...[SNIP]...

8. Email addresses disclosed  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.arto.com
Path:   /includes/script.aculo.us/script.axd/dragdrop.js

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 /includes/script.aculo.us/script.axd/dragdrop.js?updated=a00043d02675e88df22f022c42a9ed9a&culture=en-US HTTP/1.1
Host: www.arto.com
Proxy-Connection: keep-alive
Referer: http://www.arto.com/section/user/login/?destination=http%3a%2f%2fwww.arto.com%2fsection%2flinkshare%2fdefault.aspx
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Accept: */*
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: ASP.NET_SessionId=0cj2vqxnas50saq4rab4bmqt

Response

HTTP/1.1 200 OK
Cache-Control: public
Content-Type: text/javascript; charset=utf-8
Expires: Sun, 17 Jul 2011 14:59:25 GMT
Server: Microsoft-IIS/7.5
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Sun, 17 Apr 2011 14:59:25 GMT
Content-Length: 31319

// script.aculo.us dragdrop.js v1.8.2, Tue Nov 18 18:30:58 +0100 2008

// Copyright (c) 2005-2008 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us)
// (c) 2005-2008 Sammi Williams (http://www.oriontransfer.co.nz, sammi@oriontransfer.co.nz)
//
// script.aculo.us is freely distributable under the terms of an MIT-style license.
// For details, see the script.aculo.us web site: http://script.aculo.us/

if(Object.isUndefined(Effect))
thro
...[SNIP]...

9. Content type incorrectly stated  previous

Summary

Severity:   Information
Confidence:   Firm
Host:   http://www.arto.com
Path:   /section/user/common/updateonlinestatus.ashx

Issue detail

The response contains the following Content-type statement:The response states that it contains script. However, it actually appears to contain plain text.

Issue background

If a web response specifies an incorrect content type, then browsers may process the response in unexpected ways. If the specified content type is a renderable text-based format, then the browser will usually attempt to parse and render the response in that format. If the specified type is an image format, then the browser will usually detect the anomaly and will analyse the actual content and attempt to determine its MIME type. Either case can lead to unexpected results, and if the content contains any user-controllable data may lead to cross-site scripting or other client-side vulnerabilities.

In most cases, the presence of an incorrect content type statement does not constitute a security flaw, particularly if the response contains static content. You should review the contents of the response and the context in which it appears to determine whether any vulnerability exists.

Issue remediation

For every response containing a message body, the application should include a single Content-type header which correctly and unambiguously states the MIME type of the content in the response body.

Request

POST /section/user/common/updateonlinestatus.ashx HTTP/1.1
Host: www.arto.com
Proxy-Connection: keep-alive
Referer: http://www.arto.com/section/user/login/?destination=http%3a%2f%2fwww.arto.com%2fsection%2flinkshare%2fdefault.aspx
Origin: http://www.arto.com
X-Prototype-Version: 1.6.1
X-Requested-With: XMLHttpRequest
X-User-Control-ID: bc12ef1825a265a23b678c0c1fc9d1b9
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Content-type: application/x-www-form-urlencoded; charset=UTF-8
Accept: text/javascript, text/html, application/xml, text/xml, */*
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: ASP.NET_SessionId=0cj2vqxnas50saq4rab4bmqt
Content-Length: 0

Response

HTTP/1.1 200 OK
Cache-Control: no-cache
Pragma: no-cache
Content-Type: text/javascript; charset=utf-8
Expires: -1
Vary: Accept-Encoding
Server: Microsoft-IIS/7.5
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Sun, 17 Apr 2011 14:59:28 GMT
Content-Length: 2

OK

Report generated by XSS.CX at Sun Apr 17 10:01:12 CDT 2011.