]> git.ipfire.org Git - thirdparty/asterisk.git/commit
asterisk.c: Add option to restrict shell access from remote consoles.
authorGeorge Joseph <g.devel@wxy78.net>
Mon, 19 May 2025 14:16:53 +0000 (08:16 -0600)
committerGeorge Joseph <gjoseph@sangoma.com>
Thu, 22 May 2025 14:50:28 +0000 (08:50 -0600)
commitba298b713b979ebcee7dcf7cc9b03599ee4120b5
tree3f1db7c3c927bac67a7a28a735983210a5c83d4f
parentae43a91f4a278c6e471b24a7e800a44a1941db4b
asterisk.c: Add option to restrict shell access from remote consoles.

UserNote: A new asterisk.conf option 'disable_remote_console_shell' has
been added that, when set, will prevent remote consoles from executing
shell commands using the '!' prefix.

Resolves: #GHSA-c7p6-7mvq-8jq2
configs/samples/asterisk.conf.sample
configs/samples/cli_permissions.conf.sample
include/asterisk/options.h
main/asterisk.c
main/options.c