FreePBX is an open source IP PBX. From 17.0.1 until 17.0.7, the FreePBX Music on Hold module permits dangerous command-line options for /usr/bin/mpg123 and other allowed players in validateCustomConfiguration() in Music.class.php. An authenticated administrator can use options that write files, open control channels, or create Asterisk call files because applicationUsesDisallowedPlayerOption() does not reject those arguments, resulting in arbitrary command execution as the asterisk service user. This issue is fixed in version 17.0.7.
Fix
Patch, vendor advisory and mitigation references on NVD 2
- https://github.com/FreePBX/music/commit/9f45605982202a34244ff22c4f635af0dfc1a733 Patch
- https://github.com/FreePBX/security-reporting/security/advisories/GHSA-p97w-rq48-p8q2 Mitigation, Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 7.6 · sangomaNVD modified 2026-10-09 19:32
Affected (CPE criteria) 1
cpe:2.3:a:sangoma:freepbx:*:*:*:*:*:*:*:*