By design security issues with linux default limited accounts (Ubuntu’s sudo is not secure)

Written By
Web Webster
Web Webster
Jul 18, 2009

[ 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

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.