Slashdot Log In
SquirrelMail Repository Poisoned
Posted by
kdawson
on Tue Dec 18, 2007 02:47 PM
from the nuts-to-that dept.
from the nuts-to-that dept.
SkiifGeek writes "Late last week the SquirrelMail team posted information on their site about a compromise to the main download repository for SquirrelMail that resulted in a critical flaw being introduced into two versions of the webmail application (1.4.11 and 1.4.12). After gaining access to the repository through a release maintainer's compromised account (it is believed), the attackers made a slight modification to the release packages, modifying how a PHP global variable was handled. This introduced a remote file inclusion bug — leading to an arbitrary code execution risk on systems running the vulnerable versions of the software. The poisoning was identified by a difference in MD5 signatures for version 1.4.12. Version 1.4.13 is now available."
Related Stories
This discussion has been archived.
No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Full
Abbreviated
Hidden
Loading... please wait.
When a member of the team arrived for work (Score:4, Funny)
SquirrelMail team's first response after discovery (Score:5, Funny)
SquirrelMail is poisoned, so... (Score:2, Funny)
You know... (Score:5, Interesting)
Re:You know... (Score:5, Insightful)
In fact, if an attacker can tamper with the website on any point (including a router/proxy on the way), they can change the md5 whenever they change any other communication if they only care enough. For any resilience, you'd need public key cryptography; but even then you will be only as safe as the least safe private key.
Parent
Re: (Score:2)
Re: (Score:3, Interesting)
...I've never made sure to always check my MD5 signatures, but I damn sure am now.
Unfortunately, the next guy will just edit the .md5 files to contain the correct signature.
(For those who don't get it: MD5 only caught it because the 'hacker' didn't think to check for MD5 signatures. They're trivial to regenerate after you change the file.)
GPG signing is more secure, but if the secret key is compromised, they can be faked as well. That said, there are at least revocation procedures that can catch it even if you don't read the news.
Re: (Score:3, Interesting)
And that's relatively
Not just Gentoo. (Score:2)
Re:You know... (Score:5, Informative)
(For those who don't get it: MD5 only caught it because the 'hacker' didn't think to check for MD5 signatures. They're trivial to regenerate after you change the file.)
Correction: MD5 caught it because the MD5 files are stored on the main SquirrelMail server and the packages that were altered were stored on SourceForge. The "hacker" didn't have access to the former, so he couldn't change them.
Hope this helps...
Parent
Re: (Score:2)
Re: (Score:2)
Sort of like backups, isn't it? We all know we should do it, but we never really do until it is too late...
Re:beyond md5 (Score:4, Informative)
Parent
Re: (Score:3, Informative)
But I'm sure it would be no problem for your über-hacker or for Chuck Norris.
Re:beyond md5 (Score:4, Informative)
From there:
"The code modifications did not made it into our source control, just the final package. We are currently investigating older packages to see if they were also compromised. "
Parent
Ouch. Is RoundCube stable yet? (Score:2, Informative)
I've not evaluated it recently. Horde is a PITA to set up and this doesn't give me confidence in the SM team.
Re:Ouch. Is RoundCube stable yet? (Score:4, Informative)
Parent
Re: (Score:3, Informative)
I use it on my site and install it for customers. You won't build a "hotmail" with it, and a rich user client like Thunderbird is almost always a better choice for users, but for those who need web access to their email, it is absolutely great.
Re: (Score:2)
Then you should probably stay away from Debian [linuxinsider.com], Sendmail [cert.org], Apache [apacheweek.com], or...well, hell, just stay away from Open Source, period, if a server/distro compromise is the measuring stick you use to measure "confidence."
Re:Ouch. Is RoundCube stable yet? (Score:5, Informative)
Roundcube has great potential, but it isn't nearly as mature as SM. It does seem to be getting better though. The big problem I have with Roundcube is it doesn't have plugins. No plugins = no Sieve filters (avelsieve), which is a big deal to me. No plugins = no other cool things that Squirrelmail has like importing and exporting address books from all kinds of crazy places, no admin plugins, etc...
Someday though. It has always looked and functioned way nicer than squirrelmail, it just needs more backend sysadmin goodness.
Parent
Bad design (Score:5, Funny)
Re:Bad design (Score:5, Funny)
FWIW
Parent
Re: (Score:2)
The problem first started when they missed the fact that tubes were designed with mice and hamsters in mind.
Re: (Score:2)
Thank Heaven For Open Source (Score:5, Insightful)
Re:Thank Heaven For Open Source (Score:4, Interesting)
I also like how you blanket-troll all vendors of proprietary applications as if none posses basic ethics.
Parent
Re: (Score:2)
What's wrong with anything you just described? These are all good traits. It maximizes cooperation toward a common goal. It's terribly misleading to ignore the fact that the public access is read-only.
I also like how you blanket-troll all vendors of proprietary applications as if none po
Re:Thank Heaven For Open Source (Score:5, Insightful)
Considering the trend for outsourcing, probably more than you'd think. A lot more yet simply ship the code off to India or Latvia or somewhere, get it back, perform no real reviews of the code, and ship it out.
He does paint with a bit of a broad brush; but he also has a point. Commercial, closed source vendors are running a business and their primary motivation is money. Sadly, that often means hiding security breaches from users, even when that places those users at risk. OSS projects may have commercial motivations as well, but because of the process they cannot easily hide this type of problem... which is good for users.
Parent
Has the compromised account been secured? (Score:4, Interesting)
They got lucky (Score:4, Insightful)
Re: (Score:2, Informative)
Re:They got lucky (Score:4, Informative)
Parent
At first, I saw "Squirrel... (Score:2)
Re: (Score:2)
I'm NOT going to try to give any squirrel (male or female) a suppository!! It seems like it would have similar results to sticking your hands in a running garbage disposal in your sink.
There's bound to be a better way to poison your male squirrels than suppositories!
Makes me wonder (Score:3, Insightful)
Re: (Score:2)
Re: (Score:2)
That's one of the great things about SourceForge, though. CVS and Subversion are part of the repository they provide to projects hosted there, so your developers only have to be users and not worry about administration of a version control system. They also provide a bug tr
Don't trust squirrels! (Score:5, Funny)
O.U.C.H. (Score:2)
Actually, I think I know one way of doing this that doesn't require the distribution builder's machine to be compromised and which also means that matching even simple signatures like an
Weeee... (Score:2, Informative)
Open vs. Closed Source Security Implications (Score:3, Insightful)
Re: (Score:3, Informative)
1.4.11 and 1.4.12 were released uncompromised. In very late November, someone hacked a developer's SourceForge account and uploaded compromised versions of 1.4.11, 1.4.12, and 1.5.1. As soon as the problem was found in the stable branch, an announcement was made and the original 1.4.x versions restored. As soon as someone came onto Freenode #squirrelmail and explained the EXACT security implications of the poisoned releases, 1.4.11 and 1
1.5.1 was compromised as well... (Score:5, Informative)
Yesterday morning it was discovered that the 1.5.1 (development) release had been compromised as well. It hadn't been discovered until then as the hacker had modified a different file in a slightly different way. If you're running a version of 1.5.1 that had been downloaded after sometime in late November, then it would be a good idea to remove it or replace it with a SVN release (which was not compromised).
There's no official announcement yet, but 1.5.1 has been pulled from distribution and an official announcement will probably be forthcoming.
Hope this helps...
Alternative webmail? (Score:3, Interesting)
OSS or closed source, it doesnt matter to me, just anything that is good. Squirrelmail is what I use right now, and well its ugly and it doesnt seem like they ever plan on making it look like a modern webmail client should.
Re: (Score:2)
In summary: whooooosh!
Re: (Score:2)
If it ain't broke, don't fix it.
Re: (Score:2)
Re:Good thing UWRF techies are lazy (Score:4, Informative)
So, if someone (like your techies) had installed 1.4.12 within a few days of its release, chances are they would have gotten an uncompromised version. I had installed 1.4.12 a couple of hours after release, and after the compromise was found I checked and found mine was an authentic release.
Parent
Re: (Score:2)
He's thorough. _
Re: (Score:2)