An authenticated user can create a folder of the system through a URL of FusionPBX 4.5.7 specifically crafted.
In FusionPBX up to v4.5.7, file app\edit\foldernew.php uses an unsanitized “folder” variable coming from the URL allows to create a folder anywhere in the system.
Bug ID: https://www.fusionpbx.com/app/tickets/ticket_edit.php?id=28cf4e9c-13c4-4ff9-8c1f-5e355f06ed1f
Fix: https://github.com/fusionpbx/fusionpbx/commit/cad71240dee2a82cd5766dd67039a87849031aaa
Issue was reported by Pierre Jourdan on 15/08/2019 and fixed by Mark J Crane.
