HTTP Header Injection, CWE-113, Response Splitting, usadmm.dotomi.com

CWE-113: Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Response Splitting')

Report generated by XSS.CX at Tue Mar 08 07:54:39 CST 2011.


The DORK Report

Loading

1. HTTP header injection

2. Open redirection

3. Cookie scoped to parent domain

4. Cookie without HttpOnly flag set

5. Cross-domain Referer leakage

6. TRACE method is enabled

7. Robots.txt file

8. HTML does not specify charset



1. HTTP header injection  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://usadmm.dotomi.com
Path:   /dmm/servlet/dmm

Issue detail

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

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.

Request

GET /dmm/servlet/dmm?cturl=http%3A%2F%2Fads%2Ebluelithium%2Ecom%2Fclk%3F2%2C13%253Bf38cca4ba9b3643a%253B12e8de46d27%2C0%253B%253B%253B4124381432%2C5RoAAMKcFwAeLkoAAAAAAAJdIAAAAAAAAgAAAAIAAAAAAP8AAAABFDnRJQAAAAAApDcQAAAAAABdnioAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAzZA8AAAAAAAIAAwAAAAAAJm3kjS4BAAAAAAAAAGJkODQwYzcwLTQ4NTgtMTFlMC04ZTllLTAwMWIyNDc4M2E1OAA4nyoAAAA%3D%2C%2Chttp%253A%252F%252Fwww%2Emerriam%2Dwebster%2Ecom%252Fcreative%2Ephp%253Fpageid%253Ddictionary%2526placement%253Dmw%5Fdict%5F300%5Fbot%2526groupid%253D8308787085%2526quantseg%253Dd%253At%253A2884%253A2775%253A1799%253A1361%253A1360%253A1355%253A1353%253A1349%253A1345%253A1343%253A1340%2526keyword%253D%2526subjcode%253D%2Chttp%3A%2F%2Fwww.google.com&rurl=a2cb5%0d%0abe905bb06e5 HTTP/1.1
Host: usadmm.dotomi.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: rt_14200=2; DotomiUser=330200604563575498$0$875515842; rt_17100=2; DotomiSession=1_330200604563575498$0$875515842$21657678$2736; rt_1982=2; rt_19000=2; rt_15900=2; rt_14000=2; DotomiRR2018=-1$11669$1$; DotomiNet=2$DjQqblZ1RXVBDW1dBgd8WgBHKSpAJ25FCVxoWiwcJzNkew0OAQhAWwIPV0JcHwkeC2BYem5uVnVFdUENbV0GB3xaAEcjPFl7AFNdDCQGPRwoPwl9Cg4BBEJcAgdRQEtCRFtjZVpoNiETe0RzSw1gWwMEc1wCU3xvWDRSSgpJNAYWGA8qLj9mCgUIS1IDBVZFT05IXGZqXn5tdwQ1AXxCEDAMR1MUXwNVeXZiL0IeTQIiQwcBIBBkfwgACAhAXwIAXkRISElbZmVPKDsnBhkQOQJrZl8AAHZd;

Response

HTTP/1.1 302 Moved Temporarily
Date: Mon, 07 Mar 2011 18:04:20 GMT
X-Name: dmm-o05
P3P: policyref="/w3c/p3p.xml", CP="NOI DSP NID OUR STP"
Location: http://usadmm.dotomi.com/dmm/servlet/a2cb5
be905bb06e5

Content-Length: 0
Connection: close
Content-Type: text/plain


2. Open redirection  previous  next

Summary

Severity:   Low
Confidence:   Certain
Host:   http://usadmm.dotomi.com
Path:   /dmm/servlet/dmm

Issue detail

The value of the rurl request parameter is used to perform an HTTP redirect. The payload http%3a//a43d266344121f8b/a%3f was submitted in the rurl parameter. This caused a redirection to the following URL:

Issue background

Open redirection vulnerabilities arise when an application incorporates user-controllable data into the target of a redirection in an unsafe way. An attacker can construct a URL within the application which causes a redirection to an arbitrary external domain. This behaviour can be leveraged to facilitate phishing attacks against users of the application. The ability to use an authentic application URL, targetting the correct domain with a valid SSL certificate (if SSL is used) lends credibility to the phishing attack because many users, even if they verify these features, will not notice the subsequent redirection to a different domain.

Issue remediation

If possible, applications should avoid incorporating user-controllable data into redirection targets. In many cases, this behaviour can be avoided in two ways:If it is considered unavoidable for the redirection function to receive user-controllable input and incorporate this into the redirection target, one of the following measures should be used to minimize the risk of redirection attacks:

Request

