<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:thr="http://purl.org/syndication/thread/1.0">
    <title>IBM Rational Application Security Insider</title>
    
    <link rel="hub" href="http://hubbub.api.typepad.com/" />
    <link rel="alternate" type="text/html" href="http://blog.watchfire.com/wfblog/" />
    <id>tag:typepad.com,2003:weblog-1300270</id>
    <updated>2009-11-17T23:44:27+02:00</updated>
    
    <generator uri="http://www.typepad.com/">TypePad</generator>
    <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/WatchfireApplicationSecurityInsider" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="watchfireapplicationsecurityinsider" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry>
        <title>Why Your Static Analysis Scanner Should Use String Analysis</title>
        <link rel="alternate" type="text/html" href="http://blog.watchfire.com/wfblog/2009/11/why-your-static-analysis-scanner-should-use-string-analysis.html" />
        <link rel="replies" type="text/html" href="http://blog.watchfire.com/wfblog/2009/11/why-your-static-analysis-scanner-should-use-string-analysis.html" thr:count="0" />
        <id>tag:typepad.com,2003:post-6a00d835130c5153ef012875ae465f970c</id>
        <published>2009-11-17T23:44:27+02:00</published>
        <updated>2009-11-17T23:44:27+02:00</updated>
        <summary>I just read an awesome blog post at “Schmoilitos Way”, that describes a scenario, in which, someone ran a static analysis tool, found a vulnerability, patched it using a faulty input validation routine, and then re-ran the scan, this time...</summary>
        <author>
            <name>Ory Segal</name>
        </author>
        
        
<content type="html" xml:lang="en-US" xml:base="http://blog.watchfire.com/wfblog/">&lt;p&gt;I just read an &lt;a href="http://schmoil.blogspot.com/2009/10/null-byte-injection.html" target="_blank"&gt;awesome blog post at “Schmoilitos Way”&lt;/a&gt;, that describes a scenario, in which, someone ran a static analysis tool, found a vulnerability, patched it using a faulty input validation routine, and then re-ran the scan, this time telling the scanner that the validation routine clears taint input – Big Mistake!&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;This application had been pen-tested before. It had also been scanned using a popular commercial static analysis tool, and had gotten a clean bill of health. So, let's just say that management was a little, um, curious about why this bug was still alive and well. And by curious, I actually mean furious.&lt;/p&gt;    &lt;p&gt;     &lt;br&gt;So what went wrong? After the first pen-test, the blatant directory traversal bug was "fixed" with a new validation routine that scrutinized the end of the file name. &lt;strong&gt;This new routine was declared a validation routine in the static analysis tool, and any subsequent data flows that passed through it were considered safe.&lt;/strong&gt; Game over. Hooray for tools!&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Last year, when IBM came out with the first edition of AppScan developer edition, it contained a new and promising technology called “&lt;a href="http://domino.watson.ibm.com/comm/research_projects.nsf/pages/labasec.stringanalysis.html" target="_blank"&gt;String Analysis&lt;/a&gt;”. There was some buzz around it, but most people didn’t quite understand why they need it, and what is it good for. The scenario described in the blog post above, is a text-book example for why String Analysis is important. &lt;/p&gt;  &lt;p&gt;String analysis removes the need to configure input sanitizers and validators when scanning your code. This is done by understanding the limitations on a certain string, and the possible value a string might have at a certain point in the program.&lt;/p&gt;  &lt;p&gt;This basically means, that even if a developer wrote a piece of code, that performs input validation, String analysis will be able to validate this code, and see if the vulnerability still exists.&lt;/p&gt;  &lt;p&gt;Make sure to check AppScan Source Edition’s upcoming versions, which will probably include &lt;a href="http://domino.watson.ibm.com/comm/research_projects.nsf/pages/labasec.pubsandpatents.html" target="_blank"&gt;more cutting edge technologies&lt;/a&gt; from IBM research.&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/WatchfireApplicationSecurityInsider?a=8B7otY7zBes:SN1SfzO7MNA:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/WatchfireApplicationSecurityInsider?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/WatchfireApplicationSecurityInsider?a=8B7otY7zBes:SN1SfzO7MNA:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/WatchfireApplicationSecurityInsider?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/WatchfireApplicationSecurityInsider?a=8B7otY7zBes:SN1SfzO7MNA:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/WatchfireApplicationSecurityInsider?i=8B7otY7zBes:SN1SfzO7MNA:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/WatchfireApplicationSecurityInsider/~4/8B7otY7zBes" height="1" width="1"/&gt;</content>


    </entry>
    <entry>
        <title>Technical  Logical Vulnerabilities == Design  Implementation Vulnerabilities</title>
        <link rel="alternate" type="text/html" href="http://blog.watchfire.com/wfblog/2009/11/technical-logical-vulnerabilities-design-implementation-vulnerabilities.html" />
        <link rel="replies" type="text/html" href="http://blog.watchfire.com/wfblog/2009/11/technical-logical-vulnerabilities-design-implementation-vulnerabilities.html" thr:count="3" thr:updated="2009-11-17T11:55:41+02:00" />
        <id>tag:typepad.com,2003:post-6a00d835130c5153ef0120a6957641970b</id>
        <published>2009-11-13T20:06:44+02:00</published>
        <updated>2009-11-13T20:08:36+02:00</updated>
        <summary>Hi, While at the OWASP DC conference, an interesting thought came to me, which I’d like to hear people’s opinion about. So you all probably know about technical vs. logical vulnerabilities, right? I think it was Jeremiah Grossman who came...</summary>
        <author>
            <name>Ory Segal</name>
        </author>
        
        
