12-Year-Old Linux Vulnerability Grants Root Access

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
fstjohn
Level 5
Level 5
Posts: 534
Joined: Fri Jan 02, 2015 3:21 pm
Location: The beautiful North Georgia mountains

12-Year-Old Linux Vulnerability Grants Root Access

Post by fstjohn »

Any thoughts about this? How-to-geek article today
https://tinyurl.com/ybujeqyy
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
sydbat
Level 3
Level 3
Posts: 130
Joined: Fri Mar 05, 2021 12:28 pm
Location: Calgary, AB

Re: 12-Year-Old Linux Vulnerability Grants Root Access

Post by sydbat »

I guess that explains the update for polkit this morning. Not anything to be worried about. This is why Linux is superior - many, many eyes on various code (because open source) find possible issues and the fixes are almost instantaneous. You don't have to wait for a specific day each month to have a possible patch become available, if a patch is ever created without some media outlet making it news.
This is a signature. It is original.
User avatar
karlchen
Level 23
Level 23
Posts: 18228
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: 12-Year-Old Linux Vulnerability Grants Root Access

Post by karlchen »

Hi, folks.

Users of Linux Mint 19.x and 20.x should be safe from the reported policykit vulnerability thanks to Ubuntu's recent policykit bugfix. Cf. USN-5252-1: PolicyKit vulnerability. This statement will apply, provided you have accepted and installed the available policykit bugfix.

Cheers,
Karl
Image
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 792 days now.
Lifeline
User avatar
JoeFootball
Level 13
Level 13
Posts: 4673
Joined: Tue Nov 24, 2009 1:52 pm
Location: /home/usa/mn/minneapolis/joe

Re: 12-Year-Old Linux Vulnerability Grants Root Access

Post by JoeFootball »

fstjohn wrote: Any thoughts about this?
My thoughts are that I will continue to keep my systems updated, and keep my network behind a proper router.
User avatar
AZgl1800
Level 20
Level 20
Posts: 11184
Joined: Thu Dec 31, 2015 3:20 am
Location: Oklahoma where the wind comes Sweeping down the Plains
Contact:

Re: 12-Year-Old Linux Vulnerability Grants Root Access

Post by AZgl1800 »

if you read that article, Mint and Ubuntu have already fixed this
LM21.3 Cinnamon ASUS FX705GM | Donate to Mint https://www.patreon.com/linux_mint
Image
acerimusdux
Level 5
Level 5
Posts: 633
Joined: Sat Dec 26, 2009 3:36 pm

Re: 12-Year-Old Linux Vulnerability Grants Root Access

Post by acerimusdux »

Yes, this was a particularly nasty one. It potentially allowed a user to obtain root access.

Fortunately not many will actually be affected. Since:

1. An attacker to utilize this has to already have local access to the machine. It's a privilege escalation vulnerability.
2. They would have to know about the vulnerability and execute a pkexec command carefully designed to exploit it.
3. This has already been patched by most distributions (though debian testing seems to still be vulnerable). Researchers gave a little time for it to be patched before publicly announcing it.

So for a desktop user, mainly don't allow a user you don't trust to have access to your machine. But if you do have a linux system which can't be patched yet, and do need to allow other users access to it, it is suggested you can temporarily remove SUID permissios from pkexec (sudo chmod g-s /usr/bin/pkexec). But this won't be needed for users of Mint (and would prevent proper fuctioning of pkexec).
rickNS
Level 9
Level 9
Posts: 2981
Joined: Tue Jan 25, 2011 11:59 pm

Re: 12-Year-Old Linux Vulnerability Grants Root Access

Post by rickNS »

Yet another non issue.

Took 12 years to discover, affected zero people.
This easily exploited vulnerability allows any unprivileged user to gain full root privileges on a vulnerable host
And just how does "someone" get access to the machine to run commands in the first place ?

I'm guessing, you have to invite the "attacker" into your house, start, and log into your pc, and then hand it (the vulnerable host) to them ?
Mint 20.0, and 21.0 MATE on Thinkpads, 3 X T420, T450, T470, and X200
User avatar
karlchen
Level 23
Level 23
Posts: 18228
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: 12-Year-Old Linux Vulnerability Grants Root Access

Post by karlchen »

The Ubuntu article, which I had linked to, is not based on any click-bait article.
I suggest
  • not to get into panic when reading click-bait articles about the latest software vulnerability on the one hand
  • but also not to be impressed too much by those experts, who, based on missing pieces of information in the click-bait articles, immediately explain that the found vulnerability could not be exploited on your Linux Mint desktop machines, on the other hand.
  • to spend a thought or two on trying to imagine the malicious unprivileged local user on your system might actually not be a single entity, but two:
    the unprivileged local user (you) and a not so benevolent piece of software, exploiting the vulnerability.
    Not all users get all their software exclusively from trustworthy sources.
  • to take into consideration that the Ubuntu developers do not publish security notes for fun and that the policykit maintainers did not fix the vulnerability for fun.
  • to install the security updates offered by Update Manager in a timely fashion. - Better safe than sorry.
