<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title>OneStopAppSecurity</title>
    <link rel="alternate" type="text/html" href="http://www.onestopappsecurity.com/content/" />
    <link rel="self" type="application/atom+xml" href="http://www.onestopappsecurity.com/content/atom.xml" />
    <id>tag:www.onestopappsecurity.com,2008-07-20:/content/1</id>
    <updated>2008-11-14T23:55:48Z</updated>
    <subtitle>Helping You Reduce Your Risk and Safeguard Your Investment by Securing Your Application</subtitle>
    <generator uri="http://www.sixapart.com/movabletype/">Movable Type 4.21-en</generator>

<entry>
    <title>Google Chrome: A demonstration of how inadequate process can defeat any technical expertise</title>
    <link rel="alternate" type="text/html" href="http://www.onestopappsecurity.com/content/2008/11/google-chrome-a-demonstration-of-how-inadequate-process-can-defeat-any-technical-expertise.html" />
    <id>tag:www.onestopappsecurity.com,2008:/content//1.95</id>

    <published>2008-11-14T05:19:45Z</published>
    <updated>2008-11-14T23:55:48Z</updated>

    <summary>Google&apos;s introduction of the Chrome browser has demonstrated the negative ramifications on security that occurs from insufficient process.</summary>
    <author>
        <name>Neil Smithline</name>
        <uri>http://www.smithline.net</uri>
    </author>
    
        <category term="author-ns" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="published" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="security" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="articles" label="articles" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="ns" label="ns" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.onestopappsecurity.com/content/">
        <![CDATA[<p class="original-source">This was <a target="_blank" href="http://advice.cio.com/smithline/google_chrome_a_demonstration_of_how_inadequate_process_can_defeat_any_technical_expertise_0">originally published</a> on the <a target="_blank" href="http://www.cio.com">CIO</a> website and is reprinted with their permission.
</p>
<p>While too much process in software development, as was satirized in the movie <a title="IMDB Page for Office Space" target="_blank" href="http://www.imdb.com/title/tt0151804/">Office Space</a> with its infamous <a title="Wikipedia Entry on &quot;busy work&quot; and TPS Reports" target="_blank" href="http://en.wikipedia.org/wiki/Busy_work#Workplace_busy_work">TPS reports</a>, can cause a product to grind to a halt, insufficient process can be as bad, if not worse. While it might be hard to imagine how less process can be worse, <a href="http://www.google.com" target="_blank">Google</a> was kind enough to provide a wonderful example when they released a beta version of their own branded browser, <a href="http://www.google.com/chrome" target="_blank"><em>Google Chrome</em></a>. Within two hours of being released a <a href="http://www.readwriteweb.com/archives/security_flaw_in_google_chrome.php" target="_blank">critical vulnerability</a> that allows arbitrary code execution was discovered and publicized along with a proof of concept demonstrating the vulnerablity. It is expected that any major piece of software, especially a beta version, will have some vulnerabilities. But in this case, this vulnerability was code not written by Google and <em><a href="http://www.apple.com" target="_blank">Apple</a></em>, the original writer of the code, had widely publicized the vulnerability and a patch before Google released Chrome. Independent of the compentency of Google's engineering, inadequacies in their security processes for Chrome led to this faux pax, the ongoing shenanigans and likely a reduced rate of adoption for what is obviously a major software effort for Google.</p>
<p> The problem arose because some parts of Chrome are using code from on <em>Apple's <a href="http://www.apple.com/safari" target="_blank">Safari</a></em> browser. Google began with a current version of the browser but never updated to a newer version and, more importantly, did not track security advisories for Safari. This was certainly embarrassing but far from a complete failure of process. On September 5th, three days after the release of Chrome, Google released a patch for the browser. Even after the patch, questions remained about whether the patch was sufficient or not to prevent all possible exploits of the vulnerability. On October 21st, without making any statement about the vulnerability, Google released a revised patch for the same vulnerability. Ignoring the fact that there is <a title="ComputerWorld Article Discussing Concerns About Patch" target="_blank" href="http://www.computerworld.com/action/article.do?command=viewArticleBasic&amp;articleId=9117652&amp;source=rss_topic85">serious doubt</a> as to whether or not they have completely fixed the vulnerability, Google is only distributing the updated patch to people who are downloading the <em>developer</em> browser versions rather than the <em>user</em> browser versions (besides potentially having extra code for developers, the developer browser versions tend to be less stable than the user version).</p>
<p>While Chrome only seems to have about 1% of the browser market, the actual number of users affected by this is large. The <a href="http://www.internetworldstats.com/stats.htm" target="_blank">browser market</a> is estimated to be 1.5 billion users worldwide. That means that about 1.5 million users are at risk of having a successful exploit of this attack occur while using Chrome. A successful exploit allows arbitrary code execution and likely turns the users computer into zombie that is part of a botnet.</p>
<p>It is this author's opinion that there is absolutely no excuse for the negligence Google has demonstrated in the handling of their Chrome browser. The brief summary is, Google released a software product that had at least one highly publicized and severe bug, produced an quick but inadequate patch, and took about seven weeks to produce an upadated but developer-only patch. Google's "developer-only" patch strategy suggests that even they are uncomfortable to release the fix to the general public.</p>
<p>Possible explanations for this problem include extreme deadline pressure from upper-management, a project that was taken lightly by management and incorrectly or inadequately staffed, a security knowledge base that was insufficiently allocated insufficiently to the project, or a score of other reasons. The one thing that is clear is that Google spent lots of effort on Chrome and, at best, have dramatically reduced its adoption rate due to a series of missteps that could easily have been avoided prior to releasing the browser had they only had a process in place to track Safari vulnerabilities.
</p>
]]>
        
    </content>
</entry>

