Exploiting a newly discovered sudo vulnerability in Linux could allow certain users to run commands as root, although there are restrictions on this. A serious vulnerability was recently discovered in the sudo command that, if exploited, could allow a normal user to run commands as root, even if the user was explicitly prohibited from doing so in the Updating sudo to version 1.8.28 should resolve the issue, so Linux administrators are advised to do so as soon as possible. How this vulnerability is exploited depends on the specific permissions granted in For a user to be able to exploit this vulnerability, they need to have been assigned privileges in This issue affects versions prior to 1.8.28. To check your sudo version, use the following command: $ sudo -V Sudo version 1.8.27 <=== Sudoers policy plugin version 1.8.27 Sudoers file grammar version 46 Sudoers I/O plugin version 1.8.27 The vulnerability has been assigned the number CVE-2019-14287 in the CVE database. The risk is that any user who is specified to be able to run a command as any user, even if explicitly prohibited from running as root, can escape restrictions. The following lines allow jdoe to edit files using vi as anyone other than root (!root means "non-root"), while giving nemo the ability to run id commands as any user other than root: # affected entries on host "dragonfly" jdoe dragonfly = (ALL, !root) /usr/bin/vi nemo dragonfly = (ALL, !root) /usr/bin/id However, due to a vulnerability, any of these users could either bypass restrictions and edit files as root, or run the id command as root. An attacker can run commands as root by specifying a user ID of -1 or 4294967295. or A response of 1 indicates that the command was run as root (displaying root's user ID). Joe Vennix from Apple's Information Security team found and analyzed the issue. Summarize The above is the Linux sudo vulnerability that I introduced to you that may lead to unauthorized privileged access. I hope it will be helpful to you. If you have any questions, please leave me a message and I will reply to you in time. I would also like to thank everyone for their support of the 123WORDPRESS.COM website! You may also be interested in:
|
>>: How to use native JS to implement touch sliding monitoring events
Docker Compose is a Docker tool for defining and ...
This article records the installation and configu...
Introduction Binlog logs, that is, binary log fil...
Table of contents Case Study Update account balan...
Table of contents JS obtains the .txt file conten...
HTML imitates the Baidu Encyclopedia navigation d...
1.# # represents a location in a web page. The ch...
We all know that Apache can easily set rewrites f...
Quickly modify the table structure of a MySQL tab...
<br />Related articles: 9 practical suggesti...
HTML forms are used to collect different types of...
Table of contents Preface System environment Curr...
Recently, there is a need to automatically search...
In my last post I talked about how to make a web p...
Goal: Create a square whose side length is equal ...