Current 0-day vulnerability on FreePBX
A zero-day vulnerability in the FreePBX restapps module allowed remote attackers to exploit the system via HTTP/HTTPS, even if Phone Apps were not licensed. Attackers could compromise the PBX by accessing the restapps through standard web ports, and blocking only the restapps ports was insufficient.
community.freepbx.org
Published on community.freepbx.org
FreePBX Security
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely a regression introduced in recent restapps module updates that reintroduced a previously fixed exploit, due to lack of unit testing and code consistency.
Impact
Attackers could exploit the vulnerability to compromise the PBX, and blocking only the restapps ports was insufficient because the module was also accessible via standard HTTP/HTTPS ports.
What the attacker needed
FreePBX 15.x or 16.x with affected restapps versions; Network access to the PBX web interface
The fix
The vulnerability was fixed by downgrading the restapps module to versions before the affected ones (e.g., [redacted] or [redacted]) until an official patch was released.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
FreePBX is a phone system software. A security hole in one of its modules let attackers break in through the same web ports used for normal administration. Simply blocking the special ports used by that module was not enough because the module could also be reached on the standard web ports.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.