<content type="html" xml:lang="en-US" xml:base="http://blog.watchfire.com/wfblog/">&lt;p&gt;Hi,&lt;/p&gt;  &lt;p&gt;While at the OWASP DC conference, an interesting thought came to me, which I’d like to hear people’s opinion about. So you all probably know about technical vs. logical vulnerabilities, right? I think it was &lt;a href="http://www.whitehatsec.com/home/resources/articles/files/c91b8015260b2e3cf572a95033d4a9b8-5.html" target="_blank"&gt;Jeremiah Grossman who came up with this classification&lt;/a&gt;. Anyway, while thinking about this classification, I noticed that (almost) all technical vulnerabilities stem from insecure software implementation and (almost) all logical vulnerabilities, stem from insecure software design and/or architecture. If you think about it some more, most technical vulnerabilities, are fixed by repairing your code, and most logical vulnerabilities, are fixed by applying secure design patterns (fixing your design), or modifying your architecture to be more secure.&lt;/p&gt;  &lt;p&gt;So, IMHO:&lt;/p&gt;  &lt;p&gt;Technical vulnerabilities == Implementation vulnerabilities&lt;/p&gt;  &lt;p&gt;Logical vulnerabilities == Design &amp;amp; Architecture vulnerabilities&lt;/p&gt;  &lt;p&gt;What do you think? I’d love to hear your comments.&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/WatchfireApplicationSecurityInsider?a=wWnvacXyxBs:nQtEVl03rnE:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/WatchfireApplicationSecurityInsider?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/WatchfireApplicationSecurityInsider?a=wWnvacXyxBs:nQtEVl03rnE:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/WatchfireApplicationSecurityInsider?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/WatchfireApplicationSecurityInsider?a=wWnvacXyxBs:nQtEVl03rnE:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/WatchfireApplicationSecurityInsider?i=wWnvacXyxBs:nQtEVl03rnE:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/WatchfireApplicationSecurityInsider/~4/wWnvacXyxBs" height="1" width="1"/&gt;</content>


    </entry>
    <entry>
        <title>Web Application Security Scanner Evaluation Criteria v1.0 released!</title>
        <link rel="alternate" type="text/html" href="http://blog.watchfire.com/wfblog/2009/10/web-application-security-scanner-evaluation-criteria-v10-released.html" />
        <link rel="replies" type="text/html" href="http://blog.watchfire.com/wfblog/2009/10/web-application-security-scanner-evaluation-criteria-v10-released.html" thr:count="0" />
        <id>tag:typepad.com,2003:post-6a00d835130c5153ef0120a5d520f9970b</id>
        <published>2009-10-10T09:43:57+03:00</published>
        <updated>2009-10-10T09:43:57+03:00</updated>
        <summary>Hey there, I’m happy to announce the availability of a new WASC project I have been working on for a long time – WASSEC: The Web Application Security Scanner Evaluation Criteria (WASSEC) is a set of guidelines to evaluate web...</summary>
        <author>
            <name>Ory Segal</name>
        </author>
        
        
<content type="html" xml:lang="en-US" xml:base="http://blog.watchfire.com/wfblog/">&lt;p&gt;Hey there,&lt;/p&gt;  &lt;p&gt;I’m happy to announce the availability of a new WASC project I have been working on for a long time – &lt;a href="http://projects.webappsec.org/Web-Application-Security-Scanner-Evaluation-Criteria" target="_blank"&gt;WASSEC&lt;/a&gt;:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;a href="http://projects.webappsec.org/Web-Application-Security-Scanner-Evaluation-Criteria" target="_blank"&gt;The Web Application Security Scanner Evaluation Criteria&lt;/a&gt; (WASSEC) is a set of guidelines to evaluate web application scanners on their ability to effectively test web applications and identify vulnerabilities.  It covers areas such as crawling, parsing, session handling, testing, and reporting. &lt;/p&gt;    &lt;p&gt;The goal of the WASSEC is to create a vendor-neutral document to help guide web application security professionals during web application scanner evaluations.  This document provides a comprehensive list of features that should be considered when conducting a web application security scanner evaluation.  Different users will place varying levels of importance on each feature, and the WASSEC provides the user with the flexibility to take this comprehensive list of potential scanner features, narrow it down to a shorter list of features that are important to the user, assign weights to each feature, and conduct a formal evaluation to determine which scanning solution best meets the user's needs.&lt;/p&gt;    &lt;p&gt;The aim of this document is not to define a list of &lt;i&gt;requirements&lt;/i&gt; that all web application security scanners must provide in order to be considered a "complete" scanner, and evaluating specific products and providing the results of such an evaluation is outside the scope of the WASSEC project.  Instead, this project provides the tools and documentation to enable anyone to evaluate web application security scanners and choose the product that best fits their needs.  NIST Special Publication 500-269, "Software Assurance Tools:  Web Application Security Scanner Functional Specification Version 1.0", contains minimal requirements for mandatory and optional web application scanner features.  This document can be found at &lt;a href="https://samate.nist.gov"&gt;https://samate.nist.gov&lt;/a&gt;.&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Some of the sharpest minds in the webappsec industry contributed to this (group) effort, and I hope you will find it useful when evaluating scanning products. If you’d like to discuss this document in person, I will be at the &lt;a href="http://www.owasp.org/index.php/OWASP_AppSec_DC_2009" target="_blank"&gt;OWASP AppSec DC&lt;/a&gt; conference next month, and would gladly answer any questions you might have.&lt;/p&gt;  &lt;p&gt;-Ory &lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/WatchfireApplicationSecurityInsider?a=xHA83w2fCZo:sD78qr7pOY4:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/WatchfireApplicationSecurityInsider?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/WatchfireApplicationSecurityInsider?a=xHA83w2fCZo:sD78qr7pOY4:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/WatchfireApplicationSecurityInsider?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/WatchfireApplicationSecurityInsider?a=xHA83w2fCZo:sD78qr7pOY4:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/WatchfireApplicationSecurityInsider?i=xHA83w2fCZo:sD78qr7pOY4:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/WatchfireApplicationSecurityInsider/~4/xHA83w2fCZo" height="1" width="1"/&gt;</content>


    </entry>
    <entry>
        <title>IBM Acquires Ounce Labs, Inc.</title>
        <link rel="alternate" type="text/html" href="http://blog.watchfire.com/wfblog/2009/07/ibm-acquires-ounce-labs-inc.html" />
        <link rel="replies" type="text/html" href="http://blog.watchfire.com/wfblog/2009/07/ibm-acquires-ounce-labs-inc.html" thr:count="0" />
        <id>tag:typepad.com,2003:post-6a00d835130c5153ef01157241011a970b</id>
        <published>2009-07-28T16:47:23+03:00</published>
        <updated>2009-07-28T16:51:28+03:00</updated>
        <summary>http://finance.yahoo.com/news/IBM-Acquires-Ounce-Labs-prnews-3505446639.html?x=0&amp;.v=1 ARMONK, N.Y., July 28 /PRNewswire-FirstCall/ -- IBM (NYSE: IBM) today announced it has acquired Ounce Labs, Inc., a privately-held company based in Waltham, Massachusetts, whose software helps companies reduce the risks and costs associated with security and compliance concerns....</summary>
        <author>
            <name>Ory Segal</name>
        </author>
        <category scheme="http://www.sixapart.com/ns/types#category" term="Info Bits" />
        
        
