In FusionPBX up to v4.5.7, the file app/music_on_hold/music_on_hold.php uses an unsanitized "file" variable coming from the URL, which takes any pathname (base64 encoded) and allows a download of it.
{
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:fusionpbx:fusionpbx:*:*:*:*:*:*:*:*"
],
"extracted_events": [
{
"range": [
{
"last_affected": "4.5.7"
}
],
"source": "CPE_RANGE"
}
],
"vendor_product": "fusionpbx:fusionpbx"
},
{
"extracted_events": [
{
"range": [
{
"last_affected": "4.5.7"
}
],
"source": "DESCRIPTION"
}
]
}
]
}{
"extracted_events": [
{
"range": [
{
"fixed": "95ed18aa9d781f232f5686a9027bb6f677c9b8da"
}
],
"source": "REFERENCES_COMMIT"
}
]
}