Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux HostsFree MagazinesJobs
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > The Community > The Coffee Lounge
Reload this Page Vulnerable package managers
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

The Coffee Lounge General chat about anything that goes, a good place to introduce yourself and say hi, tell a Joke, or just relax.

Site Navigation
Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 07-11-2008   #1 (permalink)
Trusted Penguin
 
smolloy's Avatar
 
Join Date: Apr 2005
Location: CA, but from N.Ireland
Posts: 2,218
Vulnerable package managers

I know the mods are worried about becoming a Slashdot mirror, but I think this story is interesting/important enough to post here as well.

It looks like some researchers have figured out a way to attack via package managers. This is something I've worried about, but since I've never heard of such an attack I thought there must be some technical issue that prevented this. Apparently not.

The most frightening thing is that they managed to set up and run package repos without any real security checking by the distro maintainers, and they managed this for *all* the package managers they tried. *All* of the big distro package management systems are vulnerable.

Hopefully this will get plugged soon enough.
__________________
Registered Linux user #388328 || Registered LFS user #15880
AMD 64 X2 4600+ :: 2X1GB DDR2 800 :: GeForce 9400 GT 512MB :: ASUS M2N32 Deluxe :: 4X250GB SATAII
Need instant help? Try us on IRC -- #linuxforums on freenode
smolloy is offline   Reply With Quote
Old 07-11-2008   #2 (permalink)
Just Joined!
 
geniuz's Avatar
 
Join Date: Mar 2008
Location: Netherlands, Europe
Posts: 68
Send a message via MSN to geniuz
I shouldn't worry about it to much, why would anybody want to spend time on infecting linux computers ? I don't know exact numbers, but I do believe very little people on this world actually use linux full time compared to the ones using Windows, and Windows as we all know is much easier to hack.

And like you allready said yourself, I think maintainers will put a stop to it quite easily when they find out, so...
__________________
Distribution: Arch Linux
http://www.geniuz.org <-- linux help, how to's and much more interesting stuff, check it out !!
geniuz is offline   Reply With Quote
Old 07-11-2008   #3 (permalink)
Linux Engineer
 
jayd512's Avatar
 
Join Date: Feb 2008
Location: Louisville, KY
Posts: 835
I would have to agree with geniuz here. After all, if your downloading from official repo's, the maintainers are going to use every means possible to insure that the packages are good to go. And added to the fact that if the package has been altered the md5 sum won't match up... I don't think we've got to much to sweat about.
jayd512 is offline   Reply With Quote
Old 07-11-2008   #4 (permalink)
Linux Enthusiast
 
Manchunian's Avatar
 
Join Date: Dec 2007
Location: France but my heart stays in Britain
Posts: 645
I don't agree with geniuz. Although at the moment Linux only reprsents around 2% of the desktop market, that number is increasing. More importantly, though, is the server share. Let's not forget that Linux is the most widespread server OS and that some of the world's most sensitive, high-level security institutions entrust their valuable data to Linux.
__________________
Distribution: Archlinux
Processor: Celeron 2.6 GHz; Ram: 750 MB
Graphics card: Nvidia GeForce4 MX 440-SE
Mother board: Columbia 4
Manchunian is offline   Reply With Quote
Old 07-11-2008   #5 (permalink)
Just Joined!
 
geniuz's Avatar
 
Join Date: Mar 2008
Location: Netherlands, Europe
Posts: 68
Send a message via MSN to geniuz
Quote:
Originally Posted by Manchunian View Post
I don't agree with geniuz. Although at the moment Linux only reprsents around 2% of the desktop market, that number is increasing. More importantly, though, is the server share. Let's not forget that Linux is the most widespread server OS and that some of the world's most sensitive, high-level security institutions entrust their valuable data to Linux.
I don't think a good server should use a distro with a package manager, if I'd had to build a server, I'd use Slackware or something and compile everything myself...might take more time, but you're 100% sure it's safe.
__________________
Distribution: Arch Linux
http://www.geniuz.org <-- linux help, how to's and much more interesting stuff, check it out !!
geniuz is offline   Reply With Quote
Old 07-11-2008   #6 (permalink)
Linux Enthusiast
 
Manchunian's Avatar
 
Join Date: Dec 2007
Location: France but my heart stays in Britain
Posts: 645
Yeah, but the distro that is most used on servers isn't Slackware but Debian stable. I'm sure one of the reasons why Debian is so used is because of its package manager, and because the stuff that's made available via apt is bomb-proof tested. But, anyway, are you sure that not using your package manager is a way to stay safe? You can still get nasties, even when you compile.
__________________
Distribution: Archlinux
Processor: Celeron 2.6 GHz; Ram: 750 MB
Graphics card: Nvidia GeForce4 MX 440-SE
Mother board: Columbia 4
Manchunian is offline   Reply With Quote
Old 07-11-2008   #7 (permalink)
Linux Guru
 