<content type="html" xml:lang="en-US" xml:base="http://blog.watchfire.com/wfblog/">&lt;p&gt;&lt;a href="http://finance.yahoo.com/news/IBM-Acquires-Ounce-Labs-prnews-3505446639.html?x=0&amp;amp;.v=1" title="http://finance.yahoo.com/news/IBM-Acquires-Ounce-Labs-prnews-3505446639.html?x=0&amp;amp;.v=1"&gt;http://finance.yahoo.com/news/IBM-Acquires-Ounce-Labs-prnews-3505446639.html?x=0&amp;amp;.v=1&lt;/a&gt;&lt;/p&gt; &lt;blockquote&gt; &lt;p&gt;ARMONK, N.Y., July 28 /PRNewswire-FirstCall/ -- IBM (NYSE: &lt;a href="http://us.lrd.yahoo.com/_ylt=Ap4o0jYQqMU3FKT01JcFUeixcq9_/SIG=110r7ao0k/**http%3A//www.ibm.com/investor"&gt;&lt;span style="text-decoration: underline;"&gt;IBM&lt;/span&gt;&lt;/a&gt;) today announced it has acquired &lt;a href="http://us.lrd.yahoo.com/_ylt=AuRsNx0K65R7myf7LpBL0AOxcq9_/SIG=10ufs64rg/**http%3A//www.ouncelabs.com/"&gt;&lt;span style="text-decoration: underline;"&gt;Ounce Labs, Inc.&lt;/span&gt;&lt;/a&gt;, a privately-held company based in Waltham, Massachusetts, whose software helps companies reduce the risks and costs associated with security and compliance concerns. IBM will integrate Ounce Labs, a leading provider of enterprise source code security testing, into its &lt;a href="http://us.lrd.yahoo.com/_ylt=AoRG_2_p_47XHpIgxUcoj9Kxcq9_/SIG=11d7jm5r5/**http%3A//www-01.ibm.com/software/rational/"&gt;&lt;span style="text-decoration: underline;"&gt;Rational&lt;/span&gt;&lt;/a&gt; software business. Financial terms were not disclosed.&lt;/p&gt; &lt;/blockquote&gt; &lt;p&gt;Exciting news!&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/WatchfireApplicationSecurityInsider?a=tADF8A4SpeM:GcQ6ZT5LQ1Y:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/WatchfireApplicationSecurityInsider?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/WatchfireApplicationSecurityInsider?a=tADF8A4SpeM:GcQ6ZT5LQ1Y:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/WatchfireApplicationSecurityInsider?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/WatchfireApplicationSecurityInsider?a=tADF8A4SpeM:GcQ6ZT5LQ1Y:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/WatchfireApplicationSecurityInsider?i=tADF8A4SpeM:GcQ6ZT5LQ1Y:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/WatchfireApplicationSecurityInsider/~4/tADF8A4SpeM" height="1" width="1"/&gt;</content>


    </entry>
    <entry>
        <title>Windows Desktop Search  Indirect Script Injection</title>
        <link rel="alternate" type="text/html" href="http://blog.watchfire.com/wfblog/2009/06/windows-desktop-search-indirect-script-injection.html" />
        <link rel="replies" type="text/html" href="http://blog.watchfire.com/wfblog/2009/06/windows-desktop-search-indirect-script-injection.html" thr:count="0" />
        <id>tag:typepad.com,2003:post-67929509</id>
        <published>2009-06-10T13:53:35+03:00</published>
        <updated>2009-06-15T17:34:26+03:00</updated>
        <summary>Background Windows Desktop Search (WDS) is a popular desktop search tool released by Microsoft. WDS indexes a large variety of files located on the user's computer (as well as network shares, if configured to do so by the user). It...</summary>
        <author>
            <name>Yair Amit</name>
        </author>
        <category scheme="http://www.sixapart.com/ns/types#category" term="Research" />
        <category scheme="http://www.sixapart.com/ns/types#category" term="Web Application Security" />
        
        
