An attacker targeting an authenticated user can push him to click on a URL of FusionPBX 4.5.7 specially crafted to get javascript code executed in his browser.
In FusionPBX up to v4.5.7, file app\extensions\extension_imports.php uses an unsanitized “query_string” variable coming from the URL which is reflected in HTML leading to XSS.
Bug ID: https://www.fusionpbx.com/app/tickets/ticket_edit.php?id=96f73c3d-e0c5-4e6d-a1ac-d5830a58cd09
Fix: https://github.com/fusionpbx/fusionpbx/commit/fc8e4e2d278ce6bffff21b04248d469a59eb8cd4
Issue was reported on 10/08/2019 by Pierre Jourdan and fixed on 13/08/2019 on 4.4 and Master branches by Mark J Crane.
CVE published:
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-16977
https://nvd.nist.gov/vuln/detail/CVE-2019-16977
