]> 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 15:00:01 +0000 (09:00 -0600)
commitef1ad68131ff35445660bd0d36a04cf6f9ba6456
tree27b338420ac834cc836b2a7c216e701271ece8e1
parent31fcbf12837ccea6501676b50a0a3bd2dc7d8c51
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