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.
A Cookie was not marked as secure and transmitted over HTTPS. This means the cookie could potentially be stolen by an attacker who can successfully intercept and decrypt the traffic or following a successful MITM (Man in the middle) attack.
Impact
This cookie will be transmitted over a HTTP connection, therefore if this cookie is important (such as a session cookie) an attacker might intercept it and hijack a victim's session. If the attacker can carry out a MITM attack, he/she can force victim to make a HTTP request to steal the cookie.
Actions to Take
See the remedy for solution.
Mark all cookies used within the application as secure. (If the cookie is not related to authentication or does not carry any personal information you do not have to mark it as secure.))
Remedy
Mark all cookies used within the application as secure.
Required Skills for Successful Exploitation
To exploit this issue, the attacker needs to be able to intercept traffic. This generally requires local access to the web server or victim's network. Attackers need to be understand layer 2, have physical access to systems either as way points for the traffic, or locally (have gained access to) to a system between the victim and the web server.
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.
Netsparker believes that there is a XSS (Cross-site Scripting) in here it could not confirm it. We strongly recommend investigating the issue manually to ensure that it is an XSS (Cross-site Scripting) and needs to be addressed.
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 / encoded. Output should be filtered / encoded according to the output format and location.
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.
This page responses with HTTP redirect status therefore detected XSS vulnerability might not be exploitable in many conditions however it still indicates lack of correct filtering and should be addressed.
Request
GET /add_site.php/%22%20stYle=%22x:expre/**/ssion(netsparker(9)) HTTP/1.1 Referer: https://account.snap.com/ User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) Cache-Control: no-cache Host: account.snap.com Cookie: PHPSESSID=5785bfecc05e8df1ec358b638a7b4947 Accept-Encoding: gzip, deflate Connection: Keep-Alive
<div id="column2"> <div id="terms"> <h2>Terms & Conditions</h2> <textarea name="terms" readonly="readonly" value="">Snap Shots Terms of Use PolicyPLEASE READ VERY CAREFULLY THESE TERMS OF USE FOR THE SNAP SHOTS PROGRAM, INCLUDING THE SNAP SHARES FEATURES, BEFORE REGISTERING. PARTICIPATION IN THIS PROGRAM INDICATES THAT YOU ACCEPT THESE TERMS AND CONDITIONS. IF YOU DO NOT ACCEPT THESE TERMS AND CONDITIONS, PLEASE DO NOT REGISTER TO PARTICIPATE IN THE SNAP SHARES ONLINE PROGRAM. 1. Program Participation. In order to participate in the Snap Shots Program, including Snap Shares (the "Program"), participants ("You" and "Your") will need to complete a set up procedure with Snap Technologies, Inc. ("Snap"), and in order to use the Snap Shares features, you will also have to provide your account information for an active account with third party advertising service provider such as Commission Junction or Amazon.com Associates. Snap reserves the right to refuse participation to any applicant or participant at any time in its sole discretion. By enrolling in the Program, You agree to comply with the then applicable policies ("Policies"), found at http://www.snap.com/snapshots_faq.php, and agree that Snap may serve advertisements, links and search result information (collectively the "Ads") in combination with the Snap Shot technology available on your Web Site (the "Site" or "Site(s)"). You agree to comply with the specifications provided by Snap from time to time to enable proper display, tracking, and delivery of the Program.2. Program Rules and Restrictions. The Program is designed to allow You to make some choices about how the Program will appear on Your Web Site. The Program will also allow you to select some of the ads to serve on Snap Shots from the list of available choices, if you choose to Participate in Snap Shares. Snap retains the right, in its sole discretion, to set the rules for all ad runs (and of course, we will attempt to choose to show ads relevant to your Site's content) and the right to restrict or limit the types of ads available for different types of Sites. In addition, the Snap Share Program may not work all the time or with all Snap Shot features.3. Program Changes and Updates. Snap reserve the right, in our sole discretion, to change all or part of these Terms and Conditions and/or the Policies and to change or discontinue the Program at any time, with or without notice. Your continued participation in the Program will constitute your acceptance of the then-current terms and conditions and Policies. You are responsible to check for updates. Changes and updates to these Terms will be effective immediately after they are posted at: https://account.snap.com/print_terms.php.4. Your Representations, Warranties and Responsibilities. As of the date that you enter into the Program and for as long as you participate, you represent warrant and covenant that: A. You are the registered owner of the Site(s), including the domain names and all content contained therein or that You are legally authorized to act on behalf of the owner of such Site(s) for the purposes of this Agreement and the Program; B. Your participation in the is subject to compliance Snap's Policies including suitable content and that violation of a Policy will constitute a material breach of these Terms & Conditions; C. You will abide by all applicable laws, rules and regulations and you will not display or use any content that would infringe the rights of any third party including copyright or trademark laws; D. You are solely responsible for the operation of Your Site(s), including all content and materials, maintenance and operation thereof. Snap is not responsible for anything related to Your Site(s). 5. Prohibited Uses. In order to ensure a successful Program for all participants, You shall not: A. Use the Program for any automated, deceptive, fraudulent or other invalid mean; to damage, disable, overburden, or impair Snap's or any other party's search services, servers, or other equipment or services; or to act in any way that violates any Program Policies posted on the Snap Web Site, as may be revised from time to time, or any other agreement between You and Snap (including without limitation the Snap Affiliate Agreement); B. Modify the Snap Shots or Ads in any way including displaying content that may obscure the appearance of the Snap Shots or result in the accidental clicking on the Ads; C. Use Snap Shots, Ads or Snap code on a site that does not belong to You; D. Use Snap Shots or Ads in conjunction with framing any webpage that is not within Your Site(s); E. Cache Snap Shots or Ads; F. Click on any Ads provided by Snap for Your Site(s) or provide and incentive or encouragement to users of the Sites(s) to click on Ads, including but not limited to language directing users to click on the Ads or informing users that they can support Your Site clicking on the Ads; G. Use, authorize or enable any automated means of generating impressions or clicks on Snap Shots or Ads or any manual means of generating fraudulent or invalid Snap Shot impressions or Ad clicks; H. Interfere with the intended behavior of the ads such as redirecting the user who has clicked on a Snap Shot or Ad; I. Modify Snap code in any way; J. Engage in any action or practice that reflects poorly on Snap or otherwise disparages or devalues Snap's reputation or goodwill.You acknowledge that any attempted participation or violation of any of the foregoing is a material breach of this Agreement and that we may pursue any and all applicable legal and equitable remedies against You, including an immediate suspension of Your account or termination of this Agreement, and the pursuit of all available civil or criminal remedies. 6. Termination; Cancellation. You may stop using this Program at any time by removing snap code and providing us with written notice to customerservice@snap.com. Snap reserves the right to terminate your participation in the Program at any time without liability to you or any third party and may require You to remove Snap JavaScript or similar code from Your Site(s) upon our request. Snap may at any time, in its sole discretion, also terminate or suspend all or part of the Program for any reason.7. No Warranty. SNAP MAKES NO WARRANTY, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION WITH RESPECT TO THE PROGRAM, OR THE ADVERTISING FEATURE THEREIN, AND EXPRESSLY DISCLAIMS THE WARRANTIES OR CONDITIONS OF NONINFRINGEMENT, MERCHANTABILITY, FITNESS FOR ANY PARTICULAR PURPOSE, OR ACCURACY OF INFORMATIONAL CONTENT. SNAP MAKES NO WARRANTY THAT THE SITE WILL MEET YOUR REQUIREMENTS, OR THAT SERVICES WILL BE UNINTERRUPTED, TIMELY, SECURE OR ERROR FREE, NOR DOES SNAP MAKE ANY WARRANTY AS TO THE RESULTS THAT MAY BE OBTAINED FROM THE USE OF THE PROGRAM OR THAT ALL DEFECTS WILL BE CORRECTED. 8. LIMITATIONS OF LIABILITY. IN NO EVENT WHATSOEVER SHALL SNAP, ITS PARENT COMPANY, SHAREHOLDERS, AFFILIATES, SUPPLIERS OR THEIR RESPECTIVE EMPLOYEES, SHAREHOLDERS, AGENTS, OR REPRESENTATIVES BE LIABLE FOR ANY INDIRECT, CONSEQUENTIAL, INCIDENTAL, SPECIAL, PUNITIVE OR EXEMPLARY DAMAGES, OR FOR ANY LOSS OF PROFITS OR REVENUE, INCLUDING BUT NOT LIMITED TO LOSS OF SALES, PROFIT, REVENUE, GOODWILL, OR DOWNTIME, (HOWEVER ARISING IN TORT, CONTRACT, OR OTHERWISE) REGARDLESS OF SUCH PARTY'S NEGLIGENCE OR WHETHER SUCH PARTY KNEW OR SHOULD HAVE KNOWN OF THE POSSIBILITY OF SUCH DAMAGES. YOU UNDERSTAND AND AGREE THAT THE USE OF THIS SITE IS AT YOUR DISCRETION AND RISK AND THAT YOU WILL BE SOLELY RESPONSIBLE FOR ANY LOSS OR DAMAGE TO YOUR COMPUTER SYSTEM OR LOSS OF DATA THAT MAY RESULT FROM YOUR USE OF THE SITE. SNAP NEITHER ASSUMES, NOR AUTHORIZES ANY OTHER PARTY TO ASSUME ON ITS BEHALF, ANY OTHER LIABILITY IN CONNECTION WITH THE PROVISION OF THE SITE. THE LIMITATIONS OF LIABILITY PROVIDED IN THIS AGREEMENT INURE TO THE BENEFIT OF SNAP, ITS PARENT COMPANY, SHAREHOLDERS, AFFILIATES AND TO ALL OF ITS RESPECTIVE OFFICERS, DIRECTORS, EMPLOYEES, ATTORNEYS AND AGENTS. IN NO EVENT SHALL SNAP'S TOTAL CUMULATIVE LIABILITY UNDER THIS AGREEMENT EXCEED US$50. SOME STATES OR OTHER JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO PORTIONS OF THE FOREGOING MAY NOT APPLY TO YOU, BUT THEN LIABILITY SHOULD BE LIMITED TO THE FULL EXTENT OF THE LAW. 9. Force Majeure. Neither party shall have any liability for any failure or delay resulting from any condition beyond the reasonable control of such party, including but not limited to governmental action or acts of terrorism, earthquake or other acts of God, labor conditions, and power failures. 10. Indemnification. You agree to indemnify and hold Snap and its affiliates and each of their employees, contractors, agents, officers, and directors harmless, including reasonable attorneys' fees, from any claim or demand made by any third party in connection with or arising out of your use of the Program, your violation of any term, condition, representation, or warranty contained in this Terms of Use, your violation of applicable laws, or your violation of the rights of any other person or entity.11. Intellectual Property Rights. You acknowledge that Snap owns all right, title and interest, including without limitation all Intellectual Property Rights (as defined below), in and to the Program (excluding items licensed by Snap from third parties), and that You will not acquire any right, title, or interest in or to the Program. You will not modify, adapt, translate, prepare derivative works from, decompile, reverse engineer, disassemble or otherwise attempt to derive source code from any Snap services, software, or documentation, or create or attempt to create a substitute or similar service or product through use of or access to the Program or proprietary information related thereto. You will not remove, obscure, or alter Snap's copyright notice, Brand Features, or other proprietary rights notices affixed to or contained within any Snap services, software, or documentation (including without limitation the display of Snap's Brand Features with Ads, Links, Search Boxes, Search Results, and/or Search Buttons, as applicable). "Intellectual Property Rights" means any and all rights existing from time to time under patent law, copyright law, moral rights law, trade secret law, trademark law, unfair competition law, publicity rights law, privacy rights law, and any and all other proprietary rights, as well as, any and all applications, renewals, extensions, restorations and re-instatements thereof, now or hereafter in force and effect worldwide. 12. Use of Information. During your participation in the Program, Snap's technology will collect, store and send information back to Snap or third party servers, including referring URL's, crawled content of your Sites(s), user IP addresses, impressions, click throughs and search queries. Snap will use that information to operate the Program and may share that data with third parties. In addition, Snap may retain and use the information you provide from registering for the Program, subject to the terms of the Snap Privacy Policy (located at http://www.snap.com/about/privacy.php or such other URL as Snap may provide from time to time), including but not limited to Site demographics and contact and billing information. You agree that Snap may transfer and disclose to third parties personally identifiable information about You for the purpose of approving and enabling Your participation in the Program. Snap may also provide information in response to valid legal process, such as subpoenas, search warrants and court orders, or to establish or exercise its legal rights or defend against legal claims. Snap disclaims all responsibility, and will not be liable to You, however, for any disclosure of that information by any such third party. Snap may share non-personally-identifiable information about You, including Site URLs, Site-specific statistics and similar information collected by Snap, with advertisers, business partners, sponsors, and other third parties. In addition, if you sign up for Snap Shares Program, you will provide account information for your advertising service provider. Snap will use you account code to keep track of visitor traffic (click throughs) so You can get credit.13. Confidentiality. You will not disclose or use Snap's Confidential Information. "Confidential Information" means without limitation: (a) all Snap software, technology, programming, specifications, materials, guidelines and documentation relating to the Program; (b) operational metrics of your participation in the Program; and (c) any other information designated by Snap as "Confidential". Confidential Information does not include information that has become publicly known through no breach by You or Snap, or information that has been (i) independently developed without access to Snap Confidential Information, as evidenced in writing; (ii) rightfully received by You from a third party; or (iii) required to be disclosed by law or by a governmental authority. You acknowledge that Snap is under no obligation to mark any materials "Confidential" in order for you to treat such information as Confidential. 14. Miscellaneous. This Agreement shall be governed by the laws of California, except for its conflicts of laws principles. Any dispute or claim arising out of or in connection with this Agreement shall be adjudicated in Los Angeles, California. Following Termination, the following sections shall survive: 4, 10, 11, 12 and 13. This Agreement constitutes the entire agreement between the parties with respect to the subject matter hereof. If any provision herein is held unenforceable, then such provision will be modified to reflect the parties' intention, and the remaining provisions of this Agreement will remain in full force and effect. Continued use of or visits to the Site constitutes acceptance of any modified terms and conditions. You may not assign your rights or delegate your responsibilities hereunder without the express written permission of Snap. Snap may, at any time, assign its rights or delegate its obligations hereunder without notice to you. No person not a party to this Agreement is intended to be a beneficiary of this Agreement, and no person not a party to this Agreement shall have any right to enforce any term of this Agreement.</textarea> <div> <input name="accept_terms" value="1" type="checkbox"> <b>I agree to Terms & Conditions above.</b><span class="red">*</span> </div> <div> <a href="javascript:window.open('/print_terms.php', 'print_terms', 'width=500,height=600,scrollbars=yes,resizeable,menubar=1'); void(0);">Print Terms & Conditions</a> </div> <div class="clear"></div> </div>
This page responses with HTTP redirect status therefore detected XSS vulnerability might not be exploitable in many conditions however it still indicates lack of correct filtering and should be addressed.
<div class="clear"></div> <div id="leftSide"> <ul id="tabs"><li><span class="tab-on">Site Info</span></li><li><span class="">Customization</span></li><li><span class="">Installation</span></li><li><span class="tab-off">Snap Shares™</span></li> </ul> <div id="statusInfo"> <h3>Add Shots to a New Site</h3> <p class="alert">No user found with that email</p> </div>
<div id="rightSide"> <div id="web2links"> <a target="_blank" href="http://digg.com/tech_news/Snap_Shots" title="Digg this page"><img src="/images/icon-digg.gif" alt="Digg this Page" width="16" height="16"></a> <a target="_blank" href="http://del.icio.us/post?url=http%3A%2F%2Fwww.snap.com%2Fsnapshots.php&title=Snap%20Shots" title="Add to Delicious"><img src="/images/icon-delicious.gif" alt="Add to Delicious" width="16" height="16"></a> <a target="_blank" href="mailto:?subject=Check out Snap Shots&body=Snap Shots is a great new web tool.%0A%0ACheck it out at: http://www.snap.com/snapshots.php%0A%0A(if the above link doesn't work, copy and paste the url into your browser address bar)." title="email a friend"><img src="/images/icon-emailafriend.gif" alt="email a friend" width="16" height="16"></a> </div>
<div class="sidebar"> <h4>Testimonials</h4> Snap Shots is an efficiency tool - it saves time for the reader, and that's a good thing for the publisher. I like it so much I put it on Techcrunch.<br /><br /> <small class="r">- Michael Arrington, <a href="http://www.techcrunch.com" target="_blank">Techcrunch</a></small> <div class="clear"></div> </div> </div> <div class="clear"></div> </div> <div id="bottom-cap"></div> <div id="footer"> <div id="logo"> <a href="http://snap.com/"><img src="/images/footer-logo.gif" alt="Snap" title="Snap" /></a> </div> <div id="footlinks"> <a href="http://snap.com/about/about.php">About</a> | <a href="http://blog.snap.com/">Blog</a> | <a href="http://snap.com/about/feedbk.php">Feedback</a> | <a href="http://snap.com/about/downloads.php">Download</a> | <a href="http://snap.com/about/privacy.php">Privacy</a> | <a href="http://snap.com/about/terms.php">Terms</a> </div> </div> <script src="https://ssl.google-analytics.com/urchin.js" type="text/javascript"></script><script type="text/javascript">_udn = document.domain;_uacct = "UA-2209883-1";if (typeof currentTab == "string") { urchinTracker("/add_site.php#" + currentTab);} else { urchinTracker();}</script></div></body></html>
This page responses with HTTP redirect status therefore detected XSS vulnerability might not be exploitable in many conditions however it still indicates lack of correct filtering and should be addressed.
<div class="clear"></div> <div id="leftSide"> <ul id="tabs"><li><span class="tab-on">Site Info</span></li><li><span class="">Customization</span></li><li><span class="">Installation</span></li><li><span class="tab-off">Snap Shares™</span></li> </ul> <div id="statusInfo"> <h3>Add Shots to a New Site</h3> <p class="alert">No user found with that email</p> </div>
<div id="rightSide"> <div id="web2links"> <a target="_blank" href="http://digg.com/tech_news/Snap_Shots" title="Digg this page"><img src="/images/icon-digg.gif" alt="Digg this Page" width="16" height="16"></a> <a target="_blank" href="http://del.icio.us/post?url=http%3A%2F%2Fwww.snap.com%2Fsnapshots.php&title=Snap%20Shots" title="Add to Delicious"><img src="/images/icon-delicious.gif" alt="Add to Delicious" width="16" height="16"></a> <a target="_blank" href="mailto:?subject=Check out Snap Shots&body=Snap Shots is a great new web tool.%0A%0ACheck it out at: http://www.snap.com/snapshots.php%0A%0A(if the above link doesn't work, copy and paste the url into your browser address bar)." title="email a friend"><img src="/images/icon-emailafriend.gif" alt="email a friend" width="16" height="16"></a> </div>
<div class="sidebar"> <h4>Testimonials</h4> Snap Shots is an efficiency tool - it saves time for the reader, and that's a good thing for the publisher. I like it so much I put it on Techcrunch.<br /><br /> <small class="r">- Michael Arrington, <a href="http://www.techcrunch.com" target="_blank">Techcrunch</a></small> <div class="clear"></div> </div> </div> <div class="clear"></div> </div> <div id="bottom-cap"></div> <div id="footer"> <div id="logo"> <a href="http://snap.com/"><img src="/images/footer-logo.gif" alt="Snap" title="Snap" /></a> </div> <div id="footlinks"> <a href="http://snap.com/about/about.php">About</a> | <a href="http://blog.snap.com/">Blog</a> | <a href="http://snap.com/about/feedbk.php">Feedback</a> | <a href="http://snap.com/about/downloads.php">Download</a> | <a href="http://snap.com/about/privacy.php">Privacy</a> | <a href="http://snap.com/about/terms.php">Terms</a> </div> </div> <script src="https://ssl.google-analytics.com/urchin.js" type="text/javascript"></script><script type="text/javascript">_udn = document.domain;_uacct = "UA-2209883-1";if (typeof currentTab == "string") { urchinTracker("/add_site.php#" + currentTab);} else { urchinTracker();}</script></div></body></html>
"Auto Complete" was enabled in one or more of the form fields. These were either "password" fields or important fields such as "Credit Card".
Impact
Data entered in these fields will be cached by the browser. An attacker who can access the victim's browser could steal this information. This is especially important if the application is commonly used in shared computers such as cyber cafes or airport terminals.
Remedy
Add the attribute autocomplete="off" to the form tag or to individual "input" fields.
Actions to Take
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.
Cookie was not marked as HTTPOnly. HTTPOnly cookies can not be read by client-side scripts therefore marking a cookie as HTTPOnly can provide an additional layer of protection against Cross-site Scripting attacks..
Impact
During a Cross-site Scripting attack an attacker might easily access cookies and hijack the victim's session.
Actions to Take
See the remedy for solution
Consider marking all of the cookies used by the application as HTTPOnly (After these changes javascript code will not able to read cookies.
Remedy
Mark the cookie as HTTPOnly. This will be an extra layer of defence against XSS. However this is not a silver bullet and will not protect the system against Cross-site Scripting attacks. An attacker can use a tool such as XSS Tunnel to bypass HTTPOnly protection.
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.
<!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 /javascript/on this server.</p></body></html>
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.
<!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 /javascript/on this server.</p></body></html>
Netsparker identified that the target web server is disclosing OpenSSL version in the HTTP response. This information can help an attacker to develop further attacks and also the system can become an easier target for automated attacks.
Impact
An attacker can look for specific security vulnerabilities for the identified version. Also the attacker can use this information in conjunction with the other vulnerabilities in the application or the web server.
Remedy
Configure your web server to prevent information leakage from the SERVER header of its HTTP response.
<!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 /javascript/on this server.</p></body></html>
Netsparker identified that the target web server is disclosing one of the Apache modules version. 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 look for specific security vulnerabilities for the identified Apache module version. The attacker can also use this information in conjunction with the other vulnerabilities in the application or the web server.
Remedy
Configure your web server to prevent information leakage from the SERVER header of its HTTP response.
<!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 /javascript/on this server.</p></body></html>
<!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 /javascript/on this server.</p></body></html>
This page allows users to upload files to the web server. Upload forms are generally dangerous unless they are coded with a great deal of care. This issue is reported for information only. If there is any other vulnerability identified regarding this resource Netsparker will report it as a separate issue.
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.
Netsparker identified that the response from the page returned an HTTP Redirect Status but output more information than usual. This generally indicates that after redirect, page did not finish the response as it was supposed to.
Impact
This can lead serious issues such authentication bypass in authentication required pages, in other pages it generally indicates a programming error.
Remedy
Finish the HTTP Response after you redirect the user.
In ASP.NET use Response.Redirect("redirected-page.aspx", true); instead of Response.Redirect("redirected-page.aspx", false);
In PHP applications call exit(); after you redirect the user.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><title>Your Snap Shots Control Panel</title><link rel="stylesheet" type="text/css" href="styles/account.css" /><script type="text/javascript" src="javascript/tab.js"></script><script type='text/javascript'>function toggle_section(num) { si = document.getElementById('section_'+num+'_img'); sd = document.getElementById('section_'+num+'_div'); sm = document.getElementById('section_'+num+'_more'); if (si.src.indexOf('/images/icon-more.gif') >= 0) { sd.style.display = 'inline'; sm.style.display = 'none'; si.src = '/images/icon-less.gif'; } else { sd.style.display = 'none'; sm.style.display = 'inline'; si.src = '/images/icon-more.gif'; }}function show_tab(tab) { var code = (tab == 'code') ? true : false; document.getElementById('editorial_text').style.display = code ? 'none' : ''; document.getElementById('code_text').style.display = code ? '' : 'none'; document.getElementById('editorial_tab').src = "/images/tab-editorial" + (code ? '' : '-on') + ".gif"; document.getElementById('code_tab').src = "/images/tab-code" + (code ? '-on' : '') + ".gif";}function resend_verification_email(email) { url = "/resend_verification_email.php?email="+escape(email); if (window.XMLHttpRequest) { xmlhttp=new XMLHttpRequest(); xmlhttp.open("GET",url,false); xmlhttp.send(null); } else if (window.ActiveXObject) { xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); if (xmlhttp){ xmlhttp.open("GET",url,false); xmlhttp.send(); } } else { var t_img = new Image(); t_img.src = url; } e = document.getElementById("resend_email"); e.innerHTML="A new verification email has been sent to . Please verify receipt by clicking the confirmation link in that email."; e.className="alert"; return false;}</script></head><body><div id="shell"> <div id="topbar"> <div id="logo"> <a href="/"><img src="/images/topbar-logo.gif" alt="Snap Shots" title="Snap Shots" /></a> </div> <div id="toplinks"> Not logged in | <a href="/login.php">Log In</a> | <a href="http://snap.com/snapshots_faq.php">Help</a> </div> </div> <div id="top-cap"></div><div id="wrapper"><!-- begin left side --> <div id="leftSide"> <h1>Your Snap Control Panel</h1> <div id="statusInfo"> <h3>Welcome, </h3> </div> <div class="message"> <h4>Get the Most Out of Snap Shots</h4> <p> Before you can access Snap Shares™, you need to verify receipt of an email that has been sent to <b></b> by clicking the confirmation link in that email. </p> <p id="resend_email" class="info"> If you have not received that email you can request the email to be re-sent by clicking the following link: <a href="" onclick="return resend_verification_email('');">Re-send Verification Email</a> </p> <small>IMPORTANT: Please make sure to check your junk mail filter and update your settings to allow emails from the domain snap.com</small> </div> <div id="colCombine"> <h2>Manage Your Snap Shots Sites</h2> <div class="add-sites"> <img src="images/icon-add.gif" alt="+" border="0" width="9" height="9" /> <a href="/add_site.php">Add Snap Shots to another site</a> </div> <p><br /></p> <h2>Best Practices</h2> <p>The following are some simple steps that, in the experience of tens of thousands of site owners, have proved to work best when implementing Snap Shots on a web site or a blog.</p> <div> <img id="section_1_img" class="js-expand" src="/images/icon-more.gif" width="12" height="12" onclick="toggle_section(1);"> <b class="js-expand" onclick="toggle_section(1);">Explain the New Functionality</b><br /> <p class="inset"> When you install Snap Shots on your site, you should tell your readers about the new functionality. The announcement should include instruction for how your visitors can disable the functionality if they don't want it. <span id="section_1_more" style="display: inline"><a href="#" onclick="toggle_section(1);return false;">See Example</a></span> </p> <div id="section_1_div" style="display: none;"> <div class="example_text"> <div class="tabs"><img id="editorial_tab" src="/images/tab-editorial-on.gif" alt="Blog Text" onclick="show_tab('editorial');" /><img id="code_tab" src="/images/tab-code.gif" alt="Sample Code" onclick="show_tab('code');" /></div> <div class="example_body"> <div id="editorial_text" style="display:inherit;"> <h4>Introducing Snap Shots from Snap.com</h4> <p>I just installed a nice little tool on this site called Snap Shots that enhances links with visual previews of the <a href="http://www.snap.com" class="snap_noshots">destination site</a>, interactive excerpts of <a href="http://en.wikipedia.org/wiki/Picasso" class="snap_noshots">Wikipedia articles</a>, <a href="http://www.myspace.com/askaninja" class="snap_noshots">MySpace profiles</a>, <a href="http://imdb.com/name/nm0424060" class="snap_noshots">IMDb profiles</a> and <a href="http://www.amazon.com/Nokia-N95-Silver-Phone-Unlocked/dp/B000PEOLAG/" class="snap_noshots">Amazon products</a>, display inline <a href="http://youtube.com/watch?v=7rEM_dN24S0" class="snap_noshots">videos</a>, <a href="http://www.slashdot.org/" class="snap_noshots">RSS</a>, <a href="http://wiredset.com/media/colin_macintyre/How-Bout-I-Love-You-More.mp3" class="snap_noshots">MP3s</a>, <a href="http://i116.photobucket.com/albums/o34/perspexspaceship/" class="snap_noshots">photos</a>, <a href="http://finance.yahoo.com/q?s=aapl" class="snap_noshots">stock charts</a> and <a href="http://shots.snap.com" class="snap_noshots">more</a>.</p> <p>Sometimes Snap Shots bring you the information you need, without your having to leave the site, while other times it lets you "look ahead," before deciding if you want to follow a link or not.</p> <p>Should you decide this is not for you, just click the Options icon in the upper right corner of the Snap Shot and opt-out.</p> </div> <div id="code_text" style="display:none;"> <textarea style="width: 380px !important; height: 200px !important; font-size: 10px;"> <h4>Introducing Snap Shots from Snap.com</h4> I just installed a nice little tool on this site called Snap Shots that enhances links with visual previews of the <a href="http://www.snap.com" class="snap_shots">destination site</a>, interactive excerpts of <a href="http://en.wikipedia.org/wiki/Picasso" class="snap_shots">Wikipedia articles</a>, <a href="http://www.myspace.com/askaninja" class="Snap_Shot_Profile">MySpace profiles</a>, <a href="http://imdb.com/name/nm0424060" class="snap_shots">IMDb profiles</a> and <a href="http://www.amazon.com/Nokia-N95-Silver-Phone-Unlocked/dp/B000PEOLAG/" class="snap_shots">Amazon products</a>, display inline <a href="http://youtube.com/watch?v=7rEM_dN24S0" class="snap_shots">videos</a>, <a href="http://www.slashdot.org/" class="Snap_Shot_RSS">RSS</a>, <a href="http://wiredset.com/media/colin_macintyre/How-Bout-I-Love-You-More.mp3" class="snap_shots">MP3s</a>, <a href="http://i116.photobucket.com/albums/o34/perspexspaceship/" class="snap_shots">photos</a>, <a href="http://finance.yahoo.com/q?s=aapl" class="snap_shots">stock charts</a> and <a href="http://shots.snap.com" class="snap_shots">more</a>.<p>Sometimes Snap Shots bring you the information you need, without your having to leave the site, while other times it lets you "look ahead," before deciding if you want to follow a link or not.</p> <p>Should you decide this is not for you, just click the Options icon in the upper right corner of the Snap Shot and opt-out.</p> </textarea> </div> <hr /> <small>Please feel free to copy the text above, or write something along the same lines yourself.</small> </div> </div> </div> </div> <p></p> <div> <img id="section_2_img" class="js-expand" src="/images/icon-more.gif" width="12" height="12" onclick="toggle_section(2);"> <b class="js-expand" onclick="toggle_section(2);">Add a Snap Shots Badge</b><br /> <p class="inset"> By adding a Snap Shots Badge to your site, you let anyone visiting know that there is nothing ordinary about your site. <br /><a href="#" id="section_2_more" onclick="toggle_section(2);return false;">Show Snap Shots Badges</a> </p> <div id="section_2_div" style="display: none;"> <table id="badges"> <tr> <td class="col1"><img src="/images/shotsbadge1-120x30.gif" width="120" height="30" alt="Enhanced with Snapshots" title="Enhanced with Snapshots" /><br />(GIF 120x30)</td> <td><textarea rows="4" name="badge-code"><a class="snap_shots" href="http://www.snap.com/snapshots.php?source=www.snap.com&campaign=shot_badge!!shotsbadge1-120x30.gif"><img src="http://i.snap.com/images/shotsbadge1-120x30.gif" width="120" height="30" alt="Enhanced with Snapshots" title="Enhanced with Snapshots" /></a></textarea></td> </tr> <tr> <td class="col1"><img src="/images/shotsbadge2-120x30.gif" width="120" height="30" alt="Enhanced with Snapshots" title="Enhanced with Snapshots" /><br />(GIF 120x30)</td> <td><textarea rows="4" name="badge-code"><a class="snap_shots" href="http://www.snap.com/snapshots.php?source=www.snap.com&campaign=shot_badge!!shotsbadge2-120x30.gif"><img src="http://i.snap.com/images/shotsbadge2-120x30.gif" width="120" height="30" alt="Enhanced with Snapshots" title="Enhanced with Snapshots" /></a></textarea></td> </tr> <tr> <td class="col1"><img src="/images/shotsbadge3-120x30.gif" alt="Enhanced with Snapshots" width="120" height="30"><br />(GIF 120x30)</td> <td><textarea rows="4" name="badge-code"><a class="snap_shots" href="http://www.snap.com/snapshots.php?source=www.snap.com&campaign=shot_badge!!shotsbadge3-120x30.gif"><img src="http://i.snap.com/images/shotsbadge3-120x30.gif" width="120" height="30" alt="Enhanced with Snapshots" title="Enhanced with Snapshots" /></a></textarea></td> </tr> <tr> <td class="col1"><img src="/images/shotsbadge4-120x30.gif" alt="Enhanced with Snapshots" width="120" height="30"><br />(GIF 120x30)</td> <td><textarea rows="4" name="badge-code"><a class="snap_shots" href="http://www.snap.com/snapshots.php?source=www.snap.com&campaign=shot_badge!!shotsbadge4-120x30.gif"><img src="http://i.snap.com/images/shotsbadge4-120x30.gif" width="120" height="30" alt="Enhanced with Snapshots" title="Enhanced with Snapshots" /></a></textarea></td> </tr> <tr> <td class="col1"><img src="/images/shotsbadge1-160x40.gif" alt="Enhanced with Snapshots" width="160" height="40"><br />(GIF 160x40)</td> <td><textarea rows="4" name="badge-code"><a class="snap_shots" href="http://www.snap.com/snapshots.php?source=www.snap.com&campaign=shot_badge!!shotsbadge1-160x40.gif"><img src="http://i.snap.com/images/shotsbadge1-160x40.gif" width="160" height="40" alt="Enhanced with Snapshots" title="Enhanced with Snapshots" /></a></textarea></td> </tr> <tr> <td class="col1"><img src="/images/shotsbadge2-160x40.gif" alt="Enhanced with Snapshots" width="160" height="40"><br />(GIF 160x40)</td> <td><textarea rows="4" name="badge-code"><a class="snap_shots" href="http://www.snap.com/snapshots.php?source=www.snap.com&campaign=shot_badge!!shotsbadge2-160x40.gif"><img src="http://i.snap.com/images/shotsbadge2-160x40.gif" width="160" height="40" alt="Enhanced with Snapshots" title="Enhanced with Snapshots" /></a></textarea></td> </tr> <tr> <td class="col1"><img src="/images/shotsbadge3-160x40.gif" alt="Enhanced with Snapshots" width="160" height="40"><br />(GIF 160x40)</td> <td><textarea rows="4" name="badge-code"><a class="snap_shots" href="http://www.snap.com/snapshots.php?source=www.snap.com&campaign=shot_badge!!shotsbadge3-160x40.gif"><img src="http://i.snap.com/images/shotsbadge3-160x40.gif" width="160" height="40" alt="Enhanced with Snapshots" title="Enhanced with Snapshots" /></a></textarea></td> </tr> <tr> <td class="col1"><img src="/images/shotsbadge4-160x40.gif" alt="Enhanced with Snapshots [button]" width="160" height="40"><br />(GIF 160x40)</td> <td><textarea rows="4" name="badge-code"><a class="snap_shots" href="http://www.snap.com/snapshots.php?source=www.snap.com&campaign=shot_badge!!shotsbadge4-160x40.gif"><img src="http://i.snap.com/images/shotsbadge4-160x40.gif" width="160" height="40" alt="Enhanced with Snapshots" title="Enhanced with Snapshots" /></a></textarea></td> </tr> </table> </div> </div> </div><!-- end leftSide --> </div><div id="rightSide"><div class="sidebar"><h4>Recent Blog Posts</h4></div></div><div style="clear: both;"></div></div><div id="bottom-cap"></div><div id="footer"> <div id="logo"> <a href="http://snap.com/"><img src="/images/footer-logo.gif" alt="Snap" title="Snap" /></a> </div> <div id="footlinks"> <a href="http://snap.com/about/about.php">About</a> | <a href="http://blog.snap.com/">Blog</a> | <a href="http://snap.com/about/feedbk.php">Feedback</a> | <a href="http://snap.com/about/downloads.php">Download</a> | <a href="http://snap.com/about/privacy.php">Privacy</a> | <a href="http://snap.com/about/terms.php">Terms</a> </div> </div> <script src="https://ssl.google-analytics.com/urchin.js" type="text/javascript"></script><script type="text/javascript">_udn = document.domain;_uacct = "UA-2209883-1";if (typeof currentTab == "string") { urchinTracker("/index.php#" + currentTab);} else { urchinTracker();}</script></div><script type="text/javascript" src="/javascript/jquery.js"></script><img id="feedback_button" src="images/feedback.gif" alt="feedback" text="feedback" /><div class="lightbox"> <div class="lightbox-bg"> </div> <div class="lightbox-fg"> <form id="feedback" name="feedback"> <h3>Snap LinkAds Feedback</h3> Please type your question, suggestion or comment into the box below and click "Submit".<br/> <span id="feedback_error">Please enter your feedback and try again.<br/></span> <textarea name="feedback_text"></textarea> <input type="submit" name="submit" value="Submit" /> <input type="button" name="cancel" value="Cancel" /> </form> </div></div><script type="text/javascript">function show_feedback() { $('textarea[name=feedback_text]').html(''); $('.lightbox').css('display', 'block'); $("#feedback_error").css('display', 'none');}function hide_feedback() { $('.lightbox').css('display', 'none');}function submit_feedback(ev) { var feedbac..