Linux Today: Linux News On Internet Time.
Search Linux Today
Linux News Sections:  Blog -  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Preferences
Contribute
Link to Us
Search
Linux Jobs

Linux Today
Enterprise Linux Today
Apache Today
JustLinux.com
Linux Planet
PHPBuilder
All Linux Devices
Technology Jobs

JustTechJobs.com

LinuxToday Newsletters
Server Daily
IT Management Daily
Subscribe News
Subscribe PR
Subscribe Security

internet.com
Internet News
Small Business

Advertise
Newsletters
Tech Jobs
E-mail Offers

 






Current Newswire:

The Future of Kubuntu

SECURITY: Symantec should not be afraid of 'open' source code

Linux 3.3 rc3

60 Fantastic Free Android Apps

Ready for Another Linux Tablet? Meet the Rugged Trimble Yuma

How can the layman get involved with free software?

RIM Commits to Open Source BlackBerry 10 Native SDK

Oracle Staking Claim in Open-Source 'R' Language

50 Open Source Tools That Could Help You Find (or Keep) a Valentine

Ubuntu sound theme design



Applications Management Engineer Sr (NYC)
Next Step Systems
US-NY-New York

Justtechjobs.com Post A Job | Post A Resume
:By design security issues with linux default limited accounts (Ubuntu's sudo is not secure)
By design security issues with linux default limited accounts (Ubuntu's sudo is not secure)
Jul 18, 2009, 15 :05 UTC (10 Talkback[s]) (9280 reads)

[ Thanks to Mihai Varzaru for this link. ]

"1. The problem
In Ubuntu gksu and sudo can be hijacked by an attacker who already has access to the current non-administrative account. In order to do that you can simply create a bin directory in your home folder, add that directory to PATH and create in it the scripts: gksu and sudo. The scripts would silently run any application the attacker wants with root privileges and start the application you wanted to start in the first place so that you won’t notice a thing.

"So, after the attacker application (got on a website with a firefox bug for example) gets access to your limited account all it has to do in order to get root access is the above and wait for you run something with administrative rights (like synaptic from the menu; at some point even the updater which runs automatically was calling gksu with a relative path)."

Complete Story

Related Stories:
10 Expert Ubuntu Tricks(Apr 14, 2009)
Master Your Linux Keyboard (And Fix Caps Lock Forever)(Jul 10, 2007)
What Happens When You Run "sudo rm -rf /" (video)(Apr 10, 2009)
Running Complex Commands with sudo(Apr 03, 2009)
Stop Telling sudo Your Password(Mar 21, 2009)
sudo: Running a Command with root Privileges(Dec 27, 2008)
sudo, or Not sudo: That is the Question(Feb 10, 2008)
Running Firefox as Another User, Using sudo(Apr 24, 2007)
PolishLinux: Sudo FAQ(Feb 27, 2007)
Linux.com: CLI Magic: sudo Voodoo(Nov 08, 2005)


Index Mode   |   Flat Mode   |   Thread Mode   |   Thread Flat  
  Talkback(s) Name  and Date
...In Ubuntu gksu and sudo can be hijack ...   Step by step   
Brandioch Conner
Jul 19, 2009, 00:40:19
 
No security administrator in a corporate ...   Sudo only for home users   
Stomfi
Jul 19, 2009, 01:03:52
 
While this article is wrong as numerous  ...   Wrong   
Richard Steven Hack
Jul 19, 2009, 03:28:24
 
I personally prefer the sudo way. I' ...   Re: Wrong   
Pierre Lemay
Jul 19, 2009, 04:34:05
 
Newer security mechanisms offer finer gr ...   Finer grained privilege   
Yim
Jul 19, 2009, 08:29:07
 
You're right that this isn't a f ...   Re: Step by step   
jpw
Jul 19, 2009, 17:59:48
 
They do? How? Just naming a script "sudo ...   Re: Step by step   
daglan
Jul 19, 2009, 19:08:33
 
> They do? How? Just naming a script "su ...   Re: Re: Step by step   
DDahl
Jul 20, 2009, 00:11:55
 
> But the real concern is that he could  ...   Re: Re: Re: Step by step   
daglan
Jul 20, 2009, 06:31:26
 
> > But the real concern is that he coul ...   Re: Re: Re: Re: Step by step   
DDahl
Jul 20, 2009, 21:19:57
 
  Home | Search Talkbacks | Customize View    Top of Page  



Enter your comments below:

* Your Name:

* Your Email Address:

* Subject:

CC: [will also send this talkback to an E-Mail address]

* Comments:

Tags allowed:<I>,<B> and <U>. See our talkback-policy for more about talkback content.

Fields marked with * are required!

..............................




All times are recorded in UTC.
Linux is a trademark of Linus Torvalds.
Powered by Linux, Apache and PHP