<content type="html" xml:lang="en-US" xml:base="http://blog.watchfire.com/wfblog/">&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;p&gt;&lt;strong&gt;&lt;span style="text-decoration: underline;"&gt;Background&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;Windows Desktop Search&lt;/em&gt; (&lt;em&gt;WDS&lt;/em&gt;) is a popular desktop search tool released by Microsoft. &lt;em&gt;WDS &lt;/em&gt;indexes a large variety of files located on the user's computer (as well as network shares, if configured to do so by the user). It then offers fast searching capabilities over these files. Like some of its competitors, &lt;em&gt;WDS &lt;/em&gt;uses an embedded Internet-Explorer browser component in order to preview the search results to the user.&lt;/p&gt; &lt;p&gt;Browsers embedded within Desktop Applications have been a favorite research topic of mine for some time now, due to the special security-context issues posed by the embedded-browsers.&lt;/p&gt; &lt;p&gt;One of the interesting challenges of trying to attack Desktop Applications that use Embedded Browser components is trying to discover the injection vector – and it usually requires unusual measures to mount a successful script injection attack in such cases.&lt;/p&gt; &lt;p&gt;A while ago I found a way of indirectly injecting JavaScript code into the &lt;em&gt;WDS&lt;/em&gt; embedded-browser&lt;em&gt;.&lt;/em&gt; Because of its security-context, I discovered it was possible to access data on any domain (bypassing the Same Origin Policy) and therefore gather some very interesting data from the attacked box.&lt;/p&gt; &lt;p&gt;A &lt;a href="http://www.microsoft.com/technet/security/Bulletin/MS09-023.mspx"&gt;fix for the attack&lt;/a&gt; described below has been just released by Microsoft. If you use &lt;em&gt;WDS&lt;/em&gt;, it is advisable to install the fix.&lt;/p&gt; &lt;p&gt;&lt;span style="text-decoration: underline;"&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;span style="text-decoration: underline;"&gt;Vulnerability&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="text-decoration: underline;"&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;WDS&lt;/em&gt; previews the search results to the user via an embedded-browser. In order to support non-HTML/XML files, &lt;em&gt;WDS&lt;/em&gt; uses converters that transform the files into HTML. As part of this process, potentially hazardous characters are escaped by the converters.&lt;/p&gt; &lt;p&gt;However, it turns out that HTML files do not undergo any sanitation process before being presented. Instead, &lt;em&gt;WDS &lt;/em&gt;simply loads the files into its embedded browser from the local hard-drive.&lt;/p&gt; &lt;p&gt;In accordance with the security settings of the embedded browser, the aforementioned local HTML files are loaded with partial JavaScript execution permissions that require no user-approval.&lt;/p&gt; &lt;p&gt;While the ActiveX implementation of XMLHTTP (&lt;font color="#800000"&gt;&lt;em&gt;e.g. new ActiveXObject("Msxml2.XMLHTTP")&lt;/em&gt;…&lt;/font&gt;) cannot be initiated automatically due to a security restriction, it turns out that the XMLHttpRequest JS object (&lt;em&gt;&lt;font color="#800000"&gt;new XMLHttpRequest()…&lt;/font&gt;&lt;/em&gt;) can be initiated and used without limitations.&lt;/p&gt; &lt;p&gt;What makes this vulnerability particularly interesting is the fact that in this context the &lt;em&gt;XMLHttpRequest&lt;/em&gt; object can freely interact with any domain; sending on the victim's persistent cookies (if there are any). In other words, an attacker exploiting the aforementioned vulnerability can impersonate the victim on sites for which the victim is authenticated. &lt;em&gt;&lt;strong&gt;"Example of a Possible Attack"&lt;/strong&gt;&lt;/em&gt; below shows how sensitive information might be hijacked from a Gmail account.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;span style="text-decoration: underline;"&gt;Attack Flow &lt;/span&gt;&lt;/strong&gt;&lt;/p&gt; &lt;ol&gt;&#xD;
  &lt;li&gt;A remote attacker puts a specially crafted HTML file in a directory indexed by &lt;em&gt;WDS&lt;/em&gt;. This phase can be accomplished in either of the following ways:    &lt;ul&gt;&#xD;
    &lt;li&gt;Exploiting a "File Dropping" vulnerability (such as the recent "Carpet-Bombing" vulnerabilities in Safari &amp;amp; Google Chrome).     &lt;ul&gt;&#xD;
      &lt;li&gt; &lt;span style="text-decoration: underline;"&gt;Anecdote:&lt;/span&gt; Due to the security evolution of Google Chrome, up-to-date versions ask for user-approval when an .HTM file download attempt takes place (instead of auto-downloading it, as it used to):  &lt;br&gt;&lt;a href="http://blog.watchfire.com/.a/6a00d835130c5153ef011570ecaf9a970b-pi" target="_blank"&gt;&lt;img alt="chrome_htm_download" border="0" height="42" src="http://blog.watchfire.com/.a/6a00d835130c5153ef011570ecafb3970b-pi" style="border-width: 0px; display: inline;" title="chrome_htm_download" width="320"&gt;&lt;/img&gt;&lt;/a&gt;  &lt;br&gt;However, I discovered that it is still possible to drop MHTML files by causing an automatic download attempt of an *.mht file:        &lt;br&gt;&lt;a href="http://blog.watchfire.com/.a/6a00d835130c5153ef01156ff7e375970c-pi" target="_blank"&gt;&lt;img alt="chrome_mht_download" border="0" height="40" src="http://blog.watchfire.com/.a/6a00d835130c5153ef011570ecafd2970b-pi" style="border-width: 0px; display: inline;" title="chrome_mht_download" width="223"&gt;&lt;/img&gt;&lt;/a&gt;  &lt;/li&gt;&#xD;
     &lt;/ul&gt;&#xD;
    &lt;/li&gt;&#xD;
    &lt;li&gt;Taking advantage of the fact HTML files are presumed by many to be harmless (especially if not even directly loaded by a browser) to mount a social engineering attack. &lt;/li&gt;&#xD;
   &lt;/ul&gt;&#xD;
  &lt;/li&gt;&#xD;
  &lt;li&gt;Let's assume the specially crafted HTML filename is: &lt;strong&gt;&lt;em&gt;mal.html&lt;/em&gt;&lt;/strong&gt;.    &lt;ul&gt;&#xD;
    &lt;li&gt;The file should contain some likely-to-be-queried keywords as well as JavaScript code. (e.g. "&lt;em&gt;Watchfire IBM Microsoft &amp;lt;script&amp;gt;alert(123)&amp;lt;/script&amp;gt;&lt;/em&gt;"). &lt;/li&gt;&#xD;
   &lt;/ul&gt;&#xD;
  &lt;/li&gt;&#xD;
  &lt;li&gt;At that point, &lt;strong&gt;&lt;em&gt;mal.html&lt;/em&gt;&lt;/strong&gt; is already indexed by Windows Desktop Search. &lt;/li&gt;&#xD;
  &lt;li&gt;At some point, the user queries for a word that shows up in &lt;strong&gt;&lt;em&gt;mal.html &lt;/em&gt;(&lt;/strong&gt;"Microsoft", for example) via &lt;em&gt;Windows Desktop Search&lt;/em&gt;. &lt;/li&gt;&#xD;
  &lt;li&gt;Due to the lack of sanitation, when &lt;strong&gt;&lt;em&gt;mal.html&lt;/em&gt;&lt;/strong&gt; is displayed via the preview pane (which is in fact an embedded IE browser) the script within &lt;strong&gt;&lt;em&gt;mal.html&lt;/em&gt;&lt;/strong&gt; is automatically executed. &lt;/li&gt;&#xD;
 &lt;/ol&gt;&#xD;
 &lt;p&gt;&lt;span style="text-decoration: underline;"&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="text-decoration: underline;"&gt;NOTES&lt;/span&gt;:&lt;/p&gt; &lt;ul&gt;&#xD;
  &lt;li&gt;If the results pane is ordered by date, it is very likely that &lt;strong&gt;&lt;em&gt;mal.html&lt;/em&gt;&lt;/strong&gt; will be selected automatically, without any user interaction. &lt;/li&gt;&#xD;
  &lt;li&gt;In order to amplify the success rate of the attack, multiple files that contain malicious JavaScript code along with likely-to-be-queried keywords can be dropped to the victim's hard-drive. &lt;/li&gt;&#xD;
 &lt;/ul&gt;&#xD;
 &lt;p&gt;&lt;strong&gt;&lt;span style="text-decoration: underline;"&gt;Example of a Possible Attack&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;span style="text-decoration: underline;"&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;In this scenario, our victim has a Google account (&lt;em&gt;an.innocent.user@gmail.com&lt;/em&gt;) with one mail filled with secret passwords in its inbox. &lt;/p&gt; &lt;p&gt;&lt;a href="http://blog.watchfire.com/.a/6a00d835130c5153ef01156ff7e395970c-pi" target="_blank"&gt;&lt;img alt="gmail main page" border="0" height="146" src="http://blog.watchfire.com/.a/6a00d835130c5153ef01156ff7e3ad970c-pi" style="border-width: 0px; display: inline;" title="gmail main page" width="375"&gt;&lt;/img&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;Like many users, the victim uses the &lt;em&gt;"Remember me on this computer"&lt;/em&gt; feature, and persistent Google account authentication cookies are therefore stored on his/her system.&lt;/p&gt; &lt;p&gt;At some point, the victim uses &lt;em&gt;WDS &lt;/em&gt;and queries a "poisoned" keyword (in this example, the keyword is "&lt;em&gt;Microsoft&lt;/em&gt;").&lt;/p&gt; &lt;p&gt;&lt;a href="http://blog.watchfire.com/.a/6a00d835130c5153ef011570ecb01a970b-pi" target="_blank"&gt;&lt;img alt="Microsoft Search" border="0" height="144" src="http://blog.watchfire.com/.a/6a00d835130c5153ef011570ecb032970b-pi" style="border-width: 0px; display: inline;" title="Microsoft Search 1" width="394"&gt;&lt;/img&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&lt;span style="text-decoration: underline;"&gt;While the victim views this file via &lt;em&gt;WDS&lt;/em&gt;, the following happens: &lt;/span&gt;  &lt;br&gt;1. An &lt;em&gt;XMLHttpRequest&lt;/em&gt; object is created.   &lt;br&gt;2. Due to the security context of the embedded-browser, a bi-directional connection to Gmail is successfully established (Same-Origin Policy is not enforced).   &lt;br&gt;3. The contents of the inbox page are retrieved (The &lt;em&gt;XMLHttpRequest&lt;/em&gt; object uses the persistent cookies for the &lt;em&gt;an.innocent.user@gmail.com&lt;/em&gt; account).   &lt;br&gt;4. The response is parsed and information about the "Secret Stuff" mail message is presented.&lt;/p&gt; &lt;p&gt;&lt;a href="http://blog.watchfire.com/.a/6a00d835130c5153ef011570ecb048970b-pi" target="_blank"&gt;&lt;img alt="Microsoft Search - gmail content response" border="0" height="67" src="http://blog.watchfire.com/.a/6a00d835130c5153ef011570ecb05e970b-pi" style="border-width: 0px; display: inline;" title="Microsoft Search - gmail content response" width="380"&gt;&lt;/img&gt;&lt;/a&gt; &lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;span style="text-decoration: underline;"&gt;Final Remarks&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;Since various Desktop Search Tools use a mechanism similar to Windows Desktop Search in order to present search results to the user it is very likely that similar vulnerabilities and attack vectors might apply to these products too.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;span style="text-decoration: underline;"&gt;Acknowledgments&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;&lt;span style="text-decoration: underline;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;I would like to acknowledge and thank Microsoft for the highly professional way in which they had handled this security issue.&lt;/p&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/WatchfireApplicationSecurityInsider?a=HicdkkMuFbs:-p4iirPczeM:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/WatchfireApplicationSecurityInsider?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/WatchfireApplicationSecurityInsider?a=HicdkkMuFbs:-p4iirPczeM:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/WatchfireApplicationSecurityInsider?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/WatchfireApplicationSecurityInsider?a=HicdkkMuFbs:-p4iirPczeM:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/WatchfireApplicationSecurityInsider?i=HicdkkMuFbs:-p4iirPczeM:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/WatchfireApplicationSecurityInsider/~4/HicdkkMuFbs" height="1" width="1"/&gt;</content>


    </entry>
    <entry>
        <title>Proactive Malware Scanning</title>
        <link rel="alternate" type="text/html" href="http://blog.watchfire.com/wfblog/2009/05/proactive-malware-scanning.html" />
        <link rel="replies" type="text/html" href="http://blog.watchfire.com/wfblog/2009/05/proactive-malware-scanning.html" thr:count="4" thr:updated="2009-06-01T22:53:55+03:00" />
        <id>tag:typepad.com,2003:post-67046073</id>
        <published>2009-05-20T15:58:29+03:00</published>
        <updated>2009-05-20T15:58:29+03:00</updated>
        <summary>I'll start with a short personal angle - I have a friend that works as a freelance web site developer and webmaster. Once in a few weeks he gives me a call, telling me that one of the sites he...</summary>
        <author>
            <name>Ory Segal</name>
        </author>
        <category scheme="http://www.sixapart.com/ns/types#category" term="Info Bits" />
        <category scheme="http://www.sixapart.com/ns/types#category" term="Web Application Scanners" />
        <category scheme="http://www.sixapart.com/ns/types#category" term="Web Application Security" />
        
        