GET /dmm/servlet/dmm?cturl=http%3A%2F%2Fads%2Ebluelithium%2Ecom%2Fclk%3F2%2C13%253Bf38cca4ba9b3643a%253B12e8de46d27%2C0%253B%253B%253B4124381432%2C5RoAAMKcFwAeLkoAAAAAAAJdIAAAAAAAAgAAAAIAAAAAAP8AAAABFDnRJQAAAAAApDcQAAAAAABdnioAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAzZA8AAAAAAAIAAwAAAAAAJm3kjS4BAAAAAAAAAGJkODQwYzcwLTQ4NTgtMTFlMC04ZTllLTAwMWIyNDc4M2E1OAA4nyoAAAA%3D%2C%2Chttp%253A%252F%252Fwww%2Emerriam%2Dwebster%2Ecom%252Fcreative%2Ephp%253Fpageid%253Ddictionary%2526placement%253Dmw%5Fdict%5F300%5Fbot%2526groupid%253D8308787085%2526quantseg%253Dd%253At%253A2884%253A2775%253A1799%253A1361%253A1360%253A1355%253A1353%253A1349%253A1345%253A1343%253A1340%2526keyword%253D%2526subjcode%253D%2Chttp%3A%2F%2Fwww.google.com&rurl=http%3a//a43d266344121f8b/a%3f HTTP/1.1
Host: usadmm.dotomi.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: rt_14200=2; DotomiUser=330200604563575498$0$875515842; rt_17100=2; DotomiSession=1_330200604563575498$0$875515842$21657678$2736; rt_1982=2; rt_19000=2; rt_15900=2; rt_14000=2; DotomiRR2018=-1$11669$1$; DotomiNet=2$DjQqblZ1RXVBDW1dBgd8WgBHKSpAJ25FCVxoWiwcJzNkew0OAQhAWwIPV0JcHwkeC2BYem5uVnVFdUENbV0GB3xaAEcjPFl7AFNdDCQGPRwoPwl9Cg4BBEJcAgdRQEtCRFtjZVpoNiETe0RzSw1gWwMEc1wCU3xvWDRSSgpJNAYWGA8qLj9mCgUIS1IDBVZFT05IXGZqXn5tdwQ1AXxCEDAMR1MUXwNVeXZiL0IeTQIiQwcBIBBkfwgACAhAXwIAXkRISElbZmVPKDsnBhkQOQJrZl8AAHZd;

Response

HTTP/1.1 302 Moved Temporarily
Date: Mon, 07 Mar 2011 18:04:24 GMT
X-Name: dmm-o05
P3P: policyref="/w3c/p3p.xml", CP="NOI DSP NID OUR STP"
Location: http://a43d266344121f8b/a?
Content-Length: 0
Connection: close
Content-Type: text/plain


3. Cookie scoped to parent domain  previous  next

Summary

Severity:   Low
Confidence:   Firm
Host:   http://usadmm.dotomi.com
Path:   /dmm/servlet/dmm

Issue detail

The following cookies were issued by the application and is scoped to a parent of the issuing domain:The highlighted cookie appears to contain a session token, which may increase the risk associated with this issue. You should review the contents of the cookies to determine their function.

Issue background

A cookie's domain attribute determines which domains can access the cookie. Browsers will automatically submit the cookie in requests to in-scope domains, and those domains will also be able to access the cookie via JavaScript. If a cookie is scoped to a parent domain, then that cookie will be accessible by the parent domain and also by any other subdomains of the parent domain. If the cookie contains sensitive data (such as a session token) then this data may be accessible by less trusted or less secure applications residing at those domains, leading to a security compromise.

Issue remediation

By default, cookies are scoped to the issuing domain and all subdomains. If you remove the explicit domain attribute from your Set-cookie directive, then the cookie will have this default scope, which is safe and appropriate in most situations. If you particularly need a cookie to be accessible by a parent domain, then you should thoroughly review the security of the applications residing on that domain and its subdomains, and confirm that you are willing to trust the people and systems which support those applications.

Request

