Update sudo, Potential bypass of Runas user restrictions

For developer discussion on package requests
Message
Author
Kulmbacher
Posts: 490
Joined: Fri Apr 27, 2018 2:47 pm

Update sudo, Potential bypass of Runas user restrictions

#1 Post by Kulmbacher »

pls have a look at https://www.sudo.ws/alerts/minus_1_uid.html

Sudo versions prior to 1.8.28 are affected
sudo vers. MX 18.3, 1.18.19
they called him, the fish!

User avatar
BitJam
Developer
Posts: 2303
Joined: Sat Aug 22, 2009 11:36 pm

Re: Update sudo, Potential bypass of Runas user restrictions

#2 Post by BitJam »

Thanks Kulmbacher!

It seems the vulnerability is that a user who is allowed to run commands as any user other than root can also run commands as root. I don't think this is significant for desktop systems like MX where the the main reason for using sudo is to allow a normal user to run commands as root. A proof of concept is:

Code: Select all

sudo "-u#-1" id -u
This should display -1 but it displays 0 showing that the id command was run as root. But on our systems we are allowed to run commands as root directly:

Code: Select all

sudo id -u
So this does not really affect us. It does not make our system less safe because, for us, it is not even a privilege escalation. We've had to react to a number of serious vulnerabilities ovef the past couple of years including Spectre, Meltdown and others. Thank goodness this is not another one.
"The first principle is that you must not fool yourself -- and you are the easiest person to fool."

-- Richard Feynman

User avatar
jackdanielsesq
Posts: 244
Joined: Sun Apr 21, 2019 9:02 am

Re: Update sudo, Potential bypass of Runas user restrictions

#3 Post by jackdanielsesq »

Thanks Bitjam

Saw this early this AM, now there appears to be a Deb update ?

Your advice, please Sir

Regards

Jack
BitJam wrote: Tue Oct 15, 2019 5:18 am
So this does not really affect us. It does not make our system less safe because, for us, it is not even a privilege escalation. We've had to react to a number of serious vulnerabilities ovef the past couple of years including Spectre, Meltdown and others. Thank goodness this is not another one.

User avatar
asqwerth
Developer
Posts: 8038
Joined: Sun May 27, 2007 5:37 am

Re: Update sudo, Potential bypass of Runas user restrictions

#4 Post by asqwerth »

Debian is still providing support for Stretch until 2022.
Desktop: Intel i5-4460, 16GB RAM, Intel integrated graphics
Clevo N130WU-based Ultrabook: Intel i7-8550U (Kaby Lake R), 16GB RAM, Intel integrated graphics (UEFI)
ASUS X42D laptop: AMD Phenom II, 6GB RAM, Mobility Radeon HD 5400

User avatar
BitJam
Developer
Posts: 2303
Joined: Sat Aug 22, 2009 11:36 pm

Re: Update sudo, Potential bypass of Runas user restrictions

#5 Post by BitJam »

Keep calm and carry on. This vulnerability does not make a normal MX system less secure.

I'm glad Kulmbacher brought it to our attention because we have had some really terrible vulnerabilities not too long ago.
"The first principle is that you must not fool yourself -- and you are the easiest person to fool."

-- Richard Feynman

Kulmbacher
Posts: 490
Joined: Fri Apr 27, 2018 2:47 pm

Re: Update sudo, Potential bypass of Runas user restrictions

#6 Post by Kulmbacher »

meanwhile i read this german article, (BitJam`s words ;-)
https://www.linux-magazin.de/news/siche ... e-in-sudo/

The first article i read, was a bit of sensationel Linux vulnerability version ...
they called him, the fish!

Post Reply

Return to “Package Requests / Status”