<content type="html" xml:lang="en-US" xml:base="http://blog.watchfire.com/wfblog/">
&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;p&gt;I'll start with a short personal angle - &lt;/p&gt; &lt;p&gt;I have a friend that works as a freelance web site developer and webmaster. Once in a few weeks he gives me a call, telling me that one of the sites he manages seems to be serving malicious JavaScript code to its users. It appears to me that this problem is getting out of hand these days, sites are getting (silently) hacked into, and JavaScript code is injected and later on served to users. &lt;/p&gt; &lt;p&gt;From what I hear and read, &lt;strong&gt;more than 70% of the Malware today is being served or linked from legitimate web sites. &lt;/strong&gt;&lt;/p&gt; &lt;p&gt;Take a look at &lt;a href="http://www.informationweek.com/news/internet/security/showArticle.jhtml?articleID=212901775" target="_blank"&gt;this article&lt;/a&gt; from InformationWeek, which was posted in January 2009:&lt;/p&gt; &lt;blockquote&gt; &lt;p&gt;Seventy percent of the top 100 Web sites either hosted malicious content or contained a link designed to redirect site visitors to a malicious &lt;a href="http://www.techweb.com/encyclopedia/defineterm.jhtml?term=Web%20site&amp;amp;x=&amp;amp;y="&gt;Web site&lt;/a&gt; during the second half of 2008&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;The common approach to Malware protection and Malware scanning today, puts the (security) responsibility on the end users (browser protections, A/V, etc.) or the organizations (content filtering gateways, A/V gateways) from which the end users browse the web from. &lt;/p&gt; &lt;p&gt;I think that web site owners should start taking responsibility for the contents they are serving to users, and a simple way to do that, is to constantly monitor or scan your own web application for malicious contents. &lt;/p&gt; &lt;p&gt;About two years ago, I had an interesting thought - if you are already scanning your web application with an automated scanner, that has the capability to perform deep crawling and analysis (using automatic form filling, JavaScript and Flash execution, etc.), why not attempt to locate malicious code that is being served to your web users?!&lt;/p&gt; &lt;p&gt;BTW, malicious code can end up in your application in different ways such as - &lt;/p&gt; &lt;ul&gt; &lt;li&gt;Someone hacked into your application and put it there&lt;/li&gt; &lt;li&gt;You are including web contents (or application code) from a 3rd party. This is oftentimes the case in Web 2.0 scenarios&lt;/li&gt; &lt;li&gt;You pissed off one of your web developers, and they decided to get back at you by infecting your users with Malware&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&lt;strong&gt;&lt;u&gt;Enter Malware Scanner AppScan eXtension&lt;/u&gt;&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;The Malware Scanner AppScan eXtension helps you verify that your application is not hosting or linking to malware. The extension couples the deep-scanning capabilities of IBM Rational AppScan with ISS X-Force technology that is used to identify malicious content and links.&lt;/p&gt; &lt;p&gt;The Malware Scanner checks these conditions:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;Files hosted on your application are malicious or not  &lt;li&gt;Files that are "one click" away from your application are malicious or not  &lt;li&gt;Links on your site lead to malicious domains (malware sites or phishing sites, for example)  &lt;li&gt;Links on your site lead to unwanted content (illegal sites, hate sites, adult content, and so forth). &lt;/li&gt;&lt;/ul&gt; &lt;p&gt;The Malware Scanner works in two phases: &lt;ol&gt; &lt;li&gt;It passes all of the visited links through the ISS Virus Prevention System (VPS) engine, to determine whether they are malicious or not. This is similar to browsing every page in your application, including clicking every button and downloading every file, using a machine with updated antivirus software.  &lt;li&gt;It passes all of the links that lead to external domains through the ISS WebFilter SDK. This SDK then fetches the classification of each link (news site, porn site, malware site, illegal site, and so forth), based on the constantly updated online classification database. Links that are deemed malicious or unwanted are flagged for your attention. &lt;/li&gt;&lt;/ol&gt; &lt;p&gt;When something needs to be brought to your attention, a security issue is created in Rational AppScan so that you can benefit from the strength of Rational AppScan results management capabilities, such as creating reports, saving and loading scans, and so forth. &lt;p&gt;You can read more about the Malware Scanner eXtension and download it from our &lt;a href="http://www.ibm.com/developerworks/rational/downloads/08/appscan_malwarescanner/index.html" target="_blank"&gt;eXtensions web site&lt;/a&gt; (you need to have AppScan installed to run it).&lt;/p&gt;&lt;/div&gt;
&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/WatchfireApplicationSecurityInsider?a=tW7tga8xBqI:ucSuWz5xSyE:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/WatchfireApplicationSecurityInsider?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/WatchfireApplicationSecurityInsider?a=tW7tga8xBqI:ucSuWz5xSyE:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/WatchfireApplicationSecurityInsider?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/WatchfireApplicationSecurityInsider?a=tW7tga8xBqI:ucSuWz5xSyE:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/WatchfireApplicationSecurityInsider?i=tW7tga8xBqI:ucSuWz5xSyE:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/WatchfireApplicationSecurityInsider/~4/tW7tga8xBqI" height="1" width="1"/&gt;</content>


    </entry>
    <entry>
        <title>WAF Wars</title>
        <link rel="alternate" type="text/html" href="http://blog.watchfire.com/wfblog/2009/05/waf-wars.html" />
        <link rel="replies" type="text/html" href="http://blog.watchfire.com/wfblog/2009/05/waf-wars.html" thr:count="0" />
        <id>tag:typepad.com,2003:post-66753971</id>
        <published>2009-05-14T09:53:54+03:00</published>
        <updated>2009-05-14T09:55:24+03:00</updated>
        <summary>Dark Reading just posted a news article titled "Researchers Hack Web Application Firewalls", here's a short excerpt: A pair of researchers at the OWASP Europe 2009 conference on Wednesday showed how some Web application firewalls (WAFs) are prone to attack....</summary>
        <author>
            <name>Ory Segal</name>
        </author>
        <category scheme="http://www.sixapart.com/ns/types#category" term="Info Bits" />
        <category scheme="http://www.sixapart.com/ns/types#category" term="Security Wars - A New Hope" />
        <category scheme="http://www.sixapart.com/ns/types#category" term="Web Application Security" />
        
        
