Is production: true
#linux #migrated

Title: Linux sudo bug - CVE-2021-3156

Created: 6 Feb 2021 Modified: 6 Feb 2021

Description: Learn how to detect if your operating system is vulnerable to the critical CVE-2021-3156 exploit with our comprehensive guide. Stay informed and protect your system against potential attacks with our step-by-step instructions.



[Original Bug]

A ten years old sudo bug in linux which allow any user with/without sudoer right to gaine the root priviledge.

To test if the linux version affected (link show how to text) .

# access the server with non root user and type following command

sudoedit -s /

Behaviour if not affected:

If affected:

The result should be started with sudoedit:

![](https://xeth0102.atlassian.net/wiki/download/thumbnails/1178075137/image-20210206-153932.png?version=1&modificationDate=1612625977687&cacheVersion=1&api=v2&width=340&height=27

[Legacy Link]