XSS, Reflected Cross Site Scripting, CWE-79, CAPEC-86, DORK, GHDB, BHDB, akamai.com

RXSS in Login Form

Report generated by XSS.CX at Mon Oct 03 13:31:45 CDT 2011.

XSS.CX Anti-Phishing Research consumes Public Domain URL's to identify Points of Contact within an organization that would be sent Private Reports of Vulnerabilities. Its suggest that any published materials for Contact Us include Security Researchers seeking to report vulnerabilities observe URL http://technet.microsoft.com/en-us/security/ff852094.aspx as Best Practices for a Company to use as a baseline transaction. XSS.Cx doesn't use DOMAIN WHOIS, RADB or ARIN CIDR Point of Contact Records.


Loading

1. Cross-site scripting (reflected)

XSS in akamai.com, XSS, DORK, GHDB, Cross Site Scripting, CWE-79, CAPEC-86, Phishing, Weak Configuration

2. Cookie scoped to parent domain

3. Cross-domain Referer leakage

3.1. http://www.akamai.com/html/awe/login.html

3.2. http://www.akamai.com/html/forms/sales_form.html

3.3. http://www.akamai.com/html/misc/search_results.html

3.4. http://www.akamai.com/html/solutions/security/ddos_defense.html

4. Cookie without HttpOnly flag set

5. Email addresses disclosed

5.1. http://www.akamai.com/html/awe/login.html

5.2. http://www.akamai.com/html/forms/sales_form.html

5.3. http://www.akamai.com/js/form_validate_awe_logreg.js

5.4. http://www.akamai.com/xml/akamai_events.xml

6. Content type incorrectly stated

6.1. http://www.akamai.com/cgi/captcha.cgi

6.2. http://www.akamai.com/xml/sc/sc.xml



1. Cross-site scripting (reflected)  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.akamai.com
Path:   /html/awe/login.html

Issue detail

The value of the &curl request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload d93f1"><script>alert(1)</script>3c672e75091 was submitted in the &curl 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.

Issue background

Reflected cross-site scripting vulnerabilities arise when data is copied from a request and echoed into the application's immediate response in an unsafe way. An attacker can use the vulnerability to construct a request which, if issued by another application user, will cause JavaScript code supplied by the attacker to execute within the user's browser in the context of that user's session with the application.

The attacker-supplied code can perform a wide variety of actions, such as stealing the victim's session token or login credentials, performing arbitrary actions on the victim's behalf, and logging their keystrokes.

Users can be induced to issue the attacker's crafted request in various ways. For example, the attacker can send a victim a link containing a malicious URL in an email or instant message. They can submit the link to popular web sites that allow content authoring, for example in blog comments. And they can create an innocuous looking web site which causes anyone viewing it to make arbitrary cross-domain requests to the vulnerable application (using either the GET or the POST method).

The security impact of cross-site scripting vulnerabilities is dependent upon the nature of the vulnerable application, the kinds of data and functionality which it contains, and the other applications which belong to the same domain and organisation. If the application is used only to display non-sensitive public content, with no authentication or access control functionality, then a cross-site scripting flaw may be considered low risk. However, if the same application resides on a domain which can access cookies for other more security-critical applications, then the vulnerability could be used to attack those other applications, and so may be considered high risk. Similarly, if the organisation which owns the application is a likely target for phishing attacks, then the vulnerability could be leveraged to lend credibility to such attacks, by injecting Trojan functionality into the vulnerable application, and exploiting users' trust in the organisation in order to capture credentials for other applications which it owns. In many kinds of application, such as those providing online banking functionality, cross-site scripting should always be considered high risk.

Issue remediation

In most situations where user-controllable data is copied into application responses, cross-site scripting attacks can be prevented using two layers of defences: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.

Request

GET /html/awe/login.html?&curl=/html/awe_auth/ddos_defender.htmld93f1"><script>alert(1)</script>3c672e75091 HTTP/1.1
Host: www.akamai.com
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.187 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Referer: http://www.akamai.com/html/misc/search_results.html?search_query=xss+httpi+sqli+ddos
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: industry=4; dv4dom=2d2f5b77767a5e4f45a5dacac7a59e45; dbdom=NoDomain; XR77=0; IS3_GSV=DPL-2_TES-1317665592_PCT-1317665592_GeoIP-50.23.123.106_GeoCo-US_GeoRg-TX_GeoCt-Dallas_GeoNs-_GeoDm-; IS3_History=1316838182-1-62__62340-1---1317665599__

