├── LICENSE ├── Makefile ├── README.md ├── debug ├── attach_1.sh ├── attach_2.sh ├── fuzzer.py ├── gdb_cmds ├── run_1.py ├── run_2.py ├── src │ ├── dl-libc.c │ ├── dl-lookup.c │ ├── nsswitch.c │ ├── nsswitch.h │ ├── parse_args.c │ ├── sudo.c │ └── sudoers.c └── tests │ ├── test_1.c │ ├── test_2.c │ └── test_3.c ├── exploit.c ├── exploit.gif ├── exploit.sh └── libnss_XXXXXXX └── XXXXXX.c /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0xdevil/CVE-2021-3156/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0xdevil/CVE-2021-3156/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0xdevil/CVE-2021-3156/HEAD/README.md -------------------------------------------------------------------------------- /debug/attach_1.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0xdevil/CVE-2021-3156/HEAD/debug/attach_1.sh -------------------------------------------------------------------------------- /debug/attach_2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0xdevil/CVE-2021-3156/HEAD/debug/attach_2.sh -------------------------------------------------------------------------------- /debug/fuzzer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0xdevil/CVE-2021-3156/HEAD/debug/fuzzer.py -------------------------------------------------------------------------------- /debug/gdb_cmds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0xdevil/CVE-2021-3156/HEAD/debug/gdb_cmds -------------------------------------------------------------------------------- /debug/run_1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0xdevil/CVE-2021-3156/HEAD/debug/run_1.py -------------------------------------------------------------------------------- /debug/run_2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0xdevil/CVE-2021-3156/HEAD/debug/run_2.py -------------------------------------------------------------------------------- /debug/src/dl-libc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0xdevil/CVE-2021-3156/HEAD/debug/src/dl-libc.c -------------------------------------------------------------------------------- /debug/src/dl-lookup.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0xdevil/CVE-2021-3156/HEAD/debug/src/dl-lookup.c -------------------------------------------------------------------------------- /debug/src/nsswitch.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0xdevil/CVE-2021-3156/HEAD/debug/src/nsswitch.c -------------------------------------------------------------------------------- /debug/src/nsswitch.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0xdevil/CVE-2021-3156/HEAD/debug/src/nsswitch.h -------------------------------------------------------------------------------- /debug/src/parse_args.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0xdevil/CVE-2021-3156/HEAD/debug/src/parse_args.c -------------------------------------------------------------------------------- /debug/src/sudo.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0xdevil/CVE-2021-3156/HEAD/debug/src/sudo.c -------------------------------------------------------------------------------- /debug/src/sudoers.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0xdevil/CVE-2021-3156/HEAD/debug/src/sudoers.c -------------------------------------------------------------------------------- /debug/tests/test_1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0xdevil/CVE-2021-3156/HEAD/debug/tests/test_1.c -------------------------------------------------------------------------------- /debug/tests/test_2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0xdevil/CVE-2021-3156/HEAD/debug/tests/test_2.c -------------------------------------------------------------------------------- /debug/tests/test_3.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0xdevil/CVE-2021-3156/HEAD/debug/tests/test_3.c -------------------------------------------------------------------------------- /exploit.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0xdevil/CVE-2021-3156/HEAD/exploit.c -------------------------------------------------------------------------------- /exploit.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0xdevil/CVE-2021-3156/HEAD/exploit.gif -------------------------------------------------------------------------------- /exploit.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0xdevil/CVE-2021-3156/HEAD/exploit.sh -------------------------------------------------------------------------------- /libnss_XXXXXXX/XXXXXX.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0xdevil/CVE-2021-3156/HEAD/libnss_XXXXXXX/XXXXXX.c --------------------------------------------------------------------------------