I am running: FreePBX 12.0.76.2 Asterisk 11.18.0 FreePBX 64bit distro 6.12.65
I have many POTS lines for incoming and outgoing calls, and a Twilio SIP trunk for outbound International calls.
I just had repeated calls from three different caller IDs from southern California that attempted to call many internal extensions in our company. Employees receiving the call would hear an "underwater garble of digital tones" and then a hangup. Then these callers discovered some way to dial hundreds of dollars of international calls being made through both my Twilio and my local POTS lines. Destinations were Burkina Faso and Philippines mobile numbers (about three of them called repeatedly, some successful for 15 minutes, some 4 minutes and most were not answered).
I saw there was a vulnerability into the AMI, but I've had that patched since the patch came out.
I blacklisted the phone numbers that were calling in (using the blacklist module) and this stopped the calls. But I still don't know what vulnerability they managed to exploit.
In the CDR I do see the context they seem to be using when they make the outbound calls, "macro-dial-one" and then "from-internal-xfer" or "from-trunk-sip-TwilioTrunkOutB".
This same thing happened to our old FreePBX that was running PIAF v1.2.9, Asterisk 1.4.21.2, except they seemed to take advantage of a Misc Destination to a cell phone (since removed) that somehow allowed them to call international numbers from our system. So it doesn't seem to be related to any remote code execution or escalation of privilages. It is some IVR exploit.
Any ideas how this could happen? I have google searched every combination I can and have not seen any mentions of this exploit.