<content type="html" xml:lang="en-US" xml:base="http://blog.watchfire.com/wfblog/">
&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;p&gt;&lt;a href="http://www.darkreading.com/" target="_blank"&gt;Dark Reading&lt;/a&gt; just posted a news article titled "&lt;a href="http://www.darkreading.com/security/app-security/showArticle.jhtml?articleID=217400819&amp;amp;cid=RSSfeed" target="_blank"&gt;Researchers Hack Web Application Firewalls&lt;/a&gt;", here's a short excerpt:&lt;/p&gt; &lt;blockquote&gt; &lt;p&gt;A pair of researchers at the &lt;a href="http://www.owasp.org/index.php/OWASP_AppSec_Europe_2009_-Poland#tab=Conference_-%20May_13"&gt;OWASP Europe 2009&lt;/a&gt; conference on Wednesday showed how some Web application firewalls (WAFs) are prone to attack.  &lt;p&gt;Wendel Henrique, a member of SpiderLabs (Trustwave's advanced security team), and Sandro Gauci, founder and CSO for EnableSecurity, also found some WAFs vulnerable to the same types of exploits they are supposed to protect Web apps from, such as cross-site scripting (XSS) attacks. &lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;&amp;nbsp; &lt;p&gt;Hacking WAFs &lt;a href="http://seclists.org/bugtraq/2001/May/0180.html" target="_blank"&gt;is an old art form&lt;/a&gt;, which I'm glad to see is picking up again. WAFs are extremely delicate pieces of software, which require thorough and precise configuration in order to provide the security they promise. Since the WAF market is finally picking up, I expect to see more security advisories related to vulnerabilities in such products in the near future. &lt;p&gt;I wish the &lt;a href="http://www.webappsec.org/projects/whid/statistics.shtml" target="_blank"&gt;WASC WHID&lt;/a&gt; project would have a listing of web sites that were hacked, even though they had a WAF installed, just so we'll have an insight to the real techniques used to bypass them, although I'm not optimistic about such information being released to the public.&amp;nbsp; &lt;p&gt;&lt;strong&gt;Disclaimer&lt;/strong&gt; - I am a WAF supporter.&amp;nbsp; &lt;p&gt;&amp;nbsp; &lt;p&gt;* until OWASP releases the full presentation online, I think you can get a glimpse of it &lt;a href="http://www.slideshare.net/sandrogauci/troopers09-the-truth-about-web-application-firewalls-what-the-vendors-do-not-want-troopers-09-munich-april-2009-you-to-know" target="_blank"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;/div&gt;
&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/WatchfireApplicationSecurityInsider?a=tET1RrrsZlo:djB8xb_eQ8Q:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/WatchfireApplicationSecurityInsider?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/WatchfireApplicationSecurityInsider?a=tET1RrrsZlo:djB8xb_eQ8Q:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/WatchfireApplicationSecurityInsider?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/WatchfireApplicationSecurityInsider?a=tET1RrrsZlo:djB8xb_eQ8Q:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/WatchfireApplicationSecurityInsider?i=tET1RrrsZlo:djB8xb_eQ8Q:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/WatchfireApplicationSecurityInsider/~4/tET1RrrsZlo" height="1" width="1"/&gt;</content>


    </entry>
    <entry>
        <title>Google Chrome Universal XSS Vulnerability </title>
        <link rel="alternate" type="text/html" href="http://blog.watchfire.com/wfblog/2009/04/google-chrome-universal-xss-vulnerability-.html" />
        <link rel="replies" type="text/html" href="http://blog.watchfire.com/wfblog/2009/04/google-chrome-universal-xss-vulnerability-.html" thr:count="1" thr:updated="2010-02-22T21:31:03+02:00" />
        <id>tag:typepad.com,2003:post-65963161</id>
        <published>2009-04-24T15:12:23+03:00</published>
        <updated>2009-04-24T15:11:32+03:00</updated>
        <summary>I wanted to wait a bit, but since the fix is out: During unrelated research, I came across a number of security issues that reside in various parts of Google's web browser - Google Chrome. These issues pose a major...</summary>
        <author>
            <name>Roi Saltzman</name>
        </author>
        
        