Response

HTTP/1.1 200 OK
Server: Apache/2.2.3 (Linux/SUSE)
Content-Type: text/html; charset=utf-8
ETag: "183977-bb6f-4a39020b20b80"
Vary: Accept-Encoding
Expires: Mon, 03 Oct 2011 18:19:32 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Mon, 03 Oct 2011 18:19:32 GMT
Content-Length: 55250
Connection: close

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en"
...[SNIP]...
<input type="hidden" name="curl" value="/html/awe_auth/ddos_defender.htmld93f1"><script>alert(1)</script>3c672e75091">
...[SNIP]...

2. Cookie scoped to parent domain  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.akamai.com
Path:   /

Issue detail

The following cookies were issued by the application and is scoped to a parent of the issuing domain:The cookies do not appear to contain session tokens, which may reduce 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 / HTTP/1.1
Host: www.akamai.com
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.187 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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 200 OK
Server: Apache/2.2.3 (Linux/SUSE)
Content-Type: text/html; charset=utf-8
Set-Cookie: industry=4;path=/;domain=akamai.com;
Set-Cookie: dv4dom=2d2f5b77767a5e4f45a5dacac7a59e45;path=/;domain=akamai.com;
Set-Cookie: dbdom=NoDomain;path=/;domain=akamai.com;
ETag: "183c19-6178-4ae662581bf80"
Vary: Accept-Encoding
Expires: Mon, 03 Oct 2011 18:12:40 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Mon, 03 Oct 2011 18:12:40 GMT
Content-Length: 42717
Connection: close

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Akamai: The Leader in Web Application Acceleration and Performance Management,
...[SNIP]...

3. Cross-domain Referer leakage  previous  next
There are 4 instances of this issue:

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.


3.1. http://www.akamai.com/html/awe/login.html  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.akamai.com
Path:   /html/awe/login.html

Issue detail

The page was loaded from a URL containing a query string:The response contains the following links to other domains:

Request

GET /html/awe/login.html?&curl=/html/awe_auth/ddos_defender.html HTTP/1.1
Host: www.akamai.com
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.187 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Referer: http://www.akamai.com/html/misc/search_results.html?search_query=xss+httpi+sqli+ddos
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: industry=4; dv4dom=2d2f5b77767a5e4f45a5dacac7a59e45; dbdom=NoDomain; XR77=0; IS3_GSV=DPL-2_TES-1317665592_PCT-1317665592_GeoIP-50.23.123.106_GeoCo-US_GeoRg-TX_GeoCt-Dallas_GeoNs-_GeoDm-; IS3_History=1316838182-1-62__62340-1---1317665599__

Response

HTTP/1.1 200 OK
Server: Apache/2.2.3 (Linux/SUSE)
Content-Type: text/html; charset=utf-8
ETag: "183977-bb6f-4a39020b20b80"
Vary: Accept-Encoding
Expires: Mon, 03 Oct 2011 18:18:01 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Mon, 03 Oct 2011 18:18:01 GMT
Content-Length: 61899
Connection: close

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en"
...[SNIP]...
<li><a href="http://www.akamai.fr">Fran..ais</a>
...[SNIP]...
<li><a href="http://www.akamai.de">Deutsch</a>
...[SNIP]...
<li><a href="http://www.akamai.cn">......</a>
...[SNIP]...
<div>
...<iframe src="http://s.a.ak6i.net/a1/?cp=14351&site=www.akamai.com" width="0"
height="0" scrolling="no" style="border:0px; overflow:hidden;
display:block;">
</iframe>
...[SNIP]...
<div style="float:right; margin-right:30px; margin-top:-7px; color:#b7b7b7;">Connect with us: <a href="http://www.facebook.com/AkamaiTechnologies" target="_blank"><img src="/graphics/icons/facebook.png" width="28" height="27" border="0" align="absmiddle" ></a><a href="http://twitter.com/#!/Akamai" target="_blank"><img src="/graphics/icons/twitter.png" width="28" height="27" border="0" align="absmiddle" ></a><a href="http://www.linkedin.com/groups?gid=124270&trk=anetsrch_name&goback=.gdr_1274801043444_1" target="_blank"><img src="/graphics/icons/linkedin.png" width="28" height="27" border="0" align="absmiddle" >
...[SNIP]...
<NOSCRIPT>
<IMG BORDER="0" NAME="DCSIMG" WIDTH="1" HEIGHT="1" SRC="http://statse.webtrendslive.com/dcsd5z3icpifwzr6ntaprqwib_7q9t/njs.gif?dcsuri=/nojavascript&WT.js=No">
</NOSCRIPT>
...[SNIP]...
<p><img alt="Demandbase Connect" width="1" height="1" src="http://leads.demandbase.com/117306-db16.gif" /></p>
...[SNIP]...
<p><a href="http://www.demandbase.com"><img src="http://www.demandbase.com/images/stream/demandbase.gif" alt="Demandbase" width="1" height="1"></a>
...[SNIP]...

