<?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>Exploits and Security &#187; Email Systems</title>
	<atom:link href="http://www.exploitx.com/category/exploits-and-bugs/email-systems/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.exploitx.com</link>
	<description>Technology &#38; Security Tips &#38; Guides</description>
	<lastBuildDate>Tue, 22 Dec 2009 03:28:49 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>A flaw in Google&#8217;s G-Mail system allowed anyone access to any mailbox</title>
		<link>http://www.exploitx.com/151/a-flaw-in-googles-g-mail-system-allowed-anyone-access-to-any-mailbox/</link>
		<comments>http://www.exploitx.com/151/a-flaw-in-googles-g-mail-system-allowed-anyone-access-to-any-mailbox/#comments</comments>
		<pubDate>Sat, 03 Dec 2005 17:13:48 +0000</pubDate>
		<dc:creator>Exploitx</dc:creator>
				<category><![CDATA[Email Systems]]></category>

		<guid isPermaLink="false">http://www.exploitx.com/151/a-flaw-in-googles-g-mail-system-allowed-anyone-access-to-any-mailbox/</guid>
		<description><![CDATA[This bug has already been corrected, that&#8217;s why it&#8217;s been published.
In this manual you will see step by step how to exploit Gmail&#8217;s
vulnerability, that gave you access to any account, reported by
Anelkaos, colaborator of elhacker.net&#8217;s forum and patched by Google by
October 18. Due to the bug&#8217;s gravity (that allowed in a few simple steps
to login [...]]]></description>
			<content:encoded><![CDATA[<p>This bug has already been corrected, that&#8217;s why it&#8217;s been published.</p>
<p>In this manual you will see step by step how to exploit Gmail&#8217;s<br />
vulnerability, that gave you access to any account, reported by<br />
Anelkaos, colaborator of elhacker.net&#8217;s forum and patched by Google by<br />
October 18. Due to the bug&#8217;s gravity (that allowed in a few simple steps<br />
to login in any Gmail account), it was decided not to publish this<br />
document while the bug was still active. Motives are more than obvious<br />
because ALL Gmail accounts were vulnerable to the bug.</p>
<p>Google hasn&#8217;t declared definitively this topic, and they seem to have no<br />
intention of publishing the bug. The veracity of the failure was<br />
demonstrated to the editors of the Magazine &#8220;Seguridad0&#8243;, logging into<br />
an account created for that purpose, just as described in</p>
<p>http://www.elistas.net/lista/informativos/archivo/indice/61/msg/79/.</p>
<p>They also &#8220;dared&#8221; to publish this news in CyruxNET and PCWorld.</p>
<div style="float: left;"><!--adsense--></div>
<p>The bug was discovered in October 14 and it was patched in October 18<br />
because ANELKAOS decided to conctact GMail instead of publishing the bug<br />
in a list of security, and lamentably we couldn&#8217;t do more demos in other<br />
sites that we sent the news, and because we&#8217;re not HBX Networks, all the<br />
people claimed for a &#8220;hacking&#8217; test&#8221;. Thanks to heaven, we have saved<br />
all the mails where Google recognize the failure. <img src='http://www.exploitx.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> .</p>
<p>Unlike the reported by HBX and published by BetaNews last year, this bug<br />
doesn&#8217;t require cookie robbery, and because of that, the bug&#8217;s danger<br />
was considerably higher.</p>
<p>*PROCEDURE*</p>
<p>This is the way Sirdarckcat (EHN&#8217;s user) developed the exploit, although<br />
the original method is easier, the concept is the same one.</p>
<p>Due to the fact that this demonstration was realized against another&#8217;s<br />
person account, all data that could bring legal consequences have been<br />
hiden. In AUTH variable goes the ciphered address of the mail&#8217;s<br />
propetary, and although we don&#8217;t know how to decipher it, we&#8217;ve<br />
preferred to hide its values, in case &#8220;someone else&#8221; could <img src='http://www.exploitx.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<p>First of all, we need two sessions. For that we&#8217;ve chosen to use<br />
Internet Explorer and Mozilla. We start the session normally&#8230; for<br />
example, in Mozilla..</p>
<p>If we pay attention, we notice that the login screen is now different.<br />
It doesn&#8217;t just ask if you&#8217;ve forgotten your password, it also asks now<br />
for the user. Too much casualty, isn&#8217;t it? That soon and coinciding with<br />
the publishing of the bug&#8217;s existence it has changed the authentication<br />
is too much coincidence, isn&#8217;t it? We&#8217;re talking about 10 days ago <img src='http://www.exploitx.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<p>Well, let&#8217;s continue. Now we need some data we&#8217;ll modify. For that we<br />
will also iniciate an Internet Explorer session, but we stop the browser<br />
as soon as it says &#8220;Loading&#8230;&#8221;.</p>
<p>We simply look at the source code and we save the value of the &#8220;ver&#8221;<br />
variable, that we will need later.</p>
<p>Then we allow the page to continue loading, and we look the direction of<br />
the inbox, that we can see by pressing right clicking, and then Properties.</p>
<p>We will need the &#8220;zx&#8221; variable, and we save it.</p>
<p>Now we go to &#8216;mail/?username=victim&#038;zx=[zx Variable]&#8216;</p>
<p>And we stop the charging of the page just when it stops Loading,<br />
getting inside:</p>
<p>We stop again the browser, and we look at the source code.</p>
<p>Here we have the code of AUTH that we need to initiate session as our<br />
victim, but our cookie disagree (not the same).</p>
<p>We take a look inside the cookie, and we change the value of &#8220;ID&#8221; for<br />
the one we got in the &#8220;ver&#8221; variable we got before, this what surprising<br />
does is to return a valid value! It doesn&#8217;t have related information,<br />
why does that happen? Who knows&#8230;</p>
<p>GMail confirms that it&#8217;s well ciphered, and completes correctly all the<br />
rules. Nevertheless, even the content is not related, it doesn&#8217;t return<br />
an error.</p>
<p>Once modified the cookie, in the Explorer session, we enter into the<br />
following page:</p>
<p>http://mail.google.com/mail?gxlu=victim&#038;zx=[zx Variable]</p>
<p>In this moment we haven&#8217;t already started the session, we&#8217;ve just<br />
associated with the victim&#8217;s account.</p>
<p>So we go to: www.google.com/accounts/ServiceLoginAuth<br />
<http ://www.google.com/accounts/ServiceLoginAuth>.</p>
<p>And it sends you to:</p>
<p>mail.google.com/mail/?auth= [CODIGO auth]</p>
<p>At this point all we have to do is to modify the values of the cookie<br />
that will expire&#8230; At least we give it 1 minute of life.</p>
<p>We enter mail.google.com/mail/?&#038;&#038;rm=false&#038;null=Entrar&#038;continue</p>
<p>We stop the loading because if we don&#8217;t, Google is going to close our<br />
session, so we write:</p>
<p>javascript:document.cookie+=&#8221;;expires=Thu,%2001%20Jan%202070%2000:00:00%20GMT&#8221;;</p>
<p>Once extended the cookie&#8217;s life, we enter<br />
http://mail.google.com/mail/?auth=[AUTH Code]</p>
<p>And we start the session as the victim.</p>
<p>Complete access, of course <img src='http://www.exploitx.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<p>*GOODBYE AND CLOSE.*</p>
<p>OK, it&#8217;s a Beta version, and they don&#8217;t have to report anything. But if<br />
they would have recognized it and published a thank you note, this<br />
information wouldn&#8217;t had been published. We have 3 ways to get to the<br />
same result, the others 2 are quite easier, and because of that easily<br />
we can deduce that it&#8217;s a multibug, and a design error. With all these<br />
clues, they will not take too much to discover new methods.</p>
<p>Source</p>
<p>http://www.indian-hackers.net</p>
<p>Related hyperlinks</p>
<p>http://www.elistas.net/lista/informativos/archivo/indice/61/msg/79/</http></p>
]]></content:encoded>
			<wfw:commentRss>http://www.exploitx.com/151/a-flaw-in-googles-g-mail-system-allowed-anyone-access-to-any-mailbox/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>SquirrelMail Arbitrary Variable Overwriting Vulnerability</title>
		<link>http://www.exploitx.com/71/squirrelmail-arbitrary-variable-overwriting-vulnerability/</link>
		<comments>http://www.exploitx.com/71/squirrelmail-arbitrary-variable-overwriting-vulnerability/#comments</comments>
		<pubDate>Fri, 15 Jul 2005 00:28:57 +0000</pubDate>
		<dc:creator>Exploitx</dc:creator>
				<category><![CDATA[Email Systems]]></category>
		<category><![CDATA[Exploits and Bugs]]></category>

		<guid isPermaLink="false">http://www.exploitx.com/71/squirrelmail-arbitrary-variable-overwriting-vulnerability/</guid>
		<description><![CDATA[Vendor  : The SquirrelMail Project Team
URL     : http://www.squirrelmail.org/
Version : SquirrelMail 1.4.5-RC1 &#038;&#038; Earlier
Risk    : Variable Overwriting
Description:
SquirrelMail is a standards-based webmail package written in php. It
includes built-in pure PHP support for the IMAP and SMTP protocols.
Unfortunately there is a fairly serious variable handling issue in one
of the core [...]]]></description>
			<content:encoded><![CDATA[<p>Vendor  : The SquirrelMail Project Team<br />
URL     : http://www.squirrelmail.org/<br />
Version : SquirrelMail 1.4.5-RC1 &#038;&#038; Earlier<br />
Risk    : Variable Overwriting</p>
<p>Description:<br />
SquirrelMail is a standards-based webmail package written in php. It<br />
includes built-in pure PHP support for the IMAP and SMTP protocols.<br />
Unfortunately there is a fairly serious variable handling issue in one<br />
of the core SquirrelMail scripts that can allow an attacker to take<br />
control of variables used within the script, and influence functions<br />
and actions within the script. An updated version of SquirrelMail can<br />
be downloaded from their official website. Users are advised to update<br />
their SquirrelMail installations as soon as possible.</p>
<p>Variable Overwriting:<br />
There is a fairly serious variable overwriting vulnerability in one<br />
of the core SquirrelMail scripts. The vulnerable script makes use of<br />
an extract() call in a careless manner, thus allowing us to overwrite<br />
any variables declared before the fault extract call is made. Let&#8217;s<br />
have a look at /src/options_identities.php</p>
<p>/**<br />
 * Path for SquirrelMail required files.<br />
 * @ignore<br />
 */<br />
define(&#8216;SM_PATH&#8217;,&#8217;../&#8217;);</p>
<p>/* SquirrelMail required files. */<br />
require_once(SM_PATH . &#8216;include/validate.php&#8217;);<br />
require_once(SM_PATH . &#8216;functions/global.php&#8217;);<br />
require_once(SM_PATH . &#8216;functions/display_messages.php&#8217;);<br />
require_once(SM_PATH . &#8216;functions/html.php&#8217;);</p>
<p>/* POST data var names are dynamic because<br />
  of the possible multiple idents so lets get<br />
  them all<br />
*/</p>
<p>if (!empty($_POST)) {<br />
   extract($_POST);<br />
}</p>
<p>As we can see from the above block of code, the careless extract()<br />
call is made after a majority of the important variables used in<br />
the application are loaded, thus making them vulnerable to being<br />
easily overwritten. In short, by submitting the variable(s) of the<br />
attackers choosing a malicious user could easily influence many<br />
important variables, and function calls.</p>
<p>Solution:<br />
Thanks to Jonathan Angliss and the SquirrelMail team for a prompt<br />
resolution to this vulnerability. In regards to the updated files</p>
<p>http://www.squirrelmail.org/download.php</p>
<p>The latest version of SquirrelMail 1.4.5 can be downloaded from the<br />
link above, and users are advised to upgrade as soon as possible.</p>
<p>Related Info:<br />
The original advisory can be found at the following location</p>
<p>http://www.gulftech.org/?node=research&#038;article_id=00090-07142005</p>
<p>Credits:<br />
James Bercegay of the GulfTech Security Research Team</p>
]]></content:encoded>
			<wfw:commentRss>http://www.exploitx.com/71/squirrelmail-arbitrary-variable-overwriting-vulnerability/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Updated squirrelmail packages fix XSS vulnerabilities</title>
		<link>http://www.exploitx.com/55/updated-squirrelmail-packages-fix-xss-vulnerabilities/</link>
		<comments>http://www.exploitx.com/55/updated-squirrelmail-packages-fix-xss-vulnerabilities/#comments</comments>
		<pubDate>Sat, 02 Jul 2005 00:13:29 +0000</pubDate>
		<dc:creator>Exploitx</dc:creator>
				<category><![CDATA[Email Systems]]></category>
		<category><![CDATA[Exploits and Bugs]]></category>

		<guid isPermaLink="false">http://www.exploitx.com/55/updated-squirrelmail-packages-fix-xss-vulnerabilities/</guid>
		<description><![CDATA[Package name:           squirrelmail
Advisory ID:            MDKSA-2005:108
Date:                   June 30th, 2005
Affected versions:      Corporate 3.0
Problem [...]]]></description>
			<content:encoded><![CDATA[<p>Package name:           squirrelmail<br />
Advisory ID:            MDKSA-2005:108<br />
Date:                   June 30th, 2005<br />
Affected versions:      Corporate 3.0</p>
<p>Problem Description:</p>
<p> The SquirrelMail PHP package is vulnerable to a number of cross-site<br />
 scripting problems, most of which were reported by Martijn Brinkers.<br />
 If an attacker could get a user to read a specially-crafted email or<br />
 using a manipulated URL, they could execute arbitrary scripts running<br />
 in the context of the victim&#8217;s browser, which could lead to cookie<br />
 theft, compromise of the user&#8217;s webmail, etc.</p>
<p> The updated packages have been patched to correct these problems.</p>
<p>References:</p>
<p>http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-1921</p>
<p><!--adsense--><br />
 Updated Packages:</p>
<p> Corporate 3.0:<br />
 183b7a7c227551f918d7492460bb6b3e  corporate/3.0/RPMS/squirrelmail-1.4.2-11.1.C30mdk.noarch.rpm<br />
 d518ad049ece85134416192604c02d2e  corporate/3.0/RPMS/squirrelmail-poutils-1.4.2-11.1.C30mdk.noarch.rpm<br />
 88b3c9159a1b186057f3b858a3533e26  corporate/3.0/SRPMS/squirrelmail-1.4.2-11.1.C30mdk.src.rpm</p>
<p> Corporate 3.0/X86_64:<br />
 8fdd9a1cc0ae5ccbbff200a1a3120fdd  x86_64/corporate/3.0/RPMS/squirrelmail-1.4.2-11.1.C30mdk.noarch.rpm<br />
 0453dd30fcc737a436dac03191ab44be  x86_64/corporate/3.0/RPMS/squirrelmail-poutils-1.4.2-11.1.C30mdk.noarch.rpm<br />
 88b3c9159a1b186057f3b858a3533e26  x86_64/corporate/3.0/SRPMS/squirrelmail-1.4.2-11.1.C30mdk.src.rpm</p>
<p>To upgrade automatically use MandrakeUpdate or urpmi.  The verification<br />
 of md5 checksums and GPG signatures is performed automatically for you.</p>
<p> All packages are signed by Mandriva for security.  You can obtain the<br />
 GPG public key of the Mandriva Security Team by executing:</p>
<p> gpg &#8211;recv-keys &#8211;keyserver pgp.mit.edu 0&#215;22458A98</p>
<p> You can view other update advisories for Mandriva Linux at:</p>
<p>http://www.mandriva.com/security/advisories</p>
<p> If you want to report vulnerabilities, please contact</p>
<p> security_(at)_mandriva.com</p>
]]></content:encoded>
			<wfw:commentRss>http://www.exploitx.com/55/updated-squirrelmail-packages-fix-xss-vulnerabilities/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
