Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2021-3156 PoC — Sudo 缓冲区错误漏洞

Source
Associated Vulnerability
Title:Sudo 缓冲区错误漏洞 (CVE-2021-3156)
Description:Sudo before 1.9.5p2 contains an off-by-one error that can result in a heap-based buffer overflow, which allows privilege escalation to root via "sudoedit -s" and a command-line argument that ends with a single backslash character.
Description
CVE-2021-3156 Vagrant Lab
Readme
# CVE 2021-3156

## How to pwn (python2)
```
$ python pwn.py
```

## POC:
https://youtu.be/pJFaF7_y_x0

## Reference:
https://www.kalmarunionen.dk/writeups/sudo/#exploitation
File Snapshot

[4.0K] /data/pocs/f6a062df52b47dad74f49f26d982a4a89d887601 ├── [ 519] exploit.tmp ├── [ 467] lib.c ├── [1.0K] pwn.py ├── [ 174] README.md └── [ 483] Vagrantfile 0 directories, 5 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →