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
This simple bash script will patch the recently discovered sudo heap overflow vulnerability.
Readme
### This simple bash script will patch the recently discovered sudo heap overflow vulnerability.

Simply run ```git clone https://github.com/elbee-cyber/CVE-2021-3156-PATCHER && cd CVE-2021-3156-PATCHER && sh CVE-2021-3156-patcher.sh```
This patch is significantly important for any *nix systems. Neglecting this will allow any low-level user to privesc! Patch ASAP!
File Snapshot

[4.0K] /data/pocs/6746d9c17fdf1336db6152598c7548998f06f734 ├── [ 25K] baron-samedit-heap-based-overflow-sudo.txt ├── [ 646] CVE-2021-3156-patcher.sh ├── [ 367] README.md └── [3.8M] sudo-1.9.5p2.tar.gz 0 directories, 4 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 →