3.2. http://www.akamai.com/html/forms/sales_form.html  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.akamai.com
Path:   /html/forms/sales_form.html

Issue detail

The page was loaded from a URL containing a query string:The response contains the following links to other domains:

Request

GET /html/forms/sales_form.html?m=9 HTTP/1.1
Host: www.akamai.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Proxy-Connection: keep-alive
Cookie: XR77=0; _jsuid=5128576071663344846; industry=4; dv4dom=2d2f5b77767a5e4f45a5dacac7a59e45; dbdom=NoDomain

Response

HTTP/1.1 200 OK
Server: Apache/2.2.3 (Linux/SUSE)
Content-Type: text/html; charset=utf-8
ETag: "1836d1-13a05-4aab8b806cb40"
Vary: Accept-Encoding
Expires: Mon, 03 Oct 2011 18:22:12 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Mon, 03 Oct 2011 18:22:12 GMT
Content-Length: 92455
Connection: close

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en"
...[SNIP]...
<li><a href="http://www.akamai.fr">Fran..ais</a>
...[SNIP]...
<li><a href="http://www.akamai.de">Deutsch</a>
...[SNIP]...
<li><a href="http://www.akamai.cn">......</a>
...[SNIP]...
<div>
...<iframe src="http://s.a.ak6i.net/a1/?cp=14351&site=www.akamai.com" width="0"
height="0" scrolling="no" style="border:0px; overflow:hidden;
display:block;">
</iframe>
...[SNIP]...
<div style="float:right; margin-right:30px; margin-top:-7px; color:#b7b7b7;">Connect with us: <a href="http://www.facebook.com/AkamaiTechnologies" target="_blank"><img src="/graphics/icons/facebook.png" width="28" height="27" border="0" align="absmiddle" ></a><a href="http://twitter.com/#!/Akamai" target="_blank"><img src="/graphics/icons/twitter.png" width="28" height="27" border="0" align="absmiddle" ></a><a href="http://www.linkedin.com/groups?gid=124270&trk=anetsrch_name&goback=.gdr_1274801043444_1" target="_blank"><img src="/graphics/icons/linkedin.png" width="28" height="27" border="0" align="absmiddle" >
...[SNIP]...
<NOSCRIPT>
<IMG BORDER="0" NAME="DCSIMG" WIDTH="1" HEIGHT="1" SRC="http://statse.webtrendslive.com/dcsd5z3icpifwzr6ntaprqwib_7q9t/njs.gif?dcsuri=/nojavascript&WT.js=No">
</NOSCRIPT>
...[SNIP]...
<p><img alt="Demandbase Connect" width="1" height="1" src="http://leads.demandbase.com/117306-db16.gif" /></p>
...[SNIP]...
<p><a href="http://www.demandbase.com"><img src="http://www.demandbase.com/images/stream/demandbase.gif" alt="Demandbase" width="1" height="1"></a>
...[SNIP]...

3.3. http://www.akamai.com/html/misc/search_results.html  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.akamai.com
Path:   /html/misc/search_results.html

Issue detail

The page was loaded from a URL containing a query string:The response contains the following links to other domains:

Request

GET /html/misc/search_results.html?search_query=xss+httpi+sqli+ddos HTTP/1.1
Host: www.akamai.com
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.187 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Referer: http://www.akamai.com/html/partners/index.html
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: industry=4; dv4dom=2d2f5b77767a5e4f45a5dacac7a59e45; dbdom=NoDomain; XR77=0; IS3_GSV=DPL-2_TES-1317665592_PCT-1317665592_GeoIP-50.23.123.106_GeoCo-US_GeoRg-TX_GeoCt-Dallas_GeoNs-_GeoDm-; IS3_History=1316838182-1-62__62340-1---1317665599__

