<?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>Soroush Dalili - Computer Security Is My Interest! &#187; Security Posts</title>
	<atom:link href="http://soroush.secproject.com/blog/category/securityposts/feed/" rel="self" type="application/rss+xml" />
	<link>http://soroush.secproject.com/blog</link>
	<description>Soroush Dalili&#039;s blog - بلاگ سروش دلیلی</description>
	<lastBuildDate>Tue, 10 Jan 2012 22:54:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Flash ExternalInterface.call() JavaScript Injection – can make the websites vulnerable to XSS</title>
		<link>http://soroush.secproject.com/blog/2011/03/flash-externalinterface-call-javascript-injection-%e2%80%93-can-make-the-websites-vulnerable-to-xss/</link>
		<comments>http://soroush.secproject.com/blog/2011/03/flash-externalinterface-call-javascript-injection-%e2%80%93-can-make-the-websites-vulnerable-to-xss/#comments</comments>
		<pubDate>Tue, 08 Mar 2011 22:11:10 +0000</pubDate>
		<dc:creator>Soroush Dalili</dc:creator>
				<category><![CDATA[Security Posts]]></category>
		<category><![CDATA[ExternalInterface]]></category>
		<category><![CDATA[ExternalInterface.call]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[flash xss]]></category>
		<category><![CDATA[XSS]]></category>

		<guid isPermaLink="false">http://soroush.secproject.com/blog/?p=437</guid>
		<description><![CDATA[Introduction: This post is a result of reading the following useful report: The other reason to beware ExternalInterface.call() (http://lcamtuf.blogspot.com/2011/03/other-reason-to-beware-of.html) The issue that I want to discuss here is not something different; however, I want to add something to the current materials. Description: According to the Adobe website, ExternalInterface.call() can accept a JavaScript function name as [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;"><strong>Introduction:</strong></p>
<p style="text-align: justify;">This post is a result of reading the following useful report:</p>
<p style="text-align: justify;"><a href="http://lcamtuf.blogspot.com/2011/03/other-reason-to-beware-of.html">The other reason to beware ExternalInterface.call()</a> (<a href="http://lcamtuf.blogspot.com/2011/03/other-reason-to-beware-of.html">http://lcamtuf.blogspot.com/2011/03/other-reason-to-beware-of.html</a>)</p>
<p style="text-align: justify;">The issue that I want to discuss here is not something different; however, I want to add something to the current materials.</p>
<p style="text-align: justify;"><strong>Description:</strong></p>
<p style="text-align: justify;">According to the <a href="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/external/ExternalInterface.html#call()">Adobe website</a>, ExternalInterface.call() can accept a JavaScript function name as the first argument and a string which would be sent to that JavaScript function. Adobe says “When the call is to a JavaScript function, the ActionScript types are automatically converted into JavaScript types; when the call is to some other ActiveX container, the parameters are encoded in the request message.”. Therefore, in our case, the string would be converted into JavaScript type.</p>
<p style="text-align: justify;">All we are trying to say is that it is possible to inject a specific parameter to an input and change the way of running the JavaScript. I should say it is very similar to the current <a href="http://en.wikipedia.org/wiki/Code_injection">code Injection</a> methods in which we actively change the queries/requests to run whatever we want!</p>
<p style="text-align: justify;"><strong>Proof of Concepts:</strong></p>
<p style="text-align: justify;">I want to explain it by using the example that Adobe has put in its <a href="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/external/ExternalInterface.html#includeExamplesSummary">document</a>. I have put all the files in the following URL: <a href="http://0me.me/demo/adobeflash/ExternalInterface.call/">http://0me.me/demo/adobeflash/ExternalInterface.call/</a> . Please use Mozilla Firefox if you want to see the same error messages as this PoC.</p>
<p style="text-align: justify;">Now follow these steps:</p>
<p style="text-align: justify;">1- Open this link: <a href="http://0me.me/demo/adobeflash/ExternalInterface.call/demo.html">http://0me.me/demo/adobeflash/ExternalInterface.call/demo.html</a></p>
<p style="text-align: justify;">2- Enter “\&#8221;” in the flash box (dark box) and press the gray button in front of it:</p>
<p><img src="http://soroush.secproject.com/downloadable/images/flashExternalInterface.call/image001.jpg" border="1" alt="" /></p>
<p style="text-align: justify;">3- Now, you should be able to see this error in Error Console:</p>
<p><img src="http://soroush.secproject.com/downloadable/images/flashExternalInterface.call/image002.jpg" border="1" alt="" /></p>
<p style="text-align: justify;">As you can see, we could escape the slash character “\” which was for escaping the double quotation character. Therefore, we are able to inject our JavaScript here now.</p>
<p style="text-align: justify;">4- Now, try to enter “\&#8221;));alert(/XSS/)}catch(e){}//” in that box and press the gray button. You should be able to see the alert message:</p>
<p><img src="http://soroush.secproject.com/downloadable/images/flashExternalInterface.call/image003.jpg" border="1" alt="" /></p>
<p style="text-align: justify;">It is because of the fact that we could complete the main functions and comment the remaining bits which is the method of code injection.</p>
<p style="text-align: justify;">Now, you may think that we need to have a valid JavaScript function in the page or you may even think we always need to have a HTML file. I will explain this in the next section and I will prove that you can execute a JavaScript code even by running the SWF file directly without using any HTML file or JavaScript function.</p>
<p style="text-align: justify;"><strong>Run the flash file directly now:</strong></p>
<p style="text-align: justify;">Now I want to add this bit that we do not need to have a real JavaScript function or a HTML page to execute a JavaScript code under the website content. In this case we only need to put the JavaScript code inside the “catch” section. This is the PoC:</p>
<p style="text-align: justify;">1- Open this URL: <a href="http://0me.me/demo/adobeflash/ExternalInterface.call/ExternalInterfaceExample.swf">http://0me.me/demo/adobeflash/ExternalInterface.call/ExternalInterfaceExample.swf</a></p>
<p style="text-align: justify;">2- Now, enter the following text in the box and press the button:</p>
<p style="text-align: justify;">“\&#8221;));alert(/XSSThis/);}catch(e){alert(/XSSOr/)}//”</p>
<p style="text-align: justify;">3- You should be able to see this message now:</p>
<p><img src="http://soroush.secproject.com/downloadable/images/flashExternalInterface.call/image004.jpg" border="1" alt="" /></p>
<p style="text-align: justify;">As a result, we can do a XSS attack just by opening a vulnerable or malicious/uploaded SWF file.</p>
<p style="text-align: justify;">Note: you may have problem with closing the alert window in some browsers.</p>
<p style="text-align: justify;"><strong>Why can this be a risk?</strong></p>
<p style="text-align: justify;">The websites which are using ExternalInterface.call() with the user’s provided input -without having input validation- can be in risk of having XSS vulnerability. Besides, an attacker can upload a malicious SWF file when a website lets him/her do so in order to make the website vulnerable to XSS attack – in this case I should say, an attacker might be able to do more than a XSS by uploading a SWF file.</p>
<p style="text-align: justify;"><strong>Solution(s):</strong></p>
<p style="text-align: justify;">If we think about this code injection, it is really another input validation issue. It again says that the developers must not trust the provided inputs and we certainly need to have <a href="http://www.owasp.org/index.php/Data_Validation">input validation</a> when we receive the user’s input.</p>
<p style="text-align: justify;">Note: Regarding the <a href="http://lcamtuf.blogspot.com/2011/03/other-reason-to-beware-of.html">main reference</a> of this text, Adobe has not accepted this as an issue to fix it fundamentally yet.</p>
<p style="text-align: justify;"><strong>References:</strong></p>
<p>- The other reason to beware ExternalInterface.call() <a href="http://lcamtuf.blogspot.com/2011/03/other-reason-to-beware-of.html">http://lcamtuf.blogspot.com/2011/03/other-reason-to-beware-of.html</a></p>
<p>- Agora 3.0.0 RC1 Rev.4 XSS Vulnerability <a href="http://jeffchannell.com/Joomla/agora-300-rc1-rev4-xss-vulnerability.html">http://jeffchannell.com/Joomla/agora-300-rc1-rev4-xss-vulnerability.html</a></p>
<p>- Finding Vulnerabilities in Flash Applications <a href="http://www.owasp.org/images/d/d8/OWASP-WASCAppSec2007SanJose_FindingVulnsinFlashApps.ppt">http://www.owasp.org/images/d/d8/OWASP-WASCAppSec2007SanJose_FindingVulnsinFlashApps.ppt</a></p>
<p>- Cross-Site Scripting through Flash in Gmail Based Services <a href="http://blog.watchfire.com/wfblog/2010/03/cross-site-scripting-through-flash-in-gmail-based-services.html">http://blog.watchfire.com/wfblog/2010/03/cross-site-scripting-through-flash-in-gmail-based-services.html</a></p>
<p>- ActionScript 3.0 Language and Components Reference <a href="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/external/ExternalInterface.html">http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/external/ExternalInterface.html</a></p>
<p>- Code Injection <a href="http://en.wikipedia.org/wiki/Code_injection">http://en.wikipedia.org/wiki/Code_injection</a></p>
]]></content:encoded>
			<wfw:commentRss>http://soroush.secproject.com/blog/2011/03/flash-externalinterface-call-javascript-injection-%e2%80%93-can-make-the-websites-vulnerable-to-xss/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Travian Game Patch – Finally!</title>
		<link>http://soroush.secproject.com/blog/2011/01/travian-game-patch-%e2%80%93-finally/</link>
		<comments>http://soroush.secproject.com/blog/2011/01/travian-game-patch-%e2%80%93-finally/#comments</comments>
		<pubDate>Mon, 31 Jan 2011 19:46:21 +0000</pubDate>
		<dc:creator>Soroush Dalili</dc:creator>
				<category><![CDATA[Security Posts]]></category>
		<category><![CDATA[logical flaw]]></category>
		<category><![CDATA[Travian Cross Site Scripting]]></category>
		<category><![CDATA[travian game]]></category>
		<category><![CDATA[travian hack]]></category>
		<category><![CDATA[travian online game]]></category>
		<category><![CDATA[Travian Patch]]></category>
		<category><![CDATA[Travian Security]]></category>
		<category><![CDATA[Travian XSS]]></category>
		<category><![CDATA[XSS]]></category>

		<guid isPermaLink="false">http://soroush.secproject.com/blog/?p=432</guid>
		<description><![CDATA[Here are the details of recent security patch of Travian game: http://forum.travian.com/showthread.php?p=1728991 There was a Cross Site Scripting (XSS) vulnerability in hero’s mansion rename section. This issue was because of using “id” and “gid” input parameters at the same time. “gid” was used for loading the hero’s mansion, and “id” was used to insert a [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Here are the details of recent security patch of Travian game: <a href="http://forum.travian.com/showthread.php?p=1728991">http://forum.travian.com/showthread.php?p=1728991</a></p>
<p style="text-align: justify;">There was a Cross Site Scripting (XSS) vulnerability in hero’s mansion rename section. This issue was because of using “id” and “gid” input parameters at the same time. “gid” was used for loading the hero’s mansion, and “id” was used to insert a Javascript code. You can only see one of them as an input for a single file at the same time. However, I used them together and found this vulnerability:</p>
<p style="text-align: justify;">http://sN.travian.EXT/build.php?gid=37&amp;id=&lt;script here&gt;&amp;rename</p>
<p style="text-align: justify;">As there was a “httponly” flag for the cookies, it was not possible to hijack the sessions. However, we could still use it to do several things. The simplest one was to hijack the saved username/password from the browser. I should say that there was another issue with the login page last year based on which someone could create the Travian cookie and log into the system by the victims session.</p>
<p style="text-align: justify;">There was also another issue with validation of unique email addresses by which a user could create several accounts with the same email address. It was sufficient to enter a “comma” in front of the email address to have a new valid email address. For example someone could register several times without having any problem in receiving the confirmation code by using “test@secproject.com”, “,test@secproject.com” , “,,test@secproject.com”, and so on.</p>
<p style="text-align: justify;">Fortunately these issues have been patched after more than a year. This delay was only because of not having a direct reference to contact as no one/source was publicly responsible for the security issues.</p>
<p style="text-align: justify;">These issues go back to June 2009. Related Link: <a href="http://soroush.secproject.com/blog/2009/11/travian-game-vulnerabilities-in-progress/">http://soroush.secproject.com/blog/2009/11/travian-game-vulnerabilities-in-progress/</a></p>
<p style="text-align: justify;"><strong><span style="color: #008000;"><span style="color: #ff0000;">Note:</span> I highly suggest the providers to put at least one email address in their contact page for normal bugs and security issues. They should also have a process to fix a security issue and give its credit to the finder(s) somehow (by putting the finder’s name in the website news, release notes, …) if they do not want to pay for their vulnerabilities! It is a pain when the security researchers can only see sale and marketing email addresses in many of the providers’ contact pages; and that’s why too many of these security issues are being published before having any patch every day.</span></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://soroush.secproject.com/blog/2011/01/travian-game-patch-%e2%80%93-finally/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Facebook Redirect Link &#8211; New Bypass Method – “:/” after the domain name</title>
		<link>http://soroush.secproject.com/blog/2010/12/facebook-redirect-link-new-bypass-method-%e2%80%93-%e2%80%9c%e2%80%9d-after-the-domain-name/</link>
		<comments>http://soroush.secproject.com/blog/2010/12/facebook-redirect-link-new-bypass-method-%e2%80%93-%e2%80%9c%e2%80%9d-after-the-domain-name/#comments</comments>
		<pubDate>Sat, 18 Dec 2010 23:36:29 +0000</pubDate>
		<dc:creator>Soroush Dalili</dc:creator>
				<category><![CDATA[Security Posts]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[facebook url redirect]]></category>
		<category><![CDATA[facebook url redirect flaw]]></category>
		<category><![CDATA[facebook url redirect issue]]></category>
		<category><![CDATA[url redirec bypass in facebook]]></category>

		<guid isPermaLink="false">http://soroush.secproject.com/blog/?p=409</guid>
		<description><![CDATA[Facebook is using “facebook.com/l.php?u=THE_External_URL” whenever you click on an external link; and as a result: 1- Your current page won’t be sent via the “Referer” section of the HTTP header. So, it is useful for the privacy. 2- It is possible to stop malicious or unwanted links by using a single point (“l.php” page). Now, [...]]]></description>
			<content:encoded><![CDATA[<p>Facebook is using “facebook.com/l.php?u=THE_External_URL” whenever you click on an external link; and as a result:<br />
1- Your current page won’t be sent via the “Referer” section of the HTTP header. So, it is useful for the privacy.<br />
2- It is possible to stop malicious or unwanted links by using a single point (“l.php” page).</p>
<p>Now, I want to show a flaw in this process in which by clicking on an external URL in Facebook, users can go directly to the destination URL without passing the “facebook.com/l.php” page:</p>
<p><strong>Add a “:/” at the end of the domain name! That’s it!</strong><br />
<strong>PoC:<br />
</strong>Put these links in a comment section on your Facebook page and click on them too see the result (If you know how to work with local proxy tools such as burp suite, you can directly post a link on your wall [not just in comment section] with “:/” in the URL to exploit this flaw):<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-  <u><em>https://fp.auburn.edu<strong>:/</strong>oit/show_server_variables.asp</em></u><br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-  <u><em>http://soroush.secproject.com:80<strong>:/</strong></em></u></p>
<p><strong>Now, do not click on the links which have &#8220;:/&#8221; after the domain name with or without port number! (18 Dec. 2010)</strong></p>
<p>NOTE: This issue had been reported to Facebook at least twice more than 1 month ago without having any response.</p>
]]></content:encoded>
			<wfw:commentRss>http://soroush.secproject.com/blog/2010/12/facebook-redirect-link-new-bypass-method-%e2%80%93-%e2%80%9c%e2%80%9d-after-the-domain-name/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>JSReg Bypasses &#8211; OLD</title>
		<link>http://soroush.secproject.com/blog/2010/12/jsreg-bypasses-old/</link>
		<comments>http://soroush.secproject.com/blog/2010/12/jsreg-bypasses-old/#comments</comments>
		<pubDate>Sat, 18 Dec 2010 23:11:48 +0000</pubDate>
		<dc:creator>Soroush Dalili</dc:creator>
				<category><![CDATA[Security Posts]]></category>
		<category><![CDATA[Hackvertor]]></category>
		<category><![CDATA[JSReg]]></category>
		<category><![CDATA[Sadbox Bypass]]></category>

		<guid isPermaLink="false">http://soroush.secproject.com/blog/?p=404</guid>
		<description><![CDATA[Sorry for the delay as I am/was too busy. Some of my friends had asked me to write about bypassing the JSReg in Hackvertor.com based on a challenge which was on sla.ckers.org forum by Gareth Heyes. However, Gareth Heyes has already written great things about it that I can just refer you to the pages [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Sorry for the delay as I am/was too busy. Some of my friends had asked me to write about bypassing the <a href="http://hackvertor.co.uk/public">JSReg in Hackvertor.com</a> based on a challenge which was on <a href="http://sla.ckers.org/forum/read.php?2,35810">sla.ckers.org forum</a> by <a href="http://www.thespanner.co.uk/">Gareth Heyes</a>.</p>
<p style="text-align: justify;">However, Gareth Heyes has already written great things about it that I can just refer you to the pages (instead of writing it again):</p>
<p style="text-align: justify;"><a href="http://www.thespanner.co.uk/2010/10/31/jsreg-bypasses/">http://www.thespanner.co.uk/2010/10/31/jsreg-bypasses/</a><br />
<a href="http://rgaucher.info/planet/The_Spanner/2010/11/07/Soroush_Dalili_breaks_JSReg_again">http://rgaucher.info/planet/The_Spanner/2010/11/07/Soroush_Dalili_breaks_JSReg_again</a></p>
<p style="text-align: justify;">Gareth is writing these functions alone, so if you have any great idea please let him know. He is a nice and clever guy; so, do not miss your chance to have a great friend!</p>
<p style="text-align: justify;">Again, thanks Gareth.</p>
]]></content:encoded>
			<wfw:commentRss>http://soroush.secproject.com/blog/2010/12/jsreg-bypasses-old/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Skype Privacy Concern: It sends detected numbers + URLs to its server!</title>
		<link>http://soroush.secproject.com/blog/2010/12/skype-privacy-concern-it-sends-detected-numbers-urls-to-its-server/</link>
		<comments>http://soroush.secproject.com/blog/2010/12/skype-privacy-concern-it-sends-detected-numbers-urls-to-its-server/#comments</comments>
		<pubDate>Sat, 04 Dec 2010 12:24:38 +0000</pubDate>
		<dc:creator>Soroush Dalili</dc:creator>
				<category><![CDATA[Security Posts]]></category>
		<category><![CDATA[Privacy]]></category>
		<category><![CDATA[skype]]></category>
		<category><![CDATA[skype add-on]]></category>
		<category><![CDATA[skype number detection]]></category>
		<category><![CDATA[skype plug-in]]></category>

		<guid isPermaLink="false">http://soroush.secproject.com/blog/?p=389</guid>
		<description><![CDATA[Default installation of the Skype installs Skype Add-On (Plug-In) on the browsers. After that, if you browse a page, most of the telephone numbers will be detected. For example: And look at this if you currently have installed a Skype on your computer: 0044-7987654321 Now the problem is: Skype always sends all of these selected [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Default installation of the Skype installs Skype Add-On (Plug-In) on the browsers. After that, if you browse a page, most of the telephone numbers will be detected.</p>
<p style="text-align: justify;">For example:</p>
<p><img style="border: black 1px solid;" src="http://soroush.secproject.com/downloadable/images/skype/skypeprivacy0.png" border="0" alt="" /></p>
<p style="text-align: justify;">And look at this if you currently have installed a Skype on your computer: 0044-7987654321</p>
<p style="text-align: justify;">Now the problem is: Skype always sends all of these selected numbers to one of its servers “pnrws.skype.com”. The worst thing is that they are actually sending the page URL in “referrer” section of the header as well. As a result, Skype server can log all of this information with IP address of the user to track a user or to identify a person. And the question is why Skype needs this information?</p>
<p style="text-align: justify;">For proof of concept, I will put a phone number in a Facebook page and monitor the HTTP requests by using Fiddler. The result has been shown in the following images (if you cannot see the images, your ISP has been blocked by GoDaddy):</p>
<p style="text-align: justify;">Facebook page:</p>
<p><img style="border: black 1px solid;" src="http://soroush.secproject.com/downloadable/images/skype/skypeprivacy1.png" border="1" alt="" width="572" height="250" /></p>
<p style="text-align: justify;">In Fiddler:</p>
<p><img style="border: black 1px solid;" src="http://soroush.secproject.com/downloadable/images/skype/skypeprivacy2.png" border="1" alt="" width="572" height="132" /></p>
<p style="text-align: justify;">As you can see, my Facebook URL and the phone number are sent to the Skype server.</p>
<p style="text-align: justify;">However, I think number detection of Skype Add-On does not send more important information such as credit card numbers!</p>
<p style="text-align: justify;">Now, if you are a bit concern about your privacy, just disable the Skype Add-Ons (Plug-Ins) in your browsers.</p>
<p style="text-align: justify;">Please let us know if you know how Skype uses this information and why Skype needs this information.</p>
]]></content:encoded>
			<wfw:commentRss>http://soroush.secproject.com/blog/2010/12/skype-privacy-concern-it-sends-detected-numbers-urls-to-its-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How Secunia PSI put the privacy in danger</title>
		<link>http://soroush.secproject.com/blog/2010/12/how-secunia-psi-put-the-privacy-in-danger/</link>
		<comments>http://soroush.secproject.com/blog/2010/12/how-secunia-psi-put-the-privacy-in-danger/#comments</comments>
		<pubDate>Fri, 03 Dec 2010 00:10:13 +0000</pubDate>
		<dc:creator>Soroush Dalili</dc:creator>
				<category><![CDATA[Security Posts]]></category>
		<category><![CDATA[Privacy]]></category>
		<category><![CDATA[Secunia PSI]]></category>

		<guid isPermaLink="false">http://soroush.secproject.com/blog/?p=378</guid>
		<description><![CDATA[“The Secunia PSI software is a free security tool designed to detect vulnerable and out-dated programs.” Although this application is very useful to secure a computer by keeping it up to date, unfortunately it will put the user’s or company’s privacy in danger. Based on the latest post in the following URL, user’s information “is [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">“The Secunia PSI software is a free security tool designed to detect vulnerable and out-dated programs.” Although this application is very useful to secure a computer by keeping it up to date, unfortunately it will put the user’s or company’s privacy in danger. Based on the latest post in the following URL, user’s information “<strong>is never passed on with personally identifiable information (such as the usernames in path names)</strong>”:</p>
<p style="text-align: justify;"><a href="http://secunia.com/community/forum/thread/show/4951/secunia_psi_how_to_delete_information">http://secunia.com/community/forum/thread/show/4951/secunia_psi_how_to_delete_information</a></p>
<p style="text-align: justify;"> I want to prove that the Secunia PSI actually passes the following information which can be treated as a confidential data for a company or causes privacy issues for a real person:</p>
<p style="text-align: justify;">1- <strong>Domain Name</strong> or <strong>Workgroup Name</strong> (“langgourp”)</p>
<p style="text-align: justify;">2- <strong>Computer Name</strong> (“hostname”)</p>
<p style="text-align: justify;">3- <strong>Username</strong> (as there are special files on &#8220;Application Data&#8221; directory such as Mozilla Firefox &#8220;extensions&#8221; folder which should be listed by using Secunia PSI)</p>
<p style="text-align: justify;">4- List of directories of the hard disk which contain some special name with extensions such as &#8220;exe&#8221;, &#8220;dll&#8221;, &#8220;ocx&#8221;, and so on. Some of these directories can contain important information such as the <strong>personal names, project names,</strong> <strong>company names, and so on</strong>.</p>
<p style="text-align: justify;">My proof is very simple and you can do it yourself. As Secunia PSI is based on a Web Application, all of its messages to its server can be monitored by using Fiddler HTTP Debugging Proxy which is absolutely free: <a href="http://www.fiddler2.com/Fiddler2/version.asp">http://www.fiddler2.com/Fiddler2/version.asp</a></p>
<p style="text-align: justify;">Now follow these steps:</p>
<p style="text-align: justify;">- Scanning the computer once by using the Secunia PSI (If it is the first time)</p>
<p style="text-align: justify;">- Close the Secunia PSI application completely from the task manager</p>
<p style="text-align: justify;">- Open Fiddler and go to “Tools”&gt; “Fiddler Options”&gt; “HTTPS”&gt; and select “Decrypt HTTPS traffic” option and click on “OK”</p>
<p style="text-align: justify;">- Now, open Secnuia PSI application again</p>
<p style="text-align: justify;">- Monitor its behavior by using Fiddler. If there isn’t anything on Fiddler, click on “Start Scan” button of Secunia PSI to scan your computer.</p>
<p style="text-align: justify;">- Now, look at the responses from the Secunia server. As you can see there are information of your computer in responses which means the Secunia server has stored them on its database.</p>
<p style="text-align: justify;">For example, look at the following images (if you cannot see the images, your ISP has been blocked by GoDaddy):</p>
<p><img style="border: black 1px solid;" src="http://soroush.secproject.com/downloadable/images/secuniapsi/secuniaPSIprivacy1.png" border="0" alt="" /></p>
<p><img style="border: black 1px solid;" src="http://soroush.secproject.com/downloadable/images/secuniapsi/secuniaPSIprivacy2.png" border="0" alt="" width="587" height="444" /></p>
<p style="text-align: justify;">Now, my recommendation for Secunia is to use a local database on each computer to keep location of files and folders private. The only thing that should be passed to the server is the user ID, signature (hash) of the application, and file or application ID which can be linked to the database in order to find the exact place of that files and/or folders on the local computer. Moreover, I cannot understand why it needs to send the Domain/Workgroup Name and the Computer name to its server (maybe it is used for copyright!).</p>
<p style="text-align: justify;">My suggestion to the users: Currently – 1<sup>st</sup> Dec. 2010 -, using Secunia PSI for those people who want to be anonymous and those companies which want to keep all of their information private is a nightmare and this application should be removed. Ask Secunia to fix this issue.</p>
<p style="text-align: justify;">Hope to see a better Secunia PSI soon.<span id="_marker"> </span></p>
<p style="text-align: justify;"> </p>
]]></content:encoded>
			<wfw:commentRss>http://soroush.secproject.com/blog/2010/12/how-secunia-psi-put-the-privacy-in-danger/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Cross Site Request Forgery (CSRF) PoC Template (by Javascript)</title>
		<link>http://soroush.secproject.com/blog/2010/09/cross-site-request-forgery-csrf-poc-template-by-javascript/</link>
		<comments>http://soroush.secproject.com/blog/2010/09/cross-site-request-forgery-csrf-poc-template-by-javascript/#comments</comments>
		<pubDate>Thu, 02 Sep 2010 00:34:48 +0000</pubDate>
		<dc:creator>Soroush Dalili</dc:creator>
				<category><![CDATA[Security Posts]]></category>
		<category><![CDATA[Cross Site Request Forgery]]></category>
		<category><![CDATA[CSRF]]></category>
		<category><![CDATA[CSRF Attacks]]></category>
		<category><![CDATA[CSRF PoC]]></category>
		<category><![CDATA[CSRF PoC by JS]]></category>
		<category><![CDATA[CSRF Template]]></category>
		<category><![CDATA[Dynamic CSRF]]></category>
		<category><![CDATA[Exploit]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Proof of concept]]></category>
		<category><![CDATA[XSRF]]></category>
		<category><![CDATA[XSRF Template]]></category>
		<category><![CDATA[XSS]]></category>

		<guid isPermaLink="false">http://soroush.secproject.com/blog/?p=370</guid>
		<description><![CDATA[&#8220;Cross Site Request Forgery (CSRF) PoC Template (by Javascript)&#8221; project page has been updated. Please visit the project section: http://soroush.secproject.com/blog/projects/csrf_poc_template/  @ScriptName: Cross Site Request Forgery (CSRF) PoC Template  @Purposes: For any Legal/Ethical Educational Security Researches Only (without any WARRANTY). You can create your own CSRF PoCs by using this template. Author does not accept any [...]]]></description>
			<content:encoded><![CDATA[<p>&#8220;Cross Site Request Forgery (CSRF) PoC Template (by Javascript)&#8221; project page has been updated.</p>
<p>Please visit the project section:</p>
<p><a href="http://soroush.secproject.com/blog/projects/csrf_poc_template/"><strong>http://soroush.secproject.com/blog/projects/csrf_poc_template/</strong></a> </p>
<hr /><strong>@ScriptName:</strong> Cross Site Request Forgery (CSRF) PoC Template <br />
<strong>@Purposes:</strong> For any Legal/Ethical Educational Security Researches Only (without any WARRANTY). You can create your own CSRF PoCs by using this template. Author does not accept any responsibility or liability for the use or misuse of this code. <br />
<strong>@Website:</strong> <a href="http://soroush.secproject.com/blog/projects/csrf_poc_template/">http://soroush.secproject.com/blog/projects/csrf_poc_template/</a> <br />
<strong>@Code:</strong> <a href="https://code.google.com/p/csrf-poc-template-by-js/">https://code.google.com/p/csrf-poc-template-by-js/</a><br />
<hr />
]]></content:encoded>
			<wfw:commentRss>http://soroush.secproject.com/blog/2010/09/cross-site-request-forgery-csrf-poc-template-by-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Clicking on an offline message link in Yahoo Messenger can lead to Session Hijacking</title>
		<link>http://soroush.secproject.com/blog/2010/08/clicking-on-an-offline-message-link-in-yahoo-messenger-can-lead-to-session-hijacking/</link>
		<comments>http://soroush.secproject.com/blog/2010/08/clicking-on-an-offline-message-link-in-yahoo-messenger-can-lead-to-session-hijacking/#comments</comments>
		<pubDate>Sat, 14 Aug 2010 11:41:59 +0000</pubDate>
		<dc:creator>Soroush Dalili</dc:creator>
				<category><![CDATA[Normal Posts]]></category>
		<category><![CDATA[Security Posts]]></category>
		<category><![CDATA[XSS Vulnerability]]></category>
		<category><![CDATA[yahoo messenger session hijacking]]></category>
		<category><![CDATA[yahoo session hijacking]]></category>
		<category><![CDATA[yahoo XSS attack]]></category>

		<guid isPermaLink="false">http://soroush.secproject.com/blog/?p=310</guid>
		<description><![CDATA[Clicking on an offline message link in Yahoo Messenger is the same as clicking on an unknown link in your yahoo mail! In fact, Yahoo authenticates you before opening the destination link by using this URL: http://login.yahoo.com/config/reset_cookies_token?.token=[Your Valid Token]&#38;.done=[Destination Link] Note 1: Fortunately, the destination cannot read your valid token by using referrer section of [...]]]></description>
			<content:encoded><![CDATA[<p>Clicking on an offline message link in Yahoo Messenger is the same as clicking on an unknown link in your yahoo mail! In fact, Yahoo authenticates you before opening the destination link by using this URL:<br />
http://login.yahoo.com/config/reset_cookies_token?.token=[Your Valid Token]&amp;.done=[Destination Link]<br />
Note 1: Fortunately, the destination cannot read your valid token by using referrer section of the HTTP request. However, this valid token is stored at your browser’s history, and if you do not sign-out from Yahoo, it can be dangerous.<br />
Now you may ask why clicking on link while you are authenticating in yahoo is dangerous:<br />
There are a lot of Cross Site Scripting (XSS) vulnerabilities in yahoo.com sub-domains.  Some of these XSS attacks are simply detectable by IE8 and/or NoScript (a recommended Mozilla Firefox Add-on), and some aren’t. For example, some of Asian sub-domains of yahoo.com still have SQL Injection. And it is simply possible to cover an XSS attack by using a simple SQL Injection. Moreover, there are some points with different encoded inputs such as UTF-7 or Base64 which can be used to bypass the client-side protections. There are some other types as well that I do not want to talk about them here (I do not want to teach how to find XSS in this post). Some examples: <a href="http://www.xssed.com/search?key=yahoo.com" target="_blank">http://www.xssed.com/search?key=yahoo.com</a></p>
<p><strong>I’m scared. What should I do then?</strong><br />
1- Only open your email in private browsing mode.<br />
2- Do not click on unknown links which are sent to you via offline messages or your email. If you want to open that link, simply open another private browsing and copy/paste that link there to open it. Moreover, you can open those links in a different browser from your open yahoo mail or your default browser.<br />
3- Please always look at the link destination and do not trust its name. For example this link will redirect you to google.com instead of: <a href="http://www.google.com/" target="_blank">http://www.yahoo.com/</a>.</p>
<p><strong>I clicked on a link by mistake. What should I do?</strong><br />
1- If you have knowledge of web security, you can open that link while monitoring your browser by using a local proxy such as Fiddler or BurpSuite. You will see if there is any request to yahoo.com or any other domains then.<br />
2- If you are not sure about what you have done, you MUST change your password immediately. This is the only way that you can protect yourself. Even decreasing the life time of your Yahoo session (Cookie) cannot solve your problem.</p>
<p><strong>What will happen if I don’t care?</strong><br />
1- Attackers will have access to your Yahoo.com account without knowing your password. Fortunately, they cannot change your password directly (they still can use forgot password section).</p>
]]></content:encoded>
			<wfw:commentRss>http://soroush.secproject.com/blog/2010/08/clicking-on-an-offline-message-link-in-yahoo-messenger-can-lead-to-session-hijacking/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>NoScript New Bypass Method by Unicode in ASP</title>
		<link>http://soroush.secproject.com/blog/2010/08/noscript-new-bypass-method-by-unicode-in-asp/</link>
		<comments>http://soroush.secproject.com/blog/2010/08/noscript-new-bypass-method-by-unicode-in-asp/#comments</comments>
		<pubDate>Sun, 08 Aug 2010 23:30:49 +0000</pubDate>
		<dc:creator>Soroush Dalili</dc:creator>
				<category><![CDATA[Security Posts]]></category>
		<category><![CDATA[NoScript bypass in ASP]]></category>

		<guid isPermaLink="false">http://soroush.secproject.com/blog/?p=285</guid>
		<description><![CDATA[Update: NoScript v2.0.2.3 does not have this problem anymore. I&#8217;m happier now. tnx to its clever author. As I told Giorgio, all the problems will be reported to him first ;)  Woohoo! You/We/They/or whatever! can still use unicode in some places! NoScript cannot find out special unicode characters which mean something in ASP: PoC: http://Example.com/VulnFile.asp?DangInput=%u2329scr%u0131pt%u232A%u212Fval(&#8216;alert&#8217;%2b&#8217;(&#8220;NoScript Bypass [...]]]></description>
			<content:encoded><![CDATA[<h4><span style="color: #ff0000;">Update: </span></h4>
<h4><span style="color: #339966;">NoScript v2.0.2.3 does not have this problem anymore. I&#8217;m happier now. tnx to its clever author.</span></h4>
<h4><span style="color: #339966;">As I told Giorgio, all the problems will be reported to him first ;) </span></h4>
<p><del datetime="2010-08-21T20:11:38+00:00">Woohoo! You/We/They/or whatever! can still use unicode in some places!</del></p>
<p>NoScript cannot find out special unicode characters which mean something in ASP:</p>
<p>PoC:</p>
<blockquote><p>http://Example.com/VulnFile.asp?DangInput=%u2329scr%u0131pt%u232A%u212Fval(&#8216;alert&#8217;%2b&#8217;(&#8220;NoScript Bypass in ASP!\\nBy Soroush Dalili&#8221;)&#8217;)%u2329/scr%u0131pt%u232A</p></blockquote>
<p>In this example I selected the characters from: <a href="http://rishida.net/scripts/uniview/uniview.php">http://rishida.net/scripts/uniview/uniview.php</a> . For instance:<br />
%u2329 = &lt;<br />
%u0131 = i<br />
%u232A = &gt;<br />
%u212F = e<br />
From Microsoft point of view! Therefore, IE8 XSS prevention can detect this encoding and NoScript cannot detect it.</p>
]]></content:encoded>
			<wfw:commentRss>http://soroush.secproject.com/blog/2010/08/noscript-new-bypass-method-by-unicode-in-asp/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>New update &#8211; July 2010</title>
		<link>http://soroush.secproject.com/blog/2010/08/new-update-july-2010/</link>
		<comments>http://soroush.secproject.com/blog/2010/08/new-update-july-2010/#comments</comments>
		<pubDate>Sun, 08 Aug 2010 22:10:12 +0000</pubDate>
		<dc:creator>Soroush Dalili</dc:creator>
				<category><![CDATA[Normal Posts]]></category>
		<category><![CDATA[Security Posts]]></category>

		<guid isPermaLink="false">http://soroush.secproject.com/blog/?p=280</guid>
		<description><![CDATA[I want to update my blog with this new post: - I learned good things from BlackHat 2010 although I was not there! JavaSnoop is a great tool by the way. Although there are some minor bugs, this tool is solving many of my problems! - Some software are immune against my reports like Fortify! [...]]]></description>
			<content:encoded><![CDATA[<p>I want to update my blog with this new post:<br />
- I learned good things from BlackHat 2010 although I was not there! JavaSnoop is a great tool by the way. Although there are some minor bugs, this tool is solving many of my problems!</p>
<p>- Some software are immune against my reports like Fortify! I&#8217;m not sure if it&#8217;s a good thing for them however! This is not my policy!</p>
<p>- Burpsuite Pro is great and I&#8217;m waiting for the new version after fixing my issues (current version is 1.3.07).</p>
<p>- A dangerous CSRF vulnerability in Secunia Community has been fixed &#8211; in which attacker could change a user’s email address and then use forgot password feature to reset his/her password &#8211; immediately after my report.</p>
<p>More info: <a href="http://secunia.com/community/forum/thread/show/4856/notification_of_fixed_csrf_issue">http://secunia.com/community/forum/thread/show/4856/notification_of_fixed_csrf_issue</a></p>
<p>- CodeProject.com wants to fix a vulnerability that I&#8217;ve reported 1 month ago.</p>
<p>- I&#8217;ve reported a Microsoft .Net security vulnerability to them and I&#8217;ve just received their first &#8220;thank you&#8221; email. Now, I&#8217;m waiting to see what would happen.</p>
<p>- I reported a dangerous CSRF vulnerability in BlogFa.com to them several months ago. Although they&#8217;ve fixed that issue, they did not give me any credit! Should I report their flaws in future? I&#8217;m not so sure!</p>
<p>- I want to release a powerful tool for Steganography in text soon! This is my MSc. project that I&#8217;ve changed it a bit.</p>
]]></content:encoded>
			<wfw:commentRss>http://soroush.secproject.com/blog/2010/08/new-update-july-2010/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>IIS5.1 Directory Authentication Bypass by using &#8220;:$I30:$Index_Allocation&#8221;</title>
		<link>http://soroush.secproject.com/blog/2010/07/iis5-1-directory-authentication-bypass-by-using-i30index_allocation/</link>
		<comments>http://soroush.secproject.com/blog/2010/07/iis5-1-directory-authentication-bypass-by-using-i30index_allocation/#comments</comments>
		<pubDate>Thu, 01 Jul 2010 18:20:32 +0000</pubDate>
		<dc:creator>Soroush Dalili</dc:creator>
				<category><![CDATA[My Advisories]]></category>
		<category><![CDATA[Security Posts]]></category>
		<category><![CDATA[IIS5.1 Authentication Bypass]]></category>

		<guid isPermaLink="false">http://soroush.secproject.com/blog/?p=263</guid>
		<description><![CDATA[Download this advisory from: http://soroush.secproject.com/downloadable/IIS5.1_Authentication_Bypass.pdf or: http://0me.me/demo/IIS/IIS5.1_Authentication_Bypass.pdf Description: Although IIS5 is very old, finding one is not impossible! Therefore, I want to introduce a technique to bypass the IIS authentication methods on a directory. This vulnerability is because of using Alternate Data Stream to open a protected folder. All of IIS authentication methods can be [...]]]></description>
			<content:encoded><![CDATA[<p>Download this advisory from: <a href="http://soroush.secproject.com/downloadable/IIS5.1_Authentication_Bypass.pdf">http://soroush.secproject.com/downloadable/IIS5.1_Authentication_Bypass.pdf</a><br />
or: <a href="http://0me.me/demo/IIS/IIS5.1_Authentication_Bypass.pdf">http://0me.me/demo/IIS/IIS5.1_Authentication_Bypass.pdf</a></p>
<p style="text-align: justify;"><strong><em>Description:</em></strong><br />
Although IIS5 is very old, finding one is not impossible! Therefore, I want to introduce a technique to bypass the IIS authentication methods on a directory.<br />
This vulnerability is because of using Alternate Data Stream to open a protected folder.<br />
All of IIS authentication methods can be circumvented. In this technique, we can add a “:$i30:$INDEX_ALLOCATION” to a directory name to bypass the authentication.<br />
In a protected folder such as “AuthNeeded” which includes “secretfile.asp”:<br />
It is possible to run “secretfile.asp” by using:<br />
“/AuthNeeded:$i30:$INDEX_ALLOCATION/secretfile.asp”<br />
Instead of:<br />
“/AuthNeeded/secretfile.asp”</p>
<p style="text-align: justify;"><strong>More description:</strong><br />
<strong><em>Why IIS6 and 7 are not vulnerable:</em></strong><br />
- In these versions, IIS does not accept colon (&#8220;:&#8221;) character from the URL before the querystring.</p>
<p style="text-align: justify;"><strong><em>Why we cannot use &#8220;::$Data&#8221; in IIS 5.1 anymore:</em></strong><br />
- IIS rejects the request if its URL contains &#8220;::$&#8221; (before querystring).</p>
<p style="text-align: justify;"><strong><em>Why IIS5 is vulnerable to &#8220;Directory Authentication Bypass&#8221; by using &#8220;:$I30:$Index_Allocation&#8221;:</em></strong><br />
- IIS only verifies the directory name to check for authentication. Therefore, we can use &#8220;http://victim.com/SecretFolder:$I30:$Index_Allocation/&#8221; instead of &#8220;http://victim.com/SecretFolder&#8221; to bypass the authentication.</p>
<p style="text-align: justify;"><strong><em>Is it possible to bypass something else by using &#8220;:$I30:$Index_Allocation&#8221; on a NTFS partition:</em></strong><br />
- If a checking is only based on the directory name, it can be bypassed by using this method.</p>
<p>Download this advisory from: <a href="http://soroush.secproject.com/downloadable/IIS5.1_Authentication_Bypass.pdf">http://soroush.secproject.com/downloadable/IIS5.1_Authentication_Bypass.pdf</a><br />
or: <a href="http://0me.me/demo/IIS/IIS5.1_Authentication_Bypass.pdf">http://0me.me/demo/IIS/IIS5.1_Authentication_Bypass.pdf</a><a href="http://0me.me/demo/IIS/IIS5.1_Authentication_Bypass.pdf"></a></p>
]]></content:encoded>
			<wfw:commentRss>http://soroush.secproject.com/blog/2010/07/iis5-1-directory-authentication-bypass-by-using-i30index_allocation/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Crowzers or Carzy Browsers:</title>
		<link>http://soroush.secproject.com/blog/2010/06/crowzers-or-carzy-browsers/</link>
		<comments>http://soroush.secproject.com/blog/2010/06/crowzers-or-carzy-browsers/#comments</comments>
		<pubDate>Wed, 30 Jun 2010 20:04:14 +0000</pubDate>
		<dc:creator>Soroush Dalili</dc:creator>
				<category><![CDATA[My Advisories]]></category>
		<category><![CDATA[Security Posts]]></category>
		<category><![CDATA[browser address bar lock]]></category>
		<category><![CDATA[browser crash]]></category>
		<category><![CDATA[fix iframe src]]></category>

		<guid isPermaLink="false">http://soroush.secproject.com/blog/?p=256</guid>
		<description><![CDATA[I need to translate this word first: Carzy Browsers = Crowsers Now, I want to share some odd behaviour of browsers with you. Let’s make them Crazy!  1- First, we load a URL in an IFrame. Then, we load another website on the same frame. Now, by using “javascript:window.history.go(0)”, it will change the IFrame SRC [...]]]></description>
			<content:encoded><![CDATA[<p>I need to translate this word first:<br />
Carzy Browsers = Crowsers</p>
<p>Now, I want to share some odd behaviour of browsers with you. Let’s make them Crazy!</p>
<p> 1- First, we load a URL in an IFrame. Then, we load another website on the same frame. Now, by using “javascript:window.history.go(0)”, it will change the IFrame SRC to the first URL,  but it keeps the 2nd website on the IFrame!</p>
<p> Try it here: <a href="http://0me.me/demo/crowzers/irsdl/addressbar_halt.html">http://0me.me/demo/crowzers/irsdl/addressbar_halt.html</a></p>
<p> Which Browsers?</p>
<p>  - Mozilla Firefox 3.6.6</p>
<p>  - IE7</p>
<p>  - IE8</p>
<p> 2- We want to lock the address bar in different browsers by using “onblur” and “onload” events with “this.focus()”.</p>
<p> Try it here: <a href="http://0me.me/demo/crowzers/irsdl/iframe_src_fool.html">http://0me.me/demo/crowzers/irsdl/iframe_src_fool.html</a></p>
<p> Which Browsers?</p>
<p>  - Mozilla Firefox 3.6.6</p>
<p>  - IE7</p>
<p>  - IE8</p>
<p>  - Opera 10.54</p>
<p> 3- We want to stop the browsers from working by using infinite loops and so on.</p>
<p> Try it here: <a href="http://0me.me/demo/crowzers/irsdl/halt.html">http://0me.me/demo/crowzers/irsdl/halt.html</a></p>
<p> Which Browsers?</p>
<p>  - Mozilla Firefox 3.6.6: Halted with Mozilla Crash Reporter</p>
<p>  - IE7: Halted</p>
<p>  - IE8: Halted</p>
<p>  - Safari 5: Crashed on “javascriptcore.dll”</p>
<p>Good luck!</p>
]]></content:encoded>
			<wfw:commentRss>http://soroush.secproject.com/blog/2010/06/crowzers-or-carzy-browsers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cross Site URL Hijacking by using Error Object in Mozilla Firefox</title>
		<link>http://soroush.secproject.com/blog/2010/05/cross-site-url-hijacking-by-using-error-object-in-mozilla-firefox/</link>
		<comments>http://soroush.secproject.com/blog/2010/05/cross-site-url-hijacking-by-using-error-object-in-mozilla-firefox/#comments</comments>
		<pubDate>Thu, 27 May 2010 00:04:05 +0000</pubDate>
		<dc:creator>Soroush Dalili</dc:creator>
				<category><![CDATA[My Advisories]]></category>
		<category><![CDATA[Security Articles]]></category>
		<category><![CDATA[Security Posts]]></category>
		<category><![CDATA[Cross Site URL Hijacking]]></category>
		<category><![CDATA[Cross Site URL Hijacking by Error Object]]></category>
		<category><![CDATA[XSUH by error object]]></category>
		<category><![CDATA[XSUH in Mozilla Firefox]]></category>

		<guid isPermaLink="false">http://soroush.secproject.com/blog/?p=245</guid>
		<description><![CDATA[In this paper, I want to represent a method for performing Cross Site URL Hijacking (which we can call XSUH) by using the error object of Mozilla Firefox. XSUH attack is used to steal another website URL. This URL can show the client’s situation on that website, and it can contain confidential parameters such as [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">In this paper, I want to represent a method for performing <strong>Cross Site URL Hijacking</strong> (which we can call <strong>XSUH</strong>) by using the<strong> error object</strong> of <strong>Mozilla Firefox</strong>. XSUH attack is used to steal another website URL. This URL can show the client’s situation on that website, and it can contain confidential parameters such as session ID as well. There is another useful article with a similar purpose but with a different approach which is “XSHM” article of CHECKMARX , and reading this article is highly recommended to you as well.<br />
As you might know, scripts error handling in Mozilla Firefox is quite useful for the developers as it can show the exact source of an error with some useful information. Now, this functionality can be misused to divulge the destination URL after the redirections (XSUH attack) which can lead to condition leakage or stealing some important parameters from the URL.</p>
<p><strong>Download From Here</strong>: <a href="http://soroush.secproject.com/downloadable/XSUH_FF_1.pdf">http://soroush.secproject.com/downloadable/XSUH_FF_1.pdf</a><br />
<strong>Or Here</strong>: <a href="http://0me.me/demo/XSUH/XSUH_FF_1.pdf">http://0me.me/demo/XSUH/XSUH_FF_1.pdf</a></p>
<p><strong>Proof of Concept</strong>: <a href="http://0me.me/demo/XSUH/XSUH_demo_firefox_all_in_1.html">http://0me.me/demo/XSUH/XSUH_demo_firefox_all_in_1.html</a></p>
<p>Note:  This technique has been tested on Mozilla Firefox 3.6.3, 3.5.9, 3.6.4build5 (26th May 2010).</p>
]]></content:encoded>
			<wfw:commentRss>http://soroush.secproject.com/blog/2010/05/cross-site-url-hijacking-by-using-error-object-in-mozilla-firefox/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>New Method: Role of the “/” character in mapping the website directories! &#8211; Webservers fault?</title>
		<link>http://soroush.secproject.com/blog/2010/05/new-method-role-of-the-%e2%80%9c%e2%80%9d-character-in-mapping-the-website-directories/</link>
		<comments>http://soroush.secproject.com/blog/2010/05/new-method-role-of-the-%e2%80%9c%e2%80%9d-character-in-mapping-the-website-directories/#comments</comments>
		<pubDate>Thu, 06 May 2010 23:54:44 +0000</pubDate>
		<dc:creator>Soroush Dalili</dc:creator>
				<category><![CDATA[Security Articles]]></category>
		<category><![CDATA[Security Posts]]></category>
		<category><![CDATA[Mapping directory]]></category>
		<category><![CDATA[Mapping folder]]></category>
		<category><![CDATA[Slash role]]></category>
		<category><![CDATA[using slash as a signature]]></category>

		<guid isPermaLink="false">http://soroush.secproject.com/blog/?p=240</guid>
		<description><![CDATA[One of the first steps of a black-box penetration testing of a website is mapping its files and directories.  And in order to do that, security scanners crawl into the website first, and then try to guess the possible directories and files. These scanners use the response header or body of the page to investigate [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">One of the first steps of a black-box penetration testing of a website is mapping its files and directories.  And in order to do that, security scanners crawl into the website first, and then try to guess the possible directories and files. These scanners use the response header or body of the page to investigate a valid file or directory. For instance, the header status “404” can be the sign of “File Not Found” and “200” can be the sign of a valid file. Also, the status “403 Forbidden” can be the sign of a valid directory without any index page. However, many websites such as Yahoo, Google, Facebook, Microsoft, and so on do not like to show the “403 Forbidden” errors for a valid directory, and instead, they show a “Page Not found” or another default page to the users. Although this functionality makes the website more user-friendly, it is not good for the scanners at all; as there is no difference between a valid and an invalid directory then.</p>
<p style="text-align: justify;">Therefore, we need something else as a signature to improve the scanners result. And as a solution we can use a “/” as an identifier. In case of requesting a valid directory without adding a slash at the end of it, the web-server will add an slash automatically, and in case of having an invalid directory there will not be any slash at the end of the directory name.</p>
<p>Some examples:</p>
<p>Invalid Directory: <a href="http://www.microsoft.com/foobars">http://www.microsoft.com/foobars</a></p>
<p>Valid Directory: <a href="http://www.microsoft.com/test">http://www.microsoft.com/test</a></p>
<p>&#8212;&#8212;&#8211;</p>
<p>Invalid Directory: <a href="http://code.google.com/foobars">http://code.google.com/foobars</a></p>
<p>Valid Directory: <a href="http://code.google.com/js">http://code.google.com/js</a></p>
<p>&#8212;&#8212;&#8211;</p>
<p>Invalid Directory: <a href="http://www.facebook.com/foobars">http://www.facebook.com/foobars</a></p>
<p>Valid Directory: <a href="http://www.facebook.com/admin">http://www.facebook.com/admin</a></p>
<p>&#8212;&#8212;&#8211;</p>
<p>Invalid Directory: <a href="http://uk.yahoo.com/foobars">http://uk.yahoo.com/foobars</a></p>
<p>Valid Directory: <a href="http://uk.yahoo.com/private">http://uk.yahoo.com/private</a></p>
<p>&#8212;&#8212;&#8211;</p>
<p>Cheers,</p>
<p><strong>Soroush Dalili</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://soroush.secproject.com/blog/2010/05/new-method-role-of-the-%e2%80%9c%e2%80%9d-character-in-mapping-the-website-directories/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IE7-8 drive list enumeration!</title>
		<link>http://soroush.secproject.com/blog/2010/03/ie7-8-drive-list-enumeration/</link>
		<comments>http://soroush.secproject.com/blog/2010/03/ie7-8-drive-list-enumeration/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 23:48:53 +0000</pubDate>
		<dc:creator>Soroush Dalili</dc:creator>
				<category><![CDATA[My Advisories]]></category>
		<category><![CDATA[Security Posts]]></category>

		<guid isPermaLink="false">http://soroush.secproject.com/blog/?p=230</guid>
		<description><![CDATA[Iframe delay in loading the local drives in IE7 and IE8 can cause drive list enumeration! Proof of Concept is available from this link: http://plaincipher.com/demo/IE-Drive-Enum-Demo.html Cheers, Soroush Dalili]]></description>
			<content:encoded><![CDATA[<p>Iframe delay in loading the local drives in IE7 and IE8 can cause drive list enumeration!<br />
Proof of Concept is available from this link:<br />
<a href="http://plaincipher.com/demo/IE-Drive-Enum-Demo.html">http://plaincipher.com/demo/IE-Drive-Enum-Demo.html</a></p>
<p>Cheers,<br />
Soroush Dalili</p>
]]></content:encoded>
			<wfw:commentRss>http://soroush.secproject.com/blog/2010/03/ie7-8-drive-list-enumeration/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The Web Application Security Consortium Threat Classification v2.0</title>
		<link>http://soroush.secproject.com/blog/2010/01/the-web-application-security-consortium-threat-classification-v2-0/</link>
		<comments>http://soroush.secproject.com/blog/2010/01/the-web-application-security-consortium-threat-classification-v2-0/#comments</comments>
		<pubDate>Mon, 04 Jan 2010 23:46:00 +0000</pubDate>
		<dc:creator>Soroush Dalili</dc:creator>
				<category><![CDATA[Normal Posts]]></category>
		<category><![CDATA[Security Posts]]></category>
		<category><![CDATA[WASC Threat Classification v2.0]]></category>
		<category><![CDATA[Web Application Security Consortium Threat Classification]]></category>

		<guid isPermaLink="false">http://soroush.secproject.com/blog/?p=208</guid>
		<description><![CDATA[After OWASP updated its Top 10, now I&#8217;m very glad to quote this: The Web Application Security Consortium (WASC) is pleased to announce the long awaited release of the WASC Threat Classification v2.0. You can read more information from these links: http://projects.webappsec.org/Threat-Classification and http://projects.webappsec.org/f/WASC-TC-v2_0.pdf Cheers, Soroush]]></description>
			<content:encoded><![CDATA[<p>After OWASP updated its <a href="http://www.owasp.org/index.php/Category:OWASP_Top_Ten_Project" target="_blank">Top 10</a>, now I&#8217;m very glad to quote this:</p>
<blockquote><p>The Web Application Security Consortium (WASC) is pleased to announce the long awaited release of the WASC Threat Classification v2.0.</p></blockquote>
<p>You can read more information from these links: <a href="http://projects.webappsec.org/Threat-Classification" target="_blank">http://projects.webappsec.org/Threat-Classification</a> and <a href="http://projects.webappsec.org/f/WASC-TC-v2_0.pdf" target="_blank">http://projects.webappsec.org/f/WASC-TC-v2_0.pdf</a></p>
<p>Cheers,</p>
<p>Soroush</p>
]]></content:encoded>
			<wfw:commentRss>http://soroush.secproject.com/blog/2010/01/the-web-application-security-consortium-threat-classification-v2-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft Contradiction</title>
		<link>http://soroush.secproject.com/blog/2010/01/microsoft-contradiction/</link>
		<comments>http://soroush.secproject.com/blog/2010/01/microsoft-contradiction/#comments</comments>
		<pubDate>Sun, 03 Jan 2010 15:36:56 +0000</pubDate>
		<dc:creator>Soroush Dalili</dc:creator>
				<category><![CDATA[Security Posts]]></category>
		<category><![CDATA[Microsoft IIS Vulnerability]]></category>

		<guid isPermaLink="false">http://soroush.secproject.com/blog/?p=204</guid>
		<description><![CDATA[First of all, Microsoft is one of the best companies which leads us to the better world. But, nothing is free of fault except God! I’m writing this post as a response to the Microsoft security response in: “http://blogs.technet.com/msrc/archive/2009/12/29/results-of-investigation-into-holiday-iis-claim.aspx”. They said that “We’ve completed our investigation into the claims that came up over the holiday [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">First of all, Microsoft is one of the best companies which leads us to the better world. But, nothing is free of fault except God!</p>
<p style="text-align: justify;">I’m writing this post as a response to the Microsoft security response in: “<a href="http://blogs.technet.com/msrc/archive/2009/12/29/results-of-investigation-into-holiday-iis-claim.aspx" target="_blank">http://blogs.technet.com/msrc/archive/2009/12/29/results-of-investigation-into-holiday-iis-claim.aspx</a>”.</p>
<p style="text-align: justify;">They said that “We’ve completed our investigation into the claims that came up over the holiday of a possible vulnerability in IIS and found that there is no vulnerability in IIS.”. Therefore, I realized that this is not a Microsoft IIS hole. So, it should be a feature of IIS 6.0! In my opinion it’s a good feature for the attackers to bypass the web uploaders protection. Now my question is: why have they removed this feature from IIS version 7 and 7.5 then? And why are the others so concerned about this feature and some people added it to their exploits collection?</p>
<p>I think it’s not even a critical bug for IIS, but it is highly critical for most of the web applications.</p>
<p style="text-align: justify;">Besides, Microsoft is so wrong about the default configurations since they said “customers who are using IIS 6.0 in the default don’t need to worry about this issue”.  I think they should look at the shared servers default configurations as well as the dedicated ones.</p>
<p style="text-align: justify;">Finally, I think Microsoft should fix this feature as soon as possible to eliminate its risks! And, it is up to the web security researchers and the web penetration testers to decide about the impact of this vulnerability on the web applications.</p>
<p>PS:</p>
<p>You can also look at these links:</p>
<p>-          <a href="http://www.darknet.org.uk/2009/12/microsoft-iis-semicolon-bug-leaves-servers-vulnerable/" target="_blank">http://www.darknet.org.uk/2009/12/microsoft-iis-semicolon-bug-leaves-servers-vulnerable/</a></p>
<p>-          <a href="http://www.esecurityplanet.com/trends/article.php/3855936/article.htm" target="_blank">http://www.esecurityplanet.com/trends/article.php/3855936/article.htm</a></p>
<p>-          <a href="http://www.securityfocus.com/bid/37460/references" target="_blank">http://www.securityfocus.com/bid/37460/references</a></p>
]]></content:encoded>
			<wfw:commentRss>http://soroush.secproject.com/blog/2010/01/microsoft-contradiction/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Browsers’ Pain: A recursive function!</title>
		<link>http://soroush.secproject.com/blog/2009/12/browsers%e2%80%99-pain-a-recursive-function/</link>
		<comments>http://soroush.secproject.com/blog/2009/12/browsers%e2%80%99-pain-a-recursive-function/#comments</comments>
		<pubDate>Fri, 25 Dec 2009 20:36:55 +0000</pubDate>
		<dc:creator>Soroush Dalili</dc:creator>
				<category><![CDATA[Security Articles]]></category>
		<category><![CDATA[Security Posts]]></category>
		<category><![CDATA[Browsers’ Pain]]></category>
		<category><![CDATA[Mozilla Crash Function]]></category>

		<guid isPermaLink="false">http://soroush.secproject.com/blog/?p=188</guid>
		<description><![CDATA[I have written a recursive function by using Javascript “setInterval” function which calls itself. Unfortunately, none of the last version of famous browsers such as Internet Explorer (8), Chrome (3.0.195.38), and Mozilla Firefox (3.5.6) blocks this script. Moreover, it takes more than 50% of my CPU which is Intel Core 2 Dou 2.50 GHz. And [...]]]></description>
			<content:encoded><![CDATA[<p>I have written a recursive function by using Javascript “setInterval” function which calls itself. Unfortunately, none of the last version of famous browsers such as Internet Explorer (8), Chrome (3.0.195.38), and Mozilla Firefox (3.5.6) blocks this script. Moreover, it takes more than 50% of my CPU which is Intel Core 2 Dou 2.50 GHz.<br />
And the worst one is Mozilla Firefox which stops working after running this script instead of showing a page to stop the script.<br />
This script is:</p>
<blockquote><p>&lt;script&gt;<br />
function recursiveFunc(){setInterval(&#8220;recursiveFunc()&#8221;,1);}<br />
recursiveFunc();<br />
&lt;/script&gt;</p></blockquote>
<p>Just save it as an HTML file, and try to open it with your browsers. You can convert “1” to “0” to get better result in Mozilla Firefox and Chrome.<br />
I reported it to Mozilla Firefox as a bug.<br />
Good luck.</p>
]]></content:encoded>
			<wfw:commentRss>http://soroush.secproject.com/blog/2009/12/browsers%e2%80%99-pain-a-recursive-function/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft IIS Semi-Colon Vulnerability</title>
		<link>http://soroush.secproject.com/blog/2009/12/microsoft-iis-semi-colon-vulnerability/</link>
		<comments>http://soroush.secproject.com/blog/2009/12/microsoft-iis-semi-colon-vulnerability/#comments</comments>
		<pubDate>Fri, 25 Dec 2009 17:50:44 +0000</pubDate>
		<dc:creator>Soroush Dalili</dc:creator>
				<category><![CDATA[My Advisories]]></category>
		<category><![CDATA[Security Posts]]></category>
		<category><![CDATA[Execute ASP by JPG]]></category>
		<category><![CDATA[IIS File Extension Security Bypass]]></category>
		<category><![CDATA[IIS semicolon bug]]></category>
		<category><![CDATA[IIS semicolon vulnerability]]></category>
		<category><![CDATA[Microsoft IIS Vulnerability]]></category>
		<category><![CDATA[Run ASP by JPG]]></category>

		<guid isPermaLink="false">http://soroush.secproject.com/blog/?p=185</guid>
		<description><![CDATA[I found a vulnerability in Microsoft IIS when I was searching about a method to execute an ASP file when we can only upload a JPG file. The result was too simple, but interesting! I need only a semicolon between the &#8220;.asp&#8221; and the &#8220;.jpg&#8221; to execute an ASP file. So, the answer was &#8220;myfilename.asp;,jpg&#8221;. [...]]]></description>
			<content:encoded><![CDATA[<p>I found a vulnerability in Microsoft IIS when I was searching about a method to execute an ASP file when we can only upload a JPG file.</p>
<p>The result was too simple, but interesting! I need only a semicolon between the &#8220;.asp&#8221; and the &#8220;.jpg&#8221; to execute an ASP file. So, the answer was &#8220;myfilename.asp;,jpg&#8221;. I have written some information about this vulnerability in:</p>
<p><a href="http://soroush.secproject.com/downloadable/iis-semicolon-report.pdf" target="_blank">http://soroush.secproject.com/downloadable/iis-semicolon-report.pdf</a></p>
<p>I&#8217;ll try to update this PDF file if there was a need to add or change some information.</p>
<p>Description of this vulnerability from Secunia.com is:</p>
<blockquote><p>Description:<br />
Soroush Dalili has discovered a vulnerability in Microsoft Internet Information Services (IIS), which can be exploited by malicious people to potentially bypass certain security restrictions and compromise a vulnerable system.</p>
<p>The vulnerability is caused due to the web server incorrectly executing e.g. ASP code included in a file having multiple extensions separated by &#8220;;&#8221;, only one internal extension being equal to &#8220;.asp&#8221; (e.g. &#8220;file.asp;.jpg&#8221;). This can be exploited to potentially upload and execute arbitrary ASP code via a third-party application using file extensions to restrict uploaded file types.</p>
<p>The vulnerability is confirmed on a fully patched Windows Server 2003 R2 SP2 running Microsoft IIS version 6. Other versions may also be affected.</p></blockquote>
<p>There are also several websites which wrote about this weakness:</p>
<p>1. Secunia Advisory: <a href="http://secunia.com/advisories/37831/" target="_blank">Microsoft IIS ASP Multiple Extensions Security Bypass</a></p>
<p>2. Securityfocus: <a href="http://www.securityfocus.com/bid/37460" target="_blank"><span>Microsoft IIS Malformed Local Filename Security Bypass Vulnerability</span></a></p>
<p>3. The Register: <a href="http://www.theregister.co.uk/2009/12/25/microsoft_iis_semicolon_bug/" target="_blank">Microsoft IIS vuln leaves users open to remote attack</a></p>
<p>4. VUPEN Security: <a href="http://www.vupen.com/english/advisories/2009/3634" target="_blank">Microsoft IIS File Extension Processing Security Bypass Vulnerability</a></p>
<p>5. Securitytracker: <a href="http://securitytracker.com/alerts/2009/Dec/1023387.html" target="_blank">Microsoft Internet Information Services (IIS) Filename Extension Parsing Flaw May Let Users Bypass Security Controls</a></p>
]]></content:encoded>
			<wfw:commentRss>http://soroush.secproject.com/blog/2009/12/microsoft-iis-semi-colon-vulnerability/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>My belief: 70% of websites are vulnerable</title>
		<link>http://soroush.secproject.com/blog/2009/11/my-belief-70-of-websites-are-vulnerable/</link>
		<comments>http://soroush.secproject.com/blog/2009/11/my-belief-70-of-websites-are-vulnerable/#comments</comments>
		<pubDate>Sun, 29 Nov 2009 15:57:31 +0000</pubDate>
		<dc:creator>Soroush Dalili</dc:creator>
				<category><![CDATA[Security Articles]]></category>
		<category><![CDATA[Security Posts]]></category>
		<category><![CDATA[Critical vulnerabilities]]></category>
		<category><![CDATA[CSRF Attacks]]></category>
		<category><![CDATA[OWASP top 10]]></category>
		<category><![CDATA[SQL Injection Vulnerability]]></category>
		<category><![CDATA[website vulnerability]]></category>
		<category><![CDATA[XSS Vulnerability]]></category>

		<guid isPermaLink="false">http://soroush.secproject.com/blog/?p=180</guid>
		<description><![CDATA[When I was searching for a ticket in nationalrail.co.uk website, I suddenly found an XSS and also a SQL Injection vulnerabilities in it. I reported these two vulns. to its website just for having more security. And, I think these two vulnerabilities are fixed now. However, I believe that still 70% of webistes are vulnerable [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">When I was searching for a ticket in nationalrail.co.uk website, I suddenly found an XSS and also a SQL Injection vulnerabilities in it.</p>
<p style="text-align: justify;">I reported these two vulns. to its website just for having more security. And, I think these two vulnerabilities are fixed now.</p>
<p style="text-align: justify;">However, <strong>I believe that still 70% of webistes are vulnerable against the <a href="http://owasp.org/">OWASP</a> TOP 10! </strong></p>
<p style="text-align: justify;">Also, I think you should read &#8220;<a href="http://www.securityfocus.com/brief/1036"><span>Survey: Majority of Web sites vulnerable</span></a>&#8221; as well.</p>
<p style="text-align: justify;">Cheers,</p>
<p style="text-align: justify;">Soroush</p>
<p style="text-align: justify;">
]]></content:encoded>
			<wfw:commentRss>http://soroush.secproject.com/blog/2009/11/my-belief-70-of-websites-are-vulnerable/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