fingal's Avatar
 
Join Date: Jul 2003
Location: Birmingham - UK
Posts: 1,533
I can't get that link to work. Is there another source for this article? It might - in fact - be untrue. The Slashdot article links back to the dead web page.
__________________
I am always doing that which I can not do, in order that I may learn how to do it. - Pablo Picasso
fingal is offline   Reply With Quote
Old 07-11-2008   #8 (permalink)
Linux Engineer
 
Thrillhouse's Avatar
 
Join Date: Jun 2006
Location: Arlington, VA, USA
Posts: 1,258
I can't get the link to work either. The server hosting it must be suffering from the Slashdot popularity.

I definitely think this is a legitimate issue, though. I'll stick to talking about pacman because it's the package manager I know the best. There is little to no security built around pacman. I've read that they're working on that but right now it's definitely vulnerable. And jayd512, it's not just a matter of hashing the packages. An attacker can insert their malicious package in place of the real one, re-hash it and when you download it, the hash would check out. The packages need top be signed by a trusted certificate. Hopefully, the more popular distros will take note of this article and start implementing some solutions.
Thrillhouse is offline   Reply With Quote
Old 07-11-2008   #9 (permalink)
Linux Guru
 
fingal's Avatar
 
Join Date: Jul 2003
Location: Birmingham - UK
Posts: 1,533
Quote:
Originally Posted by Thrillhouse View Post
I can't get the link to work either. The server hosting it must be suffering from the Slashdot popularity.
Perhaps, but it seems odd that the University's entire site has gone down. And the comment that it was posted by an anonymous contributor. Academics love putting their names on papers!

There's one original article and 100s of others all pointing back to one domain, so that supports your idea that their site has crashed, but still... I can't even find a cached web page.

True site: The University of Arizona, Tucson Arizona
Strange site: http://cs.arizona.edu

Please note that the domain names are different in each case. Call me cynical but I think the article is disinformation.

I notice there is no report on the University's news page either: UANews.org
__________________
I am always doing that which I can not do, in order that I may learn how to do it. - Pablo Picasso
fingal is offline   Reply With Quote
Old 07-11-2008   #10 (permalink)
Trusted Penguin
 
smolloy's Avatar
 
Join Date: Apr 2005
Location: CA, but from N.Ireland
Posts: 2,218
Quote:
Originally Posted by jayd512 View Post
I would have to agree with geniuz here. After all, if your downloading from official repo's, the maintainers are going to use every means possible to insure that the packages are good to go. And added to the fact that if the package has been altered the md5 sum won't match up... I don't think we've got to much to sweat about.
This isn't true. The authors of this paper showed how it was possible even with signed packages. It's called a replay attack. They set up a repo containing old versions of packages with known vulnerabilites. Since these were old, and therefore legitimate, versions of packages, they had the correct key. For example, someone could set up a repo to roll all debian machines back to the old, broken version of openssl. They'd then watch their logs to see which IP's had rolled back to the old version and then root them.

Signing doesn't help.

Also, "every means possible" isn't true either. They were able to set up a repo for all major distros with no significant checking of their identity.

This really is something to worry about, which is why I posted it here. There are ways to mitigate this, but it needs quick action from the distro maintainers. There's very little we can do about this ourselves.

EDIT: I can't see the article any more either. Slashdotted to hell and back Give it a day to roll off the Slashdot front page and then check back.
__________________
Registered Linux user #388328 || Registered LFS user #15880
AMD 64 X2 4600+ :: 2X1GB DDR2 800 :: GeForce 9400 GT 512MB :: ASUS M2N32 Deluxe :: 4X250GB SATAII
Need instant help? Try us on IRC -- #linuxforums on freenode
smolloy is offline   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Job Search
keyword location
Post a Job »
job title, keywords or company
city, state or zip jobs by job search

Free Magazines
Free eBook:"Vulnerability Management for Dummies"
Get all the Facts and See How to Implement a Successful Vulnerability Management Program.
subscribe
Google vs The World: The Battle of the Message Security Vendors
With such a powerful name behind it, Google Message Security stands out in a sea of products that do exactly the same thing - or so they say. So when it comes right down to it, how does the Google selection stack up against the rest of messaging security's big guns?
subscribe
The Enterprise Newsweekly
eWeek is the essential technology information source for builders of e-business.
subscribe
Oracle Magazine
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe
Total Telecom
Total Telecom is "The Economist of the communications industry".
subscribe
More free magazines »



All times are GMT. The time now is 12:54 PM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.2.0