Response

HTTP/1.1 200 OK
Server: Apache/2.2.3 (Linux/SUSE)
Content-Type: text/html; charset=utf-8
ETag: "1823ae-1ff8-48b5add1faa00"
Vary: Accept-Encoding
Expires: Mon, 03 Oct 2011 18:17:43 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Mon, 03 Oct 2011 18:17:43 GMT
Content-Length: 25267
Connection: close

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en"
...[SNIP]...
<li><a href="http://www.akamai.fr">Fran..ais</a>
...[SNIP]...
<li><a href="http://www.akamai.de">Deutsch</a>
...[SNIP]...
<li><a href="http://www.akamai.cn">......</a>
...[SNIP]...
<div>
...<iframe src="http://s.a.ak6i.net/a1/?cp=14351&site=www.akamai.com" width="0"
height="0" scrolling="no" style="border:0px; overflow:hidden;
display:block;">
</iframe>
...[SNIP]...
<div style="float:right; margin-right:30px; margin-top:-7px; color:#b7b7b7;">Connect with us: <a href="http://www.facebook.com/AkamaiTechnologies" target="_blank"><img src="/graphics/icons/facebook.png" width="28" height="27" border="0" align="absmiddle" ></a><a href="http://twitter.com/#!/Akamai" target="_blank"><img src="/graphics/icons/twitter.png" width="28" height="27" border="0" align="absmiddle" ></a><a href="http://www.linkedin.com/groups?gid=124270&trk=anetsrch_name&goback=.gdr_1274801043444_1" target="_blank"><img src="/graphics/icons/linkedin.png" width="28" height="27" border="0" align="absmiddle" >
...[SNIP]...
<NOSCRIPT>
<IMG BORDER="0" NAME="DCSIMG" WIDTH="1" HEIGHT="1" SRC="http://statse.webtrendslive.com/dcsd5z3icpifwzr6ntaprqwib_7q9t/njs.gif?dcsuri=/nojavascript&WT.js=No">
</NOSCRIPT>
...[SNIP]...
<p><img alt="Demandbase Connect" width="1" height="1" src="http://leads.demandbase.com/117306-db16.gif" /></p>
...[SNIP]...
<p><a href="http://www.demandbase.com"><img src="http://www.demandbase.com/images/stream/demandbase.gif" alt="Demandbase" width="1" height="1"></a>
...[SNIP]...

3.4. http://www.akamai.com/html/solutions/security/ddos_defense.html  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.akamai.com
Path:   /html/solutions/security/ddos_defense.html

Issue detail

The page was loaded from a URL containing a query string:The response contains the following links to other domains:

Request

GET /html/solutions/security/ddos_defense.html?campaign_id=AANA-65TPAC HTTP/1.1
Host: www.akamai.com
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.187 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Referer: http://www.akamai.com/html/solutions/security/waf.html
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: industry=4; dv4dom=2d2f5b77767a5e4f45a5dacac7a59e45; dbdom=NoDomain; XR77=0; IS3_GSV=DPL-2_TES-1317665592_PCT-1317665592_GeoIP-50.23.123.106_GeoCo-US_GeoRg-TX_GeoCt-Dallas_GeoNs-_GeoDm-; IS3_History=1316838182-1-62__62340-1---1317665599__

Response

HTTP/1.1 200 OK
Server: Apache/2.2.3 (Linux/SUSE)
Content-Type: text/html; charset=utf-8
ETag: "1a0379-3ddc-4ad0ce54bb740"
Vary: Accept-Encoding
Cache-Control: max-age=57602
Date: Mon, 03 Oct 2011 18:17:04 GMT
Content-Length: 20740
Connection: close

