They just announced PHP zero-day vulnerabilities and they affect all web servers running PHP 5.4 or later. The bugs are fixed in PHP 8.5.12, 8.4.27, 8.3.36, and 8.2.35.
There is NO FIX for systems running PHP 5.x or PHP 7.x outside of updating to any of the PHP 8.x versions listed above. Which can’t be done. This now means all FreePBX v15 and v16 systems are open to a zero day attack vector.
We are aware of the issues as well as the other extremely relevant and active forum topic on PHP CVE Patching – expect more details to be published soon.
EDIT TO ADD: but throwing in the towel in to the fire seems like not the way to go right now.
Unless all devices have some sort of protection on them just assuming they are on a trusted network doesn’t mean the device is trusted. Human engineering is one of the top ways they hack things now.
Think about some of the breaches lately. They didn’t hack a firewall, they didn’t have a secure system. They hacked the person who downloaded malware/malicious software on the device connecting on a trusted network.
This is a very good point. Someone can fall into a false sense of security if their server (really any server, not just FreePBX) only allows in whitelisted trusted hosts and subnets. If any “inside” machine is compromised then it shouldn’t be trusted. As a result any vulnerable server is just as at risk as if it were directly accessible from the Internet-at-large.