CVE-2020-36630 FreePBX cdr Cdr.class.php ajaxHandler sql injection
An attacker with permissions can exploit SQL injection in the FreePBX CDR module's ajaxHandler to read or modify call detail records.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2020-36630?
CVE-2020-36630 is a medium-severity SQL injection vulnerability in Sangoma Freepbx, published on 25 Dec 2022. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
A vulnerability was found in FreePBX cdr 14.0. It has been classified as critical. This affects the function ajaxHandler of the file ucp/Cdr.class.php. The manipulation of the argument limit/offset leads to sql injection. Upgrading to version 14.0.5.21 is able to address this issue. The name of the patch is f1a9eea2dfff30fb99d825bac194a676a82b9ec8. It is recommended to upgrade the affected component. The associated identifier of this vulnerability is VDB-216771.
Weakness: CWE-89
Which versions are affected by CVE-2020-36630?
It affects 1 product.
Products include Sangoma Freepbx.
How do I fix CVE-2020-36630?
No fix has been published for CVE-2020-36630 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-2020-36630 being exploited?
There is no known exploitation of CVE-2020-36630 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-cgmg-fw4f-9qc5.