<content type="html" xml:lang="en-US" xml:base="http://blog.watchfire.com/wfblog/">&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;p style="font-family: Arial;"&gt;&lt;em&gt;I wanted to wait a bit, but since the &lt;a href="http://googlechromereleases.blogspot.com/2009/04/stable-update-security-fix.html" target="_blank"&gt;fix&lt;/a&gt;&lt;/em&gt;&lt;em&gt; &lt;/em&gt;&lt;em&gt;is out:&lt;/em&gt;&lt;/p&gt;&lt;p style="font-family: Arial;"&gt;During unrelated research, I came across a number of security issues that reside in various parts of Google's web browser - Google Chrome.&lt;/p&gt;&lt;p style="font-family: Arial;"&gt;These issues pose a major threat to any user that browses a maliciously crafted page using Internet Explorer and has Google Chrome installed alongside.&lt;/p&gt;&lt;p style="font-family: Arial;"&gt;Using a vulnerability in the ChromeHTML URL handler, it is possible to force Google Chrome load arbitrary URIs when it is launched through IE. Combined with other issues, this seemingly harmless vulnerability opens the door to two major attack vectors:&lt;/p&gt;&lt;ul&gt;&#xD;
&lt;li&gt;&lt;strong&gt;Bypass the Same Origin Policy restrictions for any site&lt;/strong&gt; (this has the same impact as Universal XSS) &lt;/li&gt;&#xD;
&lt;li&gt;&lt;strong&gt;Enumerate victim's local files and directories&lt;/strong&gt;&lt;/li&gt;&#xD;
&lt;/ul&gt;&#xD;
&lt;p style="font-family: Arial;"&gt;A thorough &lt;strong&gt;explanation of the issues, attack vectors and impact can be found in the following &lt;span class="at-xid-6a00d835130c5153ef0115704a74e0970b"&gt;&lt;a href="http://blog.watchfire.com/files/google-chrome-advisory.doc"&gt;advisory&lt;/a&gt;&lt;/span&gt;.&lt;/strong&gt;&lt;/p&gt;&lt;p style="font-family: Arial;"&gt;It is important to note that the way Internet Explorer processes URL&#xD;
protocol handlers is a known Achilles' heel and has been widely used&#xD;
previously to attack other various applications.&lt;strong&gt;&lt;br&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p style="font-family: Arial;"&gt;&lt;strong&gt;Proof Of Concept:&lt;/strong&gt;&lt;br&gt;A Universal XSS PoC is available &lt;span class="at-xid-6a00d835130c5153ef01156f54503c970c"&gt;&lt;a href="http://blog.watchfire.com/files/gcpoc.html" target="_blank"&gt;here&lt;/a&gt;&lt;/span&gt; (Open with Internet Explorer)&lt;br&gt;File Enumeration PoC is available &lt;span class="at-xid-6a00d835130c5153ef0115704a7bcb970b"&gt;&lt;a href="http://blog.watchfire.com/files/gcenumpoc.html" target="_blank"&gt;here&lt;/a&gt;&lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;/span&gt;&lt;/span&gt; (Open with Internet Explore)&lt;span style="text-decoration: underline;"&gt;&lt;br&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="font-family: Arial;"&gt;&lt;strong&gt;Fix:&lt;/strong&gt;&lt;br&gt;Version &lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;1.0.154.59 of Chrome has been released to fix th&lt;/span&gt;&lt;/span&gt;&lt;span class="at-xid-6a00d835130c5153ef0115704a7bcb970b"&gt;&lt;/span&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;e vulnerability.&lt;br&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="font-family: Arial;"&gt;&lt;strong&gt;Acknowledgments:&lt;/strong&gt;&lt;br&gt;I would like to thank the Google Chrome team for their quick response and the highly professional way in which they had handled this security issue.&lt;/p&gt;&lt;/div&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/WatchfireApplicationSecurityInsider?a=_rxsojHhsnY:I6hRZ6_jRks:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/WatchfireApplicationSecurityInsider?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/WatchfireApplicationSecurityInsider?a=_rxsojHhsnY:I6hRZ6_jRks:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/WatchfireApplicationSecurityInsider?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/WatchfireApplicationSecurityInsider?a=_rxsojHhsnY:I6hRZ6_jRks:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/WatchfireApplicationSecurityInsider?i=_rxsojHhsnY:I6hRZ6_jRks:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/WatchfireApplicationSecurityInsider/~4/_rxsojHhsnY" height="1" width="1"/&gt;</content>


    </entry>
    <entry>
        <title>Active Man in the Middle Attacks</title>
        <link rel="alternate" type="text/html" href="http://blog.watchfire.com/wfblog/2009/02/active-man-in-the-middle-attacks.html" />
        <link rel="replies" type="text/html" href="http://blog.watchfire.com/wfblog/2009/02/active-man-in-the-middle-attacks.html" thr:count="2" thr:updated="2009-03-11T11:16:43+02:00" />
        <id>tag:typepad.com,2003:post-63411497</id>
        <published>2009-02-27T10:24:52+02:00</published>
        <updated>2009-02-27T10:24:52+02:00</updated>
        <summary>Adi Sharabani, manager of our own IBM Rational Security Group, gave a keynote presentation on the subject of Active Man in the Middle attacks at the recent OWASP AU conference that was held yesterday. With an Active MitM attack targeting...</summary>
        <author>
            <name>Ory Segal</name>
        </author>
        <category scheme="http://www.sixapart.com/ns/types#category" term="Research" />
        <category scheme="http://www.sixapart.com/ns/types#category" term="Web Application Security" />
        
        
<content type="html" xml:lang="en-US" xml:base="http://blog.watchfire.com/wfblog/">
&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt;&lt;p&gt;Adi Sharabani, manager of our own IBM Rational Security Group, gave a keynote presentation on the subject of Active Man in the Middle attacks at the recent &lt;a href="http://www.owasp.org/index.php/OWASP_AU_Conference_2009_Agenda" target="_blank"&gt;OWASP AU conference&lt;/a&gt; that was held yesterday. &lt;p&gt;With an Active MitM attack targeting Web Applications, an attacker can steal users' private data for any site he chooses if his victim uses a public network to read the latest news headlines or weather report on an 'uninteresting' site. In addition, the attack could also be made persistent, even after the victim has left the MitM influence. These attacks are a product of a serious design flaw and not an implementation error or bug. &lt;p&gt;Although MitM attacks against Web Applications have been partially discussed before with similar issues such as "SideJacking" and "Surf Jacking", a comprehensive full research has yet to have been performed. &lt;p&gt;The presentation attached gives an overview of the subject while the paper gives thorough in-depth description of this dangerous category of attacks and proposed remedies.  &lt;p&gt;You can download the presentation in PPT format &lt;a href="http://blog.watchfire.com/AMitM.ppt" target="_blank"&gt;here&lt;/a&gt;, or download the full version of the whitepaper as PDF &lt;a href="http://blog.watchfire.com/AMitM.pdf" target="_blank"&gt;here&lt;/a&gt;. &lt;/div&gt;
&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/WatchfireApplicationSecurityInsider?a=NZca-NVeSM8:Kc-_quEf3Uo:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/WatchfireApplicationSecurityInsider?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/WatchfireApplicationSecurityInsider?a=NZca-NVeSM8:Kc-_quEf3Uo:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/WatchfireApplicationSecurityInsider?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/WatchfireApplicationSecurityInsider?a=NZca-NVeSM8:Kc-_quEf3Uo:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/WatchfireApplicationSecurityInsider?i=NZca-NVeSM8:Kc-_quEf3Uo:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/WatchfireApplicationSecurityInsider/~4/NZca-NVeSM8" height="1" width="1"/&gt;</content>


    </entry>
    <entry>
        <title>There's a New AppScan In Town</title>
        <link rel="alternate" type="text/html" href="http://blog.watchfire.com/wfblog/2009/01/theres-a-new-appscan-in-town.html" />
        <link rel="replies" type="text/html" href="http://blog.watchfire.com/wfblog/2009/01/theres-a-new-appscan-in-town.html" thr:count="3" thr:updated="2010-02-23T00:07:36+02:00" />
        <id>tag:typepad.com,2003:post-61322490</id>
        <published>2009-01-14T15:43:16+02:00</published>
        <updated>2009-01-14T15:43:16+02:00</updated>
        <summary>I usually don't tend to blog about our product releases, but yesterday we have launched the official new version of IBM Rational AppScan Standard Edition (version 7.8), which includes some capabilities that I believe are worth blogging about. Here's a...</summary>
        <author>
            <name>Ory Segal</name>
        </author>
        <category scheme="http://www.sixapart.com/ns/types#category" term="Info Bits" />
        <category scheme="http://www.sixapart.com/ns/types#category" term="Web Application Scanners" />
        
        
