<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title><![CDATA[[SecurityRatty] tag: defective]]></title>
    <link>http://securityratty.com/tag/defective</link>
    <description></description>
    <pubDate>Mon, 16 Jul 2007 07:40:00 +0000</pubDate>
    <generator>iRatty Engine</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <item>
      <title><![CDATA[$13 Billion of U.S. Taxpayers Money was Stolen or Wasted in Iraq.]]></title>
      <link>http://securityratty.com/article/e47ddb39bd9befd964ed4262d0b883f6</link>
      <guid>http://securityratty.com/article/e47ddb39bd9befd964ed4262d0b883f6</guid>
      <description><![CDATA[This article in yesterday's &quot;Washington Post&quot; was sickening to read but hardly comes as a surprise

It is also sad to read that there was most likely involvement by Iraqi Government officials and U.S....]]></description>
      <content:encoded><![CDATA[This article in yesterday's <a href="http://www.washingtonpost.com/wp-dyn/content/article/2008/09/22/AR2008092202053.html">"Washington Post" </a>was sickening to read but hardly comes as a surprise.<br /><span id="fullpost"><br />It is also sad to read that there was most likely involvement by Iraqi Government officials and U.S. contractors.  The investigator who testified as to the waste and theft was fearful of his life as 32 of his fellow investigative co-workers have been killed.  <br /></span><br />One scheme involved officials from the Iraqi Defense Ministry setting up a front company that received $1.7 Billion in U.S. funds to buy guns, armoured vehicles and other equipment.  Only a small percentage was ever purchased and in one case, they had bullet-proof vests delivered that were defective and useless.<br /><br />In another case involving Iraqis and U.S. contractors, $24.4 million was spent on an electricity project that "only existed on paper".  The worst part was that money sent to the Defense Ministry was discovered to have been diverted to Al-Qaeda and found its way to bank accounts in Jordan and other places.<br /><br />Let us hope the Government spends the proposed $700 Billion bail out funds in a more responsible and accountable manner.<div class="blogger-post-footer">Visit Sexton Executive Security at www.sextonsecurity.com</div>]]></content:encoded>
      <pubDate>Thu, 25 Sep 2008 00:03:00 +0000</pubDate>
      <category domain="http://securityratty.com/tag/billion">billion</category>
      <category domain="http://securityratty.com/tag/iraqi defense ministry">iraqi defense ministry</category>
      <category domain="http://securityratty.com/tag/defense ministry">defense ministry</category>
      <category domain="http://securityratty.com/tag/iraqi government officials">iraqi government officials</category>
      <category domain="http://securityratty.com/tag/officials">officials</category>
      <category domain="http://securityratty.com/tag/billion bail">billion bail</category>
      <category domain="http://securityratty.com/tag/fellow investigative co-workers">fellow investigative co-workers</category>
      <category domain="http://securityratty.com/tag/funds">funds</category>
      <category domain="http://securityratty.com/tag/front company">front company</category>
      <source url="http://www.thebulletproofblog.com/2008/09/13-billion-of-us-taxpayers-money-was.html">$13 Billion of U.S. Taxpayers Money was Stolen or Wasted in Iraq.</source>
    </item>
    <item>
      <title><![CDATA[MBTA Hacking Injunction Lifted]]></title>
      <link>http://securityratty.com/article/68d65816825f3a808d946a2980aee0f8</link>
      <guid>http://securityratty.com/article/68d65816825f3a808d946a2980aee0f8</guid>
      <description><![CDATA[Earlier today, the US District Court dealt a victory to the MBTA hackers and the EFF, lifting the injunction issued on August 9th to prevent the three MIT students from presenting their findings at...]]></description>
      <content:encoded><![CDATA[<p>Earlier today, the US District Court <a href="http://www.eff.org/press/archives/2008/08/19">dealt a victory</a> to the MBTA hackers and the EFF, lifting the injunction issued on August 9th to prevent the three MIT students from presenting their findings at <a href="http://defcon.org/">DEFCON 16</a>.  In summary:</p>
<blockquote><p>The lawsuit claimed that the students&#8217; planned presentation would violate the Computer Fraud and Abuse Act (CFAA) by enabling others to defraud the MBTA of transit fares. A different federal judge, meeting in a special Saturday session, ordered the trio not to disclose for ten days any information that could be used by others to get free subway rides.</p>
<p>&#8220;The judge today correctly found that it was unlikely that the CFAA would apply to security researchers giving an academic talk,&#8221; said EFF Staff Attorney Marcia Hofmann. &#8220;A presentation at a security conference is not some sort of computer intrusion. It&#8217;s protected speech and vital to the free flow of information about computer security vulnerabilities. Silencing researchers does not improve security &#8212; the vulnerability was there before the students discovered it and would remain in place regardless of whether the students publicly discussed it or not.&#8221;</p></blockquote>
<p>This sets a good precedent for future cases, and perhaps next time a similar situation arises, a judge will not be so quick to issue a gag order.  It&#8217;s not a happy ending yet though, as the <a href="http://www.eff.org/files/filenode/MBTA_v_Anderson/mbta-v-anderson-complaint.pdf">original lawsuit</a> is still in effect.</p>
<p>As Chris Wysopal <a href="http://www.veracode.com/blog/2008/08/sorry-charliecard-your-security-model-is-broken/">pointed out last week</a>, the MBTA&#8217;s ire is misdirected.  Rather than suing the vendor who sold them the defective system, they sued and attempted to silence the students who discovered the weakness.  This is 2008, not 1988 &#8212; did they honestly think a gag order would prevent the information from reaching the general public?   The DEFCON presentation was already available on the <a href="http://en.wikipedia.org/wiki/Series_of_tubes">Intertubes</a> prior to the injunction being issued, and the MBTA attorneys included a copy of the confidential whitepaper with their filing, thereby making it public.  </p>
<p>I guess you wouldn&#8217;t expect that a transit authority would have paid any attention to the<a href="http://www.schneier.com/blog/archives/2005/07/cisco_harasses.html">Ciscogate fiasco</a> from a few years ago. <a href="http://cryptome.org/lynn-cisco-jpg.htm">That presentation</a> never got out either, did it?  All that taxpayer money the MBTA spent on ridiculous lawsuits and restraining orders could have been put toward fixing the security flaws.  What a concept.</p>
]]></content:encoded>
      <pubDate>Wed, 20 Aug 2008 01:49:55 +0000</pubDate>
      <category domain="http://securityratty.com/tag/mbta">mbta</category>
      <category domain="http://securityratty.com/tag/students">students</category>
      <category domain="http://securityratty.com/tag/students publicly">students publicly</category>
      <category domain="http://securityratty.com/tag/defcon presentation">defcon presentation</category>
      <category domain="http://securityratty.com/tag/defcon">defcon</category>
      <category domain="http://securityratty.com/tag/mbta hackers">mbta hackers</category>
      <category domain="http://securityratty.com/tag/presentation">presentation</category>
      <category domain="http://securityratty.com/tag/mit students">mit students</category>
      <category domain="http://securityratty.com/tag/judge">judge</category>
      <source url="http://www.veracode.com/blog/2008/08/mbta-hacking-injunction-lifted/">MBTA Hacking Injunction Lifted</source>
    </item>
    <item>
      <title><![CDATA[Ex-Congressmans Firm Made Defective Tank Deal With Iraq]]></title>
      <link>http://securityratty.com/article/d5620d460cb83698922787c6d59ffa8e</link>
      <guid>http://securityratty.com/article/d5620d460cb83698922787c6d59ffa8e</guid>
      <description><![CDATA[If, someday, there are T-shirts sold in Iraq that read, &quot;the United States invaded our country and all we got were these crappy tanks,&quot; you can thank former Rep. Curt Weldons arms-dealing firm,...]]></description>
      <content:encoded><![CDATA[If, someday, there are T-shirts sold in Iraq that read, "the United States invaded our country and all we got were these crappy tanks," you can thank former Rep. Curt Weldon’s arms-dealing firm, Defense Solutions, for the new outfits. The company got itself a contract to refurbish Soviet-era tanks for the Iraqi government under a deal with such lopsided terms it likely would have been illegal under U.S. law.<br style="clear: both;"/>
  <img alt="" style="border: 0; height:1px; width:1px;" border="0" src="http://www.pheedo.com/img.phdo?i=d54f97d7ac81f2d5552501435ca66b85" height="1" width="1"/>
<img src="http://www.pheedo.com/feeds/tracker.php?i=d54f97d7ac81f2d5552501435ca66b85" style="display: none;" border="0" height="1" width="1" alt=""/><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/wired/politics/privacy?a=rZUsRJ"><img src="http://feeds.feedburner.com/~f/wired/politics/privacy?i=rZUsRJ" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/wired/politics/privacy?a=gPU0yj"><img src="http://feeds.feedburner.com/~f/wired/politics/privacy?i=gPU0yj" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/wired/politics/privacy?a=piKBtj"><img src="http://feeds.feedburner.com/~f/wired/politics/privacy?i=piKBtj" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/wired/politics/privacy?a=eYrPWJ"><img src="http://feeds.feedburner.com/~f/wired/politics/privacy?i=eYrPWJ" border="0"></img></a>
 <a href="http://feeds.wired.com/~f/wired/politics/security?a=qDKtNJ"><img src="http://feeds.wired.com/~f/wired/politics/security?i=qDKtNJ" border="0"></img></a> <a href="http://feeds.wired.com/~f/wired/politics/security?a=JIKrBj"><img src="http://feeds.wired.com/~f/wired/politics/security?i=JIKrBj" border="0"></img></a> <a href="http://feeds.wired.com/~f/wired/politics/security?a=Xcpydj"><img src="http://feeds.wired.com/~f/wired/politics/security?i=Xcpydj" border="0"></img></a> <a href="http://feeds.wired.com/~f/wired/politics/security?a=FCOERJ"><img src="http://feeds.wired.com/~f/wired/politics/security?i=FCOERJ" border="0"></img></a> </div><img src="http://feeds.feedburner.com/~r/wired/politics/privacy/~4/331734469" height="1" width="1"/><img src="http://feeds.wired.com/~r/wired/politics/security/~4/331734472" height="1" width="1"/>]]></content:encoded>
      <pubDate>Thu, 10 Jul 2008 08:00:00 +0000</pubDate>
      <category domain="http://securityratty.com/tag/refurbish soviet-era tanks">refurbish soviet-era tanks</category>
      <category domain="http://securityratty.com/tag/defense solutions">defense solutions</category>
      <category domain="http://securityratty.com/tag/deal">deal</category>
      <category domain="http://securityratty.com/tag/iraqi government">iraqi government</category>
      <category domain="http://securityratty.com/tag/curt weldons">curt weldons</category>
      <category domain="http://securityratty.com/tag/crappy tanks">crappy tanks</category>
      <category domain="http://securityratty.com/tag/firm">firm</category>
      <category domain="http://securityratty.com/tag/iraq">iraq</category>
      <category domain="http://securityratty.com/tag/law">law</category>
      <source url="http://feeds.wired.com/~r/wired/politics/security/~3/331734472/someday-there-w.html">Ex-Congressmans Firm Made Defective Tank Deal With Iraq</source>
    </item>
    <item>
      <title><![CDATA[Q&A: Want better security apps? Make vendors accountable, Geekonomics author says]]></title>
      <link>http://securityratty.com/article/c560e1b844f47cfb39634e4edc3682aa</link>
      <guid>http://securityratty.com/article/c560e1b844f47cfb39634e4edc3682aa</guid>
      <description><![CDATA[Security software vendors have gotten away with writing defective and insecure code only because the market has allowed them to, according to David Rice, the author of...]]></description>
      <content:encoded><![CDATA[Security software vendors have gotten away with writing defective and insecure code only because the market has allowed them to, according to David Rice, the author of <i>Geekonomics</i>.
<p><a href="http://feeds.computerworld.com/~a/Computerworld/Security/News?a=n8EfH7"><img src="http://feeds.computerworld.com/~a/Computerworld/Security/News?i=n8EfH7" border="0"></img></a></p><img src="http://feeds.computerworld.com/~r/Computerworld/Security/News/~4/247030429" height="1" width="1"/>]]></content:encoded>
      <pubDate>Thu, 06 Mar 2008 11:00:00 +0000</pubDate>
      <category domain="http://securityratty.com/tag/security software vendors">security software vendors</category>
      <category domain="http://securityratty.com/tag/geekonomics">geekonomics</category>
      <category domain="http://securityratty.com/tag/author">author</category>
      <category domain="http://securityratty.com/tag/david rice">david rice</category>
      <category domain="http://securityratty.com/tag/insecure code">insecure code</category>
      <category domain="http://securityratty.com/tag/market">market</category>
      <category domain="http://securityratty.com/tag/defective">defective</category>
      <source url="http://feeds.computerworld.com/~r/Computerworld/Security/News/~3/247030429/article.do">Q&amp;A: Want better security apps? Make vendors accountable, Geekonomics author says</source>
    </item>
    <item>
      <title><![CDATA[Chip & PIN terminals vulnerable to simple attacks]]></title>
      <link>http://securityratty.com/article/81559287e233424259b25f0bd4b724e4</link>
      <guid>http://securityratty.com/article/81559287e233424259b25f0bd4b724e4</guid>
      <description><![CDATA[Steven J. Murdoch , Ross Anderson and I looked at how well PIN entry devices (PEDs) protect cardholder data. Our paper will be published at the IEEE Symposium on Security and Privacy in May, though an...]]></description>
      <content:encoded><![CDATA[<p><a href="http://www.cl.cam.ac.uk/~sjm217">Steven J. Murdoch</a>, <a href="http://www.cl.cam.ac.uk/~rja14">Ross Anderson</a> and I looked at how well PIN entry devices (PEDs) protect cardholder data. Our paper will be published at the <a href="http://www.ieee-security.org/TC/SP2008/oakland08.html">IEEE Symposium on Security and Privacy</a> in May, though an extended version is available as a <a href="http://www.cl.cam.ac.uk/techreports/UCAM-CL-TR-711.pdf">technical report</a>. A segment about this work will appear on BBC Two&#8217;s <a href="http://news.bbc.co.uk/1/hi/programmes/newsnight/default.stm">Newsnight</a> at 22:30 tonight.</p>
<p>We were able to demonstrate that two of the most popular PEDs in the UK &#8212; the Ingenico i3300 and Dione Xtreme &#8212; are vulnerable to a &#8220;tapping attack&#8221; using a paper clip, a needle and a small recording device. This allows us to record the data exchanged between the card and the PED&#8217;s processor without triggering tamper proofing mechanisms, and in clear violation of their supposed security properties. This attack can capture the card&#8217;s PIN because UK banks have opted to issue cheaper cards that do not use asymmetric cryptography to encrypt data between the card and PED.</p>
<p><a href="http://www.cl.cam.ac.uk/research/security/banking/ped/ingenico-tap.jpg"><img height="180" src="http://www.cl.cam.ac.uk/research/security/banking/ped/ingenico-tap.jpg" alt="Ingenico attack" /></a>&nbsp;<a href="http://www.cl.cam.ac.uk/research/security/banking/ped/dione-tap.jpg"><img height="180" src="http://www.cl.cam.ac.uk/research/security/banking/ped/dione-tap.jpg" alt="Dione attack" /></a></p>
<p>In addition to the PIN, as part of the transaction, the PED reads an exact replica of the magnetic strip (for backwards compatibility). Thus, if an attacker can tap the data line between the card and the PED&#8217;s processor, he gets all the information needed to create a magnetic strip card and withdraw money out of an ATM that does not read the chip.</p>
<p>We also found that the certification process of these PEDs is flawed. <a href="http://www.apacs.org.uk/">APACS</a> has been effectively approving PEDs for the UK market as Common Criteria (CC) <em><a href="http://www.apacs.org.uk/payment_options/PINEntryDevices.html">Evaluated</a></em>, which does not equal Common Criteria <em><a href="http://www.commoncriteriaportal.org/public/expert/index.php?menu=7">Certified</a></em> (no PEDs are CC Certified). What APACS means by &#8220;Evaluated&#8221; is that an approved lab has performed the &#8220;evaluation&#8221;, but unlike CC Certified products, the reports are kept secret, and governmental Certification Bodies do not do quality control.</p>
<p>This process causes a race to the bottom, with PED developers able to choose labs that will <em>approve</em> rather than <em>improve</em> PEDs, at the lowest price. Clearly, the certification process needs to be more open to the cardholders, who suffer from the fraud. It also needs to be fixed such that defective devices are refused certification.</p>
<p>We notified APACS, Visa, and the PED manufactures of our results in mid-November 2007 and responses arrived only in the last week or so (Visa chose to respond only a few minutes ago!) The <a href="http://www.cl.cam.ac.uk/research/security/banking/ped/#responses">responses</a> are the usual claims that our demonstrations can only be done in lab conditions, that criminals are not that sophisticated, the threat to cardholder data is minimal, and that their &#8220;layers of security&#8221; will detect fraud. There is no evidence to support these claims. APACS state that the PEDs we examined will not be de-certified or removed, and the same for the labs who certified them and would not even tell us who they are.</p>
<p>The threat is very real: tampered PEDs have already been used for fraud. See our <a href="http://www.cl.cam.ac.uk/research/security/banking/ped/press-release.html">press release</a> and <a href="http://www.cl.cam.ac.uk/research/security/banking/ped/">FAQ</a> for basic points and the <a href="http://www.cl.cam.ac.uk/techreports/UCAM-CL-TR-711.pdf">technical report</a> where we discuss the work in detail.</p>
]]></content:encoded>
      <pubDate>Tue, 26 Feb 2008 17:33:32 +0000</pubDate>
      <category domain="http://securityratty.com/tag/peds">peds</category>
      <category domain="http://securityratty.com/tag/popular peds">popular peds</category>
      <category domain="http://securityratty.com/tag/protect cardholder data">protect cardholder data</category>
      <category domain="http://securityratty.com/tag/peds processor">peds processor</category>
      <category domain="http://securityratty.com/tag/pin">pin</category>
      <category domain="http://securityratty.com/tag/cardholder data">cardholder data</category>
      <category domain="http://securityratty.com/tag/data">data</category>
      <category domain="http://securityratty.com/tag/encrypt data">encrypt data</category>
      <category domain="http://securityratty.com/tag/governmental certification bodies">governmental certification bodies</category>
      <source url="http://www.lightbluetouchpaper.org/2008/02/26/chip-pin-terminals-vulnerable-to-simple-attacks/">Chip &amp; PIN terminals vulnerable to simple attacks</source>
    </item>
    <item>
      <title><![CDATA[Long Island University notifies students of mailing error]]></title>
      <link>http://securityratty.com/article/e87fe39d5de41394f8c647c30c9885f7</link>
      <guid>http://securityratty.com/article/e87fe39d5de41394f8c647c30c9885f7</guid>
      <description><![CDATA[Technorati Tag: Security Breach

Date Reported
2/12/08

Organization
Long Island University

Contractor/Consultant/Branch
None

Victims
all students who were enrolled at Long Island University in the...]]></description>
      <content:encoded><![CDATA[Technorati Tag: <a href="http://technorati.com/tag/security+breach" rel="tag">Security Breach</a><br><br>
<img src="http://breachblog.com/images/95781-88451/liu.jpg" align="right" height="63" width="128"><font size="2"><span style="font-weight: bold;">Date Reported: </span><br>2/12/08<br><br><span style="font-weight: bold;">Organization: </span><br><a href="http://www.liu.edu/liu_start.html" target="_blank"> Long Island University</a> <br><br><span style="font-weight: bold;">Contractor/Consultant/Branch:</span><br>None<br><br><span style="font-weight: bold;">Victims:</span><br>"all students who were enrolled at Long Island University in the calendar year 2007"<br><br><span style="font-weight: bold;">Number Affected:</span><br>~28,000<br><br><span style="font-weight: bold;">Types of Data:</span><br>Student names, addresses and Social Security Numbers<br><br style="font-weight: bold;"><span style="font-weight: bold;">Breach Description:</span><br>"During the week of February 4, University officials discovered that some IRS 1098-T “Tuition Statement” forms for 2007, that had been delivered to the Post Office in what may have been defective mailers supplied to the University, were damaged by Post Office processing machinery.&nbsp; Student names, addresses and social security numbers were on these forms and may have been exposed."<br><br><span style="font-weight: bold;">Reference URL:</span><br><a href="http://www.liu.edu/dataexposure.html" target="_blank"> Long Island University online notification</a> <br><a href="http://www.newsday.com/news/local/ny-liiden125573734feb12,0,6745463.story" target="_blank"> Newsday.com online report</a><br><br><span style="font-weight: bold;">Report Credit:</span><br>Long Island University<br><br><span style="font-weight: bold;">Response:</span><br>From the online sources cited above:<br><br>Long Island University is notifying approximately 28,000 students that their personal data may have been exposed to potential identity theft.<br><br>The personal data of all students who were enrolled at Long Island University in the calendar year 2007 may have been exposed.<br><br>This exposure affects the University’s two main campuses - Brooklyn and C.W. Post; and its regional campuses.<br><br>The personal data includes names, addresses and Social Security Numbers.<br><br>Earlier this week, University officials discovered that some IRS 1098-T "Tuition Statement" forms for 2007, that had been delivered to the Post Office in what may have been defective mailers supplied to the University,&nbsp; were damaged by Post Office processing machinery.&nbsp; Student names, addresses and social security numbers on those forms may have been exposed.<br><br>one side of each envelope was missing adhesive, according to LIU officials, which caused about half of the statements to be damaged by U.S. Postal Service processing machinery<br><br>At this time Long Island University has no indication that this data has been accessed or used by anyone. However, the University recognizes the seriousness of this exposure and the need to inform the affected students as quickly as possible.<br><span style="font-style: italic;">[Evan] In this day and age, this is a prudent decision to notify students quickly.&nbsp; LIU deserves credit.<br><br></span>"Long Island University deeply regrets that personal information may have been inadvertently exposed to potential identity theft," Long Island University President David Steinberg said.<br><span style="font-style: italic;">[Evan] The leader of the school addressing the situation is another good call in my opinion.</span><br><br>We are notifying all the affected students by letter. We also have established a "Notification of 1098-T Data Exposure" link on the University’s website, set up a hotline (516-299-2553); and provided information to students that will help them protect their personal information.<br><br>"The likelihood of identity theft is low," said LIU treasurer and vice president for finance Robert N. Altholz. "But for some period of time the names, addresses and Social Security numbers were available to the people in the post office<br><span style="font-style: italic;">[Evan] The additional risk posed by this breach is relatively low.&nbsp; It appears that the information was only exposed to Post Office personnel.&nbsp; I don't feel comfortable with confidential information being sent in the mail, but this happens everyday, especially during this time of year (tax time).</span><br><br><span style="font-weight: bold;">A Victim Reaction:</span><br>"Of course, I don't feel good about having my personal information out there," said junior education major Joanna DeMauro, who attends C.W. Post. "This is the first I am hearing about this incident."<br><br><span style="font-weight: bold;">Commentary:</span><br>As I read the school's breach notification and response, I come away with a sense that the school really does care about the personal information of their students.&nbsp; This is another one of those breaches that could have easily been "swept under the rug".&nbsp; </font><font size="2">The school is clearly not trying to hide anything.&nbsp; They
even have a prominently displayed link on their homepage that reads
"NOTIFICATION OF 1098-T DATA EXPOSURE"<br><br><img src="http://images.quickblogcast.com/95781-88451/liunotification.jpg" border="0" width="472"><br><br></font><font size="2">The school deserves some credit for their prompt and clear response.&nbsp; <br><br>How many IRS forms are sent through the mail this time of year with Social Security numbers on them? <br><br><span style="font-weight: bold;">Past Breaches:</span><br>Unknown</font><br><br>
<script src="http://feeds.feedburner.com/%7Es/breachblog?i=http://breachblog.com/2008/02/12/liu.aspx" type="text/javascript" charset="utf-8"></script>]]></content:encoded>
      <pubDate>Tue, 12 Feb 2008 06:53:50 +0000</pubDate>
      <category domain="http://securityratty.com/tag/island university">island university</category>
      <category domain="http://securityratty.com/tag/university">university</category>
      <category domain="http://securityratty.com/tag/post">post</category>
      <category domain="http://securityratty.com/tag/post office personnel">post office personnel</category>
      <category domain="http://securityratty.com/tag/students">students</category>
      <category domain="http://securityratty.com/tag/post office">post office</category>
      <category domain="http://securityratty.com/tag/personal data">personal data</category>
      <category domain="http://securityratty.com/tag/data">data</category>
      <category domain="http://securityratty.com/tag/social security">social security</category>
      <source url="http://breachblog.com/2008/02/12/liu.aspx">Long Island University notifies students of mailing error</source>
    </item>
    <item>
      <title><![CDATA[Automating web application security testing]]></title>
      <link>http://securityratty.com/article/c780cd82259ac82a30a3460aa0d3419d</link>
      <guid>http://securityratty.com/article/c780cd82259ac82a30a3460aa0d3419d</guid>
      <description><![CDATA[Posted by Srinath Anantharaju, Security Team

Cross-site scripting (aka XSS) is the term used to describe a class of security vulnerabilities in web applications. An attacker can inject malicious...]]></description>
      <content:encoded><![CDATA[<span class="byline-author">Posted by Srinath Anantharaju, Security Team</span><br /><br />Cross-site scripting (aka XSS) is the term used to describe a class of security vulnerabilities in web applications. An attacker can inject malicious scripts to perform unauthorized actions in the context of the victim's web session. Any web application that serves documents that include data from untrusted sources could be vulnerable to XSS if the untrusted data is not appropriately sanitized. A web application that is vulnerable to XSS can be exploited in two major ways:<br /><br />&nbsp;&nbsp;&nbsp; <span style="FONT-WEIGHT:bold">Stored XSS</span> - Commonly exploited in a web application where one user enters information that's viewed by another user. An attacker can inject malicious scripts that are executed in the context of the victim's session. The exploit is triggered when a victim visits the website at some point in the future, such as through improperly sanitized blog comments and guestbook entries, which facilitates stored XSS.<br /><br />&nbsp;&nbsp;&nbsp; <span style="FONT-WEIGHT:bold">Reflected XSS </span>- An application that echoes improperly sanitized user input received as query parameters is vulnerable to reflected XSS. With a vulnerable application, an attacker can craft a malicious URL and send it to the victim via email or any other mode of communication. When the victim visits the tampered link, the page is loaded along with the injected script that is executed in the context of the victim's session.<br /><br />The general principle behind preventing XSS is the proper sanitization (via, for instance, escaping or filtering) of all untrusted data that is output by a web application. If untrusted data is output within an HTML document, the appropriate sanitization depends on the specific context in which the data is inserted into the HTML document. The context could be in the regular HTML body, tag attributes, URL attributes, URL query string attributes, style attributes, inside JavaScript, HTTP response headers, etc.<br /><br />The following are some (by no means complete) examples of XSS vulnerabilities. Let's assume there is a web application that accepts user input as the 'q' parameter. Untrusted data coming from the attacker is marked in red.<br /><ul><br /><li>Injection in regular HTML body - angled brackets not filtered or escaped<br /><br /><span style="font-family:Courier New;">&lt;b&gt;Your query '<font color="#ff0000" style="FONT-FAMILY:Courier New">&lt;script&gt;evil_script()&lt;/script&gt;</font>' returned xxx results&lt;/b&gt; </span></li><br /><li>Injection inside tag attributes - double quote not filtered or escaped<br /><br /><span style="font-family:Courier New;">&lt;form ...<br />&nbsp;&nbsp;&lt;input name="q" value="<font color="#ff0000">blah"&gt;&lt;script&gt;evil_script()&lt;/script&gt;</font>"&gt;<br />&lt;/form&gt;</span></li><br /><li>Injection inside URL attributes - non-http(s) URL<br /><br /><span style="font-family:Courier New;">&lt;img src="<font color="#ff0000">javascript:evil_script()</font>"&gt;...&lt;/img&gt;</span></li><br /><li>In JavaScript context - single quote not filtered or escaped<br /><br /><span style="font-family:Courier New;">&lt;script&gt;<br />&nbsp;&nbsp;var msg = '<font color="#ff0000">blah'; evil_script(); //<font color="#000000">'</font></font>;<br />&nbsp;&nbsp;// do something with msg variable<br />&lt;/script&gt;</span></li></ul><br /><br />In the cases where XSS arises from meta characters being inserted from untrusted sources into an HTML document, the issue can be avoided either by filtering/disallowing the meta characters, or by escaping them appropriately for the given HTML context. For example, the HTML meta characters &lt;, &gt;, &amp;, " and ' must be replaced with their corresponding HTML entity references &amp;lt;, &amp;gt;, &amp;amp;, &amp;quot; and &amp;#39 respectively. In a JavaScript-literal context, inserting a backslash in front of , ', " and converting the carriage returns, line-feeds and tabs into , 
 and 	 respectively should avoid untrusted meta characters being interpreted as code.<br /><br />How about an automated tool for finding XSS problems in web applications? Our security team has been developing a black box fuzzing tool called Lemon (deriving from the commonly-recognized name for a defective product). Fuzz testing (also referred to as fault-injection testing) is an automated testing approach based on supplying inputs that are designed to trigger and expose flaws in the application. Our vulnerability testing tool enumerates a web application's URLs and corresponding input parameters. It then iteratively supplies fault strings designed to expose XSS and other vulnerabilities to each input, and analyzes the resulting responses for evidence of such vulnerabilities. Although it started out as an experimental tool, it has proved to be quite effective in finding XSS problems. Besides XSS, it finds other security problems such as response splitting attacks, cookie poisoning problems, stacktrace leaks, encoding issues and charset bugs. Since the tool is homegrown it is easy to integrate into our automated test environment and to extend based on specific needs. We are constantly in the process of adding new attack vectors to improve the tool against known security problems.<br /><br /><span style="font-weight:bold;">Update:</span><br />I wanted to respond to a few questions that seem to be common among readers.  I've listed them below.  Thanks for the feedback.  Please keep the questions and comments coming.<br /><br />Q. Does Google plan to market it at some point?<br />A. Lemon is highly customized for Google apps and we have no plans of releasing it in near future.<br /><br />Q. Did Google's security team check out any commercially available fuzzers? Is the ability to keep improving the fuzzer the main draw of a homegrown tool?<br />A. We did evaluate commercially available fuzzers but felt that our specialized needs could be served best by developing our own tools.<img src="http://feeds.feedburner.com/~r/GoogleOnlineSecurityBlog/~4/144579534" height="1" width="1"/>]]></content:encoded>
      <pubDate>Mon, 16 Jul 2007 07:40:00 +0000</pubDate>
      <category domain="http://securityratty.com/tag/web application">web application</category>
      <category domain="http://securityratty.com/tag/application">application</category>
      <category domain="http://securityratty.com/tag/input">input</category>
      <category domain="http://securityratty.com/tag/input parameters">input parameters</category>
      <category domain="http://securityratty.com/tag/accepts user input">accepts user input</category>
      <category domain="http://securityratty.com/tag/xss">xss</category>
      <category domain="http://securityratty.com/tag/xss vulnerabilities">xss vulnerabilities</category>
      <category domain="http://securityratty.com/tag/security">security</category>
      <category domain="http://securityratty.com/tag/security team check">security team check</category>
      <source url="http://feeds.feedburner.com/~r/GoogleOnlineSecurityBlog/~3/144579534/automating-web-application-security.html">Automating web application security testing</source>
    </item>
    <item>
      <title><![CDATA[Automating web application security testing]]></title>
      <link>http://securityratty.com/article/cc7785c42a4dec5f037933ed51b23389</link>
      <guid>http://securityratty.com/article/cc7785c42a4dec5f037933ed51b23389</guid>
      <description><![CDATA[Posted by Srinath Anantharaju, Security Team

Cross-site scripting (aka XSS) is the term used to describe a class of security vulnerabilities in web applications. An attacker can inject malicious...]]></description>
      <content:encoded><![CDATA[<span class="byline-author">Posted by Srinath Anantharaju, Security Team</span><br /><br />Cross-site scripting (aka XSS) is the term used to describe a class of security vulnerabilities in web applications. An attacker can inject malicious scripts to perform unauthorized actions in the context of the victim's web session. Any web application that serves documents that include data from untrusted sources could be vulnerable to XSS if the untrusted data is not appropriately sanitized. A web application that is vulnerable to XSS can be exploited in two major ways:<br /><br />&nbsp;&nbsp;&nbsp; <span style="FONT-WEIGHT:bold">Stored XSS</span> - Commonly exploited in a web application where one user enters information that's viewed by another user. An attacker can inject malicious scripts that are executed in the context of the victim's session. The exploit is triggered when a victim visits the website at some point in the future, such as through improperly sanitized blog comments and guestbook entries, which facilitates stored XSS.<br /><br />&nbsp;&nbsp;&nbsp; <span style="FONT-WEIGHT:bold">Reflected XSS </span>- An application that echoes improperly sanitized user input received as query parameters is vulnerable to reflected XSS. With a vulnerable application, an attacker can craft a malicious URL and send it to the victim via email or any other mode of communication. When the victim visits the tampered link, the page is loaded along with the injected script that is executed in the context of the victim's session.<br /><br />The general principle behind preventing XSS is the proper sanitization (via, for instance, escaping or filtering) of all untrusted data that is output by a web application. If untrusted data is output within an HTML document, the appropriate sanitization depends on the specific context in which the data is inserted into the HTML document. The context could be in the regular HTML body, tag attributes, URL attributes, URL query string attributes, style attributes, inside JavaScript, HTTP response headers, etc.<br /><br />The following are some (by no means complete) examples of XSS vulnerabilities. Let's assume there is a web application that accepts user input as the 'q' parameter. Untrusted data coming from the attacker is marked in red.<br /><ul><br /><li>Injection in regular HTML body - angled brackets not filtered or escaped<br /><br /><span style="font-family:Courier New;">&lt;b&gt;Your query '<font color="#ff0000" style="FONT-FAMILY:Courier New">&lt;script&gt;evil_script()&lt;/script&gt;</font>' returned xxx results&lt;/b&gt; </span></li><br /><li>Injection inside tag attributes - double quote not filtered or escaped<br /><br /><span style="font-family:Courier New;">&lt;form ...<br />&nbsp;&nbsp;&lt;input name="q" value="<font color="#ff0000">blah"&gt;&lt;script&gt;evil_script()&lt;/script&gt;</font>"&gt;<br />&lt;/form&gt;</span></li><br /><li>Injection inside URL attributes - non-http(s) URL<br /><br /><span style="font-family:Courier New;">&lt;img src="<font color="#ff0000">javascript:evil_script()</font>"&gt;...&lt;/img&gt;</span></li><br /><li>In JavaScript context - single quote not filtered or escaped<br /><br /><span style="font-family:Courier New;">&lt;script&gt;<br />&nbsp;&nbsp;var msg = '<font color="#ff0000">blah'; evil_script(); //<font color="#000000">'</font></font>;<br />&nbsp;&nbsp;// do something with msg variable<br />&lt;/script&gt;</span></li></ul><br /><br />In the cases where XSS arises from meta characters being inserted from untrusted sources into an HTML document, the issue can be avoided either by filtering/disallowing the meta characters, or by escaping them appropriately for the given HTML context. For example, the HTML meta characters &lt;, &gt;, &amp;, " and ' must be replaced with their corresponding HTML entity references &amp;lt;, &amp;gt;, &amp;amp;, &amp;quot; and &amp;#39 respectively. In a JavaScript-literal context, inserting a backslash in front of \, ', " and converting the carriage returns, line-feeds and tabs into \r, \n and \t respectively should avoid untrusted meta characters being interpreted as code.<br /><br />How about an automated tool for finding XSS problems in web applications? Our security team has been developing a black box fuzzing tool called Lemon (deriving from the commonly-recognized name for a defective product). Fuzz testing (also referred to as fault-injection testing) is an automated testing approach based on supplying inputs that are designed to trigger and expose flaws in the application. Our vulnerability testing tool enumerates a web application's URLs and corresponding input parameters. It then iteratively supplies fault strings designed to expose XSS and other vulnerabilities to each input, and analyzes the resulting responses for evidence of such vulnerabilities. Although it started out as an experimental tool, it has proved to be quite effective in finding XSS problems. Besides XSS, it finds other security problems such as response splitting attacks, cookie poisoning problems, stacktrace leaks, encoding issues and charset bugs. Since the tool is homegrown it is easy to integrate into our automated test environment and to extend based on specific needs. We are constantly in the process of adding new attack vectors to improve the tool against known security problems.<br /><br /><span style="font-weight:bold;">Update:</span><br />I wanted to respond to a few questions that seem to be common among readers.  I've listed them below.  Thanks for the feedback.  Please keep the questions and comments coming.<br /><br />Q. Does Google plan to market it at some point?<br />A. Lemon is highly customized for Google apps and we have no plans of releasing it in near future.<br /><br />Q. Did Google's security team check out any commercially available fuzzers? Is the ability to keep improving the fuzzer the main draw of a homegrown tool?<br />A. We did evaluate commercially available fuzzers but felt that our specialized needs could be served best by developing our own tools.<div class="feedflare">
<a href="http://feedproxy.google.com/~f/GoogleOnlineSecurityBlog?a=Pa8aZIiW"><img src="http://feedproxy.google.com/~f/GoogleOnlineSecurityBlog?d=41" border="0"></img></a> <a href="http://feedproxy.google.com/~f/GoogleOnlineSecurityBlog?a=L65GyLjv"><img src="http://feedproxy.google.com/~f/GoogleOnlineSecurityBlog?i=L65GyLjv" border="0"></img></a>
</div><img src="http://feedproxy.google.com/~r/GoogleOnlineSecurityBlog/~4/TfI6M87e-00" height="1" width="1"/>]]></content:encoded>
      <pubDate>Mon, 16 Jul 2007 07:40:00 +0000</pubDate>
      <category domain="http://securityratty.com/tag/web application">web application</category>
      <category domain="http://securityratty.com/tag/application">application</category>
      <category domain="http://securityratty.com/tag/input">input</category>
      <category domain="http://securityratty.com/tag/input parameters">input parameters</category>
      <category domain="http://securityratty.com/tag/accepts user input">accepts user input</category>
      <category domain="http://securityratty.com/tag/xss">xss</category>
      <category domain="http://securityratty.com/tag/xss vulnerabilities">xss vulnerabilities</category>
      <category domain="http://securityratty.com/tag/security">security</category>
      <category domain="http://securityratty.com/tag/security team check">security team check</category>
      <source url="http://feedproxy.google.com/~r/GoogleOnlineSecurityBlog/~3/TfI6M87e-00/automating-web-application-security.html">Automating web application security testing</source>
    </item>
  </channel>
</rss>
