Exploit databaseDownload repository ZIP
GH-11599b11e3ec2526a71bedead293fc63
kernelzeroday/cve-2021-3156-baron-samedit
Sources for CVE-2021-3156
85 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files23
kernelzeroday/cve-2021-3156-baron-sameditRevision 33ff21070921
- ↑..Parent directory
- test1.out.ok
- test1.sh
- test10.out.ok
- test10.sh
- test2.err.ok
- test2.out.ok
- test2.sh
- test3.err.ok
- test3.out.ok
- test3.sh
- test4.out.ok
- test4.sh
- test5.out.ok
- test5.sh
- test6.out.ok
- test6.sh
- test7.out.ok
- test7.sh
- test8.err.ok
- test8.out.ok
- test8.sh
- test9.out.ok
- test9.sh
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
src/sudo-1.9.5p1/plugins/sudoers/regress/visudo/test3.sh
Shell · 500 bytes#!/bin/sh
#
# Sudo Bug 361:
# Excerises a bug in the redblack tree code.
#
: ${VISUDO=visudo}
$VISUDO -cf - <<EOF
User_Alias A=a
User_Alias B=a
User_Alias C=a
User_Alias D=a
User_Alias E=a
User_Alias F=a
User_Alias G=a
User_Alias H=a
User_Alias I=a
User_Alias J=a
User_Alias K=a
User_Alias L=a
User_Alias M=a
C ALL=(ALL) ALL
E ALL=(ALL) ALL
J ALL=(ALL) ALL
D ALL=(ALL) ALL
L ALL=(ALL) ALL
H ALL=(ALL) ALL
F ALL=(ALL) ALL
G ALL=(ALL) ALL
M ALL=(ALL) ALL
K ALL=(ALL) ALL
I ALL=(ALL) ALL
EOF
exit 0