Skip to content
Projects

Rvn0xsy/CVE-2021-3156-plus

View on GitHub

About

CVE-2021-3156非交互式执行命令

Other Projects

How these counts are measured

Measured star growth

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

CVE-2021-3156

2021-02-10-02-18-07

This is a warehouse modification based on @CptGibbon and supports arbitrary command execution.

相关阅读:CVE-2021-3156 - Exploit修改

Root shell PoC for CVE-2021-3156 (no bruteforce)

For educational purposes etc.

Tested on :

  • @CptGibbon Ubuntu 20.04 against sudo 1.8.31
  • @Rvn0xsy Ubuntu 17.10

All research credit: Qualys Research Team Check out the details on their blog.

You can check your version of sudo is vulnerable with: $ sudoedit -s Y. If it asks for your password it's most likely vulnerable, if it prints usage information it isn't. You can downgrade to the vulnerable version on Ubuntu 20.04 for testing purposes with $ sudo apt install sudo=1.8.31-1ubuntu1

Usage

$ make

$ ./exploit "Command"

Explore related projects

Loading…