<entry>
    <title>Vista&apos;s Slow Adoption Raises Security Concerns</title>
    <link rel="alternate" type="text/html" href="http://www.onestopappsecurity.com/content/2008/11/vistas-slow-adoption-raises-security-concerns.html" />
    <id>tag:www.onestopappsecurity.com,2008:/content//1.94</id>

    <published>2008-11-14T05:15:01Z</published>
    <updated>2008-11-14T23:42:59Z</updated>

    <summary>The use of Vista in the immediate future should be for non-critical systems until it sees a longer and stronger adoption to shake out the most obvious security vulnerabilities. </summary>
    <author>
        <name>Neil Smithline</name>
        <uri>http://www.smithline.net</uri>
    </author>
    
        <category term="author-ns" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="published" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="security" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="articles" label="articles" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="ns" label="ns" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.onestopappsecurity.com/content/">
        <![CDATA[<p class="original-source">This was <a target="_blank" href="http://advice.cio.com/smithline/vistas_slow_adoption_raises_security_concerns">originally published</a> on the <a target="_blank" href="http://www.cio.com">CIO</a> website and is reprinted with their permission.
</p><p>There seems to be no end to the news about <a target="_blank" title="MS Windows Vista home" href="http://www.microsoft.com/windows/windows-vista/default.aspx">Windows Vista</a> and its <a title="Slow Vista adoption" target="_blank" href="http://www.cio.com/article/460408/Mid_market_Still_Mostly_Cool_to_Windows_Vista">slow adoption rate</a>. The reasons often cited for the slow adoption rate include lack of new features, increased hardware requirements, reduced performance, early and positive marketing of Vista's successor, Windows 7, and, of course, cost. However, from the security viewpoint, the correctness of these reasons are irrelevent. All that matters is that Windows Vista is a new operating system that is not obtaining a large market share.
</p>
<p>The problem is that Windows Vista is a complex system that contains a large amount of new code. Complexity and newness are always a security red flag. Figure 1 shows a typical pattern as how discovered vulnerabilities vary over the lifetime of a product. As a software product becomes popular, it becomes a bigger target for attacks. Continuing growth of the install base and success of previous attacks provides ongoing motivation for attackers to spend resources trying to find new attacks. Eventually, as the most obvious vulnerabilities are discovered and corrected, the rate of discovering new vulnerabilities slows to a point that the software can be patched faster than new vulnerabilities are discovered and the curve begins its downward swing.<br />
<img alt="Figure 1" src="http://www.onestopappsecurity.com/content/images/VulnerabilitiesOverTime.jpg"></p>
<p>But, if a system has an unusually slow adoption rate, the curve can become unpredictable. In particular, if a large percentage of users are delaying adoption, attackers can lose interest in searching for vulnerabilities and the curve can level off or even begin to drop. Then, as more users move to the new platform, it becomes a more attractive target and hence vulnerabilities are discovered at a faster rate and the curve begins its upward climb again.
</p>
<p>Nothing in this analysis is specific to Vista, Microsoft, PCs, or operating systems. The security concern arises from the complexity of creating large systems and the market's desire for new functionality at the cost of security. At this time, it is impossible to predict when Vista will be relatively secure and ready for use in mission critical systems. In fact, if Vista does not see widespread adoption, it might not even be possible to retrospectively determine whether Vista ever reached a state of moderate security stability. Without the incentive of a widespread user base, there might never be enough motivation to attack Vista to be certain that it is secure.
</p>
<p>While I cannot recommend for or against Vista in the long run, I think use of it in the immediate future should be for non-critical systems until it sees a longer and more serious adoption.
</p>]]>
        
    </content>
</entry>

