CVE-2018-6393 SQL injection in n/a
Authenticated users can exploit SQL injection in FreePBX to read or modify database tables, though the vendor considers this intended functionality.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2018-6393?
CVE-2018-6393 is a high-severity SQL injection vulnerability in Sangoma Freepbx, published on 29 Jan 2018. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
FreePBX 10.13.66-32bit and 14.0.1.24 (SNG7-PBX-64bit-1712-2) allow post-authentication SQL injection via the order parameter. NOTE: the vendor disputes this issue because it is intentional that a user can "directly modify SQL tables ... [or] run shell scripts ... once ... logged in to the administration interface; there is no need to try to find input validation errors.
Weakness: CWE-89
Which versions are affected by CVE-2018-6393?
It affects 1 product.
Products include Sangoma Freepbx.
How do I fix CVE-2018-6393?
No fix has been published for CVE-2018-6393 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2018-6393 being exploited?
There is no known exploitation of CVE-2018-6393 in the wild and no public exploit code.
Other vulnerabilities in Sangoma Freepbx
- CVE-2025-57819 Sangoma FreePBX Authentication Bypass
- CVE-2019-19006 Sangoma FreePBX Improper Authentication
- CVE-2026-73663 FreePBX: Unauthenticated SQL injection in FreePBX missedcall via inbound Caller ID name leads to administrator takeover
- CVE-2026-73665 FreePBX UCP: Unauthenticated remote code execution via socket.io namespace auth bypass and AMI action injection
- CVE-2026-46376 FreePBX: Unauthenticated Use of Hard-Coded Credentials Vulnerability in FreePBX UCP Interface
Sources
Also known as GHSA-c4jf-ccxj-c5r6.