Exploit database

GH-62c0d0ca9de7fca7ad76795a4ed08a3e

dasics-ict/dasics-cve-2021-3156

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2021-3156

85 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files73Next files →

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

sudo/plugins/sudoers/regress/cvtsudoers/test30.sh

Shell · 305 bytes
#!/bin/sh
#
# Test alias expasion when converting to JSON.
# See https://bugzilla.sudo.ws/show_bug.cgi?id=853
#

./cvtsudoers -c "" -e -f json <<EOF
Cmnd_Alias	CMDA=/path/to/cmda
Cmnd_Alias	CMDB=/path/to/cmdb
Cmnd_Alias	CMDC=/path/to/cmdc
User_Alias	USERS=user1,user2,user3
USERS		ALL=CMDA,!CMDB,CMDC
EOF