GET /dmm/servlet/dmm?cturl=http%3A%2F%2Fads%2Ebluelithium%2Ecom%2Fclk%3F2%2C13%253Bf38cca4ba9b3643a%253B12e8de46d27%2C0%253B%253B%253B4124381432%2C5RoAAMKcFwAeLkoAAAAAAAJdIAAAAAAAAgAAAAIAAAAAAP8AAAABFDnRJQAAAAAApDcQAAAAAABdnioAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAzZA8AAAAAAAIAAwAAAAAAJm3kjS4BAAAAAAAAAGJkODQwYzcwLTQ4NTgtMTFlMC04ZTllLTAwMWIyNDc4M2E1OAA4nyoAAAA%3D%2C%2Chttp%253A%252F%252Fwww%2Emerriam%2Dwebster%2Ecom%252Fcreative%2Ephp%253Fpageid%253Ddictionary%2526placement%253Dmw%5Fdict%5F300%5Fbot%2526groupid%253D8308787085%2526quantseg%253Dd%253At%253A2884%253A2775%253A1799%253A1361%253A1360%253A1355%253A1353%253A1349%253A1345%253A1343%253A1340%2526keyword%253D%2526subjcode%253D%2Chttp%3A%2F%2Fwww.google.com&rurl=http%3A//ads.dotomi.com/ads.php%3Fpid%3D15900%26mtg%3D0%26ms%3D11%26btg%3D1%26mp%3D1%26dres%3Diframe%26rwidth%3D300%26rheight%3D250%26pp%3D0%26cg%3D2084%26tz%3D360&pid=15900&dres=iframe&mtg=0&ms=11&btg=1&mp=1&rwidth=300&rheight=250&pp=0&cg=2084&tz=360&cturl=http%3A%2F%2Fads%2Ebluelithium%2Ecom%2Fclk%3F2%2C13%253Bf38cca4ba9b3643a%253B12e8de46d27%2C0%253B%253B%253B4124381432%2C5RoAAMKcFwAeLkoAAAAAAAJdIAAAAAAAAgAAAAIAAAAAAP8AAAABFDnRJQAAAAAApDcQAAAAAABdnioAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAzZA8AAAAAAAIAAwAAAAAAJm3kjS4BAAAAAAAAAGJkODQwYzcwLTQ4NTgtMTFlMC04ZTllLTAwMWIyNDc4M2E1OAA4nyoAAAA%3D%2C%2Chttp%253A%252F%252Fwww%2Emerriam%2Dwebster%2Ecom%252Fcreative%2Ephp%253Fpageid%253Ddictionary%2526placement%253Dmw%5Fdict%5F300%5Fbot%2526groupid%253D8308787085%2526quantseg%253Dd%253At%253A2884%253A2775%253A1799%253A1361%253A1360%253A1355%253A1353%253A1349%253A1345%253A1343%253A1340%2526keyword%253D%2526subjcode%253D%2C HTTP/1.1
Host: usadmm.dotomi.com
Proxy-Connection: keep-alive
Referer: http://ad.yieldmanager.com/iframe3?5RoAAMKcFwAeLkoAAAAAAAJdIAAAAAAAAgAAAAIAAAAAAP8AAAABFDnRJQAAAAAApDcQAAAAAABdnioAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAzZA8AAAAAAAIAAwAAAAAAAAAAAAAA8D8AAAAAAADwP6bpvHyhNuY.pum8fKE25j-1wvLn24LyP7XC8ufbgvI.AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA1wNw7yBa9CQAtK9m1b.l7zkNPjvHJaevofi4aAAAAAA==,,http%3A%2F%2Fwww.merriam-webster.com%2Fcreative.php%3Fpageid%3Ddictionary%26placement%3Dmw_dict_300_bot%26groupid%3D8308787085%26quantseg%3Dd%3At%3A2884%3A2775%3A1799%3A1361%3A1360%3A1355%3A1353%3A1349%3A1345%3A1343%3A1340%26keyword%3D%26subjcode%3D,Z%3D300x250%26s%3D1547458%26_salt%3D947072794%26B%3D10%26u%3Dhttp%253A%252F%252Fwww.merriam-webster.com%252Fcreative.php%253Fpageid%253DDictionary%2526placement%253DMW_DICT_300_BOT%2526groupid%253D8308787085%2526quantseg%253DD%253AT%253A2884%253A2775%253A1799%253A1361%253A1360%253A1355%253A1353%253A1349%253A1345%253A1343%253A1340%2526keyword%253D%2526subjcode%253D%26r%3D0,bd840c70-4858-11e0-8e9e-001b24783a58
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.107 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: rt_1982=2; rt_14000=2; rt_14200=2; rt_15900=2; rt_17100=2; rt_19000=2; DotomiUser=330200604563575498$0$875515842; DotomiNet=2$DjQqblZ1RXVBDW1dBgd8WgBHKSpAJ25FCVxoWiwcJzNkew0OAQhAWwIPV0JcFAYDaWJPKSIjOHRGd0YJZV4DBnhUCVN4fgNxAVNVHzNaUEl0IyQ7BAkHAEpcCgZUQExLRVpwNgo4OwwCPgUeQAdiWQ4DeF0BVHt4DHMEQA5cdAQRDW1%2FcitYTFRmFhdCaVRGSUJMX2diWHtualV0TXRAA3AJUkYqMgJQe38JEFgEUBk%2FFUYcKD8JfQkJDQRCXAIGUE5KSkNWYWBcaD4yEycqJApEC18BAXlQAA%3D%3D; DotomiRR2018=-1$11669$1$