<entry>
    <title>Is Google Growing Too Fast?</title>
    <link rel="alternate" type="text/html" href="http://www.onestopappsecurity.com/content/2008/10/is-google-growing-too-fast.html" />
    <id>tag:www.onestopappsecurity.com,2008:/content//1.91</id>

    <published>2008-10-29T12:16:13Z</published>
    <updated>2008-10-30T01:24:40Z</updated>

    <summary>Is Google growing too fast to continue to produce innovative software while maintaining the quality that has become expected of it?</summary>
    <author>
        <name>Neil Smithline</name>
        <uri>http://www.smithline.net</uri>
    </author>
    
        <category term="author-ns" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="not-security" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="published" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en" xml:base="http://www.onestopappsecurity.com/content/">
        <![CDATA[<p class="original-source">This was <a title="Original Publication" target="_blank" href="http://search.sys-con.com/node/529602">originally published</a> on the <a title="SEO/SEM Journal Home Page" target="_blank" href="http://search.sys-con.com/"><span style="text-decoration: underline;">SEO/SEM Journal</span></a> website and is reprinted with their permission.
</p>
<p>Is Google growing too fast to continue to produce innovative software while maintaining the quality that has become expected of it? I've had some problems with their alerts and sent in comments and, excluding the automated email replies, have received no response nor has the problem been corrected.</span>
  <br />
  <br /><img src="http://gemsres.com/story/mar08/529602/Googleplex3.jpg" align="right" height="91" hspace="12" vspace="12" width="140" />
</p>
<p>In general I would have to say I'm a fan of Google. I think that they have reached their current status through hard work and clever thinking from the top executives, to the coding monkeys, to the system administrators. Despite having had some <a target="_blank" href="http://www.smithline.net/2007/12/google_maps_a_bit_busted.html">problems</a> with them, my most recent <a target="_blank" href="http://www.smithline.net/2008/01/a_quick_kudos_to_google.html">posting</a> regarding them was commenting on their ingenuity.
</p>
<p>But I've had some problems with their <a target="_blank" href="http://www.google.com/alerts">alerts</a> and sent in comments and, excluding the automated email replies, have received no response nor has the problem been corrected.
  <br />
  <br />
</p>
<p>Being that I have a relative uncommon last name, I actually have an alert for "smithline". When a match is found it is almost always me or one of my family members. Probably not a very useful trick for someone named "John Smith" but it is helpful for me. When it Google finds a new web page match, it sends me an email that looks very similar to a search results page but it just contains the new matches. For example:
</p>
<blockquote>
  <p><font size="+1">Google Web Alert for: <strong>smithline</strong></font>
  </p>
  <p style="width: 425px;"><a href="http://www.genealogy.math.ndsu.nodak.edu/id.php?id=46285" style="color: blue;">The Mathematics Genealogy Project - Lawren <strong>Smithline</strong></a>
    <br /><font size="-1">Lawren Michael <strong>Smithline</strong>. Ph.D. University of California, Berkeley 2000 UnitedStates. Dissertation: Slopes of p-Adic Modular Forms <strong>...</strong> </font>
  </p>
</blockquote>Notice that the title tells you what is being searched for (&#8220;smithline&#8221;), the title of the page that had a match, and an excerpt of the page with the matched string (&#8220;smithline&#8221;) highlighted. If you are at all familiar to the results of a Google search, (if not what cave have you been in) then this should all seem familiar.
<p>But for the past 6-8 weeks there have been some problems. I contacted Google the 2nd time the the problem occurred. Here is one example of it:
</p>
<blockquote><font size="+1">Google News Alert for: <strong>smithline</strong></font>
  <p style="width: 425px;"><a href="http://www.spectator.co.uk/stephenpollard/564046/whats-behind-the-sudden-poll-shift.thtml" style="color: blue;">What's behind the sudden poll shift?</a>
    <br /><font size="-1"><font color="#666666">Spectator.co.uk (subscription) - UK</font>
    <br />Even more deluded was the <strong>Smith line</strong> that the polls actually reflected his and Labour's popularity. We pointed out that this was nonsense - the polls were <strong>...</strong>
    <br /><a href="http://news.google.com/news?hl=en&amp;ncl=http://www.spectator.co.uk/stephenpollard/564046/whats-behind-the-sudden-poll-shift.thtml"><font color="#008000">See all stories on this topic</font></a> </font>
  </p>
</blockquote>
<p><font size="-1">You'll notice that &#8220;smithline&#8221; does not actually appear in the selection (or in the rest of the article if you search). It is some political article referring to the stance taken by a Mr. Smith and is referring to it as the "Smith line". Even wo rse, I received this: </font>
</p>
<blockquote><font size="-1"><font size="+1">Google News Alert for: <strong>smithline</strong></font> </font>
  <p style="width: 425px;"><font size="-1"><a href="http://www.thepeterboroughexaminer.com/ArticleDisplay.aspx?e=942360&amp;auth=FIONA%20ISAACSON/Examiner%20Staff%20Writer" style="color: blue;">Two hurt in two-car crash on Selwyn Road</a>
    <br /><font size="-1"><font color="#666666">Peterborough Examiner - Peterborough,Ontario,Canada</font>
    <br />Two people were taken to hospital Thursday after a collision north of the city at Selwyn Road and the 11th Line of Smith, between Bridgenorth and Lakefield. <strong>...</strong>
    <br /><a href="http://news.google.com/news?hl=en&amp;ncl=http://www.thepeterboroughexaminer.com/ArticleDisplay.aspx?e=942360&amp;auth=FIONA+ISAACSON/Examiner+Staff+Writer"><font color="#008000">See all stories on this topic</font></a> </font></font>
  </p>
</blockquote><font size="-1">This has both the words &#8220;smith&#8221; and &#8220;line&#8221; but they are not next to each other and not even in order. At least they are close to each other in &#8220;Line of Smith&#8221;. Also, notice that nothing is highlighted. Even the highlighting engine of Google could not figure out what substring the search engine had matched on. But, saving the worst for last, </font>
<blockquote><font size="-1"><font size="+1">Google News Alert for: <strong>smithline</strong></font> </font>
  <p style="width: 425px;"><font size="-1"><a href="http://www.morningsun.net/stories/031908/loc_259270326.shtml" style="color: blue;">Family of former coach files suit</a>
    <br /><font size="-1"><font color="#666666">Pittsburg Morning Sun - Pittsburg,KS,USA</font>
    <br />By Matthew Clark | THE MORNING SUN GIRARD &#8212; The family of former Girard High School head football coach Craig Crespino has levied a negligence lawsuit <strong>...</strong>
    <br /><a href="http://news.google.com/news?hl=en&amp;ncl=http://www.morningsun.net/stories/031908/loc_259270326.shtml"><font color="#008000">See all stories on this topic</font></a> </font></font>
  </p>
</blockquote><font size="-1"><font size="-1">Notice that this excerpt has neither a &#8220;smith&#8221; nor "&#8220;line&#8221;. If you go to the article, it does have those words in them but they are not even close to each other as they were in the &#8220;Line of Smith&#8221;. </font></font>
<p><font size="-1"><font size="-1">Besides these problems, I'm having a terrible problem with another search. One of my children has a chronic condition (minor but annoying - details withheld for privacy reasons). So I have a search for the word &#8220;adolescent&#8221; and the name of the chronic condition. This search is wholly useless. I've included two of the nine hits I received - the rest were basically the same. I have modified the search results for privacy, removed URLs to the sites to prevent this being an advertisement for them, and removed obscenities for my more genteel readers.. </font></font>
</p>
<blockquote><font size="-1"><font size="-1"><font size="+1">Google Groups Alert for: <strong>"<em>redacted for privacy</em>" adolescent</strong></font> </font></font>
  <p style="width: 425px;"><font size="-1"><font size="-1"><a href="http://search.sys-con.com/node/529602/\" style="color: blue;">Union <em>obscenity deleted</em></a>
    <br /><font size="-1"><strong>...</strong> serpientes sexo gratis spokane washington gay scene nutritional facts for smoked
    <br />turkey breast <strong>adolescent</strong> sexuality arti amish sex vid tenacious d, sex tnt <em>obscenity deleted</em> pet hardcore sex bible books job and sexual molestation federal uniform manifest system escorts gay male.louisiana dog has sex <strong>...</strong>
    <br /><font color="#008000"><a href="http://search.sys-con.com/node/529602/print" style="color: rgb(0, 128, 0);"><strong>removed to avoid advertisement</strong></a> - Mar 21, 2008 by - 0 message - 0 author</font> </font></font></font>
  </p>
  <p style="width: 425px;"><font size="-1"><font size="-1"><a href="http://search.sys-con.com/node/529602/print" style="color: blue;">Registry Sex Offender</a>
    <br /><font size="-1"><strong>...</strong> slaves n the us racquet club hilton head lady gemini dream transition from
    <br /><strong>adolescent</strong> to adult china rape fantasy free sian resort hollywood florida job
    <br /><strong>...<em>redacted for privacy</em></strong> <strong>...</strong>
    <br /><font color="#008000"><a href="http://search.sys-con.com/node/529602/print" style="color: rgb(0, 128, 0);"><strong><em>removed to avoid advertisement</em></strong></a> - Mar 21, 2008 by - 0 message - 0 author</font> </font></font></font>
  </p>
</blockquote><font size="-1"><font size="-1">Hard to imagine how this is useful... </font></font><font size="-1"><font size="-1">I'm beginning to wonder if Google is growing too fast to continue to produce innovative software while maintaining the quality that has become expected of them.</font></font>]]>
        
    </content>
</entry>

<entry>
    <title>Web Seen as Lacking Even in Basic Security</title>
    <link rel="alternate" type="text/html" href="http://www.onestopappsecurity.com/content/2008/10/82-of-sites-have-security-flaws-61-have-serious-security-flaws.html" />
    <id>tag:www.onestopappsecurity.com,2008:/content//1.87</id>

    <published>2008-10-20T19:20:24Z</published>
    <updated>2008-10-29T12:50:50Z</updated>

    <summary>82% of Sites Have Security Flaws, 61% Have Serious Security Flaws</summary>
    <author>
        <name>Neil Smithline</name>
        <uri>http://www.smithline.net</uri>
    </author>
    
        <category term="author-ns" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="published" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="security" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en" xml:base="http://www.onestopappsecurity.com/content/">
        <![CDATA[<p>One of the most difficult parts of producing a secure application is simply understanding how difficult such a task is. The magnitude of the problem is so great that all too often even well-educated and experienced engineers produce code with significant vulnerabilities. At the end of August 2008, <a href="http://www.gcn.com" target="_blank">Government Computer News</a> published an article containing statistics from two reputable security companies. This is a summary of the statistics in the article:</p>
<table width="100%" cellspacing="1" cellpadding="1" border="1" align="center">
	<caption>Vulnerability Statistics for the 2nd Quarter of 2008<br />
	</caption>
	<tbody>
		<tr>
			<td style="text-align: center;"><strong>Description of Statistic<br />
			</strong></td>
			<td style="text-align: center;"><strong>Percentage</strong></td>
		</tr>
		<tr>
			<td>Unsafe communication practices</td>
			<td>70%</td>
		</tr>
		<tr>
			<td>Cross-Site Scripting (XSS) vulnerabilities</td>
			<td>60%</td>
		</tr>
		<tr>
			<td>SQL Injection Vulnerabilities</td>
			<td>20%</td>
		</tr>
		<tr>
			<td>Cross-Site Request Forgery (CSRF) vvulnerabilities</td>
			<td>75%</td>
		</tr>
		<tr>
			<td>One or more security issues</td>
			<td>82%</td>
		</tr>
		<tr>
			<td>One or more <em>hig</em>h, <em>critical</em> or <em>urgent</em> security issue according to the PCI DSS</td>
			<td>61%</td>
		</tr>
		<tr>
			<td>Running unpatched applications that can lead to malicious code injection</td>
			<td>&gt;50% (&quot;overwhelming majority")</td>
		</tr>
		<tr>
			<td>Percentage of reported vulnerabilities that have been remediated</td>
			<td>66%</td>
		</tr>
	</tbody>
</table>
<p></p>
<p>In summary, while there seems to be quick response to reported vulnerabilities (66% of all reported have been corrected), 82% of all sites are known to have security issues and in 61% of all sites at least one of the security issue is considered serious. These statistic are likely underestimates as they are based on reported or discovered vulnerabilities and there certainly must be unreported or undiscovered vulnerabilities.]]>
        
    </content>
</entry>

<entry>
    <title>Attack Dangers Posed by &apos;Innocent&apos; Files</title>
    <link rel="alternate" type="text/html" href="http://www.onestopappsecurity.com/content/2008/10/attack-dangers-posed-by-innocent-files.html" />
    <id>tag:www.onestopappsecurity.com,2008:/content//1.82</id>

    <published>2008-10-07T04:26:44Z</published>
    <updated>2008-10-29T12:57:23Z</updated>

    <summary>A carefully designed data file (eg: a .doc file or .gif) can leverage vulnerabilities in the programs that open them and become vectors for the spread of potentially harmful viruses.</summary>
    <author>
        <name>Neil Smithline</name>
        <uri>http://www.smithline.net</uri>
    </author>
    
        <category term="author-ns" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="published" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="security" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="articles" label="articles" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="ns" label="ns" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.onestopappsecurity.com/content/">
        <![CDATA[<p class="original-source">This was <a target="_blank" href="http://www.csoonline.com/article/216455/Attack_Dangers_Posed_by_lsquo_Innocent_rsquo_Files?page=1">originally published</a> on the <a target="_blank" href="http://www.csoonline.com">CSO</a> website and is reprinted with their permission.
</p>
<p>Recently there has been a rash of "zero-day attacks" that can be transmitted by a data file and executed by opening the file. These attacks leave users and servers alike at great risk. Simply downloading or uploading a data file that has a successful attack in it and viewing it can turn your computer into a zombie, a computer that unbeknownst to its owner is being used for sending spam, attacking websites, etc. Imagine if even 1 percent of 1 percent of the more than 10 million images on <span style="border: 1px dashed darkgray; padding: 1px; background: lightyellow none repeat scroll 0% 0%; position: absolute; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-size: small; visibility: hidden;" id="keynav.shortcut[63]"><font color="black">63</font></span><a href="http://images.google.com/" keynav:shortcut="63">http://images.g<wbr>oogle.com</a> were infected. The ramifications of such an attack would be enormous.
</p>
<p>Several of the most recent and severe zero-day attacks (i.e., attacks that have been discovered but for which no reasonable patch or fix exists) have been on Microsoft Word. While there have been many of these attacks recently, and I will leave the details to those who have already described them so well, all of the attacks have followed a similar pattern. Namely, an attacker could carefully craft a Word .doc file (and in one case an .rtf file) that, when opened in Word or the much less powerful and typically considered safer Word Viewer, would execute arbitrary code that the attacker embedded in the file. That is, by opening such a file, arbitrary code created by the attacker will run on your computer with all of your privileges. This code could be a virus that infects other .doc files, damages your computer, steals vital information from your computer, installs spyware, etc.
</p>
<p>These vulnerabilities<wbr> stand out from many others in that they are transmitted in .doc and .rtf files, which are not typically considered executable files, and therefore are not typically given the same degree of human or computerized scrutiny. And while there has been a recent rash of vulnerabilities in Word, the problem spans other operating systems and other data file types including .pdf files on Windows, .gif files in Java, .tiff files on Mac OS X, and many more. A user (or a site developer) would be careful downloading (or uploading) and opening an .exe, .dll or .vba file from an unknown or untrusted source.
</p>
<p>But why would anyone be hesitant of a data file? Perhaps an even worse vulnerability is the recently patched .gif vulnerability that can open your computer to attack just by visiting a page that has an embedded GIF file if your browser is written in Java. Similarly, if your server allows the uploading of images (e.g., photos, custom logos, etc.), then it too is at risk. This implies that an application must always take care when uploading a data file from a user.
  <br /> &nbsp;
  <br /> Protecting a server against such attacks is extremely difficult. One major complication in protecting against such attacks is that there is a never-ending stream of them being discovered. Hence, even with upgraded antivirus software, your server can still be at risk for an attack. Another complication is that successful exploitation of such a vulnerability can occur without your knowledge. For example, imagine your server uploading an infected .gif file and displaying it on a webpage. The .gif might display correctly, or at least without an error or other event that an administrator would notice, despite having successfully attacked your computer and executed its malicious payload.
</p>
<p>Besides the obvious protection of antivirus software, other countermeasures can be deployed, but they all come with a reduction in flexibility or an increase in development time. One countermeasure is to run your application and server with minimal permissions. While this does not protect your server from being attacked, it can help or even prevent your machine from being taken over. The idea behind this is that if the attacker manages to get past your countermeasures and execute arbitrary code, the code will be restricted by the minimal permissions of the application server and hence cannot do great damage. The cost of this countermeasure is that your server is restricted in functionality by its minimal permission set.
  <br />
  <br /> Simplifying the format of the data files you will download and process also helps reduce the risk of this type of attack. This is because all of the vulnerabilities come from bugs in the file processing code for the various data formats. The simpler the data file format, the less likely there is to be a bug in the implementation. That being said, it might be unacceptable to your users if your site uploads images but accepts only one or two file formats. In the end, you will have to make trade-offs between business and security requirements.
  <br />
  <br /> As an alternative or adjunct to simplifying the file format, extra care can be given to ensure that the code that implements the processing of data files that are uploaded is especially secure. Whether the file processing code is purchased or written in-house, you can insist on various quality standards being met (e.g., 62Common Criteria). While these standards do not guarantee secure code, they do help.
  <br />
  <br /> You can also request that your vendors (or yourself if you are writing the code) employ an analysis tool that analyzes the source code, looking for and reporting bugs that might potentially lead to vulnerabilities. In particular, most data file vulnerabilities that allow remote code execution are caused by 63buffer overflow bugs, and this is a class of vulnerabilities that source code analyzers are especially good at identifying.
  <br />
  <br /> Source code analyzers come with some significant overhead. Even forgetting about the cost of purchasing, installing, learning, incorporating into your software development process, and maintaining the analysis tool, there is the cost of keeping up with the tool&#8217;s output. The tools tend to produce false positives&#8212;that is, they report potential bugs or vulnerabilities that turn out not to be problems. Depending on your source code and the tool you are using, this can introduce a large overhead.
</p>
<p>As a final point, it should be noted that a site does not actually have to attempt to open or host an infected file to be a "carrier" of the problem. For example, Google Images has links to images stored on various sites around the Internet. Any one of those image files might have embedded within it malicious code attempting to leverage one of these data file vulnerabilities<wbr>. While the site itself (Google in this example) is typically safe from such an external link, the sites&#8217; users are not.
</p>
<p>Data files cannot be treated as "safe" just because they contain only data. There is a constant stream of attacks being discovered in the software that processes data-only files that allows executable code to be transmitted. While total protection is difficult without eliminating file uploading, efforts can be made to reduce the potential of such vulnerabilities<wbr> by reducing the types of data files that are supported, simplifying the types of supported data files, and paying extra attention to the correctness and secureness of code that processes data files that come from potentially untrusted sources.<em>
  <br /> </em>
</p>
<p>References:
  <br /> •&nbsp;Microsoft&nbsp; .doc and .rtf vulnerability advisories:
  <br /> <span style="border: 1px dashed darkgray; padding: 1px; background: lightyellow none repeat scroll 0% 0%; position: absolute; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-size: small; visibility: hidden;" id="keynav.shortcut[62]"><font color="black">62</font></span><a href="http://www.microsoft.com/technet/security/advisory/929433.mspx" keynav:shortcut="62">http://www.micr<wbr>osoft.com/techn<wbr>et/security/adv<wbr>isory/929433.ms<wbr>px</a>
  <br /> <span style="border: 1px dashed darkgray; padding: 1px; background: lightyellow none repeat scroll 0% 0%; position: absolute; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-size: small; visibility: hidden;" id="keynav.shortcut[63]"><font color="black">63</font></span><a href="http://www.microsoft.com/technet/security/advisory/933052.mspx" keynav:shortcut="63">http://www.micr<wbr>osoft.com/techn<wbr>et/security/adv<wbr>isory/933052.ms<wbr>px</a>
  <br /> <span style="border: 1px dashed darkgray; padding: 1px; background: lightyellow none repeat scroll 0% 0%; position: absolute; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-size: small; visibility: hidden;" id="keynav.shortcut[64]"><font color="black">64</font></span><a href="http://www.microsoft.com/technet/security/advisory/919637.mspx" keynav:shortcut="64">http://www.micr<wbr>osoft.com/techn<wbr>et/security/adv<wbr>isory/919637.ms<wbr>px</a>
  <br /> <span style="border: 1px dashed darkgray; padding: 1px; background: lightyellow none repeat scroll 0% 0%; position: absolute; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-size: small; visibility: hidden;" id="keynav.shortcut[65]"><font color="black">65</font></span><a href="http://www.microsoft.com/technet/security/advisory/925059.mspx" keynav:shortcut="65">http://www.micr<wbr>osoft.com/techn<wbr>et/security/adv<wbr>isory/925059.ms<wbr>px</a>
  <br /> <span style="border: 1px dashed darkgray; padding: 1px; background: lightyellow none repeat scroll 0% 0%; position: absolute; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-size: small; visibility: hidden;" id="keynav.shortcut[66]"><font color="black">66</font></span><a href="http://www.microsoft.com/technet/security/advisory/932553.mspx" keynav:shortcut="66">http://www.micr<wbr>osoft.com/techn<wbr>et/security/adv<wbr>isory/932553.ms<wbr>px</a>
  <br /> <span style="border: 1px dashed darkgray; padding: 1px; background: lightyellow none repeat scroll 0% 0%; position: absolute; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-size: small; visibility: hidden;" id="keynav.shortcut[67]"><font color="black">67</font></span><a href="http://www.microsoft.com/technet/security/advisory/932114.mspx" keynav:shortcut="67">http://www.micr<wbr>osoft.com/techn<wbr>et/security/adv<wbr>isory/932114.ms<wbr>px</a>
  <br /> •&nbsp;Sun Java .gif vulnerability advisories:
  <br /> <span style="border: 1px dashed darkgray; padding: 1px; background: lightyellow none repeat scroll 0% 0%; position: absolute; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-size: small; visibility: hidden;" id="keynav.shortcut[68]"><font color="black">68</font></span><a href="http://www.sunsolve.sun.com/search/document.do?assetkey=1-26-102760-1" keynav:shortcut="68">http://www.suns<wbr>olve.sun.com/se<wbr>arch/document.d<wbr>o?assetkey=1-26<wbr>-102760-1</a>
  <br /> •&nbsp;.pdf advisory for some versions of Microsoft Windows:
  <br /> <span style="border: 1px dashed darkgray; padding: 1px; background: lightyellow none repeat scroll 0% 0%; position: absolute; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-size: small; visibility: hidden;" id="keynav.shortcut[69]"><font color="black">69</font></span><a href="http://www.kb.cert.org/vuls/id/511577" keynav:shortcut="69">http://www.kb.c<wbr>ert.org/vuls/id<wbr>/511577</a>
  <br /> •&nbsp;.tiff advisory for some versions of Mac OS X:
  <br /> <span style="border: 1px dashed darkgray; padding: 1px; background: lightyellow none repeat scroll 0% 0%; position: absolute; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-size: small; visibility: hidden;" id="keynav.shortcut[70]"><font color="black">70</font></span><a href="http://www.kb.cert.org/vuls/id/988356" keynav:shortcut="70">http://www.kb.c<wbr>ert.org/vuls/id<wbr>/988356</a>
  <br /> •&nbsp;A brief sampling of source code analysis tools&#8212;far from an extensive list:
  <br /> <span style="border: 1px dashed darkgray; padding: 1px; background: lightyellow none repeat scroll 0% 0%; position: absolute; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-size: small; visibility: hidden;" id="keynav.shortcut[71]"><font color="black">71</font></span><a href="http://www.fortify.com/" keynav:shortcut="71">http://www.fort<wbr>ify.com</a>
  <br /> <span style="border: 1px dashed darkgray; padding: 1px; background: lightyellow none repeat scroll 0% 0%; position: absolute; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-size: small; visibility: hidden;" id="keynav.shortcut[72]"><font color="black">72</font></span><a href="http://www.ouncelabs.com/" keynav:shortcut="72">http://www.ounc<wbr>elabs.com</a>
</p>]]>
        
    </content>
</entry>

<entry>
    <title>Confidential Data: You&apos;re Giving Away Your Corporate Secrets!</title>
    <link rel="alternate" type="text/html" href="http://www.onestopappsecurity.com/content/2008/10/confidential-data-youre-giving-away-your-corporate-secrets.html" />
    <id>tag:www.onestopappsecurity.com,2008:/content//1.81</id>

    <published>2008-10-06T19:27:38Z</published>
    <updated>2008-10-29T12:43:09Z</updated>

    <summary>&quot;Innocuous&quot; data can lead to a major break-in. Most sites need to radically redefine their definition of &quot;sensitive data&quot;.</summary>
    <author>
        <name>Neil Smithline</name>
        <uri>http://www.smithline.net</uri>
    </author>
    
        <category term="author-ns" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="published" scheme="http://www.sixapart.com/ns/types#category" />
    
        <category term="security" scheme="http://www.sixapart.com/ns/types#category" />
    
    <category term="articles" label="articles" scheme="http://www.sixapart.com/ns/types#tag" />
    <category term="ns" label="ns" scheme="http://www.sixapart.com/ns/types#tag" />
    
    <content type="html" xml:lang="en" xml:base="http://www.onestopappsecurity.com/content/">
        <![CDATA[<p class="original-source">This was <a target="_blank" href="http://www.cio.com/article/395563/Confidential_Data_You_re_Giving_Away_Your_Corporate_Secrets_">originally published</a> on the <a target="_blank" href="http://www.cio.com">CIO</a> website and is reprinted with their permission. It also was <a target="_blank" href="http://www.cw.com.hk/article.php?id_article=1793">republished</a> by <a target="_blank" href="http://www.cw.com.hk/">ComputerWorld Hong Kong</a>.</p>
<p class="entry-subtitle">&ldquo;In the hands of a skilled attacker, even the most innocuous piece of data can be used to attack the system and gain access to the crown jewels.&rdquo;</p>
<p>A security review or <span id="keynav.shortcut[206]" style="border: 1px dashed darkgray; padding: 1px; background: lightyellow none repeat scroll 0% 0%; position: absolute; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-size: small; visibility: hidden;"><font color="black">206</font></span><a keynav:shortcut="206" href="http://en.wikipedia.org/wiki/Security_audit">security audit</a> is a process that helps an organization determine if they have the appropriate security measures in place; that is, if the amount they are spending on each security countermeasure approximates the cost to the company of the expected loss. While there are many methodologies for performing a security audit, most include the following steps: identification of valuable assets, estimating their value to the company and their cost if they are somehow damaged, determining their current level of protection, <span id="keynav.shortcut[207]" style="border: 1px dashed darkgray; padding: 1px; background: lightyellow none repeat scroll 0% 0%; position: absolute; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-size: small; visibility: hidden;"><font color="black">207</font></span><a keynav:shortcut="207" href="http://www.cio.com/article/344364">determining the probability of a potential break-in (i.e., risk), deciding if an asset's current protection matches its estimated value and investigating what options are available to remedy any differences</a>. At first glance, while perhaps time-consuming,<wbr></wbr> this does not seem terribly complex. Ask several top executives what they consider to be the company's valuable assets; merge and prioritize the lists, and you are likely well on your way.</p>
<p>If your executives did well, they will have included many types of assets including physical assets such as buildings, technological assets such as computers, intellectual property assets such as domain knowledge, etc. They might have thought to <span id="keynav.shortcut[212]" style="border: 1px dashed darkgray; padding: 1px; background: lightyellow none repeat scroll 0% 0%; position: absolute; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-size: small; visibility: hidden;"><font color="black">212</font></span><a keynav:shortcut="212" href="http://www.cio.com/article/40287">list risks such as fire, theft, computer break-ins, industrial espionage and even natural disasters</a>.</p>
<p>If you add input from the IT team, you will likely get items added to the list involving security of employee passwords, firewall and other Internet-protec<wbr></wbr>tion mechanisms, power and air-conditionin<wbr></wbr>g failures, etc.</p>
<p>Once complete, you will likely have a very comprehensive list of your company's assets that need protection. But one asset is nearly always forgotten. This is the internal configuration of a company's computer systems. &quot;Internal configuration&quot; includes:</p>
<ul>
	<li>Internal network topology including firewalls, internal IP addresses, and other networking information and configuration that only need to be accessible from within an enterprise's private network.</li>
	<li>Hardware and software products, including their manufacturers, models and versions.</li>
	<li>Usernames, administrative accounts, privileged individuals.</li>
	<li>Internal or external services used by the company (e.g.: travel agency, office supply website, Active Directory services) and the means of connectivity to those services.</li>
	<li>Computer languages and software frameworks used for networked applications.</li>
	<li>Whole or partial source code&mdash;including stack traces.</li>
</ul>
<p>These pieces of internal configuration, along with many others that have been omitted from this column for brevity, all share one thing in common: They are frequently thought of as non-confidentia<wbr></wbr>l data, yet, in the hands of a skilled attacker, each might contribute to a break-in. With confidential data such as passwords or private keys, the threat from exposure is clear. But from these trivial configuration facts (e.g.: an IP address that is only accessible from within the enterprise network), the threats are less obvious.</p>
<p>To understand how this information could be dangerous, put yourself in the mind of an attacker. Start out by imagining an attacker who has their eye set on your site. Their goal could be a specific asset such as stealing computer resources or the design plans for the next Death Star. The attacker's goal might also be just a general search for anything of value. This can include confidential customer or employee records, passwords to your company's servers, &quot;<span id="keynav.shortcut[205]" style="border: 1px dashed darkgray; padding: 1px; background: lightyellow none repeat scroll 0% 0%; position: absolute; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-size: small; visibility: hidden;"><font color="black">205</font></span><a keynav:shortcut="205" href="http://en.wiktionary.org/wiki/tag#Verb">tagging</a>&quot; your homepage, etc. Your company may have been chosen for any number of reasons, ranging from you being the only company who has the desired asset (e.g.: There is no competition in the Death Star market), they know your company, they have felt slighted by your company, etc. In reality it does not matter. They are attacking, you are defending; both sides want to win but only one can.</p>
<p>The attacker not only wants to succeed in obtaining the desired asset, but they wish not to get caught or go to jail. Even if they are residing in a country that does not enforce computer theft and will not imprison them, getting caught still means that a successful attack will be more difficult as the attacked site will almost certainly add new security measures or tighten the existing ones to prevent the attack from being reproduced.</p>
<p>So, to begin with, the attacker approaches your site as a typical user: pulling up the homepage, browsing and searching the site, perhaps even buying products from your site. But as the attacker does this, they will be recording every piece of data that is returned. In particular, as part of the HTTP protocol, there are descriptive pieces of a webpage that can be accessed by the Web browser but are not typically displayed. While there are many ways of viewing these headers, I usually use <span id="keynav.shortcut[206]" style="border: 1px dashed darkgray; padding: 1px; background: lightyellow none repeat scroll 0% 0%; position: absolute; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-size: small; visibility: hidden;"><font color="black">206</font></span><a keynav:shortcut="206" href="http://www.mozilla.com/en-US/firefox/">Firefox</a> and the <span id="keynav.shortcut[207]" style="border: 1px dashed darkgray; padding: 1px; background: lightyellow none repeat scroll 0% 0%; position: absolute; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-size: small; visibility: hidden;"><font color="black">207</font></span><a keynav:shortcut="207" href="https://addons.mozilla.org/en-US/firefox/addon/3829">Live HTTP Headers</a> extension.</p>
<p>Let me demonstrate how this process works by putting on my <span id="keynav.shortcut[208]" style="border: 1px dashed darkgray; padding: 1px; background: lightyellow none repeat scroll 0% 0%; position: absolute; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-size: small; visibility: hidden;"><font color="black">208</font></span><a keynav:shortcut="208" href="http://en.wikipedia.org/wiki/Black_hat" target="_blank">black hat</a> for a minute. I decided to make the <span id="keynav.shortcut[209]" style="border: 1px dashed darkgray; padding: 1px; background: lightyellow none repeat scroll 0% 0%; position: absolute; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-size: small; visibility: hidden;"><font color="black">209</font></span><a keynav:shortcut="209" title="More stories related to Mozilla Firefox" href="http://www.cio.com/article/395563/subject/Mozilla+Firefox">Firefox</a> website my target (I chose this for no other reason than because it was on my screen browser from having created a link to it in the previous paragraph). Looking at the headers for <span id="keynav.shortcut[210]" style="border: 1px dashed darkgray; padding: 1px; background: lightyellow none repeat scroll 0% 0%; position: absolute; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-size: small; visibility: hidden;"><font color="black">210</font></span><a keynav:shortcut="210" href="http://www.mozilla.com/en-US/firefox/">http://www.mozi<wbr></wbr>lla.com/en-US/f<wbr></wbr>irefox/</a>, I notice the following headers as interesting:</p>
<div class="inline_img_large_left">
<p style="text-align: center;"><img border="0" src="http://www.cio.com/images/content/articles/body/2008/06/smithline_chart.JPG" alt="" /></p>
<div class="inline_image_caption">&nbsp;</div>
</div>
<p>The Server header tells me that Apache 2.0.52 is being run on a machine running Red Hat Linux. The &quot;X-Powered-By&quot; header lets us know that the site's software, or at least this page is powered by <span id="keynav.shortcut[211]" style="border: 1px dashed darkgray; padding: 1px; background: lightyellow none repeat scroll 0% 0%; position: absolute; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-size: small; visibility: hidden;"><font color="black">211</font></span><a keynav:shortcut="211" href="http://php.net/">PHP</a> version 4.3.9. I have never seen the &quot;Via&quot; header before but a quick Google search and the second hit on &quot;ns-cache cookie&quot; tells me that the site is using the Citrix NetScaler Application Delivery Software 6.1 caching software. Searching around <span id="keynav.shortcut[212]" style="border: 1px dashed darkgray; padding: 1px; background: lightyellow none repeat scroll 0% 0%; position: absolute; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-size: small; visibility: hidden;"><font color="black">212</font></span><a keynav:shortcut="212" href="http://www.citrix.com/">Citrix's</a> site, I see that the current version of NetScaler is version <span id="keynav.shortcut[213]" style="border: 1px dashed darkgray; padding: 1px; background: lightyellow none repeat scroll 0% 0%; position: absolute; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-size: small; visibility: hidden;"><font color="black">213</font></span><a keynav:shortcut="213" href="http://www.citrix.com/English/ps2/products/product.asp?contentID=21679">8.0</a>. Knowing that caches are frequently a source of security problems and that <span id="keynav.shortcut[214]" style="border: 1px dashed darkgray; padding: 1px; background: lightyellow none repeat scroll 0% 0%; position: absolute; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-size: small; visibility: hidden;"><font color="black">214</font></span><a keynav:shortcut="214" title="More stories related to The Mozilla Corporation" href="http://www.cio.com/article/395563/subject/The+Mozilla+Corporation">Mozilla</a> is running two major releases behind the current version, I look on <span id="keynav.shortcut[215]" style="border: 1px dashed darkgray; padding: 1px; background: lightyellow none repeat scroll 0% 0%; position: absolute; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-size: small; visibility: hidden;"><font color="black">215</font></span><a keynav:shortcut="215" title="More stories related to Citrix Systems Inc." href="http://www.cio.com/article/395563/subject/Citrix+Systems+Inc.">Citrix</a>'s site for any security bulletins for 6.1. My hope is that I will find a security bulletin that documents a vulnerability whose fix has not been applied to the site and use that to gain access to some protected information. Once I have done that, I will use whatever new information I have gained access to and try to get deeper into the system, proceeding patiently, one layer at a time, and changing tacks as I run into dead ends. And so the process goes. Each seemingly innocuous piece of information is used in combination with other information&mdash;inf<wbr></wbr>ormation on hacking sites, etc.&mdash;to attempt the break-in.</p>
<p>Replacing my black hat with my more typical <span id="keynav.shortcut[205]" style="border: 1px dashed darkgray; padding: 1px; background: lightyellow none repeat scroll 0% 0%; position: absolute; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-size: small; visibility: hidden;"><font color="black">205</font></span><a keynav:shortcut="205" href="http://en.wikipedia.org/wiki/White_hat">white hat</a>, one can begin to see how each piece of information that is passed to the user, no matter how innocuous it may appear on its own, can be combined with other data to become a risk to the site's integrity. The <span id="keynav.shortcut[206]" style="border: 1px dashed darkgray; padding: 1px; background: lightyellow none repeat scroll 0% 0%; position: absolute; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-size: small; visibility: hidden;"><font color="black">206</font></span><a keynav:shortcut="206" href="http://www.owasp.org/index.php/Top_10_2007">2007 OWASP Top Ten Vulnerabilities<wbr></wbr></a> document has <span id="keynav.shortcut[207]" style="border: 1px dashed darkgray; padding: 1px; background: lightyellow none repeat scroll 0% 0%; position: absolute; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-size: small; visibility: hidden;"><font color="black">207</font></span><a keynav:shortcut="207" href="http://www.owasp.org/index.php/Top_10_2007-A6">Information Leakage and Improper Error Handling</a> as the sixth most common Web vulnerability.</p>
<p>While any single, non-confidentia<wbr></wbr>l piece of configuration data is probably not harmful to be leaked out by itself, in combination with other pieces of configuration data, even the most innocuous piece of data can be used to attack the system. With this in mind, the best strategy is to remove the easiest pieces of configuration data from leaking but not go crazy removing every piece. Odds are that some of the more difficult pieces of configuration data will take so much effort to remove that your efforts are better spent elsewhere.</p>
<p>I want to conclude that before writing the Firefox attack example, I searched both the Citrix website and other security websites and cannot find any vulnerabilities<wbr></wbr> for NetScaler 6.1. That is, if I was actually trying to attack the Firefox site, I probably have run into a dead-end. More importantly, to the best of my knowledge, I have in no way exposed the Firefox website or written anything that exposes the Firefox site in any way. I am strongly in favor of <span id="keynav.shortcut[208]" style="border: 1px dashed darkgray; padding: 1px; background: lightyellow none repeat scroll 0% 0%; position: absolute; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-size: small; visibility: hidden;"><font color="black">208</font></span><a keynav:shortcut="208" href="http://en.wikipedia.org/wiki/Responsible_disclosure#Various_interpretations">responsible disclosure</a> and almost never believe in exposing a site's vulnerabilities<wbr></wbr> publicly (<span id="keynav.shortcut[209]" style="border: 1px dashed darkgray; padding: 1px; background: lightyellow none repeat scroll 0% 0%; position: absolute; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-size: small; visibility: hidden;"><font color="black">209</font></span><a keynav:shortcut="209" title="More stories related to Bruce Schneier" href="http://www.cio.com/article/395563/subject/Bruce+Schneier">Bruce Schneier</a>'s blog has a nice <span id="keynav.shortcut[210]" style="border: 1px dashed darkgray; padding: 1px; background: lightyellow none repeat scroll 0% 0%; position: absolute; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-size: small; visibility: hidden;"><font color="black">210</font></span><a keynav:shortcut="210" href="http://www.schneier.com/blog/archives/2007/01/debating_full_d.html">discussion</a> of the this subject).</p>]]>
        
    </content>
</entry>

<entry>
    <title>Are Social Networking Sites Too Dangerous for Your Intranet</title>
    <link rel="alternate" type="text/html" href="http://www.onestopappsecurity.com/content/2008/09/are-social-networking-sites-to.html" />
    <id>tag:www.onestopappsecurity.com,2008:/content//1.28</id>

    <published>2008-09-08T13:59:44Z</published>
    <updated>2008-11-05T04:12:09Z</updated>

    <summary>Many companies that do not object to their employees using company resources for personal uses such as web surfing restrict access to sites that are potentially illegal to protect their...</summary>
    <author>
        <name>Neil Smithline</name>
        <uri>http://www.smithline.net</uri>
    </author>
    
    
    <content type="html" xml:lang="en" xml:base="http://www.onestopappsecurity.com/content/">
        <![CDATA[<p>Many companies that do not object to their employees using company resources for personal uses such as web surfing restrict access to sites that are potentially illegal to protect their company from civil or potentially even criminal penalties. But now corporate IT teams around the globe have to deal decide whether Facebook and other social networking sites are such a great security risk that access to them has to be restricted to protect the corparation's assets.</p>
<p>Social networking sites try to enhance user's web experience by utilizing basic web techniques in ways that encourage collaboration and interaction. These sites began as single-service sites such as blog-only sites like Blogspot.com, photo-only sites such as Flickr.com and bookmark-only sites such as Del.icio.us. But they have evolved in into rich sites such as Facebook.com that provide a vast array of functionality, interaction, sharing, communicatiion, etc... Facebook.com has been especially successful, at least in part, due to its model of focusing on application support functionality and not end-user features. Independent developers (i.e.: not Facebook.com employees) are then incentized to write and deploy successful applications on Facebook.com. By providing the foundation and scaffolding for the site and not getting bogged down in specific user features or business models for each feature, the site quickly became one of the most popular and richest social networking sites on the web, leaving much better established competition such as Myspace.com behind.</p>
<p>Facebook.com, has recently had a number of high-profile security breaches including the <a target="_blank" href="http://www.msnbc.msn.com/id/23785561/">photo breach of March 2008</a>, the Facebook.com <a target="_blank" href="http://abcnews.go.com/Technology/Story?id=3475246&amp;page=1">code leak of August, 2007</a>, a set of problems including allowing <a target="_blank" href="http://abcnews.go.com/Technology/Story?id=3475246&amp;page=1">running of arbitrary code, again in August, 2007</a>, as well as a host of others (see The Register's <a target="_blank" href="http://www.google.com/search?hl=en&amp;pwst=1&amp;q=+site:www.theregister.co.uk+facebook+security">pages on Facebook.com's security</a>). As early as 2005, the <a href="http://www.securityfocus.com/brief/18" target="_blank">Samy worm</a> utilized a <a href="https://www.owasp.org/index.php/Top_10_2007-A1" target="_blank">cross-site scripting vulnerability</a> on Myspace.com that was so successful that within hours it caused Myspace.com to grind to a halt. Facebook.com, recognizing the potential threat to its customer base (and its revenue), has frantically been implementing, and in some cases practically advertising its ever-improving security functionality (see Facebook press releases from <a href="http://www.facebook.com/press/releases.php?p=11174" target="_blank">November 2007</a>, <a href="http://www.facebook.com/press/releases.php?p=24114" target="_blank">March 2008</a> and <a href="http://www.facebook.com/press/releases.php?p=48242" target="_blank">July 2008</a>). The pressure for privacy and security was so intense that the November 2007 press release is essentially an apology to its readers containing statements such as &quot;We've made a lot of mistakes building this feature, but we've made even more with how we've handled them.&quot;</p>
<p>Yet, despite all the best efforts of Facebook.com, in the beginning of September, researchers created a <a href="http://en.wikipedia.org/wiki/Proof_of_concept" target="_blank">proof-of-concept</a> Facebook application that was actually a <a href="http://http://en.wikipedia.org/wiki/Trojan_horse_(computing)">Trojan</a> called <a href="http://blogs.zdnet.com/security/?p=1854" target="_blank">Facebot</a>. If this had been a real attack, any user that would run the application would silently have their computer taken over and made part of a <a href="http://en.wikipedia.org/wiki/Botnet" target="_blank">botnet</a>. </p>
<p>While Facebook.com and other social networking sites appear to be doing their best to provide security, they are clearly failing. The problem seems to lie in the very nature of the business model of these sites: they are designed to allow user interaction, communication, cooperation, etc... while still providing security and privacy. Combining free interaction and communication with security and privacy is a large task for any development team to manage. Sites like Facebook have an even bigger problem to deal with in that they allow third-party developers to extend the Facebook site with applications. </p>
<p>Of all the social networking sites, Facebook.com might have the largest API and hence the biggest risk. My my count, the <a href="http://wiki.developers.facebook.com/index.php/API" target="_blank">basic Facebook API</a> is based on REST and has 72 methods in it (6 of them still in beta as of 9/9/2008). On top of this, there are several other APIs including the <a target="_blank" href="http://wiki.developers.facebook.com/index.php/Resizable_IFrame">Canvas/IFrame API</a>,&nbsp; <a target="_blank" href="http://wiki.developers.facebook.com/index.php/Data_Store_API_documentation">Data Store API</a>, HTML and XHTML extensions <a target="_blank" href="http://wiki.developers.facebook.com/index.php/FBML">FBML</a> and <a target="_blank" href="http://wiki.developers.facebook.com/index.php/XFBML">XFBML</a>), and FQL, a SQL-like language. Maintaining security in such a large and rapidly growing API is practically impossible. A single design mistake or a single implementation error can obviate all security efforts. As if all of this is not complictated enough, Facebook supports <a href="http://wiki.developers.facebook.com/index.php/Client_Libraries" target="_blank">17 libraries</a> for different programming languages and platforms.</p>
<p>While Facebook is very popular and, due to its large footprint with 17 libraries, other social networking sites are having their own security problems. One of the<a href="http://www.theregister.co.uk/2008/09/09/twitter_orkut_attack/" target="_blank"> more sophisticated attacks</a> occurred in in the beginning of September. The attack utilized two social networking sites in combination, <a href="http://twitter.com" target="_blank">Twitter.com</a> and <a href="http://orkut.com" target="_blank">Orkut.com</a> to spread the <a href="http://www.spywareguide.com/spydet_32597_orkontron.html" target="_blank">OrkuTron</a> trojan.<a href="http://www.theregister.co.uk/2008/09/09/twitter_orkut_attack/" target="_blank">  <br />
</a></p>
<p>Besides the risk to a company's computing resources, network, proprietary data, customer information, etc... there are many legal questions that have yet to be answered. For example, being that social networking sites are hot spots for impersonation or identity theft, what are the legal ramifications for Company X if Company X's CEO has one of their social networking accounts hijacked and used to post comments that manipulate Company X's stock price?</p>
<p>In my opinion, social networks are adding new features and functionality before they even understand the security requirements of existing features. I think that serious consideration has to be given to prohibiting access to them from within a company's network. Perhaps, if enough companies block access to these sites, social networking sites will understand that they have to change their priorities, reduce their pace of innovation, provide the option of &quot;safe&quot; subsets to users' who want it, or some other solution to their ever-increasing security problems. Until a firm stance is taken demanding more security, the world's corporations will continue to fund people such as <a href="http://en.wikipedia.org/wiki/Mark_Zuckerberg" target="_blank">Mark Zuckerberg</a>, Facebook's 23 year-old founder and billionaire.</p>]]>
        
    </content>
</entry>

</feed>