...<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Con
...[SNIP]...
<NOSCRIPT>
<IMG BORDER="0" NAME="DCSIMG" WIDTH="1" HEIGHT="1" SRC="http://statse.webtrendslive.com/dcsd5z3icpifwzr6ntaprqwib_7q9t/njs.gif?dcsuri=/nojavascript&WT.js=No">
</NOSCRIPT>
...[SNIP]...
<p><img alt="Demandbase Connect" width="1" height="1" src="http://leads.demandbase.com/117306-db16.gif" /></p>
...[SNIP]...
<p><a href="http://www.demandbase.com"><img src="http://www.demandbase.com/images/stream/demandbase.gif" alt="Demandbase" width="1" height="1"></a>
...[SNIP]...
<p><img alt="Demandbase Connect" width="1" height="1" src="http://leads.demandbase.com/117306-db16.gif" /></p>
...[SNIP]...
<p><a href="http://www.demandbase.com"><img src="http://www.demandbase.com/images/stream/demandbase.gif" alt="Demandbase" width="1" height="1"></a>
...[SNIP]...

4. Cookie without HttpOnly flag set  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.akamai.com
Path:   /

Issue detail

The following cookies were issued by the application and do not have the HttpOnly flag set:The cookies do not appear to contain session tokens, which may reduce 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 / HTTP/1.1
Host: www.akamai.com
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.187 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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 200 OK
Server: Apache/2.2.3 (Linux/SUSE)
Content-Type: text/html; charset=utf-8
Set-Cookie: industry=4;path=/;domain=akamai.com;
Set-Cookie: dv4dom=2d2f5b77767a5e4f45a5dacac7a59e45;path=/;domain=akamai.com;
Set-Cookie: dbdom=NoDomain;path=/;domain=akamai.com;
ETag: "183c19-6178-4ae662581bf80"
Vary: Accept-Encoding
Expires: Mon, 03 Oct 2011 18:12:40 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Mon, 03 Oct 2011 18:12:40 GMT
Content-Length: 42717
Connection: close

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>Akamai: The Leader in Web Application Acceleration and Performance Management,
...[SNIP]...

5. Email addresses disclosed  previous  next
There are 4 instances of this issue:

Issue background

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).


5.1. http://www.akamai.com/html/awe/login.html  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.akamai.com
Path:   /html/awe/login.html

Issue detail

The following email address was disclosed in the response:

Request

GET /html/awe/login.html?&curl=/html/awe_auth/ddos_defender.html HTTP/1.1
Host: www.akamai.com
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.187 Safari/535.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Referer: http://www.akamai.com/html/misc/search_results.html?search_query=xss+httpi+sqli+ddos
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: industry=4; dv4dom=2d2f5b77767a5e4f45a5dacac7a59e45; dbdom=NoDomain; XR77=0; IS3_GSV=DPL-2_TES-1317665592_PCT-1317665592_GeoIP-50.23.123.106_GeoCo-US_GeoRg-TX_GeoCt-Dallas_GeoNs-_GeoDm-; IS3_History=1316838182-1-62__62340-1---1317665599__

Response

HTTP/1.1 200 OK
Server: Apache/2.2.3 (Linux/SUSE)
Content-Type: text/html; charset=utf-8
ETag: "183977-bb6f-4a39020b20b80"
Vary: Accept-Encoding
Expires: Mon, 03 Oct 2011 18:18:01 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Mon, 03 Oct 2011 18:18:01 GMT
Content-Length: 61899
Connection: close

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en"
...[SNIP]...
errors = errors;
}

