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.
<font face="Arial" size=2><p>Microsoft OLE DB Provider for ODBC Drivers</font> <font face="Arial" size=2>error '80040e21'</font><p><font face="Arial" size=2>ODBC driver does not support the requested properties.</font><p><font face="Arial" size=2>/includes/_funzioni.asp</font><font face="Arial" size=2>, line 13</font>
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.
<ul> <li class="second"><a href="page.asp?id=1534&idd=213">OEM & Partners</a></li> <li class="second"><a href="page.asp?id=1534&idd=185">Cogito SIMS, the first advanced linguistic SDK</a></li>
<table id="container_pages" cellpadding="0" cellspacing="0"> <tr> <font face="Arial" size=2><p>Microsoft OLE DB Provider for ODBC Drivers</font> <font face="Arial" size=2>error '80040e21'</font><p><font face="Arial" size=2>ODBC driver does not support the requested properties.</font><p><font face="Arial" size=2>/page.asp</font><font face="Arial" size=2>, line 26</font>
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.
<font face="Arial" size=2><p>Microsoft OLE DB Provider for ODBC Drivers</font> <font face="Arial" size=2>error '80040e21'</font><p><font face="Arial" size=2>ODBC driver does not support the requested properties.</font><p><font face="Arial" size=2>/includes/_funzioni.asp</font><font face="Arial" size=2>, line 13</font>
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.
<ul> <li class="second"><a href="page.asp?id=1534&idd=213">OEM & Partners</a></li> <li class="second"><a href="page.asp?id=1534&idd=185">Cogito SIMS, the first advanced linguistic SDK</a></li>
<script type="text/javascript"> SLIDES = new slideshow("SLIDES"); if (document.getElementById("caricaimg").value!='') { var a = document.getElementById("caricaimg").value.split('�')
//alert(a.length) if (a.length>1 ) { for (var i = 0; i < a.length; i++) { if (a[i]) { s = new slide(a[i]); SLIDES.add_slide(s); } }
if (document.images) { SLIDES.set_image(document.images.SLIDESIMG);
var fadein_opacity = 1; var fadein_img = SLIDES.image; function fadein(opacity) { if (typeof opacity != 'undefined') { fadein_opacity = opacity; } if (fadein_opacity < 0.99 && fadein_img && fadein_img.style && typeof fadein_img.style.MozOpacity != 'undefined') { fadein_opacity += .01; fadein_img.style.MozOpacity = fadein_opacity; setTimeout("fadein()", 5); } } // Tell the slideshow to call our function whenever the slide is changed SLIDES.post_update_hook = function() { fadein(1); }
<h3>Mobile</h3> <p><span style="font-size: x-small"><strong><em>Answers always at hand, wherever you are<br /><br /><br /></em></strong><img src="http://expertsystem.net/documenti/immagini/sport/montagna.jpg" alt="" width="523" height="269" /></span></p><p>Trends in mobile smartphone adoption featuring high speed mobile networks and wireless data extensibility for both corporate and consumer users have been steadily increasing.<br /><br />Expert System's mobile solutions offer enterprises the freedom to extend corporate information with a very quick ROI for those looking to add to their BlackBerry or Smartphone deployment above and beyond Email�and Personal Information Management (PIM). </p><p>�</p><p><span style="font-family: Verdana">Expert System's mobile solutions�</span>are based on Cogito,�which leverages semantics that power and greatly enhance high value applications through natural information access and user interface.� Cogito's mobile solutions enable time sensitive� information access from unstructured and legacy data stores � documents, knowledge bases, Intranets and CRM applications like mobile self help and Intranet search. Cogito's natural language search operates as simply as sending/receiving an email message from a colleague res..
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.
<font face="Arial" size=2><p>Microsoft OLE DB Provider for ODBC Drivers</font> <font face="Arial" size=2>error '80040e21'</font><p><font face="Arial" size=2>ODBC driver does not support the requested properties.</font><p><font face="Arial" size=2>/includes/_funzioni.asp</font><font face="Arial" size=2>, line 13</font>
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.
<ul> <li class="second"><a href="page.asp?id=1534&idd=213">OEM & Partners</a></li> <li class="second"><a href="page.asp?id=1534&idd=185">Cogito SIMS, the first advanced linguistic SDK</a></li>
<script type="text/javascript"> SLIDES = new slideshow("SLIDES"); if (document.getElementById("caricaimg").value!='') { var a = document.getElementById("caricaimg").value.split('�')
//alert(a.length) if (a.length>1 ) { for (var i = 0; i < a.length; i++) { if (a[i]) { s = new slide(a[i]); SLIDES.add_slide(s); } }
if (document.images) { SLIDES.set_image(document.images.SLIDESIMG);
var fadein_opacity = 1; var fadein_img = SLIDES.image; function fadein(opacity) { if (typeof opacity != 'undefined') { fadein_opacity = opacity; } if (fadein_opacity < 0.99 && fadein_img && fadein_img.style && typeof fadein_img.style.MozOpacity != 'undefined') { fadein_opacity += .01; fadein_img.style.MozOpacity = fadein_opacity; setTimeout("fadein()", 5); } } // Tell the slideshow to call our function whenever the slide is changed SLIDES.post_update_hook = function() { fadein(1); }
<h3>Mobile</h3> <p><span style="font-size: x-small"><strong><em>Answers always at hand, wherever you are<br /><br /><br /></em></strong><img src="http://expertsystem.net/documenti/immagini/sport/montagna.jpg" alt="" width="523" height="269" /></span></p><p>Trends in mobile smartphone adoption featuring high speed mobile networks and wireless data extensibility for both corporate and consumer users have been steadily increasing.<br /><br />Expert System's mobile solutions offer enterprises the freedom to extend corporate information with a very quick ROI for those looking to add to their BlackBerry or Smartphone deployment above and beyond Email�and Personal Information Management (PIM). </p><p>�</p><p><span style="font-family: Verdana">Expert System's mobile solutions�</span>are based on Cogito,�which leverages semantics that power and greatly enhance high value applications through natural information access and user interface.� Cogito's mobile solutions enable time sensitive� information access from unstructured and legacy data stores � documents, knowledge bases, Intranets and CRM applications like mobile self help and Intranet search. Cogito's natural language search operates as simply as sending/receiving an email message from a colleague res..
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.
<ul> <li class="second"><a href="page.asp?id=1534&idd=213">OEM & Partners</a></li> <li class="second"><a href="page.asp?id=1534&idd=185">Cogito SIMS, the first advanced linguistic SDK</a></li>
<script type="text/javascript"> SLIDES = new slideshow("SLIDES"); if (document.getElementById("caricaimg").value!='') { var a = document.getElementById("caricaimg").value.split('�')
//alert(a.length) if (a.length>1 ) { for (var i = 0; i < a.length; i++) { if (a[i]) { s = new slide(a[i]); SLIDES.add_slide(s); } }
if (document.images) { SLIDES.set_image(document.images.SLIDESIMG);
var fadein_opacity = 1; var fadein_img = SLIDES.image; function fadein(opacity) { if (typeof opacity != 'undefined') { fadein_opacity = opacity; } if (fadein_opacity < 0.99 && fadein_img && fadein_img.style && typeof fadein_img.style.MozOpacity != 'undefined') { fadein_opacity += .01; fadein_img.style.MozOpacity = fadein_opacity; setTimeout("fadein()", 5); } } // Tell the slideshow to call our function whenever the slide is changed SLIDES.post_update_hook = function() { fadein(1); }
<h3>Mobile</h3> <p><span style="font-size: x-small"><strong><em>Answers always at hand, wherever you are<br /><br /><br /></em></strong><img src="http://expertsystem.net/documenti/immagini/sport/montagna.jpg" alt="" width="523" height="269" /></span></p><p>Trends in mobile smartphone adoption featuring high speed mobile networks and wireless data extensibility for both corporate and consumer users have been steadily increasing.<br /><br />Expert System's mobile solutions offer enterprises the freedom to extend corporate information with a very quick ROI for those looking to add to their BlackBerry or Smartphone deployment above and beyond Email�and Personal Information Management (PIM). </p><p>�</p><p><span style="font-family: Verdana">Expert System's mobile solutions�</span>are based on Cogito,�which leverages semantics that power and greatly enhance high value applications through natural information access and user interface.� Cogito's mobile solutions enable time sensitive� information access from unstructured and legacy data stores � documents, knowledge bases, Intranets and CRM applications like mobile self help and Intranet search. Cogito's natural language search operates as simply as sending/receiving an email message from a colleague res..