Response

HTTP/1.1 200 OK
Date: Mon, 07 Mar 2011 01:40:49 GMT
X-Name: dmm-o04
Cache-Control: no-cache, private
Pragma: no-cache
P3P: policyref="/w3c/p3p.xml", CP="NOI DSP NID OUR STP"
Set-Cookie: DotomiNet=2$DjQqblZ1RXVBDW1dBgd8WgBHKSpAJ25FCVxoWiwcJzNkew0OAQhAWwIPV0JcHwkeC2BYem5uVnVFdUENbV0GB3xaAEcjPFl7AFNdDCQGPRwoPwl9Cg4BBEJcAgdRQEtCRFtjZVpoNiETe0RzSw1gWwECf1QAV3hvWDRSSgpJNAYWGA8qLj9mCgUIS1IDBVZFT05IXGZqXn5tdwQ1AXxCEDAMR1MUXwNVeXZiL0IeTQIiQwcBIBBkfwgACAhAXwIAXkRISElbZmVPKDsnBhkQOQJrZl8AAHZd; Domain=.dotomi.com; Expires=Wed, 06-Mar-2013 01:40:49 GMT; Path=/
Set-Cookie: DotomiSession=1_330200604563575498$0$875515842$21657700$2736; Domain=.dotomi.com; Path=/
Content-Type: text/html;charset=UTF-8
Content-Length: 8761

