]> git.ipfire.org Git - thirdparty/asterisk.git/commit
manager.c: Restrict ModuleLoad to the configured modules directory.
authorBen Ford <bford@digium.com>
Wed, 25 Sep 2024 18:05:58 +0000 (13:05 -0500)
committerBen Ford <bford@digium.com>
Mon, 30 Sep 2024 16:28:38 +0000 (16:28 +0000)
commit5a237235c00a3a408ddb65874f39dab76f3824cf
tree032d6392949631341cd3730895580bbd3d26c5b0
parente1da2fec4242a1fd59cd4329a2d0021b3e9483ba
manager.c: Restrict ModuleLoad to the configured modules directory.

When using the ModuleLoad AMI action, it was possible to traverse
upwards through the directories to files outside of the configured
modules directory. We decided it would be best to restrict access to
modules exclusively in the configured directory. You will now get an
error when the specified module is outside of this limitation.

Fixes: #897
UserNote: The ModuleLoad AMI action now restricts modules to the
configured modules directory.
main/manager.c