Disclaimer:
This is purely my personal point of view and my personal approach to newly detected vulnerabilities.
Image
The people of Alderaan have been bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine for 792 days now.
Lifeline
User avatar
Schultz
Level 9
Level 9
Posts: 2966
Joined: Thu Feb 25, 2016 8:57 pm

Re: 12-Year-Old Linux Vulnerability Grants Root Access

Post by Schultz »

rickNS wrote: Wed Jan 26, 2022 7:19 pm Yet another non issue.
Yes it was . . . until it became public knowledge. Now it is an issue.
rene
Level 20
Level 20
Posts: 12212
Joined: Sun Mar 27, 2016 6:58 pm

Re: 12-Year-Old Linux Vulnerability Grants Root Access

Post by rene »

Schultz wrote: Thu Jan 27, 2022 10:03 am Yes it was . . . until it became public knowledge. Now it is an issue.
Not for "us" though, i.e., one's average desktop Linux user without malicious users nor infected by on desktop Linux for all even halfway practical purposes nonexistent malware.

Which wouldn't be to say that it wouldn't be good to not have this bug of course, but otherwise, and as always, yawn...
Hoser Rob
Level 20
Level 20
Posts: 11796
Joined: Sat Dec 15, 2012 8:57 am

Re: 12-Year-Old Linux Vulnerability Grants Root Access

Post by Hoser Rob »

sydbat wrote: Wed Jan 26, 2022 1:56 pm I guess that explains the update for polkit this morning. Not anything to be worried about. This is why Linux is superior - many, many eyes on various code (because open source) find possible issues and the fixes are almost instantaneous. You don't have to wait for a specific day each month to have a possible patch become available, if a patch is ever created without some media outlet making it news.
That argument would be a LOT more convincing if the bug wasn't 12 years old.
For every complex problem there is an answer that is clear, simple, and wrong - H. L. Mencken
User avatar
Schultz
Level 9
Level 9
Posts: 2966
Joined: Thu Feb 25, 2016 8:57 pm

Re: 12-Year-Old Linux Vulnerability Grants Root Access

Post by Schultz »

rene wrote: Thu Jan 27, 2022 10:16 am Not for "us" though, i.e., one's average desktop Linux user without malicious users nor infected by on desktop Linux for all even halfway practical purposes nonexistent malware.

Which wouldn't be to say that it wouldn't be good to not have this bug of course, but otherwise, and as always, yawn...
My point, which seems like you missed, is that now that it's out in the open, it is an issue. It doesn't matter whether you or I don't have someone around our computers we don't trust. After all, we are only 2 people, out of how many in the world?

Yawn :) :roll: :wink:
rene
Level 20
Level 20
Posts: 12212
Joined: Sun Mar 27, 2016 6:58 pm

Re: 12-Year-Old Linux Vulnerability Grants Root Access

Post by rene »

Schultz wrote: Thu Jan 27, 2022 10:35 am My point, which seems like you missed, is that now that it's out in the open, it is an issue.
I clearly did not miss said point since I explicitly responded to it saying that for us your point is wrong; that for us, with the above definition of such, it is not an issue. That we desktop Linux users can, as always we can, continue to pick our noses and not care.

Sure; for not private, non desktop Linux users it can be an issue. I here on the Linux Mint desktop Linux operating system forum however don't give a fluing fyck.
d4damager
Level 1
Level 1
Posts: 18
Joined: Mon Oct 16, 2017 2:15 pm

Re: 12-Year-Old Linux Vulnerability Grants Root Access

Post by d4damager »

How can I check if my system is patched? I've ran update on my Mint 19.0 a few times last few days but don't remember seeing a polkit update, and neither does it show up when I do apt-get update && apt-get upgrade
User avatar
Schultz
Level 9
Level 9
Posts: 2966
Joined: Thu Feb 25, 2016 8:57 pm

Re: 12-Year-Old Linux Vulnerability Grants Root Access

Post by Schultz »

d4damager wrote: Thu Jan 27, 2022 10:16 pm How can I check if my system is patched? I've ran update on my Mint 19.0 a few times last few days but don't remember seeing a polkit update, and neither does it show up when I do apt-get update && apt-get upgrade
See this post by JoeFootball: viewtopic.php?p=2130247#p2130247
d4damager
Level 1
Level 1
Posts: 18
Joined: Mon Oct 16, 2017 2:15 pm

Re: 12-Year-Old Linux Vulnerability Grants Root Access

Post by d4damager »

Schultz wrote: Thu Jan 27, 2022 10:37 pm
d4damager wrote: Thu Jan 27, 2022 10:16 pm How can I check if my system is patched? I've ran update on my Mint 19.0 a few times last few days but don't remember seeing a polkit update, and neither does it show up when I do apt-get update && apt-get upgrade
See this post by JoeFootball: viewtopic.php?p=2130247#p2130247
Thanks, the apt changelog does indeed show the Jan 2022 update (0.105-20ubuntu0.18.04.6) :D
Locked

Return to “Other topics”