<html>
<head>
<title>DM</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script language="JavaScript" type="text/javascript">try{document.domain="dotomi.com";}catch(e){
...[SNIP]...

4. Cookie without HttpOnly flag set  previous  next

Summary

Severity:   Low
Confidence:   Firm
Host:   http://usadmm.dotomi.com
Path:   /dmm/servlet/dmm

Issue detail

The following cookies were issued by the application and do not have the HttpOnly flag set:The highlighted cookie appears to contain a session token, which may increase the risk associated with this issue. You should review the contents of the cookies to determine their function.

Issue background

If the HttpOnly attribute is set on a cookie, then the cookie's value cannot be read or set by client-side JavaScript. This measure can prevent certain client-side attacks, such as cross-site scripting, from trivially capturing the cookie's value via an injected script.

Issue remediation

There is usually no good reason not to set the HttpOnly flag on all cookies. Unless you specifically require legitimate client-side scripts within your application to read or set a cookie's value, you should set the HttpOnly flag by including this attribute within the relevant Set-cookie directive.

You should be aware that the restrictions imposed by the HttpOnly flag can potentially be circumvented in some circumstances, and that numerous other serious attacks can be delivered by client-side script injection, aside from simple cookie stealing.

Request

GET /dmm/servlet/dmm?cturl=http%3A%2F%2Fads%2Ebluelithium%2Ecom%2Fclk%3F2%2C13%253Bf38cca4ba9b3643a%253B12e8de46d27%2C0%253B%253B%253B4124381432%2C5RoAAMKcFwAeLkoAAAAAAAJdIAAAAAAAAgAAAAIAAAAAAP8AAAABFDnRJQAAAAAApDcQAAAAAABdnioAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAzZA8AAAAAAAIAAwAAAAAAJm3kjS4BAAAAAAAAAGJkODQwYzcwLTQ4NTgtMTFlMC04ZTllLTAwMWIyNDc4M2E1OAA4nyoAAAA%3D%2C%2Chttp%253A%252F%252Fwww%2Emerriam%2Dwebster%2Ecom%252Fcreative%2Ephp%253Fpageid%253Ddictionary%2526placement%253Dmw%5Fdict%5F300%5Fbot%2526groupid%253D8308787085%2526quantseg%253Dd%253At%253A2884%253A2775%253A1799%253A1361%253A1360%253A1355%253A1353%253A1349%253A1345%253A1343%253A1340%2526keyword%253D%2526subjcode%253D%2Chttp%3A%2F%2Fwww.google.com&rurl=http%3A//ads.dotomi.com/ads.php%3Fpid%3D15900%26mtg%3D0%26ms%3D11%26btg%3D1%26mp%3D1%26dres%3Diframe%26rwidth%3D300%26rheight%3D250%26pp%3D0%26cg%3D2084%26tz%3D360&pid=15900&dres=iframe&mtg=0&ms=11&btg=1&mp=1&rwidth=300&rheight=250&pp=0&cg=2084&tz=360&cturl=http%3A%2F%2Fads%2Ebluelithium%2Ecom%2Fclk%3F2%2C13%253Bf38cca4ba9b3643a%253B12e8de46d27%2C0%253B%253B%253B4124381432%2C5RoAAMKcFwAeLkoAAAAAAAJdIAAAAAAAAgAAAAIAAAAAAP8AAAABFDnRJQAAAAAApDcQAAAAAABdnioAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAzZA8AAAAAAAIAAwAAAAAAJm3kjS4BAAAAAAAAAGJkODQwYzcwLTQ4NTgtMTFlMC04ZTllLTAwMWIyNDc4M2E1OAA4nyoAAAA%3D%2C%2Chttp%253A%252F%252Fwww%2Emerriam%2Dwebster%2Ecom%252Fcreative%2Ephp%253Fpageid%253Ddictionary%2526placement%253Dmw%5Fdict%5F300%5Fbot%2526groupid%253D8308787085%2526quantseg%253Dd%253At%253A2884%253A2775%253A1799%253A1361%253A1360%253A1355%253A1353%253A1349%253A1345%253A1343%253A1340%2526keyword%253D%2526subjcode%253D%2C HTTP/1.1
Host: usadmm.dotomi.com
Proxy-Connection: keep-alive
Referer: http://ad.yieldmanager.com/iframe3?5RoAAMKcFwAeLkoAAAAAAAJdIAAAAAAAAgAAAAIAAAAAAP8AAAABFDnRJQAAAAAApDcQAAAAAABdnioAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAzZA8AAAAAAAIAAwAAAAAAAAAAAAAA8D8AAAAAAADwP6bpvHyhNuY.pum8fKE25j-1wvLn24LyP7XC8ufbgvI.AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA1wNw7yBa9CQAtK9m1b.l7zkNPjvHJaevofi4aAAAAAA==,,http%3A%2F%2Fwww.merriam-webster.com%2Fcreative.php%3Fpageid%3Ddictionary%26placement%3Dmw_dict_300_bot%26groupid%3D8308787085%26quantseg%3Dd%3At%3A2884%3A2775%3A1799%3A1361%3A1360%3A1355%3A1353%3A1349%3A1345%3A1343%3A1340%26keyword%3D%26subjcode%3D,Z%3D300x250%26s%3D1547458%26_salt%3D947072794%26B%3D10%26u%3Dhttp%253A%252F%252Fwww.merriam-webster.com%252Fcreative.php%253Fpageid%253DDictionary%2526placement%253DMW_DICT_300_BOT%2526groupid%253D8308787085%2526quantseg%253DD%253AT%253A2884%253A2775%253A1799%253A1361%253A1360%253A1355%253A1353%253A1349%253A1345%253A1343%253A1340%2526keyword%253D%2526subjcode%253D%26r%3D0,bd840c70-4858-11e0-8e9e-001b24783a58
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.107 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: rt_1982=2; rt_14000=2; rt_14200=2; rt_15900=2; rt_17100=2; rt_19000=2; DotomiUser=330200604563575498$0$875515842; DotomiNet=2$DjQqblZ1RXVBDW1dBgd8WgBHKSpAJ25FCVxoWiwcJzNkew0OAQhAWwIPV0JcFAYDaWJPKSIjOHRGd0YJZV4DBnhUCVN4fgNxAVNVHzNaUEl0IyQ7BAkHAEpcCgZUQExLRVpwNgo4OwwCPgUeQAdiWQ4DeF0BVHt4DHMEQA5cdAQRDW1%2FcitYTFRmFhdCaVRGSUJMX2diWHtualV0TXRAA3AJUkYqMgJQe38JEFgEUBk%2FFUYcKD8JfQkJDQRCXAIGUE5KSkNWYWBcaD4yEycqJApEC18BAXlQAA%3D%3D; DotomiRR2018=-1$11669$1$

Response

HTTP/1.1 200 OK
Date: Mon, 07 Mar 2011 01:40:49 GMT
X-Name: dmm-o04
Cache-Control: no-cache, private
Pragma: no-cache
P3P: policyref="/w3c/p3p.xml", CP="NOI DSP NID OUR STP"
Set-Cookie: DotomiNet=2$DjQqblZ1RXVBDW1dBgd8WgBHKSpAJ25FCVxoWiwcJzNkew0OAQhAWwIPV0JcHwkeC2BYem5uVnVFdUENbV0GB3xaAEcjPFl7AFNdDCQGPRwoPwl9Cg4BBEJcAgdRQEtCRFtjZVpoNiETe0RzSw1gWwECf1QAV3hvWDRSSgpJNAYWGA8qLj9mCgUIS1IDBVZFT05IXGZqXn5tdwQ1AXxCEDAMR1MUXwNVeXZiL0IeTQIiQwcBIBBkfwgACAhAXwIAXkRISElbZmVPKDsnBhkQOQJrZl8AAHZd; Domain=.dotomi.com; Expires=Wed, 06-Mar-2013 01:40:49 GMT; Path=/
Set-Cookie: DotomiSession=1_330200604563575498$0$875515842$21657700$2736; Domain=.dotomi.com; Path=/
Content-Type: text/html;charset=UTF-8
Content-Length: 8761

<html>
<head>
<title>DM</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script language="JavaScript" type="text/javascript">try{document.domain="dotomi.com";}catch(e){
...[SNIP]...

5. Cross-domain Referer leakage  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://usadmm.dotomi.com
Path:   /dmm/servlet/dmm

Issue detail

The page was loaded from a URL containing a query string:The response contains the following link to another domain:

Issue background

When a web browser makes a request for a resource, it typically adds an HTTP header, called the "Referer" header, indicating the URL of the resource from which the request originated. This occurs in numerous situations, for example when a web page loads an image or script, or when a user clicks on a link or submits a form.

If the resource being requested resides on a different domain, then the Referer header is still generally included in the cross-domain request. If the originating URL contains any sensitive information within its query string, such as a session token, then this information will be transmitted to the other domain. If the other domain is not fully trusted by the application, then this may lead to a security compromise.

You should review the contents of the information being transmitted to other domains, and also determine whether those domains are fully trusted by the originating application.

Today's browsers may withhold the Referer header in some situations (for example, when loading a non-HTTPS resource from a page that was loaded over HTTPS, or when a Refresh directive is issued), but this behaviour should not be relied upon to protect the originating URL from disclosure.

Note also that if users can author content within the application then an attacker may be able to inject links referring to a domain they control in order to capture data from URLs used within the application.

Issue remediation

The application should never transmit any sensitive information within the URL query string. In addition to being leaked in the Referer header, such information may be logged in various locations and may be visible on-screen to untrusted parties.

Request

GET /dmm/servlet/dmm?cturl=http%3A%2F%2Fads%2Ebluelithium%2Ecom%2Fclk%3F2%2C13%253Bf38cca4ba9b3643a%253B12e8de46d27%2C0%253B%253B%253B4124381432%2C5RoAAMKcFwAeLkoAAAAAAAJdIAAAAAAAAgAAAAIAAAAAAP8AAAABFDnRJQAAAAAApDcQAAAAAABdnioAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAzZA8AAAAAAAIAAwAAAAAAJm3kjS4BAAAAAAAAAGJkODQwYzcwLTQ4NTgtMTFlMC04ZTllLTAwMWIyNDc4M2E1OAA4nyoAAAA%3D%2C%2Chttp%253A%252F%252Fwww%2Emerriam%2Dwebster%2Ecom%252Fcreative%2Ephp%253Fpageid%253Ddictionary%2526placement%253Dmw%5Fdict%5F300%5Fbot%2526groupid%253D8308787085%2526quantseg%253Dd%253At%253A2884%253A2775%253A1799%253A1361%253A1360%253A1355%253A1353%253A1349%253A1345%253A1343%253A1340%2526keyword%253D%2526subjcode%253D%2Chttp%3A%2F%2Fwww.google.com&rurl=http%3A//ads.dotomi.com/ads.php%3Fpid%3D15900%26mtg%3D0%26ms%3D11%26btg%3D1%26mp%3D1%26dres%3Diframe%26rwidth%3D300%26rheight%3D250%26pp%3D0%26cg%3D2084%26tz%3D360&pid=15900&dres=iframe&mtg=0&ms=11&btg=1&mp=1&rwidth=300&rheight=250&pp=0&cg=2084&tz=360&cturl=http%3A%2F%2Fads%2Ebluelithium%2Ecom%2Fclk%3F2%2C13%253Bf38cca4ba9b3643a%253B12e8de46d27%2C0%253B%253B%253B4124381432%2C5RoAAMKcFwAeLkoAAAAAAAJdIAAAAAAAAgAAAAIAAAAAAP8AAAABFDnRJQAAAAAApDcQAAAAAABdnioAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAzZA8AAAAAAAIAAwAAAAAAJm3kjS4BAAAAAAAAAGJkODQwYzcwLTQ4NTgtMTFlMC04ZTllLTAwMWIyNDc4M2E1OAA4nyoAAAA%3D%2C%2Chttp%253A%252F%252Fwww%2Emerriam%2Dwebster%2Ecom%252Fcreative%2Ephp%253Fpageid%253Ddictionary%2526placement%253Dmw%5Fdict%5F300%5Fbot%2526groupid%253D8308787085%2526quantseg%253Dd%253At%253A2884%253A2775%253A1799%253A1361%253A1360%253A1355%253A1353%253A1349%253A1345%253A1343%253A1340%2526keyword%253D%2526subjcode%253D%2C HTTP/1.1
Host: usadmm.dotomi.com
Proxy-Connection: keep-alive
Referer: http://ad.yieldmanager.com/iframe3?5RoAAMKcFwAeLkoAAAAAAAJdIAAAAAAAAgAAAAIAAAAAAP8AAAABFDnRJQAAAAAApDcQAAAAAABdnioAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAzZA8AAAAAAAIAAwAAAAAAAAAAAAAA8D8AAAAAAADwP6bpvHyhNuY.pum8fKE25j-1wvLn24LyP7XC8ufbgvI.AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA1wNw7yBa9CQAtK9m1b.l7zkNPjvHJaevofi4aAAAAAA==,,http%3A%2F%2Fwww.merriam-webster.com%2Fcreative.php%3Fpageid%3Ddictionary%26placement%3Dmw_dict_300_bot%26groupid%3D8308787085%26quantseg%3Dd%3At%3A2884%3A2775%3A1799%3A1361%3A1360%3A1355%3A1353%3A1349%3A1345%3A1343%3A1340%26keyword%3D%26subjcode%3D,Z%3D300x250%26s%3D1547458%26_salt%3D947072794%26B%3D10%26u%3Dhttp%253A%252F%252Fwww.merriam-webster.com%252Fcreative.php%253Fpageid%253DDictionary%2526placement%253DMW_DICT_300_BOT%2526groupid%253D8308787085%2526quantseg%253DD%253AT%253A2884%253A2775%253A1799%253A1361%253A1360%253A1355%253A1353%253A1349%253A1345%253A1343%253A1340%2526keyword%253D%2526subjcode%253D%26r%3D0,bd840c70-4858-11e0-8e9e-001b24783a58
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.107 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: rt_1982=2; rt_14000=2; rt_14200=2; rt_15900=2; rt_17100=2; rt_19000=2; DotomiUser=330200604563575498$0$875515842; DotomiNet=2$DjQqblZ1RXVBDW1dBgd8WgBHKSpAJ25FCVxoWiwcJzNkew0OAQhAWwIPV0JcFAYDaWJPKSIjOHRGd0YJZV4DBnhUCVN4fgNxAVNVHzNaUEl0IyQ7BAkHAEpcCgZUQExLRVpwNgo4OwwCPgUeQAdiWQ4DeF0BVHt4DHMEQA5cdAQRDW1%2FcitYTFRmFhdCaVRGSUJMX2diWHtualV0TXRAA3AJUkYqMgJQe38JEFgEUBk%2FFUYcKD8JfQkJDQRCXAIGUE5KSkNWYWBcaD4yEycqJApEC18BAXlQAA%3D%3D; DotomiRR2018=-1$11669$1$

Response

HTTP/1.1 200 OK
Date: Mon, 07 Mar 2011 01:40:49 GMT
X-Name: dmm-o04
Cache-Control: no-cache, private
Pragma: no-cache
P3P: policyref="/w3c/p3p.xml", CP="NOI DSP NID OUR STP"
Set-Cookie: DotomiNet=2$DjQqblZ1RXVBDW1dBgd8WgBHKSpAJ25FCVxoWiwcJzNkew0OAQhAWwIPV0JcHwkeC2BYem5uVnVFdUENbV0GB3xaAEcjPFl7AFNdDCQGPRwoPwl9Cg4BBEJcAgdRQEtCRFtjZVpoNiETe0RzSw1gWwECf1QAV3hvWDRSSgpJNAYWGA8qLj9mCgUIS1IDBVZFT05IXGZqXn5tdwQ1AXxCEDAMR1MUXwNVeXZiL0IeTQIiQwcBIBBkfwgACAhAXwIAXkRISElbZmVPKDsnBhkQOQJrZl8AAHZd; Domain=.dotomi.com; Expires=Wed, 06-Mar-2013 01:40:49 GMT; Path=/
Set-Cookie: DotomiSession=1_330200604563575498$0$875515842$21657700$2736; Domain=.dotomi.com; Path=/
Content-Type: text/html;charset=UTF-8
Content-Length: 8761

<html>
<head>
<title>DM</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script language="JavaScript" type="text/javascript">try{document.domain="dotomi.com";}catch(e){
...[SNIP]...
e_id%3D%2211669%22+promo_id%3D%2211669%22+category%3D%22Invitations%22+offer%3D%2250%25+Off%22+visitor_id%3D%22244641340914%22+user_status%3D%22New%22+%2F%3E&hash=130730fcc77e7b5cf48509ad9a42c652">

<img src="http://view.atdmt.com/00F/view/257491702/direct/01/" height="0" width="0">

</body>
...[SNIP]...

6. TRACE method is enabled  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://usadmm.dotomi.com
Path:   /

Issue description

The TRACE method is designed for diagnostic purposes. If enabled, the web server will respond to requests which use the TRACE method by echoing in its response the exact request which was received.

Although this behaviour is apparently harmless in itself, it can sometimes be leveraged to support attacks against other application users. If an attacker can find a way of causing a user to make a TRACE request, and can retrieve the response to that request, then the attacker will be able to capture any sensitive data which is included in the request by the user's browser, for example session cookies or credentials for platform-level authentication. This may exacerbate the impact of other vulnerabilities, such as cross-site scripting.

Issue remediation

The TRACE method should be disabled on the web server.

Request

TRACE / HTTP/1.0
Host: usadmm.dotomi.com
Cookie: eddfb5dcf995fc43

Response

HTTP/1.1 200 OK
Date: Mon, 07 Mar 2011 01:40:49 GMT
Server: Apache/2.2.15 (Unix) DAV/2
Connection: close
Content-Type: message/http

TRACE / HTTP/1.0
Host: usadmm.dotomi.com
Cookie: eddfb5dcf995fc43


7. Robots.txt file  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://usadmm.dotomi.com
Path:   /dmm/servlet/dmm

Issue detail

The web server contains a robots.txt file.

Issue background

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

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

Issue remediation

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

Request

GET /robots.txt HTTP/1.0
Host: usadmm.dotomi.com

Response

HTTP/1.1 200 OK
Date: Mon, 07 Mar 2011 01:40:49 GMT
Server: Apache/2.2.15 (Unix) DAV/2
X-Name: dmm-o04
Last-Modified: Wed, 24 Nov 2010 01:04:10 GMT
ETag: "40064-a2-495c2111ab680"
Accept-Ranges: bytes
Content-Length: 162
Connection: close
Content-Type: text/plain

#do not edit this file in ms-platform, you need unix line seperators for it.
#this file will disallow any robots to search the dmc.
User-Agent: *
Disallow: /

8. HTML does not specify charset  previous

Summary

Severity:   Information
Confidence:   Certain
Host:   http://usadmm.dotomi.com
Path:   /

Issue description

If a web response states that it contains HTML content but does not specify a character set, then the browser may analyse the HTML and attempt to determine which character set it appears to be using. Even if the majority of the HTML actually employs a standard character set such as UTF-8, the presence of non-standard characters anywhere in the response may cause the browser to interpret the content using a different character set. This can have unexpected results, and can lead to cross-site scripting vulnerabilities in which non-standard encodings like UTF-7 can be used to bypass the application's defensive filters.

In most cases, the absence of a charset directive 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 HTML content, the application should include within the Content-type header a directive specifying a standard recognised character set, for example charset=ISO-8859-1.

Request

GET / HTTP/1.1
Host: usadmm.dotomi.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.107 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: rt_1982=2; rt_14000=2; rt_14200=2; rt_15900=2; rt_17100=2; rt_19000=2; DotomiUser=330200604563575498$0$875515842; DotomiNet=2$DjQqblZ1RXVBDW1dBgd8WgBHKSpAJ25FCVxoWiwcJzNkew0OAQhAWwIPV0JcHwkeC2BYem5uVnVFdUENbV0GB3xaAEcjPFl7AFNdDCQGPRwoPwl9Cg4BBEJcAgdRQEtCRFtjZVpoNiETe0RzSw1gWwMEc1wCU3xvWDRSSgpJNAYWGA8qLj9mCgUIS1IDBVZFT05IXGZqXn5tdwQ1AXxCEDAMR1MUXwNVeXZiL0IeTQIiQwcBIBBkfwgACAhAXwIAXkRISElbZmVPKDsnBhkQOQJrZl8AAHZd

Response

HTTP/1.1 200 OK
Date: Tue, 08 Mar 2011 13:52:11 GMT
Server: Apache
X-Name: dmm-o01
Last-Modified: Wed, 24 Nov 2010 00:04:27 GMT
ETag: "146002d-2c-495c13b8a78c0"
Accept-Ranges: bytes
Content-Length: 44
Content-Type: text/html

<html><body><h1>It works!</h1></body></html>

Report generated by XSS.CX at Tue Mar 08 07:54:39 CST 2011.