]> 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:41 +0000 (16:28 +0000)
commite8d3869e75e2f01babf9121679d672465030accd
treefe8005cf99aa3e15c6078a789bf4942f8c15ea95
parent2d676c756002a82c3e6babf4594c2977a2a5836e
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