<content type="html" xml:lang="en-US" xml:base="http://blog.watchfire.com/wfblog/">&lt;p&gt;I usually don't tend to blog about our product releases, but yesterday we have launched the official new version of &lt;a href="http://www-01.ibm.com/software/awdtools/appscan/standard/" target="_blank"&gt;IBM Rational AppScan Standard Edition&lt;/a&gt; (version 7.8), which includes some capabilities that I believe are worth blogging about. &lt;/p&gt; &lt;p&gt;Here's a short list of the interesting new features and capabilities:&lt;/p&gt; &lt;ul&gt; &lt;li&gt;&lt;strong&gt;Flash execution &amp;amp; Testing:&lt;/strong&gt; AppScan now automatically crawls Flash applications to reveal web application vulnerabilities, including vulnerabilities unique to Flash such as XSS in Flash, Phishing through Flash (Redirections), Cross Site Flashing, Insecure Direct Object Reference, Over permissive Flash Sandbox, Over permissive crossdomain.xml files&lt;/li&gt; &lt;li&gt;&lt;strong&gt;AMF Parsing &amp;amp; Testing:&lt;/strong&gt; On the same subject of Flash testing, AppScan is now capable of parsing and analyzing AMF communications between Flash applications and their back-end server side application. &lt;/li&gt; &lt;li&gt;&lt;strong&gt;Content-based Application Mapping&lt;/strong&gt;: many modern web applications (especially those designed with the MVC paradigm) make use of a single URL, and serve contents based upon different parameters. In such scenarios, it is irrelevant to report vulnerabilities based on URLs. AppScan 7.8 allows you to create or modify the application tree by defining a criteria by which AppScan will assign content elements to the application tree. This allows for a more clear and real view of the results.&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Support for widget-based and Mashup sites:&lt;/strong&gt; The new Content-Based configuration (see previous item) view lets you define the structure of widget-based and Mashup sites and display their structure logically.&lt;/li&gt; &lt;li&gt;&lt;strong&gt;WebSphere Portal support&lt;/strong&gt;: Dedicated template for WebSphere Portal applications incorporating a WebSphere Portal Test Policy and other configurations designed to increase performance and accuracy. The same capability can be adjusted for other Java Portlet based web applications&lt;/li&gt; &lt;li&gt;&lt;strong&gt;Improved Web services support:&lt;/strong&gt; The new GSC utility replaces "Web Services Explorer" (a WSDL analyzer that generates SOAP traffic) to provide improved Web Services scanning, including support for MIME attachments, WS encryption and WS signatures. This means you can now test SOAP Web Services that make use of WS-Security standards.&lt;/li&gt; &lt;li&gt;&lt;strong&gt;IPv6 Support:&lt;/strong&gt; no need to explain&lt;/li&gt; &lt;li&gt;&lt;strong&gt;CVSS-based Severity Reporting &amp;amp; Configuration&lt;/strong&gt;: AppScan is now capable of reporting vulnerability severity using CVSS. In addition, users can modify CVSS settings as they wish, in order to create more accurate reports&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;These are just some of the major improvements and new features in AppScan Standard Edition v7.8&lt;/p&gt; &lt;p&gt;You can download a trial version of AppScan &lt;a href="http://www-01.ibm.com/software/awdtools/appscan/standard/" target="_blank"&gt;here&lt;/a&gt;.&lt;/p&gt; &lt;p&gt;BTW - for those of you who haven't been following our recent product announcements, we also recently shipped &lt;a href="http://www-01.ibm.com/software/awdtools/appscan/developer/" target="_blank"&gt;AppScan Developer Edition&lt;/a&gt;, which includes Static Analysis of JAVA (more languages to follow) applications, in conjunction with Dynamic (Blackbox) and Runtime Analysis. This composite type of analysis, enables developers to get a full view of the vulnerabilities, both from the web front end point of view, as well as at the source code level, in a correlated manner.&lt;/p&gt;&lt;div class="feedflare"&gt;
&lt;a href="http://feeds.feedburner.com/~ff/WatchfireApplicationSecurityInsider?a=5pHj0WAFhOw:YYyB9CsVSnI:yIl2AUoC8zA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/WatchfireApplicationSecurityInsider?d=yIl2AUoC8zA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/WatchfireApplicationSecurityInsider?a=5pHj0WAFhOw:YYyB9CsVSnI:7Q72WNTAKBA"&gt;&lt;img src="http://feeds.feedburner.com/~ff/WatchfireApplicationSecurityInsider?d=7Q72WNTAKBA" border="0"&gt;&lt;/img&gt;&lt;/a&gt; &lt;a href="http://feeds.feedburner.com/~ff/WatchfireApplicationSecurityInsider?a=5pHj0WAFhOw:YYyB9CsVSnI:V_sGLiPBpWU"&gt;&lt;img src="http://feeds.feedburner.com/~ff/WatchfireApplicationSecurityInsider?i=5pHj0WAFhOw:YYyB9CsVSnI:V_sGLiPBpWU" border="0"&gt;&lt;/img&gt;&lt;/a&gt;
&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/WatchfireApplicationSecurityInsider/~4/5pHj0WAFhOw" height="1" width="1"/&gt;</content>


    </entry>
 
</feed><!-- ph=1 --><!-- nhm:dynamic-ssi -->
