CVE-2018-6393 SQL injection in n/a

High 7.2 Published Updated

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.

All Sangoma Freepbx vulnerabilities

Sources

Also known as GHSA-c4jf-ccxj-c5r6.

Is CVE-2018-6393 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free