Linux Privilege Escalation awk time — sudo Misconfiguration | RootLevel

Опубликовано: 17 Июнь 2026
на канале: RootLevel
17
0

⚠️ EDUCATIONAL PURPOSE ONLY — All demos performed on a personal virtual machine.

In this video, I show how attackers exploit sudo misconfigurations to escalate privileges via awk — and how to protect your Linux server against this.

We cover:
[✓] What is privilege escalation?
[✓] How to find sudo misconfigurations (sudo -l)
[✓] Exploiting vim via sudo NOPASSWD
[✓] Getting root shell from vim
[✓] How to fix and prevent this vulnerability



🔒 How to fix:
Remove dangerous sudo rules from /etc/sudoers
Use visudo to edit safely:
sudo visudo

https://gitlab.com/linux.devops.help-...

🔔 Subscribe for more Linux & DevOps tutorials every week!
👉 / @rootlevel

──────────────────────────────
RootLevel — Linux • Docker • Kubernetes • CI/CD
Real infrastructure. No fluff. Just builds.