function validateLogin(f) {
haveerrors = 0;
validateCaptcha();
(f.emailL.value.search("@") == -1 || f.emailL.value.search("[.*]") == -1 || f.emailL.value == "(username@hostname.com)") // validate email
? showImage("emailerrorL", "/graphics/forms/email_required.png", true)
: showImage("emailerrorL", "/graphics/site/spacer.gif", false);

if(!haveerrors) {
c
...[SNIP]...
<input class="whitepaper_textbox" style="position: relative; height:37px; border:none; width:335px;" type="text" id="emailL" name="email" maxlength="100" value="(username@hostname.com)" onfocus="makeEmpty(this.id,'(username@hostname.com)');" onblur="populate(this.id,'(username@hostname.com)')">
...[SNIP]...
<input class="whitepaper_textbox" type="text" id="emailR" name="email" maxlength="100" value="(username@hostname.com)" onfocus="makeEmpty(this.id,'(username@hostname.com)');" onblur="populate(this.id,'(username@hostname.com)')">
...[SNIP]...
<input class="whitepaper_textbox" type="text" id="verifyemail" name="verifyemail" maxlength="100" value="(username@hostname.com)" onfocus="makeEmpty(this.id,'(username@hostname.com)');" onblur="populate(this.id,'(username@hostname.com)')">
...[SNIP]...

5.2. http://www.akamai.com/html/forms/sales_form.html  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.akamai.com
Path:   /html/forms/sales_form.html

Issue detail

The following email addresses were disclosed in the response:

Request

GET /html/forms/sales_form.html HTTP/1.1
Host: www.akamai.com
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close

Response

HTTP/1.1 200 OK
Server: Apache/2.2.3 (Linux/SUSE)
Content-Length: 92455
Content-Type: text/html; charset=utf-8
ETag: "1836d1-13a05-4aab8b806cb40"
Expires: Mon, 03 Oct 2011 18:16:47 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Mon, 03 Oct 2011 18:16:47 GMT
Connection: close

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
lang="en"
...[SNIP]...
raphics/forms/required_field.gif", true)
: showImage("phoneerror", "/graphics/site/spacer.gif", false);

(f.email.value.search("@") == -1 || f.email.value.search("[.*]") == -1 || f.email.value == "(username@hostname.com)")
? showImage("emailerror", "/graphics/forms/email_error.gif", true)
: showImage("emailerror", "/graphics/site/spacer.gif", false);

if(f.industry.value == ""){
showImage("verticalerror", "/grap
...[SNIP]...
<a href="mailto:info_akamai@akamai.co.jp">info_akamai@akamai.co.jp</a>
...[SNIP]...
<input class="whitepaper_textbox" type="text" id="email" name="email" maxlength="100" value="(username@hostname.com)" onFocus="makeEmpty(this.id,'(username@hostname.com)');" onBlur="populate(this.id,'(username@hostname.com)')">
...[SNIP]...

5.3. http://www.akamai.com/js/form_validate_awe_logreg.js  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.akamai.com
Path:   /js/form_validate_awe_logreg.js

Issue detail

The following email address was disclosed in the response:

Request

GET /js/form_validate_awe_logreg.js?sol=dss HTTP/1.1
Host: www.akamai.com
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.187 Safari/535.1
Accept: */*
Referer: http://www.akamai.com/html/awe/login.html?&curl=/html/awe_auth/ddos_defender.html
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: industry=4; dv4dom=2d2f5b77767a5e4f45a5dacac7a59e45; dbdom=NoDomain; XR77=0; IS3_GSV=DPL-2_TES-1317665592_PCT-1317665592_GeoIP-50.23.123.106_GeoCo-US_GeoRg-TX_GeoCt-Dallas_GeoNs-_GeoDm-; IS3_History=1316838182-1-62__62340-1---1317665599__

Response

HTTP/1.1 200 OK
Server: Apache/2.2.3 (Linux/SUSE)
Content-Length: 7196
Content-Type: text/x-js
ETag: "18389b-1b00-4a271e9d69140"
Cache-Control: max-age=339929
Date: Mon, 03 Oct 2011 18:17:56 GMT
Connection: close


function validateReg(f) {
haveerrors = 0;

(trim(f.first_name.value).length < 1) // validate first name length
? showImage("firstnameerror", "/graphics/forms/required.png", true)
...[SNIP]...
s/forms/required.png", true)
:showImage("contacttypeerror", "/graphics/site/spacer.gif", false);

(f.emailR.value.search("@") == -1 || f.emailR.value.search("[.*]") == -1 || f.emailR.value == "(username@hostname.com)")
? showImage("emailerrorR", "/graphics/forms/enter_email.png", true)
: showImage("emailerrorR", "/graphics/site/spacer.gif", false);

(f.verifyemail.value.search("@") == -1 || f.verifyemail.value.search("[.*]") == -1 || f.verifyemail.value == "(username@hostname.com)")
? showImage("verifyemailerror", "/graphics/forms/enter_email.png", true)
: showImage("verifyemailerror", "/graphics/site/spacer.gif", false);

if(f.verifyemail.value != f.emailR.value || f.verifyemail.value == "(username@hostname.com)" && f.emailR.value == "(username@hostname.com)") {
showImage("emailerrorR", "/graphics/forms/enter_email.png", true)
showImage("verifyemailerror", "/graphics/forms/enter_email.png", true)
} else {
showImage("emailerrorR", "/grap
...[SNIP]...

5.4. http://www.akamai.com/xml/akamai_events.xml  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.akamai.com
Path:   /xml/akamai_events.xml

Issue detail

The following email address was disclosed in the response:

Request

GET /xml/akamai_events.xml HTTP/1.1
Host: www.akamai.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Proxy-Connection: keep-alive
X-Requested-With: XMLHttpRequest
Referer: http://www.akamai.com/html/about/index.html
Cookie: XR77=0; _jsuid=5128576071663344846; industry=4; dv4dom=2d2f5b77767a5e4f45a5dacac7a59e45; dbdom=NoDomain

Response

HTTP/1.1 200 OK
Server: Apache/2.2.3 (Linux/SUSE)
Last-Modified: Fri, 23 Sep 2011 07:14:05 GMT
ETag: "183bc0-512d-4ad968df22940"
Accept-Ranges: bytes
Content-Length: 20781
Content-Type: text/xml
Date: Mon, 03 Oct 2011 18:26:10 GMT
Connection: close

<?xml version="1.0" encoding="UTF-8"?>
<event>
   <eventDetails>
       <eventname>2011 International CES</eventname>
       <eventCity><![CDATA[Las Vegas, NV<br>Session: Entertainment Matters Keynote Panel<b
...[SNIP]...
<![CDATA[mailto:asnagg@akamai.com]]>
...[SNIP]...

6. Content type incorrectly stated  previous
There are 2 instances of this issue:

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.


6.1. http://www.akamai.com/cgi/captcha.cgi  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://www.akamai.com
Path:   /cgi/captcha.cgi

Issue detail

The response contains the following Content-type statement:The response states that it contains HTML. However, it actually appears to contain plain text.

Request

GET /cgi/captcha.cgi?md5=5a3584eb7166fa7868dfc2eaf29eb91e&capCode=785687&ms=1317666204689&origin=2&caller=web HTTP/1.1
Host: www.akamai.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20110504 Namoroka/3.6.13
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 115
Proxy-Connection: keep-alive
Referer: http://www.akamai.com/html/forms/sales_form.html?m=9
Cookie: XR77=0; _jsuid=5128576071663344846; industry=4; dv4dom=2d2f5b77767a5e4f45a5dacac7a59e45; dbdom=NoDomain

Response

HTTP/1.1 200 OK
Server: Apache/2.2.3 (Linux/SUSE)
Content-Length: 1
Content-Type: text/html; charset=utf-8
Vary: Accept-Encoding
Expires: Mon, 03 Oct 2011 18:22:51 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Mon, 03 Oct 2011 18:22:51 GMT
Connection: close

1

6.2. http://www.akamai.com/xml/sc/sc.xml  previous

Summary

Severity:   Information
Confidence:   Firm
Host:   http://www.akamai.com
Path:   /xml/sc/sc.xml

Issue detail

The response contains the following Content-type statement:The response states that it contains XML. However, it actually appears to contain HTML.

Request

GET /xml/sc/sc.xml HTTP/1.1
Host: www.akamai.com
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.187 Safari/535.1
Accept: */*
Referer: http://www.akamai.com/swf/modules/sc.swf
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: industry=4; dv4dom=2d2f5b77767a5e4f45a5dacac7a59e45; dbdom=NoDomain; XR77=0; IS3_GSV=DPL-2_TES-1317665592_PCT-1317665592_GeoIP-50.23.123.106_GeoCo-US_GeoRg-TX_GeoCt-Dallas_GeoNs-_GeoDm-; IS3_History=1316838182-1-62__62340-1---1317665599__

Response

HTTP/1.1 200 OK
Server: Apache/2.2.3 (Linux/SUSE)
Last-Modified: Mon, 18 Aug 2008 06:45:10 GMT
ETag: "182a50-16186-454b650030980"
Accept-Ranges: bytes
Content-Length: 90502
Content-Type: text/xml
Date: Mon, 03 Oct 2011 18:13:38 GMT
Connection: close

<conf>
   <sc_title>Solutions Finder</sc_title>
   <panel1tag><![CDATA[I work in]]></panel1tag>
   <panel2tag><![CDATA[and I am responsible for]]></panel2tag>
   <default_industry>1</default_industry>
   <
...[SNIP]...

Report generated by XSS.CX at Mon Oct 03 13:31:45 CDT 2011.